Websphere 6 - Does not start (Java not recognized command)

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
Abhijeet1980
Participant
Posts: 81
Joined: Tue Aug 15, 2006 8:31 am
Location: Zürich
Contact:

Websphere 6 - Does not start (Java not recognized command)

Post by Abhijeet1980 »

Hello Friends,

Having a tough time doing an upgrade to Datastage 8.1 from Datastage 7.5.

Env.
Datastage 8 Services plus repository on SQL Server 2005 - Server 1
Datastage engine plus clients running - Server 2

A few days ago, WAS6 stopped by itself. When tried to restart, gave following message.

D:\IBM\WebSphere\AppServer\profiles\default\bin>serverStatus.bat -all '
"D:\IBM\WebSphere\AppServer\java\bin\java"' is not recognized as an internal or external command, operable program or batch file.

D:\IBM\WebSphere\AppServer\profiles\default\bin>

After searching, found that java.exe is missing in the D:\IBM\WebSphere\AppServer\java\bin folder.

the only files present in the above Java folder are :

appletviewer.exe
dbghelp.dll
extcheck.exe
HtmlConverter.exe
idlj.exe
jar.exe
jarsigner.exe
javac.exe
javadoc.exe
javah.exe
javap.exe
javaw.exe
jdb.exe
jdmpview.exe
jformat.exe
native2ascii.exe
rmic.exe
serialver.exe

Has anybody encountered this error or situation earlier.

Kind regards,
Abhijit Gaikwad
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You need to find out who "disappeared" it (since clearly it has been there previously, because things worked). Can it be restored from system backups?

Another thought - should the bat file be executing javaw rather than 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.
Abhijeet1980
Participant
Posts: 81
Joined: Tue Aug 15, 2006 8:31 am
Location: Zürich
Contact:

Post by Abhijeet1980 »

Thanks, Ray.

But, I do not suspect this. BMC PAtrol is running on the system and it hasnt found any file deletions.

Problem lies somewhere with fix pack 1, which was applied lately. Have it installed another Java_Home, I have no idea about.

IBM support have been reported about this strange behavior. $Java_Home used is IBM\Websphere\appserver\java\. It has far less number of files than expected $Java_Home.

We tried to start WAS using Java\Jre\Bin which has all java files. Surprisingly, upon execution of java.exe it says "No public JRE". Even for "java -version".

Question is, Has anybody witnessed a similar kind of problem in past.

Kind regards,
Abhijit Gaikwad
Kind regards
Abhijit Gaikwad
Abhijeet1980
Participant
Posts: 81
Joined: Tue Aug 15, 2006 8:31 am
Location: Zürich
Contact:

Post by Abhijeet1980 »

I found one link but unsure about link to our problem.

http://www.ibm.com/developerworks/forum ... dID=174762

-Abhijit
Abhijeet1980
Participant
Posts: 81
Joined: Tue Aug 15, 2006 8:31 am
Location: Zürich
Contact:

Post by Abhijeet1980 »

Workaround.
Doing the installation from scratch to get rid of the missing files problem. Unfortunately, our Admin team is unable to restore selective files or folders.

Thanks.

Abhijit Gaikwad
Post Reply