0 Replies Latest reply on Nov 20, 2002 9:47 PM by 3004

    Unable to deploy Web App in Exploded format

    3004

      Using WLS 6.1 sp2, I am unable to deploy a web application successfully using the
      web app "ora" from http://www.thejspbook.com/examples.jspbook.zip. I've moved
      the /ora directory under the /WEB-INF/applications directory.

      The error I am getting is:

      java.lang.reflect.InvocationTargetException: weblogic.management.DistributedManagementException:
      Distributed Management [1 exceptions]
           at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:543)
           at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
           at $Proxy9.addDeployment(Unknown Source)
           at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
           at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
           at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
           at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
           at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
           at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
           at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
           at $Proxy18.setTargets(Unknown Source)
           at java.lang.reflect.Method.invoke(Native Method)
           at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
           at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
           at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
           at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
           at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
           at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
           at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
           at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
           at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
      Distributed update exception
      - remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
      - remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
      - actionName: addDeployment
      - params: [Ljava.lang.Object;@10c03e
      - signature: [Ljava.lang.String;@3d4a20
      Distributed update exception
      - remote object: efs-developer3:Location=efsserver,Name=efsserver,Type=ServerConfig
      - remote server: weblogic.management.internal.RemoteMBeanServerImpl@5420eb
      java.lang.StringIndexOutOfBoundsException: String index out of range: -1
           at java.lang.String.substring(String.java:1525)
           at weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:476)
           at weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:232)
           at weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3415)
           at weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3384)
           at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)
           at weblogic.servlet.internal.WebAppServletContext.(WebAppServletContext.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(DeploymentTarget.java:329)
           at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
           at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
           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:359)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
           at $Proxy34.addWebDeployment(Unknown Source)
           at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
           at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
           at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
           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:359)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
           at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
           at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
           at $Proxy9.addDeployment(Unknown Source)
           at weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
           at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
           at weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
           at weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
           at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
           at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
           at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
           at $Proxy18.setTargets(Unknown Source)
           at java.lang.reflect.Method.invoke(Native Method)
           at weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
           at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
           at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
           at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
           at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
           at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
           at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
           at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
           at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
      --------------- nested within: ------------------
      weblogic.j2ee.DeploymentException: Could not load ora - with nested exception:
      [java.lang.StringIndexOutOfBoundsException: String index out of range: -1]
           at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:431)
           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(DeploymentTarget.java:329)
           at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
           at weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
           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:359)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
           at $Proxy34.addWebDeployment(Unknown Source)
           at weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1121)
           at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:315)
           at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
           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:359)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
           at weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
           at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
           at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
           at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
           at $Proxy9.--------------- nested within: ------------------
      weblogic.management.console.utils.SetException: An error occurred while updating
      Targets-Server on Proxy for efs-developer3:Application=ora,Name=ora,Type=WebAppComponent
      - with nested exception:
      [java.lang.reflect.InvocationTargetException - with target exception:
      [weblogic.management.DistributedManagementException: Distributed Management [1
      exceptions]]]
           at weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:151)
           at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
           at weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
           at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
           at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
           at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2503)
           at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
           at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
           at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

      ----------------
      Any help is appreciated.
      Thanks,
      Dennis