This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Deployment exception of war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Deployment exception of war file" Watch "Deployment exception of war file" New topic
Author

Deployment exception of war file

Ajay Vikas
Ranch Hand

Joined: Nov 08, 2006
Posts: 66

Hi Ranchers,

I got the following exceptions when i deployed the application. Stack trace is,

####<13-Oct-09 10:49:40> <Error> <Management> <tstts024> <asfserver> <Application Manager Thread> <system> <> <141004> <IOException opening application asfdomain:Name=PinSetup,Type=Application, loading from path ./config/asfdomain/applications>
java.io.FileNotFoundException: invalid END header (bad central directory offset)
at weblogic.management.mbeans.custom.Application.findType(Application.java:1947)
at weblogic.management.mbeans.custom.Application.adminLoad(Application.java:458)
at weblogic.management.mbeans.custom.Application.load(Application.java:394)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:374)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:466)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:207)
at $Proxy8.load(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:980)
at weblogic.management.mbeans.custom.ApplicationManager.addApplication(ApplicationManager.java:954)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:851)
at weblogic.management.mbeans.custom.ApplicationManager.poll(ApplicationManager.java:781)
at weblogic.management.mbeans.custom.ApplicationManager.update(ApplicationManager.java:210)
at weblogic.management.mbeans.custom.ApplicationManager$ApplicationPoller.run(ApplicationManager.java:1135)

Please help me over this.

--
Vikas.

Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Looks like some sort of an internal error when weblogic is trying to determine the application type ? Can you provide more information ? For example is it a war or ear ? Does the application work on another container ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Ajay Vikas
Ranch Hand

Joined: Nov 08, 2006
Posts: 66

Thanks for your reply. It is a struts-war file and we use weblogic 6.x and solaris box for deployment.
Please let me know for more details.

--
Vikas.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

WL 6 is pretty outdated. I am not able to make anything out of the error. Do you have the option of upgrading to a newer release of weblogic ?
Ajay Vikas
Ranch Hand

Joined: Nov 08, 2006
Posts: 66

Hey thank you for your touch on this issue. We got rid off this issue as it is due to corrupt of war file during transfer which we discovered much later. It is worked now. We support Weblogic 6 as it is required to support one of our esteemed client.

Thanks,
Vikas.
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6661
    
    5

Glad that you were able to solve it. Thanks for sharing your solution.

Ask your client to upgrade. Support for WL 6 was supposed to be done with a while back
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deployment exception of war file
 
Similar Threads
how to configure Weblogic 6.1 with JSTL?
RuntimeErrorException on weblogic 6.0
struts and weblogic 6.1
Encountering errors when weblogic is started
strange error on deploying bmp