Hi
  This is all under Linux.

  I'm trying to access EJBs deployed in a JRun 3.0SP2 server from client
that is a SOAP service that is running under jakarta-tomcat. My client
code sets the security manager and then tries to login but gets the
following Exception:

> javax.naming.CommunicationException: Failed to communicate with XXX.XXX.XXX.XXX:2323.
> Root exception is java.lang.ClassCastException: org.apache.tomcat.protocol.WA
> RConnection
>        at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:500)
>        at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462)
>        at sun.misc.URLClassPath$2.run(URLClassPath.java:258)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)
>        at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)
>        at sun.misc.URLClassPath.getResource(URLClassPath.java:137)
>        at java.net.URLClassLoader$1.run(URLClassLoader.java:192)

(I expect that this is due to the different classes used by Tomcat and
JRun and that the right amount of CLASSPATH manipulation could resolve
this.)

Any one have experience with this and care to help?
THanks


Raymond Blum

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to