I'm guessing missing servlet.jar in classpath.. I haven't switched to 3.0RC yet so maybe jnet.jar is the new servlet jar?
----- Original Message ----- From: "Marius Kotsbak" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 7:02 AM Subject: Re: [JBoss-user] problem in interest example - class not found!!! > Include jnet.jar in your classpath. > > On Tue, 2002-06-04 at 12:55, Ibrahim Salloum wrote: > hello, > > in the interest example, iam able to deploy the bean, but when i try to > "ant" the client, it reports an error... and here is the full store... > > > >ant intro-interest-client > Buildfile: build.xml > validate-servlet: > validate-jboss: > fail_if_not_valid: > init: > [echo] Using JBoss directory=E:\tools\jboss-3.0.0RC3_tomcat-4.0.3 > [echo] Using base > classpath=E:\tools\jboss-3.0.0RC3_tomcat-4.0.3\client\jboss-j2ee.jar;E:\tool s\jboss-3.0.0RC3_tomcat-4.0.3\client\jaas.jar;E:\to > ols\jboss-3.0.0RC3_tomcat-4.0.3\client\jbosssx-client.jar;E:\tools\jboss-3.0 .0RC3_tomcat-4.0.3\client\jboss-client.jar;E:\tools\jboss-3.0.0RC3_tomcat- > 4.0.3\client\jnp-client.jar;E:\Docs\JBoss > 3.0\documentation-example\examples\COULD_NOT_FIND_SERVLET_JAR > [echo] Using Source directory=E:\Docs\JBoss > 3.0\documentation-example\examples > [echo] Using Build directory=E:\Docs\JBoss > 3.0\documentation-example\examples/build-examples > intro-interest-client: > compile: > [javac] Warning: org\jboss\docs\interest\InterestBean.java modified > in the future. > [javac] Warning: org\jboss\docs\interest\InterestClient.java > modified in the future. > [javac] Warning: org\jboss\docs\interest\InterestHome.java modified > in the future. > [javac] Compiling 3 source files to E:\Docs\JBoss > 3.0\documentation-example\examples\build-examples\interest\classes > > interest-client: > [java] Exception in thread main > [java] java.lang.NoClassDefFoundError: javax.net.SocketFactory > [java] javax.naming.Context > org.jnp.interfaces.NamingContextFactory.getInitialContext(java.util.Hashtabl e) > [java] javax.naming.Context > javax.naming.spi.NamingManager.getInitialContext(java.util.Hashtable) > [java] javax.naming.Context > javax.naming.InitialContext.getDefaultInitCtx() > [java] void > javax.naming.InitialContext.init(java.util.Hashtable) > [java] void javax.naming.InitialContext.<init>() > [java] void > org.jboss.docs.interest.InterestClient.main(java.lang.String[]) > [java] Java Result: 1 > BUILD SUCCESSFUL > Total time: 1 second > > regards, > > ________________________________________________________________________ > Join the world?s largest e-mail service with MSN Hotmail. Click Here > _______________________________________________________________ Don't > miss the 2002 Sprint PCS Application Developer's Conference August 25-28 > in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > _______________________________________________ JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > ********************************************************************** This e-mail and any files transmitted with it are confidential and may be legally privileged or otherwise exempt from disclosure under applicable law. This e-mail and its files are intended solely for the individual or entity to whom they are addressed and their content is the property of Smiths Aerospace. If you are not the intended recipient, please do not read, copy, use or disclose this communication. If you have received this e-mail in error please notify the e-mail administrator at [EMAIL PROTECTED] and then delete this e-mail, its files and any copies. This footnote also confirms that this e-mail message has been scanned for the presence of known computer viruses. *********************************************************************** _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user