JBuilder/Tomcat integration please help


2003-10-04 07:07:10 AM
jbuilder2
Hello,
I have just downloaded version 4.1 of tomcat. I'm having problems
integrating tomcat with jbuilder.
I get the following error when I try to run a simple web applicaton:
C:\j2sdk1.4.1_03\bin\javaw -classpath
"E:\JBuilder6\jakarta-tomcat-4.0.1\bin\bootstrap.jar;E:\JBuilder6\jakarta-to
mcat-4.0.1\lib\jasper-compiler.jar;E:\JBuilder6\jakarta-tomcat-4.0.1\lib\jas
per-runtime.jar;E:\JBuilder6\jakarta-tomcat-4.0.1\lib\naming-factory.jar;E:\
JBuilder6\jakarta-tomcat-4.0.1\lib\webserverglue.jar;C:\j2sdk1.4.1_03\demo\j
fc\Java2D\Java2Demo.jar;C:\j2sdk1.4.1_03\demo\plugin\jfc\Java2D\Java2Demo.ja
r;C:\j2sdk1.4.1_03\jre\lib\charsets.jar;C:\j2sdk1.4.1_03\jre\lib\ext\dnsns.j
ar;C:\j2sdk1.4.1_03\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.1_03\jre\lib\ext\loc
aledata.jar;C:\j2sdk1.4.1_03\jre\lib\ext\sunjce_provider.jar;C:\j2sdk1.4.1_0
3\jre\lib\im\indicim.jar;C:\j2sdk1.4.1_03\jre\lib\jaws.jar;C:\j2sdk1.4.1_03\
jre\lib\jce.jar;C:\j2sdk1.4.1_03\jre\lib\jsse.jar;C:\j2sdk1.4.1_03\jre\lib\r
t.jar;C:\j2sdk1.4.1_03\jre\lib\sunrsasign.jar;C:\j2sdk1.4.1_03\lib\dt.jar;C:
\j2sdk1.4.1_03\lib\htmlconverter.jar;C:\j2sdk1.4.1_03\lib\tools.jar" -Dcata
lina.home="E:/JBuilder6/jakarta-tomcat-4.0.1"
org.apache.catalina.startup.Bootstrap start -config
"E:\Projects\mosaic\mosaic\conf\server8082.xml" -nonaming
HttpConnector Opening server socket on all host IP addresses
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
WebappLoader[/mosaic]: Deploying class repositories to work directory
E:\Projects\mosaic\mosaic\work\mosaic
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/activation.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\activation.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/ant.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\ant.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/bootstrap.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\bootstrap.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/catalina-ant.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\catalina-ant.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/catalina.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\catalina.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-beanutils.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-beanutils.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-collections.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-collections.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-daemon.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-daemon.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-dbcp.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-dbcp.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-digester.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-digester.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-fileupload-1.0.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-fileupload-1.0.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-logging-api.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-logging-api.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-logging.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-logging.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-modeler.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-modeler.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/commons-pool.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\commons-pool.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/jaas.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\jaas.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/jakarta-regexp-1.2.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\jakarta-regexp-1.2.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/jasper-compiler.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\jasper-compiler.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/jasper-runtime.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\jasper-runtime.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/jdbc2_0-stdext.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\jdbc2_0-stdext.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/jndi.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\jndi.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/jta.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\jta.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/mail.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\mail.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/mx4j-jmx.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\mx4j-jmx.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/naming-common.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\naming-common.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/naming-factory.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\naming-factory.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/naming-resources.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\naming-resources.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/servlet.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\servlet.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/servlets-common.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\servlets-common.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/servlets-default.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\servlets-default.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/servlets-invoker.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\servlets-invoker.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/servlets-manager.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\servlets-manager.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/servlets-webdav.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\servlets-webdav.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/struts.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\struts.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tomcat-coyote.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tomcat-coyote.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tomcat-http11.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tomcat-http11.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tomcat-jk.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tomcat-jk.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tomcat-jk2.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tomcat-jk2.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tomcat-jni.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tomcat-jni.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tomcat-util.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tomcat-util.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tomcat-warp.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tomcat-warp.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/tools.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\tools.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/xercesImpl.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\xercesImpl.jar
WebappLoader[/mosaic]: Deploy JAR /WEB-INF/lib/xmlParserAPIs.jar to
E:\Projects\mosaic\mosaic\WEB-INF\lib\xmlParserAPIs.jar
StandardManager[/mosaic]: Seeding random number generator class
java.security.SecureRandom
StandardManager[/mosaic]: Seeding of random number generator has been
completed
ContextConfig[/mosaic]: Added certificates ->request attribute Valve
StandardWrapper[/mosaic:default]: Loading container servlet default
StandardWrapper[/mosaic:invoker]: Loading container servlet invoker
WebappLoader[]: Deploying class repositories to work directory
E:\Projects\mosaic\mosaic\work
StandardManager[]: Seeding random number generator class
java.security.SecureRandom
StandardManager[]: Seeding of random number generator has been completed
ContextConfig[]: Added certificates ->request attribute Valve
StandardWrapper[:default]: Loading container servlet default
StandardWrapper[:invoker]: Loading container servlet invoker
Exception during startup processing
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
Caused by: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:1073)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:989)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:1073)
at
org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader
.java:989)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1293)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1156)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:801)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:
3267)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
... 5 more
Any tips would be greatly appreciated.
Cheers,
Rudi