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

forumer do-not-reply at jboss.com
Thu Dec 14 20:50:56 EST 2006


Here is an excerpt from build.xml. myClient.jar are my classes. Classpath must be ok as things work when I place the JNDI variables in system variables!


  |   <path id="client.classpath">
  |     <fileset dir="${build.dir}/jar">
  |       <include name="myClient.jar" />
  |     </fileset>
  |     <pathelement location="c:/Temp" />
  |     <!--<path refid="build.classpath"/>-->
  | 
  |     <fileset dir="${client.lib}">
  |       <include name="jbossall-client.jar" />
  |       <include name="jboss-aop-jdk50-client.jar" />
  |       <include name="jboss-aspect-jdk50-client.jar" />
  |       <include name="jboss-common-client.jar" />
  |       <include name="jbossall-client.jar" />
  |     </fileset>
  | 
  | 
  |   <target name="runClient" depends="package-client">
  |         <echo message="Client lib= ${client.lib}"/>
  |     <property name="clientClasspath" refid="client.classpath"/>
  |         <echo message="Client classpath= ${clientClasspath}"/>
  |       <java classname="com.Client" classpathref="client.classpath" fork="true">
  |       </java>
  |   </target>
  | 
  | 
  | 

Thanks.

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

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



More information about the jboss-user mailing list