Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: Tomcat under UML

Benjamin Temko

2003-06-02


Hi again all,

After much pain and utterances of phrases to profane to repeat here, I have
found the solution to the "Tomcat under UML" problem. Simply, you have to
have a version of UML >=2.5.50, as this fixes a SEGV crash when running some
Java apps. Our version of UML came from apt-getting the package, which is
older than that on the "woody" version of debian.

I give the solution here so that anyone else who has this problem can find it
faster than I did.

Ben

On Friday 30 May 2003 10:26 am, Benjamin Temko wrote:
> Greetings, all -
>
> I have searched many different sources for information about Tomcat running
> in a UML server, and the only things I can find are documents protesting
> that it's possible. It certainly seems as if it ought to be, since Apache
> runs right out of the box, and java applications compile and execute with
> no difficulties. I myself have not been so lucky. I have been running
> Tomcat for several months now under "normal" linux, happily building
> projects - this has surpassed my capacity for googling the answers. I
> apologize in advance if this topic has been covered before - with the
> mail-archive server down it's not possible for me to check historical
> records.
>
> The pertinents:
>
> Tomcat 4.x, 5.x
> Debian Linux 4.2.18 UML
> JDK 1.3, 1.4.x
>
> I have tried all combinations of Tomcat and JDKs, but no matter what I do,
> Tomcat barfs upon startup with this message (4.x version, jdk 4.1.2beta):
>
> ===============================

<log file snipped>

> ========================================================
>
> It's not a very helpful message, as you can see - something outside of the
> JVM SEGVd, which makes sense given that I get this message no matter what
> JDK I use. I suspect an important thread is getting inadvertantly killed
> somewhere if only because I've seen SEGV messages when killing some java
> applications which are multi-threaded (in the sense that I multi-threaded
> it myself). This is actually a little further than it usually gets, too.
> Typically it barfs right after the line near the very top that says:
>
> Apache Tomcat/4.1.24
>
> The interesting thing is that all of the versions of the libraries in this
> UML server (I do not know why it lists each library twice in this core-dump
> sort of listing) are the same versions as the libraries on the machine
> hosting the UML server, and tomcat runs perfectly well on that machine
> (also debian 4.2.18) *outside* of the UML server. It doesn't matter what
> version of tomcat or the JVM I use, I always get this message immediately
> after startup - I don't even get a chance to make any requests to the
> tomcat before it barfs. It starts up, it dies. It's always PC=0x89000000,
> and it never knows where it's happening.
>
> I've tried using Debian's apt-get to let it install everything it thinks it
> needs to run Tomcat, and it doesn't work. I've tried installing the
> packages myself, and it doesn't work. Has anyone else out there gotten
> Tomcat to run under UML? What's the secret?


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.