[jboss-user] [JNDI/Naming/Network] - Re: java.lang.ClassNotFoundException: org.jnp.interfaces.Nam

PeterJ do-not-reply at jboss.com
Thu Dec 14 22:52:43 EST 2006


Let's try one more thing. Set this environment variable:

set _JAVA_LAUNCHER_DEBUG=1

Add the 'output' attribute to the < java > task so that you can capture the program output in a file.  In addition, add the -verbose:class JVM argument. So the < java > task would look like:


<java classname="com.Client" classpathref="client.classpath" fork="true" output="output.txt">
  |   <jmvarg value="-verbose:class" />
  | </java>

If you have problems with the above steps, run your client from the command line (instead of within Ant), and redirect stdout to a file.

The resulting output will be too long to post, so email it to me (click on my name in the Author column to see my email address).

Another suggestion is to write a very simple client that does nothing but get the initial context and request the EJB. If that works, then there is something about your client that is causing a class loader issue. 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994107#3994107

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3994107



More information about the jboss-user mailing list