[opencms-dev] Need help to run opencms 15 in weblogic 14

Elaine Wong elaine_wong at ctil.com
Tue Aug 15 04:58:38 CEST 2023


Dear mailing list,

I would like to setup opencms 15 in weblogic 14, and after setup, jsp compile error is thrown when I try to display the page. The error message as below.

I have tried to config in weblogic to enable "JSP Compiler Backwards Compatible" , but the problem still exists.


Has anyone had experience run opencms in weblogic? Would you please advise how to solve the issue



An error occurred.weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/offline/system/modules/alkacon.mercury.template/templates/mercury.jsp
mercury.jsp:40:6: The tag handler class was not found "jsp_servlet._tags._mercury.__meta_45_info_tag".
     ^---------------^
mercury.jsp:40:6: The tag handler class was not found "jsp_servlet._tags._mercury.__meta_45_info_tag".
     ^---------------^
mercury.jsp:40:24: This attribute is not recognized.
                       ^----------^
mercury.jsp:40:55: This attribute is not recognized.
                                                      ^---------------------^
meta-info.tag:148:6: A name-from-attribute variable cannot reference a tag attribute that is request time or is not required.
     ^------------^
meta-info.tag:277:6: A name-from-attribute variable cannot reference a tag attribute that is request time or is not required.
     ^------------^
javax.servlet.ServletException: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/offline/system/modules/alkacon.mercury.template/templates/mercury.jsp
mercury.jsp:40:6: The tag handler class was not found "jsp_servlet._tags._mercury.__meta_45_info_tag".

     ^---------------^
mercury.jsp:40:6: The tag handler class was not found "jsp_servlet._tags._mercury.__meta_45_info_tag".
     ^---------------^
mercury.jsp:40:24: This attribute is not recognized.


                       ^----------^
mercury.jsp:40:55: This attribute is not recognized.


                                                      ^---------------------^
meta-info.tag:148:6: A name-from-attribute variable cannot reference a tag attribute that is request time or is not required.


     ^------------^
meta-info.tag:277:6: A name-from-attribute variable cannot reference a tag attribute that is request time or is not required.


     ^------------^

                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:313)
                at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:490)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:379)
                at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82)
                at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:64)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82)
                at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:650)
                at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:518)
                at org.opencms.flex.CmsFlexRequestDispatcher.includeExternal(CmsFlexRequestDispatcher.java:191)
                at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:165)
                at org.opencms.loader.CmsJspLoader.service(CmsJspLoader.java:665)
                at org.opencms.flex.CmsFlexRequestDispatcher.includeInternalWithCache(CmsFlexRequestDispatcher.java:444)
                at org.opencms.flex.CmsFlexRequestDispatcher.include(CmsFlexRequestDispatcher.java:169)
                at org.opencms.loader.CmsJspLoader.dispatchJsp(CmsJspLoader.java:993)
                at org.opencms.loader.CmsJspLoader.load(CmsJspLoader.java:544)
                at org.opencms.loader.CmsXmlContainerPageLoader.load(CmsXmlContainerPageLoader.java:108)
                at org.opencms.loader.CmsResourceManager.loadResource(CmsResourceManager.java:1194)
                at org.opencms.main.OpenCmsCore.showResource(OpenCmsCore.java:2287)
                at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:363)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:645)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295)
                at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
                at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353)
                at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82)
                at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:64)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82)
                at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:650)
                at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:290)
                at org.opencms.main.OpenCmsUrlServletFilter.doFilter(OpenCmsUrlServletFilter.java:145)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82)
                at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:82)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3866)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3829)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344)
                at weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
                at weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
                at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
                at weblogic.servlet.internal.WebAppServletContext.processSecuredExecute(WebAppServletContext.java:2502)
                at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2351)
                at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2326)
                at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2304)
                at weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1779)
                at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1733)
                at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
                at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
                at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
                at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
                at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
                at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:651)
                at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
                at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: weblogic.servlet.jsp.CompilationException: Failed to compile JSP /WEB-INF/jsp/offline/system/modules/alkacon.mercury.template/templates/mercury.jsp
mercury.jsp:40:6: The tag handler class was not found "jsp_servlet._tags._mercury.__meta_45_info_tag".


     ^---------------^
mercury.jsp:40:6: The tag handler class was not found "jsp_servlet._tags._mercury.__meta_45_info_tag".


     ^---------------^
mercury.jsp:40:24: This attribute is not recognized.


                       ^----------^
mercury.jsp:40:55: This attribute is not recognized.


                                                      ^---------------------^
meta-info.tag:148:6: A name-from-attribute variable cannot reference a tag attribute that is request time or is not required.


     ^------------^
meta-info.tag:277:6: A name-from-attribute variable cannot reference a tag attribute that is request time or is not required.


     ^------------^

                at weblogic.servlet.jsp.JavelinxJSPStub.reportCompilationErrorIfNeccessary(JavelinxJSPStub.java:247)
                at weblogic.servlet.jsp.JavelinxJSPStub.compilePage0(JavelinxJSPStub.java:183)
                at weblogic.servlet.jsp.JavelinxJSPStub.access$000(JavelinxJSPStub.java:50)
                at weblogic.servlet.jsp.JavelinxJSPStub$1.run(JavelinxJSPStub.java:111)
                at java.security.AccessController.doPrivileged(Native Method)
                at weblogic.servlet.jsp.JavelinxJSPStub.compilePage(JavelinxJSPStub.java:108)
                at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:267)
                at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:218)
                at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:415)
                at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:307)
                ... 55 more

Thanks!

Best Regards,
Elaine

________________________________

Think before you print.

Disclaimer: This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Computer And Technologies Holdings Limited and her wholly owned subsidiaries. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone.  Please contact the sender if you believe you have received this email in error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20230815/7c42e6b2/attachment.htm>


More information about the opencms-dev mailing list