Hi,

I have an application client that uses EJB that I like to
distribute through Java Web Start. The client works fine
with both the ApplicationClientInitialContextFactory and
the RMIInitialContextFactory JNDI factories when launched
from the command line, however when launched from the Java
Web Start program manager the client hangs in either
new InitalContext() or the ctx.lookup call depending on
which of the factories I use.

No error messages are given in the logfile.

The ear, web application and application client are all
run locally with orion 1.5.2.

As a side note, if I kill the orion server just after
launching the application client through Java Web Start
I get:
java.io.StreamCorruptedException:
  InputStream does not contain a serialized object at
  com.evermind.server.rmi.RMIContext.lookup(Unknown Source)
  at javax.naming.InitialContext.lookup(Unknown Source)
so it seems that some kind of connection is established
between the client and the server.

Suggestions? Is the Java Web Start environment (classloader,
security manager, etc) interfering with Orion?

Regards,
/Magnus



Reply via email to