unable to start App server

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
peep
Premium Member
Premium Member
Posts: 162
Joined: Mon Aug 20, 2012 6:52 pm

unable to start App server

Post 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?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Point JAVA_HOME to /opt/IBM/WebSphere/AppServer/java_1.7_64/bin/java
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
peep
Premium Member
Premium Member
Posts: 162
Joined: Mon Aug 20, 2012 6:52 pm

Post 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 .
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post 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.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
peep
Premium Member
Premium Member
Posts: 162
Joined: Mon Aug 20, 2012 6:52 pm

Post 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.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So, in other words it IS a "Java problem".
-craig

"You can never have too many knives" -- Logan Nine Fingers
peep
Premium Member
Premium Member
Posts: 162
Joined: Mon Aug 20, 2012 6:52 pm

Post 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
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post 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.
Choose a job you love, and you will never have to work a day in your life. - Confucius
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

I think its because the startup script sets JAVA_HOME if its not set.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
Post Reply