File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Failure extracting war files - URGENT!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Failure extracting war files - URGENT!!" Watch "Failure extracting war files - URGENT!!" New topic
Author

Failure extracting war files - URGENT!!

Sonalika Arora
Greenhorn

Joined: Mar 03, 2004
Posts: 1
hi all,
I have deployed my application login.ear to Weblogic 6.1 on a Sun Solaris System after making some changes to my applet present in .war file.
I have successfully compiled my class & created reqd war & ear files.
On server startup it gives the exception :
<Mar 3, 2004 4:33:39 PM IST> <Error> <HTTP> <[WebAppServletContext(119813,wl_man
agement_internal2,/wl_management_internal2)] failure extracting WAR classes
java.io.IOException: Permission denied
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1162)
at java.io.File.createTempFile(File.java:1247)
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper
.java:71)
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebA
ppServletContext.java:3405)
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServl
etContext.java:3376)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletCont
ext.java:862)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
ntext.java:815)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:428)
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java:74)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:329)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:144)
at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServe
r.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy32.addWebDeployment(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDe
ployment(WebServerMBean_CachingStub.java:1121)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:315)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(Depl
oymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBean
s(ConfigurationMBeanImpl.java:491)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
eanImpl.java:984)
at weblogic.management.internal.DynamicMBeanImpl.addDeployment(DynamicMB
eanImpl.java:971)
at weblogic.management.internal.DynamicMBeanImpl.add(DynamicMBeanImpl.ja
va:956)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:648)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy10.addTarget(Unknown Source)
at weblogic.management.mbeans.custom.ApplicationManager.createAndDeployG
lobalWebApp(ApplicationManager.java:484)
at weblogic.management.mbeans.custom.ApplicationManager.createAndDeployG
lobalWebApp(ApplicationManager.java:436)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManag
er(ApplicationManager.java:345)
at weblogic.management.mbeans.custom.ApplicationManager.start(Applicatio
nManager.java:160)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMB
eanImpl.java:636)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl
.java:621)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(Configurat
ionMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
55)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
23)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy42.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub
.start(ApplicationManagerMBean_CachingStub.java:480)
at weblogic.management.Admin.startApplicationManager(Admin.java:1180)
at weblogic.management.Admin.finish(Admin.java:590)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:518)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:203)
at weblogic.Server.main(Server.java:35)
The server starts & on running the application it shows me screen from old applet class files!
On which dir should i provide proper permissions so that it is able to extract latest classes from WAR file??
Thanks
amarok amarok
Greenhorn

Joined: Mar 08, 2004
Posts: 1
Hi evberybody
i have also a deployment problem with an application on the Weblogic server 7.0 SP4. It runs on Jakarta Tomcat.
Can somebody help me please ?
Here'is the log results :
==============================
preparing application seafret_ext_1-2-0 on Extr_Qua
Exception caught for task Activate application seafret_ext_1-2-0 on Extr_Qua: 149233

Start server side stack trace:
java.lang.InternalError: jzentry == 0
at java.util.zip.ZipFile$2.nextElement(ZipFile.java(Compiled Code))
at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java(Compiled Code))
at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java(Compiled Code))
at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java(Compiled Code))
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java(Compiled Code))
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java(Compiled Code))
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java(Compiled Code))
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java(Compiled Code))
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationContainer.java(Compiled Code))
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java(Compiled Code))
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java(Compiled Code))
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java(Compiled Code))
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java(Compiled Code))
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java(Compiled Code))
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
--------------- nested within: ------------------
weblogic.management.ManagementException: 149233 - with nested exception:
[java.lang.InternalError: jzentry == 0]
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java(Compiled Code))
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java(Compiled Code))
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java(Compiled Code))
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java(Compiled Code))
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
End server side stack trace

####<8 mars 04 12:16:12 CET> <Error> <Deployer> <mowgli> <Extr_Qua> <ExecuteThread: '7' for queue: 'default'> <kernel identity> <> < 149233> <Unexpected error was encountered during the deployment process.>
####<8 mars 04 12:16:12 CET> <Error> <Deployer> <mowgli> <Extr_Qua> <ExecuteThread: '7' for queue: 'default'> <kernel identity> <> < 149201> <The Slave Deployer failed to complete the deployment task with id 20 for the application seafret_ext_1-2-0.>
========================
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failure extracting war files - URGENT!!