Well, I have given this another three days. So now, 20+ hours of struggling
later I could really use some help:

I appreciate Magnus's reply below. But what is not clear is why I (and some
others) have no luck with the default XML user manager.

I always get the following error when I try to add a user using the "New User"
part of the PetStore:

"com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back:
java.lang.RuntimeException: NamingException: system/UserManager not found at
ShoppingClientController_StatefulSessionBeanWrapper8.handleEvent(ShoppingClientController_StatefulSessionBeanWrapper8.java,

Compiled Code) at
com.sun.estore.control.web.ShoppingClientControllerWebImpl.handleEvent(ShoppingClientControllerWebImpl.java:143)

at..."

If I put a user into application-deployments/petstore/principals.xml then I can
log that user in without error (that is, if I just submit the login form and
bypass "New User"). Also, if I get rid of the reference to OrionSecurityAdapter
in orion-ejb-jar.xml then I can add a PetStore account (the user account data
can be found in the database). But I cannot make *both* things happen...and both
_must_ happen. First the app is supposed to create an Account using the PetStore
Account EJB and then it is supposed to call the security adapter's addUser
method to add the user to a role.

I've tried adding a jndi.properties file (can't imagine why I'd need to do so
for the "default" user manager, but what the heck)...and reinstalling both Orion
and the PetStore, reconfiguring from scratch more than once..and yet .I _always_
end up at the same dead end.

Please help if you can.

Thanks,

Brian Cunningham

Magnus Stenman wrote:

> The PetStore and the ATM both use the XMLUserManager (implicit default), ie
> principals.xml on our live site. If you need a clustered version you need to
> pick one of the other usermanagers provided (ie DataSourceUserManager or
> EJBUserManager - LDAPUserManager is still under development) or create your
> own. But the bottom line is that no app is/should be tied to a particular
> manager in general (as little as it should be tied to a particular database
> implementation/brand).
>
> I hope that helps, have a nice day!
>
> /Magnus Stenman, the Orion team
>
> ----- Original Message -----
> From: "Kalvar, Kirk" <[EMAIL PROTECTED]>
> To: "Orion-Interest" <[EMAIL PROTECTED]>
> Sent: Friday, June 23, 2000 4:47 PM
> Subject: RE: Pet Store and UserManager problems
>
> > I noticed that the Orion Team has the UserManager implemented on their web
> > site demo of the PetStore.  Any chance of getting some feedback from them
> on
> > how they it up?
> >
> > Kirk S. Kalvar, Software Engineer
> > DRS Electronic Systems Group
> >





Reply via email to