facebook

Weblogic Deployment Issue [Closed]

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 15 posts - 1 through 15 (of 29 total)
  • Author
    Posts
  • #206953 Reply

    dheerajchugh
    Member

    I am using eclipse 2.1.1 and MyEclipse Enterprise Workbench 2.7.1, which we purchase recently. We are using JDK 1.4

    Everytime we try to deploy our eclipse project to Weblogic using myeclipse we get the following error:- (exploded format)

    <May 12, 2004 11:57:09 AM EDT> <Error> <Deployer> <BEA-149027> <Unable to activate application, _appsdir_geam-blank_dir, from source, C:\bea\user_projects\domains\mydomain\applications\geam-blank. Reason: [J2EE:160028]No J2EE deployment descriptor found at “C:\bea\user_projects\domains\mydomain\applications\geam-blank”.>
    <May 12, 2004 11:57:09 AM EDT> <Error> <Application Poller> <BEA-149410> <Runtime deployment error while deploying – weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “C:\bea\user_projects\domains\mydomain\applications\geam-blank”..
    weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “C:\bea\user_projects\domains\mydomain\applications\geam-blank”.
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1098)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: weblogic.management.ApplicationException: [J2EE:160028]No J2EE deployment descriptor found at “C:\bea\user_projects\domains\mydomain\applications\geam-blank”.
    at weblogic.j2ee.J2EEApplicationContainerFactory.handleError(J2EEApplicationContainerFactory.java:729)
    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:470)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    … 10 more
    >

    ======================================================

    When we try to deploy using the packaged format:- we get the following error:-

    <May 12, 2004 12:02:42 PM EDT> <Error> <Deployer> <BEA-149027> <Unable to activate application, _appsdir_geam-blank_war, from source, C:\bea\user_projects\domains\mydomain\applications\geam-blank.war. Reason: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at weblogic.j2ee.J2EEUtils.getArchiveModuleInfo(J2EEUtils.java:311)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:205)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:467)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <May 12, 2004 12:02:42 PM EDT> <Error> <Application Poller> <BEA-149410> <Runtime deployment error while deploying – weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at weblogic.j2ee.J2EEUtils.getArchiveModuleInfo(J2EEUtils.java:311)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:205)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:467)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    .
    weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at weblogic.j2ee.J2EEUtils.getArchiveModuleInfo(J2EEUtils.java:311)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:205)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:467)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1098)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: weblogic.management.ApplicationException: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at weblogic.j2ee.J2EEUtils.getArchiveModuleInfo(J2EEUtils.java:311)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:205)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:467)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:474)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    … 10 more

    Can you please let us know what could be wrong. The same application when we try to deploy to JBoss using myeclipse, that gets deployed without any issues/errors.

    Thanks,
    Dheeraj.

    #206956 Reply

    Riyad Kalla
    Member

    [J2EE:160028]No J2EE deployment descriptor found at “C:\bea\user_projects\domains\mydomain\applications\geam-blank”.>

    This might sound silly, but DO you have a deployment descriptor in your project at the proper location?

    #206968 Reply

    dheerajchugh
    Member

    Yes, i do have the deployment descriptors at the right place. And the strange thing is that, the same project gets deployed to JBoss without any issues, but on Weblogic it throws this error, though if i go to the applications folder under weblogic, i am able to see everything being copied over there fine.

    So, the only issue is that i have to login to weblogic console and do that deploy manually. And that happens all good.

    So from with-in the IDE, it is not able to hot deploy, it is throwing the error, though it is copying all the things perfectly fine. But throwing this error too.

    Any ideas?

    Thanks,
    Dheeraj.

    #206970 Reply

    Scott Anderson
    Participant

    Dheeraj,

    Are you deploying in exploded format while WebLogic is running? If so, WebLogic might be attempting to deploy before your application is completely copied out. How about shuttind down WebLogic, redeploying your app in exploded format, then starting WebLogic. Does that work?

    #206971 Reply

    dheerajchugh
    Member

    Scott,

    Yes, i am deploying in the exploded format.

    I also had the same feeling, so in the evening, i tried this too, and this way it is working fine. But this is really killing that everytime, we have to deploy an application, we have to stop the server and then deploy and then start the server again.

    So, i was wondering that if someone else is also facing the same issue on weblogic? Since on JBoss, i don’t see this issue, even the server is running, i can deploy/undeploy the application.

    Other issue is that even if i am trying to deploy in the packaged format, let’s say an .ear, then i get the following error:-

    <May 12, 2004 12:02:42 PM EDT> <Error> <Deployer> <BEA-149027> <Unable to activate application, _appsdir_geam-blank_war, from source, C:\bea\user_projects\domains\mydomain\applications\geam-blank.war. Reason: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    ………………………………………………………………………………………….

    <May 12, 2004 12:02:42 PM EDT> <Error> <Application Poller> <BEA-149410> <Runtime deployment error while deploying – weblogic.management.ManagementRuntimeException: weblogic.management.ApplicationException: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    ………………………………………………………………………………………….

    Any idea why this is happening in both the cases on weblogic only.

    Thanks,
    Dheeraj.

    #206972 Reply

    Scott Anderson
    Participant

    Dheeraj,

    Just a thought, but I bet the polling interval on WebLogic is much shorter than on JBoss, thus allowing your entire app to be copied to the JBoss deployment, but not to WebLogic most of the time. However, I’m almost certain the polling interval for WebLogic is parameterized so raising it to several seconds should solve the issue.

    On the packaged deployment, this is most likely due to running Eclipse with a different JVM than WebLogic. Some of the zip stuff changed between 1.3 and 1.4. I’d suggest using JDK 1.4.1 to launch both Eclipse and your WebLogic servers.

    #208853 Reply

    dheerajchugh
    Member

    Scott,

    The things that you told i would like to try for sure:- but need to know about both.

    1) How i can change the polling in the first case.
    2) In which startup file, i can make changes to run weblogic with jdk1.4.

    Thanks,
    Dheeraj.

    #208854 Reply

    Scott Anderson
    Participant

    Dheeraj,

    1) How i can change the polling in the first case.

    Unfortunately, I don’t recall the exact parameter in the server config file, but I believe you can start the server and change it through the weblogic console also. I searched Google with “weblogic auto deployment polling interval” and found several likely places to start looking, but for some reason I can’t access the BEA site right now to check the links Google returned.

    2) In which startup file, i can make changes to run weblogic with jdk1.4.

    For that, you just need to specify the JDK on the WebLogic server connector’s config page at Window > Preferences > MyEclipse > Application Servers > WebLogic 6/7/8 > JDK.

    #208859 Reply

    dheerajchugh
    Member

    Scott,

    I can check for the polling on google. But for the second option, i changed it to jdk1.4 and again the same issue is there with one more thing now:- (apart from error in opening .zip file, i am getting the following error)

    “The specific error is: [J2EE:160034]Module geam-blank-appWeb not Found in path C:\bea\user_projects\domains\mydomain\applications\geam-blank-app.ear..> ”

    And even now i am not even able to deploy this .ear file manually using the weblogic console. When i opened this .ear file using pkzip, i found that for geam-blank-appWeb project, it has geam-blank-appWeb.war file in that .zip file. I am not sure that it should be .war or exploded way.

    May be this helps you to figure out the issue.

    Caused by: weblogic.management.ApplicationException: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:112)
    at java.util.jar.JarFile.<init>(JarFile.java:127)
    at java.util.jar.JarFile.<init>(JarFile.java:92)
    at weblogic.j2ee.J2EEUtils.getArchiveEarInfo(J2EEUtils.java:291)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:203)
    at weblogic.j2ee.J2EEUtils.getDeploymentInfo(J2EEUtils.java:155)
    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:467)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:474)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    … 10 more
    >
    <Jun 21, 2004 10:45:30 AM EDT> <Warning> <Deployer> <BEA-149003> <Unable to access application source information in C:\bea\user_projects\domains\mydomain\applications\geam-blank-app.ear for application _appsdir_geam-blank-app_ear. The specific error is: [J2EE:160034]Module geam-blank-appWeb not Found in path C:\bea\user_projects\domains\mydomain\applications\geam-blank-app.ear..>
    <Jun 21, 2004 10:45:30 AM EDT> <Error> <Application Poller> <BEA-149410> <Runtime deployment error while deploying – weblogic.management.ManagementRuntimeException: java.io.FileNotFoundException: [J2EE:160034]Module geam-blank-appWeb not Found in path C:\bea\user_projects\domains\mydomain\applications\geam-blank-app.ear..
    weblogic.management.ManagementRuntimeException: java.io.FileNotFoundException: [J2EE:160034]Module geam-blank-appWeb not Found in path C:\bea\user_projects\domains\mydomain\applications\geam-blank-app.ear.
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1098)
    at weblogic.management.deploy.ApplicationsDirPoller.doActivate(ApplicationsDirPoller.java:216)
    at weblogic.management.deploy.GenericAppPoller.doit(GenericAppPoller.java:282)
    at weblogic.management.deploy.GenericAppPoller$PollerTrigger.trigger(GenericAppPoller.java:466)
    at weblogic.time.common.internal.ScheduledTrigger.run(ScheduledTrigger.java:243)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:229)
    at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:223)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    Caused by: java.io.FileNotFoundException: [J2EE:160034]Module geam-blank-appWeb not Found in path C:\bea\user_projects\domains\mydomain\applications\geam-blank-app.ear.
    at weblogic.j2ee.J2EEApplicationContainerFactory.createMBeansForEar(J2EEApplicationContainerFactory.java:593)
    at weblogic.j2ee.J2EEApplicationContainerFactory.initializeDeployment(J2EEApplicationContainerFactory.java:496)
    at weblogic.management.deploy.DeployerRuntime.unprotectedActivate(DeployerRuntime.java:833)
    at weblogic.management.deploy.DeployerRuntime.access$000(DeployerRuntime.java:63)
    at weblogic.management.deploy.DeployerRuntime$1.run(DeployerRuntime.java:1499)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
    at weblogic.management.deploy.DeployerRuntime.checkAndPerformDeployerActions(DeployerRuntime.java:1490)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:186)
    at weblogic.management.deploy.DeployerRuntime.activate(DeployerRuntime.java:176)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:711)
    at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:690)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
    at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
    at weblogic.management.internal.RemoteMBeanServerImpl.private_invoke(RemoteMBeanServerImpl.java:947)
    at weblogic.management.internal.RemoteMBeanServerImpl.invoke(RemoteMBeanServerImpl.java:908)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:946)
    at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:481)
    at weblogic.management.runtime.DeployerRuntimeMBean_Stub.activate(DeployerRuntimeMBean_Stub.java:1089)
    … 10 more

    Thanks,
    Dheeraj.

    #208860 Reply

    Riyad Kalla
    Member

    Dheeraj,

    Caused by: weblogic.management.ApplicationException: [J2EE:160029]I/O error while reading deployment – java.util.zip.ZipException: error in opening zip file.

    I believe we ran this down in another thread where again the issue was a quick polling time. Basically the App Server is attempting to unzip the ZIP file before its fully deployed. So while MyEclipse is still creating the packaged file, WebLogic is trying to unzip it… hence the Exception.

    Try and up your pollling time and see if all these errors go away.

    #208862 Reply

    dheerajchugh
    Member

    Riyad,

    Thanks for your response. Hope so that once polling time is increased this will go away. Scott also advised me the same. But i could not find out any link on google which could provide me the way how to do it in weblogic?

    Do you have any idea that how we can do this in Weblogic?

    Thanks,
    Dheeraj.

    #208863 Reply

    dheerajchugh
    Member

    Riyad,

    Another question that comes to my mind:-
    Once MyEclipse created the .zip file and i am trying to deploy the application using Weblogic console using the same .ear file which was created by Myeclipse, why i am getting this error:-

    “The specific error is: [J2EE:160034]Module geam-blank-appWeb not Found in path C:\bea\user_projects\domains\mydomain\applications\geam-blank-app.ear..> ”

    Any Ideas?

    Thanks,
    Dheeraj.

    #208866 Reply

    Scott Anderson
    Participant

    Dheeraj,

    Are you trying to deploy the zip to the same application server installation for which it was initially created, or are you trying to use the Console to install it elsewhere?

    #208867 Reply

    Scott Anderson
    Participant

    One other thing I’ve found on the ZipFileException is this thread:
    https://www.genuitec.com/forums/topic/starting-oc4j-gives-zipexception-when-started-from-3-7rc2/&highlight=zipexception

    Basically, there is a problem if you create a zip with one version of the JDK and unzip it with another in certain cases. Please be sure you’re running both Eclipse and WebLogic with JDK 1.4.1+ and this problem will most likely be solved.

    #208868 Reply

    dheerajchugh
    Member

    Scott,

    Yes, i created the .ear file for weblogic and now using the weblogic console, i am trying to deploy the same file.

    And i am using Sun JDK 1.4.1 for running Eclipse and also i am running my Weblogic using MyEclipse only, using the same JDK that i configured in MyEclipse.

    Hope so that this will use the same Sun JDK. Correct me if i am wrong here and you want me to try something else.

    Thanks,
    Dheeraj.

Viewing 15 posts - 1 through 15 (of 29 total)
Reply To: Weblogic Deployment Issue [Closed]

You must be logged in to post in the forum log in