I'm not familiar with Debian but if it's a 2.4 Linux kernel, you may need to set the environment variable LD_ASSUME_KERNEL=2.2.5 to get Java applications (like Tomcat) to work. Some JDK's (like IBM JDK 1.3 and 1.3.1) do this for you automatically. I use IBM's JDK 1.3 with Tomcat 3.3a and 3.3.1 on a RedHat 7.2 system and it works great...
Greg Bailey > >Subject: >[Q] Using IBM JDK with tomcat 3.3 >From: >Sudhakar Chandra <[EMAIL PROTECTED]> >Date: >Thu, 25 Apr 2002 09:36:38 -0700 >To: >[EMAIL PROTECTED] > > >Hi, > >Here is my setup: > >tomcat: 3.3a >mod_jk: 3.3a >Sun JDK: 1.1.8v1 >IBM JDK: 1.1.8 >OS: Debian GNU/Linux "testing" > >When I use Sun's JDK, the ajp12 and ajp13 "workers" start accepting >connections. Here are relevant bits from the log files: > >Jdk11Compat: Installing jar protocol handler >2002-04-25 09:17:17 - SessionIdGenerator: Opening /dev/urandom >2002-04-25 09:17:24 - ServerXmlReader: >Config=$TOMCAT_HOME/conf/server.xml >2002-04-25 09:17:24 - PathSetter: home=/usr/share/tomcat >2002-04-25 09:17:25 - ContextXmlReader: Context >config=$TOMCAT_HOME/conf/apps-examples.xml >2002-04-25 09:17:25 - Ctx(/jsp) : Setting debug to 1 >2002-04-25 09:17:25 - AutoWebApp: Auto-Adding DEFAULT:/ >2002-04-25 09:17:25 - AutoWebApp: Loaded from config: DEFAULT:/examples >2002-04-25 09:17:25 - ContextManager: Tomcat configured and in stable >state >2002-04-25 09:17:25 - ContextManager: Adding DEFAULT:/examples >2002-04-25 09:17:25 - ContextManager: Adding DEFAULT:/jsp >2002-04-25 09:17:25 - ContextManager: Adding DEFAULT:/ROOT > >thaths@daemon:[51] ~ $ telnet localhost 8007 >Trying 127.0.0.1... >Connected to localhost. >Escape character is '^]'. >Connection closed by foreign host. >thaths@daemon:[52] ~ $ telnet localhost 8009 >Trying 127.0.0.1... >Connected to localhost. >Escape character is '^]'. >Connection closed by foreign host. > >However, when I start tomcat using IBM's JDK, ajp12 and ajp13 >"workers" do not accept connections. They don't even start up as far >as I can tell. Here are relevant bits from the log files: > >Jdk11Compat: Installing jar protocol handler >2002-04-25 09:21:52 - SessionIdGenerator: Opening /dev/urandom >2002-04-25 09:22:02 - ServerXmlReader: >Config=$TOMCAT_HOME/conf/server.xml >2002-04-25 09:22:02 - PathSetter: home=/usr/share/tomcat >2002-04-25 09:22:03 - ContextXmlReader: Context >config=$TOMCAT_HOME/conf/apps-examples.xml >2002-04-25 09:22:03 - Ctx(/jsp) : Setting debug to 1 >2002-04-25 09:22:03 - AutoWebApp: Auto-Adding DEFAULT:/ >2002-04-25 09:22:03 - AutoWebApp: Loaded from config: DEFAULT:/examples >2002-04-25 09:22:04 - ContextManager: Tomcat configured and in stable >state >2002-04-25 09:22:04 - ContextManager: Adding DEFAULT:/examples >2002-04-25 09:22:04 - ContextManager: Adding DEFAULT:/jsp >2002-04-25 09:22:04 - ContextManager: Adding DEFAULT:/ROOT > >thaths@daemon:[55] ~ $ telnet localhost 8007 >Trying 127.0.0.1... >telnet: Unable to connect to remote host: Connection refused >thaths@daemon:[56] ~ $ telnet localhost 8009 >Trying 127.0.0.1... >telnet: Unable to connect to remote host: Connection refused > >I'd really like to work using the IBM JDK. What am I doing wrong? >The configurations remain the same in both cases. Your help would be >greatly appreciated. > >Thanks. > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
