users@glassfish.java.net

Re: Glassfish spawns web app into another process from a parent app

From: <glassfish_at_javadesktop.org>
Date: Thu, 08 Mar 2007 08:04:36 PST

Hi Lenok,

Unfortunately, this is not currently possible. We will have this capability at a latter point in time though.

A process always "launches" a GlassFish application server VM. The launched VM is
always a separate process for now. In other words, we don't have a capability to make your
VM run the server in its process, just yet.

In theory, it would be possible to do this by calling the methods on PELaunch class, but
there are various things that you've got to do (setting up classpath, environment variable etc.) before that happens.

I will point to an RFE that's already filed in this regard.

Regards,
Kedar
[Message sent by forum member 'km105526' (km105526)]

http://forums.java.net/jive/thread.jspa?messageID=206873