aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Strange problem when updating ear file with war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Strange problem when updating ear file with war file" Watch "Strange problem when updating ear file with war file" New topic
Author

Strange problem when updating ear file with war file

Mike Sever
Ranch Hand

Joined: Jul 24, 2006
Posts: 56
1. I have already installed a ear file(including ejb module) successfully.
2. Update the existing ear file, Select "Single module" and upload a simple war module(including one simple jsp, irrelevnt to ejb ref...), and in "Select installation options" tick the checkbox "Deploy enterprise beans".
3. After clicking the "Finish" button at the last step, there are such lines in the result page:

Update of test_ear has started.
ADMA5009I: An application archive is extracted at /xxxxx/ibm/wasnd/profiles/xxxxxmgr/wstemp/app_10caa5dfb8b/ext/test2.war
ADMA5008E: EJBDeploy failed on /xxxxx/ibm/wasnd/profiles/xxxxxmgr/wstemp/app_10caa5b26bd/dpl/dpl_test_ear.jar: com.ibm.websphere.management.exception.AdminException: No EJB or EAR file found to process.
ADMA5011I: The cleanup of the temp directory for application test_ear is complete.
Update of test_ear has ended.

I've tried for seveval times...


<i>Mike</i>
Mike Sever
Ranch Hand

Joined: Jul 24, 2006
Posts: 56
It is ok only after first adding web module to ear and then install the whole ear file.
It seems: if add a web module to update the ear file by "Single module", the checkbox "Deploy enterprise beans" should not be ticked no matter whether web module is relevant to ejb...maybe due to it can not find the previous class/jar files.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange problem when updating ear file with war file