Jonathan Whitehead wrote:
>
> I'm trying to switch from RMI to Jeremie and am having problems.
>
> I set OBJECTWEB_ORB to JEREMIE, installed javacc and followed the
> instructions in
> $OBJECTWEB_HOME/README for re-compiling JOnAS. I changed my
> jonas.properties to
>
> java.naming.provider.url jrmi://localhost:12340
> java.naming.factory.initial
> org.objectweb.jeremie.libs.services.registry.jndi.JRMIInitialContextFactory
>
> I added <permission java.io.SerializablePermission
> "enableSubstitution";>
> to my java policy file (because EJBServer wanted this permission). I
> recompiled my beans for good measure. I started Jeremie with "registry".
> Unlike rmiregistry this returns to the command prompt but it outputs a
> promising message and leaves some processes behind so I assume that's
> OK.
>
> The first time I run EJBServer it throws a socket permission exception
> (even though the java policy file permits this access), then the JOnAS
> trace message "sending_request() creates request context null". The
> second and subsequent times I just get the trace message.
>
> Anybody understand what's going wrong? Have I forgotten to do something?
>
> See below for the details
>
> Thanks,
> Jonathan
Hi Jonathan,
I would first try what Philippe Durieux suggested in his reply
which is to enable AllPermission in your security policy. If that
doesn't work, I would also try specifying a real IP name or address
instead of "localhost" in the JNDI provider URL.
Kathleen Milsted
France Telecom CNET
Distributed Systems Architecture department (DTL/ASR)
28 chemin du Vieux Chene
BP 98, 38243 Meylan Cedex
FRANCE
Tel: +33 4 76 76 45 94
Fax: +33 4 76 76 45 57
E-mail: [EMAIL PROTECTED]
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".