[opencms-dev] WebLogic & OpenCms/Flex errors

mfoley5 at csc.com.au mfoley5 at csc.com.au
Tue May 14 10:24:27 CEST 2002


Hi Alex,

OpenCms/Flex and Weblogic 6.1 SP1 initially seemed to work fine together
(new project creation, new users, creating directories, pages, lock,
unlock, etc.) but when I selected the first sample page I created to
preview it, I got a NoSuchMethodError exception on the WebLogic server
(error pasted below) and the URL in the browser window which opened was as
follows:
http://mo:53101/opencms/opencms/system/workplace/action/explorerShowResource.html?url=/opencms/opencms/MarkFoley1/index.html

The browser displays an Error 500 - Internal Server Error.  However,
opening a new browser window and entering
http://mo:53101/opencms/opencms/MarkFoley1/index.html in the URL works
fine.

...
alpha.1 Flex

Copyright (C) 2001 The OpenCms Group
OpenCms comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to
redistribute it under certain conditions.
Please see the GNU Lesser General Public Licence for
further details.

<May 14, 2002 5:43:15 PM EST> <Error> <HTTP>
<[WebAppServletContext(1945241,opencms,/opencms)] Servlet failed with
Exception
java.lang.NoSuchMethodError
        at
com.opencms.util.LinkSubstitution.getLinkSubstitution(LinkSubstitution.java:219)
        at
com.opencms.file.CmsObject.getLinkSubstitution(CmsObject.java:1692)
        at
com.opencms.workplace.CmsExplorerShowResource.getContent(CmsExplorerShowResource.java:60)
        at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:169)
        at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:169)
        at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:148)
        at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:228)
        at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:283)
        at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:272)
        at com.opencms.core.OpenCms.showResource(OpenCms.java:595)
        at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:223)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        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:2456)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>



The second error situation I've found occurs when I try to publish a JSP
page:  I get an Error 500--Internal Server Error in the OpenCms workplace,
and the following exception in the WebLogic server console:

<May 14, 2002 6:11:00 PM EST> <Error> <HTTP>
<[WebAppServletContext(1945241,opencms,/opencms)] Servlet failed with
Exception
java.lang.NoSuchMethodError
        at
com.opencms.file.CmsStaticExport.handleDynamicRules(CmsStaticExport.java:738)
        at
com.opencms.file.CmsStaticExport.getExternLinkName(CmsStaticExport.java:602)
        at
com.opencms.file.CmsStaticExport.exportLink(CmsStaticExport.java:445)
        at
com.opencms.file.CmsStaticExport.<init>(CmsStaticExport.java:170)
        at
com.opencms.file.genericSql.CmsResourceBroker.exportStaticResources(CmsResourceBroker.java:4435)
        at
com.opencms.file.CmsObject.exportStaticResources(CmsObject.java:1423)
        at com.opencms.file.CmsObject.publishProject(CmsObject.java:2291)
        at com.opencms.file.CmsObject.publishResource(CmsObject.java:2381)
        at
com.opencms.workplace.CmsPublishResource.getContent(CmsPublishResource.java:124)
        at
com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:169)
        at
com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:169)
        at
com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementCache.java:148)
        at
com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:228)
        at
com.opencms.launcher.CmsXmlLauncher.launch(CmsXmlLauncher.java:283)
        at
com.opencms.launcher.A_CmsLauncher.initlaunch(A_CmsLauncher.java:272)
        at com.opencms.core.OpenCms.showResource(OpenCms.java:595)
        at
com.opencms.core.OpenCmsHttpServlet.doGet(OpenCmsHttpServlet.java:223)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        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:2456)
        at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

Selecting the JSP page for "preview" results in the same error as for HTML
pages.

Finally, opening a new browser window and entering
http://mo:53101/opencms/opencms/MarkFoley1/MarksJSP.jsp in the URL does not
work, producing a blank browser and the first error message in the WebLogic
server console.

I'm doing further tests on this, and will report any solutions or further
problems I find.

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.
----------------------------------------------------------------------------------------





More information about the opencms-dev mailing list