users@glassfish.java.net

Re: How to run both 64 and 32 bit JVM in Glassfish

From: Sathyan Catari <Sathyan.Catari_at_Sun.COM>
Date: Wed, 03 Feb 2010 11:48:55 -0800

How about if you run 64 bit JVM with -Dos.arch="i386" and then try to
load the 32 bit
native library? Could be a crude solution :-)

-Sathyan

emiddio-verizon wrote:
> the jvm runs glassfish - glassfish does not run the jvm;
>
> a 32bit dll requires a 32bit jvm;
>
> so seems to me you have to run the glassfish with 32bit jvm if you
> want to use your 32bit dll.
>
> gary
>
>
>
> ----- Original Message ----- From: <glassfish_at_javadesktop.org>
> To: <users_at_glassfish.dev.java.net>
> Sent: Wednesday, February 03, 2010 9:12 AM
> Subject: How to run both 64 and 32 bit JVM in Glassfish
>
>
>> I have Glassfish running on a Redhat server using a 64 bit JVM.
>> However, I need to load and run a 32 bit native library that will be
>> called using the Java Native Interface (JNI). This requires the 32
>> bit JVM.
>>
>> I had to install a 32 bit JVM to do this with Tomcat. However, I
>> don't want to limit Glassfish to only a 32 bit JVM.
>>
>> My question is, how do I configure Glassfish to run both 64 and 32
>> bit JVMs? Is this a domain level configuration? Do I need to install
>> 2 complete Glassfish web servers to accomplish this?
>>
>> I'd also be interested in the simplest way to work around the native
>> library class loading problem.
>>
>> Thanks
>> [Message sent by forum member 'superstition_free'
>> (superstition_free_at_yahoo.com)]
>>
>> http://forums.java.net/jive/thread.jspa?messageID=384560
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>