Error initializing userManager

2000-06-16 Thread Pasi Nummisalo
Trying to install EJBUserManager: error message: Error instantiating application 'xx' at file:xx.ear: Error initializing userManager 'com.evermind.ejb.EJBUserManager' : NamingException: com.evermind.ejb.EJBUser not found orion-application.xml for xx: user-manager

Re: Error passivating beans

2000-06-16 Thread Fabio Silva
Juan Pablo Lorandi wrote: fabio, Vector isn't Serializable... you should extend vector implementing Serializable Rifle Oh! Of course, what a mistake of mine Thank you very much... Fábio

OBJECTS IN ENTITYS

2000-06-16 Thread David Sierra Fernandez
I have a doubt: I have an enity bean but I want that I field of that entity to be a complex object. Is this possible from the point of view of the specification??? , and from the point of view of Orion? Other question: ¨What is the influence of having lots of entity beans in my application?

PORTABILITY PROBLEMS !!!

2000-06-16 Thread David Sierra Fernandez
I tried to deploy ATM example in Sun's J2EE implementation server, but it didn't recognize ear file. I tried to create the ear file mayself but when I tried to include the war and jar files, this last was also not recognize as a valid file. Then I tried to create both files begining from the

RE: Error initializing userManager

2000-06-16 Thread Joe Walnes
Trying to install EJBUserManager: error message: Error instantiating application 'xx' at file:xx.ear: Error initializing userManager 'com.evermind.ejb.EJBUserManager' : NamingException: com.evermind.ejb.EJBUser not found You also need to deploy the actual EJB package which is located in

RE: OBJECTS IN ENTITYS

2000-06-16 Thread Joe Walnes
I have an enity bean but I want that I field of that entity to be a complex object. Is this possible from the point of view of the specification??? , and from the point of view of Orion? Yes and yes. So long as the object (and all contained objects) implement java.io.Serializable. ¨What is

RE: PORTABILITY PROBLEMS !!!

2000-06-16 Thread Mike Cannon-Brookes
The ATM example uses the Orion User Authentication API which is container specific as the spec is currently very 'grey' in this area. In my experience this is the biggest problem when trying to develop portable applications. The Orion UA API is great (excellent, easy to use and very well

Setting transaction isolation level

2000-06-16 Thread Robert Hargreaves
Dear All I've asked this before but got no reply. Does anybody know if you can set the transaction isolation level in Orion? If so, how? If you can't then does Orion conform to the J2EE specification? Regards Rob Hargreaves

RE: PORTABILITY PROBLEMS !!!

2000-06-16 Thread David Sierra Fernandez
Thank you. I agree with you in the power of that API, and now I understand the concept of this API. With it we can create users and groups dinamically from the inside of the applications without the need to edit the deployment descriptor or using an administrive server console. In that way...

CMP Orion bug

2000-06-16 Thread Pedro Garcia Lopez
Hi, I think I have found a bug with CMP in Orion. The error is simple and you can test it. I have a Entity Bean with a field called users--type Collection--. My entity have simple methos like addUser, removeUser, getUsers. Without specifying public static final Class users_type =

RE: Setting transaction isolation level

2000-06-16 Thread Mike Cannon-Brookes
If you're talking about the transaction isolation level for Entity beans, I'd look in the documentation. Specifically try the orion-ejb-jar.xml documentation, each entity has an "isolation" attribute that can set manually. I can't remember what the default is. Hope this is what you're looking

THREADS

2000-06-16 Thread David Sierra Fernandez
My team had a problem some time ago with another server, and I want to know if it is a problem of that server of if it is defined in that way at spec. The situation was: We create a very simple entity bean in which we implement a method that drives us to a infinite loop. We create an instance

Re: OBJECTS IN ENTITYS

2000-06-16 Thread Karl Avedal
Hello David, Yeah, it's possible in Orion. It's being standardized in EJB2.0 but that spec if not final yet and is changing still. Shortly you'll be able to play with EJB 2.0 using Orion, but it will not be based on the real EJB2.0 spec since it's not done yet. Regards, Karl Avedal David

Re: PORTABILITY PROBLEMS !!!

2000-06-16 Thread Karl Avedal
Hello David, Unfortunately there are still a few things that are not standardized in J2EE 1.2, especially in the field of security and user management (like dynamically adding users to the server). For such things, the application server vendor unfortunately has to provide their own ways of

Re: CMP Orion bug

2000-06-16 Thread Karl Avedal
Hello Pedro, Please report suspected bugs to [EMAIL PROTECTED] In this case I'm forwarding the mail there, but please use that address next time. Suspected bugs are more important than the regular Orion discussion on orion-interest and if you send a bug report to the list it will probably not

Re: Orion UserManager

2000-06-16 Thread David Sierra Fernandez
Hi, Pedro (o deberia decir hola!) I think your method is: getGroups(int start, int max) and returns java.utils.List in com.evermind.security.UserManager class You can have a look at orion/docs/api/index.html --- UserManager (Where can you from, Pedro? I think you are also spanish)

Re: PORTABILITY PROBLEMS !!!

2000-06-16 Thread Eric Richardson
Hi David and Karl, I talked to the J2EE group at Java One about this exact subject and just sent a message to the [EMAIL PROTECTED] group. I also cross posted the previous post in this thread as support. I think other people need to let the J2EE team know about these issues and the importance

Problems with Orion's EJB examples

2000-06-16 Thread David Heffelfinger
I am having problems running the Cart EJB example that comes with orion. When I try to execute the CartClient class, I get a security exception. C:\orion\demo\ejb\cartjava -classpath ../../../orion.jar;../../../ejb.jar;../../../jndi.jar;. CartClient Exception in thread "main"