Hej NG
Jeg kan ikke få det til at virke nårjeg prøver at installere Tomcat 3.2.1 på
Rødhætte 7 box. Jeg har fulgt instruktionerne på
http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/uguide/tomcat_ug.htm
l, med det virker stadig ikke!
Jeg downloaded filen og unzippede den i /usr/tomcat/
Skrev i konsolen(bash) TOMCAT_HOME=/usr/tomcat/jakarta-tomcat-3.2.1 ;
export TOMCAT_HOME
JAVA_HOME =/usr/java/jdk1.3/bin
For at starte Tomcat skrev jeg
/usr/tomcat/jakarta-tomcat-3.2.1/bin/startup.sh
Men så kom der en hel masse fejl
[al@Al-Redhat java]$ /usr/tomcat/jakarta-tomcat-3.2.1/bin/startup.sh
Guessing TOMCAT_HOME from tomcat.sh to
/usr/tomcat/jakarta-tomcat-3.2.1/bin/..
Setting TOMCAT_HOME to /usr/tomcat/jakarta-tomcat-3.2.1/bin/..
Using classpath:
/usr/tomcat/jakarta-tomcat-3.2.1/bin/../lib/ant.jar:/usr/tomcat
/jakarta-tomcat-3.2.1/bin/../lib/jasper.jar:/usr/tomcat/jakarta-tomcat-3.2.1
/bin
/../lib/jaxp.jar:/usr/tomcat/jakarta-tomcat-3.2.1/bin/../lib/parser.jar:/usr
/tom
cat/jakarta-tomcat-3.2.1/bin/../lib/servlet.jar:/usr/tomcat/jakarta-tomcat-3
..2.1
/bin/../lib/test:/usr/tomcat/jakarta-tomcat-3.2.1/bin/../lib/webserver.jar:/
usr/
java/jdk1.3/bin/../lib/tools.jar
[al@Al-Redhat java]$ Unable to open log file:
/usr/tomcat/jakarta-tomcat-3.2.1/l
ogs/servlet.log! Using stderr as the default.
Unable to open log file: /usr/tomcat/jakarta-tomcat-3.2.1/logs/jasper.log!
Usin
g stderr as the default.
2001-01-19 02:30:15 - ContextManager: Adding context Ctx( /examples )
2001-01-19 02:30:15 - ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
FileNotFoundException: META-INF/MANIFEST.MF
FileNotFoundException: docs/api/javax/servlet/ServletException.html
FileNotFoundException:
docs/api/javax/servlet/jsp/tagext/class-use/TagData.htmlFileNotFoundExceptio
n: docs/api/javax/servlet/jsp/tagext/class-use/TagSupport.html
FileNotFoundException:
docs/api/javax/servlet/jsp/tagext/class-use/VariableInfo.html
FileNotFoundException:
docs/api/javax/servlet/jsp/tagext/class-use/BodyTagSupport.html
--- Klip ---
FileNotFoundException: WEB-INF/classes/cal/Entries.java
FileNotFoundException: WEB-INF/classes/cal/TableBean.class
FileNotFoundException: WEB-INF/classes/cal/JspCalendar.java
FileNotFoundException: WEB-INF/classes/cal/JspCalendar.class
at java.io.FileWriter.<init>(FileWriter.java:38)
at org.apache.tomcat.task.IISConfig.execute(IISConfig.java:89)
at
org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:223)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
Error generating automatic Netscape configuration
java.io.FileNotFoundException:
/usr/tomcat/jakarta-tomcat-3.2.1/conf/obj.conf-auto (Permission denied)
java.io.FileNotFoundException:
/usr/tomcat/jakarta-tomcat-3.2.1/conf/obj.conf-auto (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
at java.io.FileWriter.<init>(FileWriter.java:38)
at org.apache.tomcat.task.NSConfig.execute(NSConfig.java:88)
at
org.apache.tomcat.startup.Tomcat.generateServerConfig(Tomcat.java:229)
at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:200)
at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
2001-01-19 02:30:26 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-01-19 02:30:26 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007
Og der var mange, mange flere!
Hvad gør jeg forkert?
Håber at nogen kan hjælpe!
Anders Lybecker