You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ti...@bt.com on 2008/01/10 15:12:50 UTC

Tomcat Java Wrapper problems under T4.1.18, jdk1.3.1

Hi
 
I'm attempting to use the Tomcat Wrapper  (http://people.apache.org/~fhanik/wrapper.html) on our elderly set-up -
Tomcat 4.1.18
Java JDK 1.3.1
Since its the only way I can see to ever obtain thread dumps of Tomcat running as a service.
 
As far as I can tell, the code in ThreadDumpWrapper won't work in this environment, because
1) InetAddress.getByAddress() is only in JDK1.4.x
2) org.apache.catalina.startup.Bootstrap doesn't appear to be in the Tomcat 4.1 libs
 
So I think I can use InetAddress.getByName(null) for #1, but what should I alter #2 to ?
I think the maintainer of the software is on this list, so hopefully I can get a way forward.
 
thanks!
 
Tim
 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Java Wrapper problems under T4.1.18, jdk1.3.1

Posted by Filip Hanik - Dev Lists <de...@hanik.com>.
hi Tim, ThreadDumpWrapper, you have the source code for that, so you can 
modify it any way you want, including compiling it for JDK 1.3.1
but the class Bootstrap is in 4.1, it should be in TC_HOME/bin/bootstrap.jar

Filip

tim.fulcher@bt.com wrote:
> Hi
>  
> I'm attempting to use the Tomcat Wrapper  (http://people.apache.org/~fhanik/wrapper.html) on our elderly set-up -
> Tomcat 4.1.18
> Java JDK 1.3.1
> Since its the only way I can see to ever obtain thread dumps of Tomcat running as a service.
>  
> As far as I can tell, the code in ThreadDumpWrapper won't work in this environment, because
> 1) InetAddress.getByAddress() is only in JDK1.4.x
> 2) org.apache.catalina.startup.Bootstrap doesn't appear to be in the Tomcat 4.1 libs
>  
> So I think I can use InetAddress.getByName(null) for #1, but what should I alter #2 to ?
> I think the maintainer of the software is on this list, so hopefully I can get a way forward.
>  
> thanks!
>  
> Tim
>  
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org