[opencms-dev] WebLogic 6.1 SP2 deployment problem

mfoley5 at csc.com.au mfoley5 at csc.com.au
Wed May 15 04:42:23 CEST 2002


Hi All,

This problem has been solved:  There are two "features" of WebLogic 6.1 SP2
to keep in mind.

1) Apache xalan.jar causes problem with WLS6.1 SP2 - BEA have modified
xalan "to enable Xerces and Xalan to work together" (see
http://edocs.bea.com/wls/docs61/compatibility/compatibility.html), so
removing xalan.jar from the WEB-INF/lib directory allows the app to deploy.
(I'm not sure what knock-on effects this might have due to issues with
WebLogic's internal xalan version.)

2) Jar files in the WEB-INF/lib directory must only contain one period
(full-stop) in their filenames, so opencms-db-1_4_0.jar works but
opencms-db-1.4.0.jar doesn't.

Regards,
Mark

Mark Foley
__________________________________________________
CSC
212 Northbourne Ave, Braddon, ACT 2612
Ph: +61-2-62468487    Email: mfoley5 at csc.com.au
----------------------------------------------------------------------------------------

This email, including any attachments, is intended only for use by the
addressee(s) and may contain confidential and/or personal information and
may also be the subject of legal privilege. Any personal information
contained in this email is not to be used or disclosed for any purpose
other than the purpose for which you have received it. If you are not the
intended recipient, you must not disclose or use the information contained
in it. In this case, please let me know by return email, delete the message
permanently from your system and destroy any copies.
----------------------------------------------------------------------------------------





mfoley5 at csc.com.au@www.opencms.org on 14/05/2002 06:40:36 PM

Please respond to opencms-dev at www.opencms.org

Sent by:    owner-opencms-dev at www.opencms.org


To:    opencms-dev at opencms.com
cc:
Subject:    [opencms-dev] WebLogic 6.1 SP2 deployment problem

Hi All,

I haven't verified this issue against 4.6.0 of OpenCms, but OpenCms/Flex
produces the following dump from WebLogic 6.1 SP2 when I try to deploy it.
This does not happen with WLS 6.1 SP1, and BEA support suggest it is
because SP2 provides more parsing and checking of the manifest.mf files in
the Jars.  I am testing this theory now, but if it not the case then I'd
appreciate somebody's feedback/experience.

Regards,
Mark

####<14/05/2002 11:17:00> <Debug> <HTTP> <csc81403> <AdvServer>
<ExecuteThread: '0' for queue: '__weblogic_admin_html_queue'> <system> <>
<101158> <Exception thrown while loading opencms:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1>
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:469)

      at
weblogic.servlet.internal.WebAppHelper.extractClassFiles(WebAppHelper.java:234)

      at
weblogic.servlet.internal.WebAppServletContext.extractClassFiles(WebAppServletContext.java:3407)

      at
weblogic.servlet.internal.WebAppServletContext.setDocroot(WebAppServletContext.java:3376)

      at
weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:862)

      at
weblogic.servlet.internal.WebAppServletContext.<init>(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 $Proxy25.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 $Proxy7.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 $Proxy62.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:2495)

      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)

Mark Foley
__________________________________________________
CSC
212 Northbourne Ave, Braddon, ACT 2612
Ph: +61-2-62468487    Email: mfoley5 at csc.com.au
----------------------------------------------------------------------------------------


This email, including any attachments, is intended only for use by the
addressee(s) and may contain confidential and/or personal information and
may also be the subject of legal privilege. Any personal information
contained in this email is not to be used or disclosed for any purpose
other than the purpose for which you have received it. If you are not the
intended recipient, you must not disclose or use the information contained
in it. In this case, please let me know by return email, delete the message
permanently from your system and destroy any copies.
----------------------------------------------------------------------------------------









More information about the opencms-dev mailing list