Question : How to package an EAR file for a struts, ejb, and utility module for WebSpher 6.1 using RAD 7.5.1?

Hi,
I have an application that uses struts 1.3.8 with the web module.
It also uses an ejb  module and an utility module for the ejb module.

Now when I run this application on the local test server for webspher 6.1 it runs fine.

But when I export it as an EAR module, then try to deploy it on local server, it does not run properly.
The server complaints which looks like ... the app can't find the classes for the utility module.
 
I can't seem to find out why this is the case.
Can someone shed me some light as to how to package this EAR properly so that the ejb module can find the dependent utility module so that it can be exported and then run properly?

Thanks much,
_Esam

Answer : How to package an EAR file for a struts, ejb, and utility module for WebSpher 6.1 using RAD 7.5.1?

I figured out the problem.
As I noted earlier, when I run the app from within RAD on the local test server, it runs fine.
But when I export the ear (the export succeeds), and then deploy it on local server, it seems like it can't find the utility classes needed by the ejb module...
So, I made some changed on how the WebSphere loads the classes...
For my app, I changed "Class Loading and update detection"
For class loader order > Classes loaded with application class loader first
For WAR class loader policy > Single class loader for application

Once I made these changes, the app was able to find the classes, and the app runs fine now...

_Esam.
Random Solutions  
 
programming4us programming4us