On Wed, Jun 17, 2009 at 02:56:59PM -0700, Rich Teer wrote:
> Hi all,
> IHAC who is trying to run one of their applications in a Solaris 8
> branded zone.  The global OS is Solaris 10 5/09 and we're using
> Solaris 8 containers version 1.0.1, on a Sun Fire 280R server with
> a 750 MHz CPU and 6 GB of RAM.
> Although apparently quite tempremental, their app runs acceptably
> when run on Solaris 8 natively (i.e., S8 on bare metal rather than
> in a branded zone), but crashes very frequently when run in the
> branded container.  Of course, the applicatiopn source code is
> unavailable...  :-(
> The application, called Vantive, talks to an Oracle 8.1.6 database,
> and is written in Java.  The Vantive app ships with version 1.2.2
> of the Java runtime, and we've tried version 1.5.

Do you mean you've tried both 1.2.2 and 1.5?  Is the failure identical with
both jvms?

> Annoyingly, when we try trussing the errant process, it doesn't crash!
> When a crash does happen, a core dump usually occurs, but hasn't been
> too helpful.  The crashes do seem to be happening from within the JVM,
> if the ::stack output from mdb is to be believed.

The ::stack should be correct.  Have you looked at the core from the
global zone?  It shouldn't matter, but it can't hurt.  Also use pstack
on the core.

Is it in hotspot (dynamcially generated) code?  If so the function names will
just be hex.  Is it dying the jvm itself, or in jni code (java bindings to
native code provided by Vantive)?

> Does this ring any bells?  Is there anything we can do to help debug this?
> Note that the branded zone seems to work just fine apart from this one
> (rather major) issue.

No bells.  The only Java problem I've seen was in 1.1.8, and it does not
exist on java 1.2+.  Best to contact support to debug.  Could be a jvm (or
other bug) that they were lucky enough to never hit on their native s8
system.  Given the truss thing, it is likely a race/timing issue, they they
may have never hit on slower systems.  Is the application threaded?

-Steve L.

> Any thoughts greatfully received!
> -- 
> URLs: http://www.rite-group.com/rich
>       http://www.linkedin.com/in/richteer
> _______________________________________________
> zones-discuss mailing list
> zones-discuss@opensolaris.org
zones-discuss mailing list

Reply via email to