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 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?
Question is: Why do you want to deploy from studio and from VA? That just makes no sense.
Additionally it is the reason why you get in trouble. VA goes around SDM (software deployment manager) with it's installation and because of that does not have the same information. I guess there is some version conflict.