tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "O. Gross - Principio" <gros...@principio.de>
Subject AW: Startup problem on SuSE Linux 7.3
Date Wed, 17 Apr 2002 10:44:35 GMT
Hi Martin,
make shure that the symlink /usr/lib/java points to the J2SE. SuSE by
default sets this to JDK1.8.something.
In /etc/rc.config the value CREATE_JAVALINK should be set to "no" because
otherwise each time SuSEconfig runs it will set the link back.
Another thing would be to try to reach tomcat through <servername>:8080 or
<serveradress>:8080, if this works, it's a problem with routing/dns (trivial
but sometimes true ;-) )

greetings
olaf



-----Urspr√ľngliche Nachricht-----
Von: Martin Giljohann [mailto:mgiljohann@gmx.de]
Gesendet: Sonntag, 14. April 2002 12:39
An: Tomcat Users List
Betreff: Startup problem on SuSE Linux 7.3


Hi, could someone please help me out with my problem getting Tomcat to work?
I tried to get it working for several days now but I always get stuck at the
same point.

I'm running J2SE 1.3.1-b24 on SuSE Linux 7.3. Each time I try to start
Tomcat 4.0.3 like this:

linux:/ # /usr/local/jakarta-tomcat-4.0.3/bin/startup.sh
Using CATALINA_BASE:   /usr/local/jakarta-tomcat-4.0.3
Using CATALINA_HOME:   /usr/local/jakarta-tomcat-4.0.3
Using CATALINA_TMPDIR: /usr/local/jakarta-tomcat-4.0.3/temp
Using JAVA_HOME:       /usr/lib/java
linux:/ #

absolutely nothing happens afterwards. If try to reach port 8080 in Mozilla
browser I get "The connection was refused when attempting to contact
localhost:8080." I get the same message if change the port e.g. to 1977. I
also told mozilla not to go through a proxy for localhost and I can reach
e.g. Apache HTTP Server by using localhost - so this shouldn't be a problem.
Below I've the error message on a part of my server.xml .

I would appreciate any comments on this.
Thanks! Martin



*****
here's the error message from catalina.out:

ERROR reading /usr/local/jakarta-tomcat-4.0.3/conf/server.xml
At Line 76 /Server/Service/Connector/
className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5
maxProcessors=75 acceptCount=10 debug=0

Catalina.start: java.lang.ClassNotFoundException:
org.apache.ajp.tomcat4.Ajp13Connector
java.lang.ClassNotFoundException: org.apache.ajp.tomcat4.Ajp13Connector
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
	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(Unknown Source)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1477)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
	at org.apache.crimson.parser.Parser2.content(Parser2.java:1766)
	at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1494)
	at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
	at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
	at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
	at org.xml.sax.helpers.XMLReaderAdapter.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
	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)


*****
this is what server.xml says in line 76:

    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
               port="8009" minProcessors="5" maxProcessors="75"
               acceptCount="10" debug="0"/>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message