javalinuxwebsphereibm-was

/opt/IBM/WebSphere/AppServer/java/bin/java: No such file or directory


I am running python file to start HTTP server in WebSphere but suddenly its searching java in some wrong location Then I stopped server and trying to start by startNode.sh shell script but its not starting server and giving same error its searching java in /opt/IBM/WebSphere/AppServer/java/bin/java.

previously it was fine even I set the java class-path in bash_profile.

When I try to run the file ./startNode.sh or ./startManager.sh its giving error.

ERROR CODE:

/opt/IBM/WebSphere/AppServer/bin/startNode.sh: line 151: /opt/IBM/WebSphere/AppServer/java/bin/java: No such file or directory.

How can I specify the path so web-sphere server can take it correctly. Thanks in advance.


Solution

  • The paths in WebSphere are managed by the managesdk command.

    The startNode.sh script not working seems to indicate the install was modified by either moving the JDK or changing a script to point elsewhere.