File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Problem redploying an existing ear Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Problem redploying an existing ear" Watch "Problem redploying an existing ear" New topic

Problem redploying an existing ear

Ashish Garg
Ranch Hand

Joined: Jul 04, 2004
Posts: 68
I am facing issues while redploying the existing application with the Weblogic server 8.1. The application is packaged in an ear file containg both Web and Ejb modules. The ejb inside the ejb.jar file has some propeties like transaction time out pool size etc defined in indivual weblogic-ejb-jar.xml files. When we chnage some of the properties while extracting the xml file and then again try to redeploy the ear we are failing to redeploy the application. Any suggestion on this will be helpful.
we dont want this application to be deployed as exploded fomat.


SCJP1.2, SCWCD1.4, SCBCD1.3, SCBCD 5.0, SCDJWS, SCEA, IBM Certified SOA Associate
s rufus

Joined: Sep 21, 2005
Posts: 10
Are u sure that it was undeployed properly ? Sometimes it happens that the ear is still present in the "upload" directory and weblogic might not let ur new ear with the same name to be deployed.
Just ensure that in ur Applications>"ur application name">targets no selection is made and "Apply" those changes.
Check in the deploy tab of the same page if it says "No targets selected for this module".
If possible also manually delete ur ear from the upload directory.Try this it might work.
Ashish Garg
Ranch Hand

Joined: Jul 04, 2004
Posts: 68
Thanks s rufus for your comments. I have checked that the app is properly undeployed and I have deleted the ear manually also from applications directory. What I feel there is a file -Wl_generated in the jar inside ear that has some time stamp. When I am modifying the xml file in the jar the values inside the wl_generated is not chnaging. I think this might be the reason for the error may be I am wrong. Please suggest.

I agree. Here's the link:
subject: Problem redploying an existing ear
It's not a secret anymore!