Hello.
> java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
> java.naming.security.principal=<principal>
> java.naming.security.credentials=<credentials>
> java.naming.provider.url=ormi://machineA/myApp
>
> this works when i run a standalone dos program to get a reference to
> KeyGeneratorBean on machineA, so why doesn't it work when
> the same code is run from inside an EJB on machineB?
I had the same problem from inside an JSP page,
and solved it by adding
"dedicated.connection"="true"
to the properties.
However, I'm not sure if this works from inside an EJB also.
(see orion bugzilla bug #176 for this)
/Thomas
--
hybris GmbH | /Thomas Hertz
Frankfurter Ring 162 | Software Engineering
D-80807 München |
|
t +49(0)89 89065-0 | [EMAIL PROTECTED]
f +49(0)89 89065-555 | www.hybris.de
PGP: D070 5D86 BE2D C3AF E2CC D2D8 C29A 7F68 7407 629E