Page 1 of 1

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

Posted: Wed Apr 21, 2010 8:43 am
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

Posted: Wed Apr 21, 2010 9:07 pm
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?

Posted: Sun Apr 25, 2010 10:15 am
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

Posted: Tue Apr 27, 2010 5:14 am
by Abhijeet1980
I found one link but unsure about link to our problem.

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

-Abhijit

Posted: Tue Jun 01, 2010 6:49 am
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