users@glassfish.java.net

Fail to setup glassfish LB with SJWS 7.0

From: <forums_at_java.net>
Date: Mon, 28 Mar 2011 22:00:57 -0500 (CDT)

My environment :

 

1. CentOS 5 64-bit

2. JDK 64 bit version installed

3. Glassfish V2.1.1

 

My situations :

1. I follow the guide to set up load balancer from this url
http://glassfish.java.net/javaee5/build/GlassFish_LB_Cluster.html. And I have
ever successfully set up the LB server on Windows 2003 server (32-bit).

 

2. The first time I tried to set up LB server using Sun Java Web Server 7.0
and ASLB plugin for glass fish v2.1.1 by using SJWS 7.0 64-bit version, the
error occured "ELF32 : ....." when I tried to start instance using command
"wadm start-instance ....". I do some google around and found that the
ASLB plugin is only compiled with 32-bit version only. So, I've to configure
the SJWS server to run on 32-bit mode. But, I don't know how to do that.

 

3. I decided to change the installation version of SJWS from 64-bit version
to 32-bit version (as I can see the "i386" folder instead of "amd64" in
<webserver-install-dir>/jdk/jre/lib/...). And follow the instructions again.

 

4. Now, when I try to start server instance using command "wadm
start-instance ....". The error occurs "CORE4005: Internal error: unable to
create JVM". So, I digged to web instance log file and I found this

 

[29/Mar/2011:10:45:27] info ( 2393): CORE1116: Sun Java System Web Server
7.0U8 B01/20/2010 08:12
[29/Mar/2011:10:45:27] info ( 2394): CORE3282: stdout: Error occurred during
initialization of VM
[29/Mar/2011:10:45:27] info ( 2394): CORE3282: stdout: Unable to load native
library: libjava.so: cannot open shared object file: No such file or
directory
[29/Mar/2011:10:45:27] catastrophe ( 2394): CORE4005: Internal error: unable
to create JVM
 

 

It states that there is no "libjava.so" in the library. I rechecked by go to
the folder <webserver-install-dir>/jdk/jre/lib/i386/ and libjava.so is
there!!!.

So... Must I link the library or add the path to environment variables? Or Do
I do wrong in installation process?

 

Please Help!. Thank you for your response.

 


--
[Message sent by forum member 'tee4cute']
View Post: http://forums.java.net/node/786168