tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Wood <jas...@auto-trol.com>
Subject Intellij and Tomcat
Date Thu, 20 Nov 2003 23:12:39 GMT
I see that this has been posted on before but I did not see an answer. 

1) I can run my web application using Tomcat by itself.
2) When I try to debug or run my web application form Intellij (With Tomcat
choosen as my Application Server) I receive the following...
3) The is a lot of text below, if you want scroll to the bottom to see the
exception.

C:\j2sdk1.4.0_02\bin\javaw.exe -Djava.endorsed.dirs=C:\Program Files\Apache
Group\Tomcat 4.1\bin;C:\Program Files\Apache Group\Tomcat 4.1\common\lib
-Dcatalina.base=C:\Documents and
Settings\jaswoo\.IntelliJIdea\system\tomcat_centra2000_cbb42cff
-Dcatalina.home=C:\Program Files\Apache Group\Tomcat 4.1
-Djava.io.tmpdir=C:\Program Files\Apache Group\Tomcat 4.1\temp -Xdebug
-Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -classpath
C:\j2sdk1.4.0_02\lib\tools.jar;C:\Program Files\Apache Group\Tomcat
4.1\bin\bootstrap.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\activation.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\ant.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\commons-collections.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\commons-dbcp-1.1.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\commons-logging-api.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\commons-pool-1.1.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jasper-compiler.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jasper-runtime.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jdbc2_0-stdext.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jndi.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\jta.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\mail.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\naming-common.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\naming-factory.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\naming-resources.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat
4.1\common\lib\tools.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\catalina-ant.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\catalina.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\commons-beanutils.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\commons-digester.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\commons-fileupload-1.0.jar;C:\Program Files\Apache
Group\Tomcat 4.1\server\lib\commons-logging.jar;C:\Program Files\Apache
Group\Tomcat 4.1\server\lib\commons-modeler.jar;C:\Program Files\Apache
Group\Tomcat 4.1\server\lib\jaas.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\jakarta-regexp-1.3.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\mx4j-jmx.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\servlets-common.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\servlets-default.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\servlets-invoker.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\servlets-manager.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\servlets-webdav.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\tomcat-coyote.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\tomcat-http11.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\tomcat-jk.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\tomcat-jk2.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\tomcat-util.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\tomcat-warp.jar;C:\Program Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\classes;C:\j2sdk1.4.0_02\jre\lib\charsets.jar
;C:\j2sdk1.4.0_02\jre\lib\jaws.jar;C:\j2sdk1.4.0_02\jre\lib\jce.jar;C:\j2sdk
1.4.0_02\jre\lib\jsse.jar;C:\j2sdk1.4.0_02\jre\lib\rt.jar;C:\j2sdk1.4.0_02\j
re\lib\sunrsasign.jar;C:\j2sdk1.4.0_02\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.0_0
2\jre\lib\ext\ldapsec.jar;C:\j2sdk1.4.0_02\jre\lib\ext\localedata.jar;C:\j2s
dk1.4.0_02\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\classes;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\test\classes;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\attclm.jar;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\lib\centra2000.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\classes12.jar;C:\Program Files\Apache
Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\commons-httpclient.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\commons-logging.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\jaxen-full.jar;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\lib\jdbc-se2.0.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\jdbc2_0-stdext.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\jh.jar;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\lib\jsptest.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\jstl.jar;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\lib\log4j-core.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\log4j.jar;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\lib\nls_charset12.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\saxpath.jar;C:\Program Files\Apache
Group\Tomcat 4.1\webapps\centra2000\WEB-INF\lib\standard.jar;C:\Program
Files\Apache Group\Tomcat
4.1\webapps\centra2000\WEB-INF\lib\vault.jar;C:\Program Files\Apache
Group\Tomcat 4.1\common\lib\servlet.jar;C:\Program Files\Apache Group\Tomcat
4.1\server\lib\mx4j-jmx.jar org.apache.catalina.startup.Bootstrap start
Nov 20, 2003 4:56:59 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Nov 20, 2003 4:57:05 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 443
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:203)
Caused by: java.lang.NoClassDefFoundError:
javax/management/MBeanRegistration
	at java.lang.ClassLoader.findBootstrapClass(Native Method)
	at java.lang.ClassLoader.findBootstrapClass0(ClassLoader.java:730)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
	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:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:130)
	at
org.apache.coyote.tomcat4.CoyoteConnector.initialize(CoyoteConnector.java:10
97)
	at
org.apache.catalina.core.StandardService.initialize(StandardService.java:579
)
	at
org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2246)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:511)
	at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
	at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
	... 5 more
Process terminated with exit code 2

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message