hi,
also bei mir funktioniert das nicht und ich weiß nicht wieso
ich bin nach folgender doku vorgegangen:
http://tomcat.apache.org/connectors-doc ... quick.html
hier meine worker.properties welche in /etc/apache2 liegt:
Code: Alles auswählen
workers.tomcat_home = /opt/tomcat6
workers.java_home = /usr/lib/jvm/java-1.5.0-sun-1.5.0.10
ps = /
worker.list = worker1
worker.worker1.port = 8009
worker.worker1.host = localhost
worker.worker1.type = ajp13
worker.worker1.connection_pool_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=60
worker.worker1.mount=/TrackStudio /TrackStudio/*
workers.tomcat_home muss wohin zeigen? aufs tomcat home verzeichniss oder auf das jk.load modul?
worker.worker1.mount verstehe ich nicht! was soll da stehen? ich habe direkt im tomcat webapps verzeichniss eine applikation namens TrackStudio liegen. Daher dachte ich das meine definition so ok ist. mit diesem mount spart man sich laut doku die jkload direktive in der virtualhost konfiguration.
hier mal die ausgabe meines tomcats beim start:
Code: Alles auswählen
12.08.2007 16:04:30 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/../lib/i386
12.08.2007 16:04:30 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12.08.2007 16:04:30 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 974 ms
12.08.2007 16:04:31 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12.08.2007 16:04:31 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
16:04:35,424 INFO com.trackstudio.startup.Config:initTrackStudioHome:509 - loading properties from WEB-INF
log4j:WARN No appenders could be found for logger (com.trackstudio.startup.Config).
log4j:WARN Please initialize the log4j system properly.
16:04:36,267 INFO com.trackstudio.kernel.manager.LicenseManager:logVersion:63 - TrackStudio 3.2.2 [08.03.2006]
16:04:36,284 INFO com.trackstudio.startup.DatabaseValidator:validate:446 - Checking database integrity
16:04:42,994 INFO com.trackstudio.kernel.cache.TaskCacheManager:getInstance:69 - Initializing task cache
16:04:47,426 INFO com.trackstudio.kernel.cache.TaskRelatedManager:<init>:91 - Tree Cache has been initialized.
16:04:47,687 INFO com.trackstudio.startup.Daemon:run:88 - Starting Daemon
12.08.2007 16:04:48 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
12.08.2007 16:04:49 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
12.08.2007 16:04:49 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/44 config=null
12.08.2007 16:04:49 org.apache.catalina.startup.Catalina start
INFO: Server startup in 18592 ms
12.08.2007 16:05:31 org.apache.jk.common.MsgAjp processHeader
SCHWERWIEGEND: BAD packet signature 18245
12.08.2007 16:05:31 org.apache.jk.common.ChannelSocket processConnection
SCHWERWIEGEND: Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:306)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:577)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Thread.java:595)
12.08.2007 16:05:31 org.apache.jk.common.MsgAjp processHeader
SCHWERWIEGEND: BAD packet signature 18245
12.08.2007 16:05:31 org.apache.jk.common.ChannelSocket processConnection
SCHWERWIEGEND: Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:306)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:577)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Thread.java:595)
12.08.2007 16:08:29 org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
12.08.2007 16:08:30 org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
12.08.2007 16:08:31 org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
12.08.2007 16:08:36 org.apache.catalina.core.AprLifecycleListener init
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.10/jre/../lib/i386
12.08.2007 16:08:36 org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
12.08.2007 16:08:36 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 981 ms
12.08.2007 16:08:36 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
12.08.2007 16:08:36 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
16:08:40,659 INFO com.trackstudio.startup.Config:initTrackStudioHome:509 - loading properties from WEB-INF
log4j:WARN No appenders could be found for logger (com.trackstudio.startup.Config).
log4j:WARN Please initialize the log4j system properly.
16:08:41,285 INFO com.trackstudio.kernel.manager.LicenseManager:logVersion:63 - TrackStudio 3.2.2 [08.03.2006]
16:08:41,299 INFO com.trackstudio.startup.DatabaseValidator:validate:446 - Checking database integrity
16:08:50,897 INFO com.trackstudio.kernel.cache.TaskCacheManager:getInstance:69 - Initializing task cache
16:08:57,406 INFO com.trackstudio.kernel.cache.TaskRelatedManager:<init>:91 - Tree Cache has been initialized.
16:08:58,056 INFO com.trackstudio.startup.Daemon:run:88 - Starting Daemon
12.08.2007 16:08:59 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
12.08.2007 16:09:00 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
12.08.2007 16:09:00 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/312 config=null
12.08.2007 16:09:00 org.apache.catalina.startup.Catalina start
INFO: Server startup in 23865 ms
leider fällt mir die interpretation des logfiles hier etwas schwer. was z.b ist mit der info in zeile 2 gemeint? hat das etwas mit dem ajp13 connector zu tun?
auf jeden fall meldet mein browser bei der eingabe von:
http://localhost/TrackStudio ein NotFound!!!
mehr als das was ich hier gepostet habe habe ich auch nicht angelegt oder konfiguriert. sollte aber laut doku ausreichen.
jemand nen tipp oder ne idee wieso es nicht funktioniert?
gruesse