[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

tomcat in woody?



Heya all,

I'm having some difficulty making tomcat run in debian woody.  I did the
usual "apt-get install", and it fires up ok, but then starts logging
many exceptions to stdout.log.  I've done this on pretty much completely
clean debian boxes, three of, and get the same result everywhere.

There's nothing running on port 8081.  Is there any extra work I have to
do to configure it or something?  I'm basically java-clueless,
unfortunately :(

Log basically looks like this - the exception repeats as quickly as it
can, until I kill the server:

dev:/var/log/tomcat# tail -f stdout.log
Jdk11Compat: Installing jar protocol handler 
EmbededTomcat: Init time 10555
Guessed home=/usr/share/tomcat
java.lang.reflect.InvocationTargetException
        at
org.apache.tomcat.util.IntrospectionUtils.execute(IntrospectionUtils.java:87)
        at org.apache.tomcat.startup.Main.execute(Main.java:313)
        at org.apache.tomcat.startup.Main.main(Main.java:140)
2002-07-31 03:19:24 - SessionIdGenerator: Opening /dev/urandom
2002-07-31 03:19:25 - ServerXmlReader:
Config=$TOMCAT_HOME/conf/server.xml
2002-07-31 03:19:25 - PathSetter: home=/usr/share/tomcat
2002-07-31 03:19:25 - ContextXmlReader: Context
config=$TOMCAT_HOME/conf/apps-examples.xml
2002-07-31 03:19:25 - AutoWebApp: Auto-Adding DEFAULT:/
2002-07-31 03:19:25 - AutoWebApp: Loaded from config: DEFAULT:/examples
2002-07-31 03:19:25 - ContextManager: Tomcat configured and in stable
state 
2002-07-31 03:19:25 - ContextManager: Adding  DEFAULT:/examples
2002-07-31 03:19:25 - ContextManager: Adding  DEFAULT:/ROOT
2002-07-31 03:19:28 - Http10Interceptor: Starting on 8081
PoolTcpEndpoint: Endpoint
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8081] ignored
exception: java.net.SocketException: Socket closed
java.net.SocketException: Socket closed
        at java.net.PlainSocketImpl.close(PlainSocketImpl.java:408)
        at java.net.Socket.close(Socket.java:383)
        at java.net.ServerSocket.implAccept(ServerSocket.java:206)
        at java.net.ServerSocket.accept(ServerSocket.java:181)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:314)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:459)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:519)
        at java.lang.Thread.run(Thread.java)




Reply to: