Skip to Content
0
Aug 09, 2005 at 01:13 PM

Issue using VA to redeploy J2EE web app

14 Views

I have a simple J2EE App. I can build and deploy it in NWDS (dev studio) any number of times and application works fine.

When I install it using Visual Admin, first time application installs fine and works fine. If I remove app and restart the WAS (or reboot machine), I get errors in trying to deploy my EAR from VA.

-


Begin VA Error----


Deploy

Deploy of the ear has errors :

java.rmi.RemoteException: Cannot deploy application myFooCompany.com/FooApp..

Reason: Exception during generation of components of application myFooCompany.com/FooApp in container EJBContainer.; nested exception is:

com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception during generation of components of application myFooCompany.com/FooApp in container EJBContainer.

-


End VA Error -


[At this time I can deploy EAR from Dev Studio without problems and app works properly].

More intriguing thing is if I restart WAS (after removing my eJB app) and just let WAS run for few hours and (re)deploy my EAR using VA, everything is fine no problems.

FYI: I am using "admin" user account in all cases. Is there something I can look for in "C:\usr\sap\J2E\JC00\SDM\program\log"? I looked at all latest files but nothing to say why problem is?

a) Any solutions?

b) Is there something that needs to be done when using VA differently then deploying using Developer Studio?

Thanks