JBoss + Tomcat Plugin Errors with IDEA
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Hari_Om
Posted On:   Tuesday, December 17, 2002 03:06 PM

Hi Experts: I read your article at I am using JBoss(3.0.0) which is BUNDLED with Tomcat(4.0.3). I am using IDEA(3.0.1). I am using WIN XP. I want to INTEGRATE TOMCAT with my IDE and followed your instructions. I first installed jbossIntegrationlib directory to my C:IDEAplugin and then followed your instruction to create web app. My web app name is kithany and created a directory kithany.war in JBossserverdefaultdeploy When a create a NEW Project in IDEA I enter following information: Name: kithany Location: C:Documents and SettingsmkithanyIdeaProjectskithany.ipr Target JDK 1.3 Compiler output path C:JBossserverdefaultdeploykitha   More>>

Hi Experts:



I read your article at


I am using JBoss(3.0.0) which is BUNDLED with Tomcat(4.0.3). I am using IDEA(3.0.1). I am using WIN XP.



I want to INTEGRATE TOMCAT with my IDE and followed your instructions. I first installed jbossIntegrationlib directory to my C:IDEAplugin and then followed your instruction to create web app. My web app name is kithany and created a directory kithany.war in JBossserverdefaultdeploy



When a create a NEW Project in IDEA I enter following information:

Name: kithany

Location: C:Documents and SettingsmkithanyIdeaProjectskithany.ipr

Target JDK 1.3

Compiler output path C:JBossserverdefaultdeploykithany.warWEB-INFclasses


Project Path C:JBossserverdefaultdeploykithany.war

Source Path C:JBossserverdefaultdeploykithany.war

Classpath Selected all files in

C:jdk1.3lib ools.jar

C:Jbosscatalinaservercommonlib*.jar

C:Jbosscatalinaserverlib*.jar





Later when I RUN. I get a screen wherein I ADD a WebApp with following information:

Name:kithany

Web Application Name: kithany (C:JBossserverdefaultdeploykithany.war)

Application Server: Tomcat

Debuggee Host: localhost

Debuggee Port: 5050

Catalina Home: C:JBosscatalina

Path to Catalina Config: C:JBosscatalinaconf

Application context path: kithany



After clicking APPLY and then RUN I get following ERROR wonder why?





C:jdk1.3 injavaw.exe -Djava.endorsed.dirs=C:jboss-3.0.0_tomcat-4.0.3catalina in;C:jboss-3.0.0_tomcat-4.0.3catalinacommonlib -Dcatalina.base=C:Documents and Settingsmkithany.IntelliJIdeasystem omcat_kithany_c6c7ed18 -Dcatalina.home=C:jboss-3.0.0_tomcat-4.0.3catalina -Djava.io.tmpdir=C:jboss-3.0.0_tomcat-4.0.3catalina emp -classpath C:jdk1.3lib ools.jar;C:jboss-3.0.0_tomcat-4.0.3catalina in ootstrap.jar;;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibcatalina.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibjakarta-regexp-1.2.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-common.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-default.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-invoker.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-manager.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-snoop.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-webdav.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlib omcat-ajp.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlib omcat-util.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibwarp.jar;C:jboss-3.0.0_tomcat-4.0.3serverdefaultdeploykithany.warWEB-INFclasses;C:jboss-3.0.0_tomcat-4.0.3catalina in ootstrap.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaservercommonlib
aming-common.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaservercommonlib
aming-resources.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaservercommonlibservlet.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibcatalina.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibjakarta-regexp-1.2.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-common.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-default.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-invoker.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-manager.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-snoop.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibservlets-webdav.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlib omcat-ajp.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlib omcat-util.jar;C:jboss-3.0.0_tomcat-4.0.3catalinaserverlibwarp.jar;C:jdk1.3jrelibi18n.jar;C:jdk1.3jrelibjaws.jar;C:jdk1.3jrelib
t.jar;C:jdk1.3jrelibsunrsasign.jar org.apache.catalina.startup.Bootstrap start



Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: org/xml/sax/HandlerBase

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:486)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)

at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

at java.lang.ClassLoader.loadClass(ClassLoader.java:297)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)

at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

at org.apache.catalina.startup.Catalina.createStartMapper(Catalina.java:280)

at org.apache.catalina.startup.Catalina.start(Catalina.java:722)

at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)

at org.apache.catalina.startup.Catalina.process(Catalina.java:179)

at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)

Process terminated with exit code 2




Would really appreciate if you could give some information on above error.


THANKS for your precious time.

   <<Less
About | Sitemap | Contact