Cannot Start Tomcat under JBuilder 6 anymore
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Rolf_Lehmann
Posted On:   Thursday, May 16, 2002 12:37 AM

Hi there I had JBuilder 6 german installed. After I could not create useable EJBs with this version I uninstalled the german and installed the english version. Now I'm able to create EJBs. Since I use the english version, I cannot start Tomcat anymore from within my project my launching a JSP file. Do you have any idea how I can fix this problem? This is the error message: C:ProgrammeJBuilder6jdk1.3.1 injavaw -classpath " C:ProgrammeJBuilder6jakarta-tomcat-4.0.1 in ootstrap.jar; C:ProgrammeJBuilder6jdk1.3.1demojfcJava2DJava2Demo.jar; C:ProgrammeJBuilder6jdk1.3.1jrelibi18n.jar; C:ProgrammeJBuilder6jdk1.3.1jrelibjaws.jar; C:Prog   More>>

Hi there


I had JBuilder 6 german installed. After I could not create useable EJBs with this version I uninstalled the german and installed the english version. Now I'm able to create EJBs.


Since I use the english version, I cannot start Tomcat anymore from within my project my launching a JSP file.


Do you have any idea how I can fix this problem?


This is the error message:



			
C:ProgrammeJBuilder6jdk1.3.1 injavaw

-classpath "

C:ProgrammeJBuilder6jakarta-tomcat-4.0.1 in ootstrap.jar;

C:ProgrammeJBuilder6jdk1.3.1demojfcJava2DJava2Demo.jar;

C:ProgrammeJBuilder6jdk1.3.1jrelibi18n.jar;

C:ProgrammeJBuilder6jdk1.3.1jrelibjaws.jar;

C:ProgrammeJBuilder6jdk1.3.1jrelib
t.jar;

C:ProgrammeJBuilder6jdk1.3.1jrelibsunrsasign.jar;

C:ProgrammeJBuilder6jdk1.3.1libdt.jar;

C:ProgrammeJBuilder6jdk1.3.1libhtmlconverter.jar;

C:ProgrammeJBuilder6jdk1.3.1lib ools.jar"

-Dcatalina.home="C:/Programme/JBuilder6/jakarta-tomcat-4.0.1" org.apache.catalina.startup.Bootstrap start

-config "C:ProjekteDWAconfserver80.xml" -nonaming
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: javax/net/ServerSocketFactory

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:120)

at org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)

at org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)

at org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)

at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)

at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)

at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1214)

at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)

at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)

at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)

at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)

at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)

at javax.xml.parsers.SAXParser.parse(SAXParser.java:290)

at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)

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

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)
   <<Less

Re: Cannot Start Tomcat under JBuilder 6 anymore

Posted By:   Anonymous  
Posted On:   Thursday, May 16, 2002 06:48 PM

Hi,

I'm currently also using the english version of JB6. I believe in order for you to use the EJB wizards for creating EJB, you'd need to have Borland AppServer installed.

As for tomcat, it is installed together with JB6. From my understanding, tomcat is a Web Server, not an App Server, hence you would'nt be able to get your EJBs running with it.

I've 2 suggestions for your problem:

One: Project -> Default Properties -> Server. Ensure that Tomcat is selected as the Web Server. Ensure that the path that it contains points to the right JAR files.

Two: Uninstall your JB6, download a fresh trial copy and reinstall in. If you've the CD, try reinstalling from it again.

Hope this helps.
About | Sitemap | Contact