Page 1 of 1

unable to start App server

Posted: Tue Dec 02, 2014 12:51 pm
by peep
IIS 11.3.1
WAS 8.5
on Linux 86 Redht
It is standalone installation.
I am having trouble starting up WAS services .

ADMU4000I: Server server1 stop completed.-->(stopped ,but while starting see below error,)

java.lang.UnsatisfiedLinkError: nio (/opt/IBM/InformationServer/jdk/jre/lib/amd64/libnet.so: symbol RCM_JCL_ReadV, version SUNWprivate_1.1 not defined in file libjava.so with link time reference)
at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:1217)


I am restarting WAS as root user.
when I type which Java --> /usr/bin/java
may be I should point JAVA_HOME to /opt/IBM/WebSphere/AppServer/java_1.7_64/bin/java

Any idea's or suggestions?

Posted: Tue Dec 02, 2014 3:52 pm
by ray.wurlod
Point JAVA_HOME to /opt/IBM/WebSphere/AppServer/java_1.7_64/bin/java

Posted: Tue Dec 02, 2014 11:22 pm
by peep
Am I suppose to set this variable in dsenv or dsadm .profile or root .profile ?

As I use root user to start up .

Posted: Wed Dec 03, 2014 5:53 am
by priyadarshikunal
yes, to which ever user is used to restart these services. But if you put it in profile, it might not take it when the system is rebooted as .profile is sources when you login to the system. and you will have start the services manually. Is there any other service/software installed on that server which might be setting JAVA_HOME?

You can also choose to make this change in DS startup script so its set to this path by default.

Posted: Wed Dec 03, 2014 10:38 am
by peep
To me it looks like JAVA is not the problem.

So today after stopping the app server .

I ran MetadataServer.sh run and It threw the same error message
java.lang.UnsatisfiedLinkError: nio (/opt/IBM/InformationServer/jdk/jre/lib/amd64/libnet.so: symbol RCM_JCL_ReadV, version SUNWprivate_1.1 not defined in file libjava.so with link time reference)

Then I have set JAVA_HOME=/opt/IBM/WebSphere/AppServer/java_1.7_64/jre/lib/amd64/compressedrefs:/opt/IBM/WebSphere/AppServer/java_1.7_64/jre/lib/amd64:/opt/IBM/WebSphere/AppServer/lib/native/linux/x86_64/:/opt/IBM/WebSphere/AppServer/bin::/lib:/lib64:/usr/lib

Echoed and it return .

Tried to start up the Metadataserver again same error .

logout from putty
In new session with out setting JAVA_HOME I tried to startup
Appserver started.

Posted: Wed Dec 03, 2014 11:22 am
by chulett
So, in other words it IS a "Java problem".

Posted: Wed Dec 03, 2014 12:25 pm
by peep
I did this as well

JAVA_HOME=/opt/IBM/WebSphere/AppServer/java_1.7_64/jre
export JAVA_HOME

and typed which java
/usr/bin/java ------------> displayed


not sure how and which java to point

Posted: Thu Dec 04, 2014 6:02 am
by qt_ky
When I restart everything as root I do not have any java in my PATH and nothing related to java set in the env vars.

Posted: Thu Dec 04, 2014 7:27 am
by priyadarshikunal
I think its because the startup script sets JAVA_HOME if its not set.