Using JBuilder 5 with WebSphere 3.5 on a Wizard generated EJB produces errors related to the file admin.config. How is this resolved?

By: Christopher Moeller

Abstract: Resolving Error: java.io.FileNotFoundException: /WebSphere/AppServer/bin/admin.config

Question:

When attempting to run an EJB which was generated using the wizards in JBuilder 5 using WebSphere 3.5, I receive the following error message:

FATAL Encountered an exception in the main method {0}java.rmi.RemoteException: ; nested exception is:

java.io.FileNotFoundException: /WebSphere/AppServer/bin/admin.config (The system cannot find the path specified)

java.io.FileNotFoundException: /WebSphere/AppServer/bin/admin.config (The system cannot find the path specified)

Why is this occurring?

 

Answer:

If the ..\WebLogic\AppServer\bin directory is not on the system path, it will not be able to find the admin.config file. Fortunately this may be configured within JBuilder:

Project | Project Properties | Servers | select WebSphere 3.5 | choose Edit... | and indicate the following in the Working directory field:

<drive letter>:\WebSphere\AppServer\bin

 


Server Response from: ETNASC01