I'm using ANT for building my EAR file and deployed successfully on WAS 4. now due to change in method signature I need to redeploy only one jar file. what All I need to do for this? I've tried simply by replacing DeployedJar... thanx in advance
If it is a EJB Jar file, then one way of achieving this would be stop app server. Overwrite the Jar file individually and then re-start the app server. This would make the new jar file avbl. to the system
if u r building the EAR file (including the deployed code & websphere specific xmi files) then u can use the EARExpander to expand in the installedApps dir & the restart the server. BUT the recommended way would be to use wscp - ApplicationServer stop - EnterpriseApp remove - EnterpriseApp install - ApplicationServer start
So Recommended thing is If there is a change in one method signature. I need to Redeploy the EAR file? I tried replacing the DeployedJar(in WAS) file with the newly created one, but the changes are not reflected. This is the only place where I can see the information about the Deployed Jar files in Installed Apps.
I have same question here. In WAS3.5, we can re-deploy an individual EJB if there is a change, but in the 4.0 or later, we can only re-deploy the whole enterprise application for a single EJB change? Thanks for any reply.
hi, there is one more approach. if the individual jar is modified, u can replace the jar file in the exploded directory (InstalledApps) and run ejbDeploy.bat file on the new jar to create the new stubs/skeletons for the same so that the changes will be reflected. this way u dont have to redeploy it. otherwise u can also open the jar in AAT and generate the stub/skeleton code and save this new jar file into the InstalledApps folder. hope this helps. kiran
Thanks<br /> <br />Kiran <br /> <br />SCEA, SCJP 1.4,<br /> <br />"First they ignore u, then they laugh at u, then they fight u, <br />then u will win<br /> <br />Mahatma Gandhi"