-
1. Re: java.lang.NoClassDefFoundError: javax/net/SocketFactory
joelvogt Jul 9, 2002 3:17 AM (in response to chanly)looks like it needs jnet.jar on cp
-
2. Re: java.lang.NoClassDefFoundError: javax/net/SocketFactory
chanly Jul 9, 2002 3:55 PM (in response to chanly)But I still get the following error message with "ant intro-interest-client"
init:
[echo] Using JBoss directory=d:\jboss-3.0.0_tomcat-4.0.3
[echo] Using base classpath=D:\jboss-3.0.0_tomcat-4.0.3\client\jboss-j2ee.j
ar;D:\jboss-3.0.0_tomcat-4.0.3\client\jaas.jar;D:\jboss-3.0.0_tomcat-4.0.3\clien
t\jbosssx-client.jar;D:\jboss-3.0.0_tomcat-4.0.3\client\jboss-client.jar;D:\jbos
s-3.0.0_tomcat-4.0.3\client\jnp-client.jar;D:\jboss-3.0.0_tomcat-4.0.3\client\jn
et.jar;D:\catalina\common\lib\servlet.jar
[echo] Using Source directory=D:\jboss-3.0.0_tomcat-4.0.3\docs\examples
[echo] Using Build directory=D:\jboss-3.0.0_tomcat-4.0.3\docs\examples/buil
d-examples
intro-interest-client:
compile:
[javac] Compiling 1 source file to D:\jboss-3.0.0_tomcat-4.0.3\docs\examples
\build-examples\interest\classes
interest-client:
[java] Got context
[java] javax.naming.NameNotFoundException: Interest not bound
BUILD SUCCESSFUL
Total time: 16 seconds -
3. Re: java.lang.NoClassDefFoundError: javax/net/SocketFactory
joelvogt Jul 9, 2002 8:05 PM (in response to chanly)mok, did you get any message on deployment in server log?
-
4. Re: java.lang.NoClassDefFoundError: javax/net/SocketFactory
ralexander Jul 11, 2002 7:45 PM (in response to chanly)To fix this problem I changed two lines in ../examples/jboss/docs/interest/build.xml.
The jar was deploying to /server/all/deploy. I made it deploy to /server/default/deploy.
Hope this helps, the two changed lines are in the snippet below.
Ron
<!--changed from server/all/deploy to server/default/deploy--> -
5. Re: java.lang.NoClassDefFoundError: javax/net/SocketFactory
ralexander Jul 11, 2002 7:47 PM (in response to chanly)I changed the ../examples/org/jboss/docs/interest/build.xml so the jar deploys from /server/all/deploy to /server/default/deploy.
Fixed that problem but am running into others now.
The changed lines are in the xml snippet below.
Hope this helps,
Ron
<!--changed from server/all/deploy to server/default/deploy-->