| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

「GERONIMO Struts 1.3.8 で不具合」の版間の差分

提供: MyMemoWiki
ナビゲーションに移動 検索に移動
 
1行目: 1行目:
==GERONIMO Struts 1.3.8 で不具合==
+
==[[GERONIMO Struts 1.3.8 で不具合]]==
{{include_html banner_html, "!Geronimo"}}
+
{{include_html [[banner_html]], "!Geronimo"}}
{{include_html banner_html, "!Struts"}}
+
{{include_html [[banner_html]], "!Struts"}}
  
 
=====Digesterのバグフィックス=====
 
=====Digesterのバグフィックス=====
*http://www.nabble.com/Struts-1.3.8-Error-on-multiple-servers-Geronimo-1.1,-Tomcat-5.5-and-Sun-App-8.2-t4005407.html
+
*http://www.nabble.com/[[Struts]]-1.3.8-Error-on-multiple-servers-Geronimo-1.1,-Tomcat-5.5-and-Sun-App-8.2-t4005407.html
 
*http://struts.apache.org/1.3.8/userGuide/release-notes-1_3_6.html
 
*http://struts.apache.org/1.3.8/userGuide/release-notes-1_3_6.html
*http://issues.apache.org/jira/browse/DIGESTER-29  
+
*http://issues.apache.org/jira/browse/DIGESTE[[R]]-29  
  
 
=====クラスローダについて=====
 
=====クラスローダについて=====
25行目: 25行目:
  
 
=====例外=====
 
=====例外=====
  javax.servlet.UnavailableException: org.apache.commons.digester.Digester.parse(Ljava/net/URL;)Ljava/lang/Object;
+
  javax.servlet.UnavailableException: org.apache.commons.digester.Digester.parse(Ljava/net/U[[R]]L;)Ljava/lang/Object;
 
     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
 
     at org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
 
     at javax.servlet.GenericServlet.init(GenericServlet.java:168)
 
     at javax.servlet.GenericServlet.init(GenericServlet.java:168)
39行目: 39行目:
 
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
 
     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
 
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
 
     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
     at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
+
     at org.apache.geronimo.tomcat.[[Tomcat]]Container.addContext([[Tomcat]]Container.java:313)
     at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
+
     at org.apache.geronimo.tomcat.[[Tomcat]]Container$$FastClassByCGLIB$$9370b073.invoke(<generated>)
 
     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
 
     at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
 
     at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
 
     at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
 
     at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
 
     at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
     at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
+
     at org.apache.geronimo.gbean.runtime.[[R]]awInvoker.invoke([[R]]awInvoker.java:57)
     at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
+
     at org.apache.geronimo.kernel.basic.[[R]]awOperationInvoker.invoke([[R]]awOperationInvoker.java:35)
 
     at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
 
     at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
     at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$9460619b.addContext(<generated>)
+
     at org.apache.geronimo.tomcat.[[Tomcat]]Container$$EnhancerByCGLIB$$9460619b.addContext(<generated>)
     at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:438)
+
     at org.apache.geronimo.tomcat.[[Tomcat]]WebAppContext.doStart([[Tomcat]]WebAppContext.java:438)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
+
     at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start[[R]]ecursive(GBeanInstanceState.java:124)
     at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
+
     at org.apache.geronimo.gbean.runtime.GBeanInstance.start[[R]]ecursive(GBeanInstance.java:540)
     at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
+
     at org.apache.geronimo.kernel.basic.BasicKernel.start[[R]]ecursiveGBean(BasicKernel.java:379)
 
     at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
 
     at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
 
     at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
 
     at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
65行目: 65行目:
 
     at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
 
     at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
 
     at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
     at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
+
     at org.apache.geronimo.gbean.runtime.[[R]]awInvoker.invoke([[R]]awInvoker.java:57)
     at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
+
     at org.apache.geronimo.kernel.basic.[[R]]awOperationInvoker.invoke([[R]]awOperationInvoker.java:35)
 
     at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
 
     at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
 
     at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$abb776dc.startConfiguration(<generated>)
 
     at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$abb776dc.startConfiguration(<generated>)
74行目: 74行目:
 
  java.lang.NullPointerException: Module 'null' not found.
 
  java.lang.NullPointerException: Module 'null' not found.
 
     at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755)
 
     at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755)
     at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:364)
+
     at org.apache.struts.taglib.TagUtils.computeU[[R]]LWithCharEncoding(TagUtils.java:364)
     at org.apache.struts.taglib.html.RewriteTag.doEndTag(RewriteTag.java:66)
+
     at org.apache.struts.taglib.html.[[R]]ewriteTag.doEndTag([[R]]ewriteTag.java:66)
 
     at org.apache.jsp.index_jsp._jspx_meth_html_rewrite_0(org.apache.jsp.index_jsp:110)
 
     at org.apache.jsp.index_jsp._jspx_meth_html_rewrite_0(org.apache.jsp.index_jsp:110)
     at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:64)
+
     at org.apache.jsp.index_jsp._jspSer[[vi]]ce(org.apache.jsp.index_jsp:64)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
+
     at org.apache.jasper.runtime.HttpJspBase.ser[[vi]]ce(HttpJspBase.java:97)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
+
     at javax.servlet.http.HttpServlet.ser[[vi]]ce(HttpServlet.java:688)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
+
     at org.apache.jasper.servlet.JspServletWrapper.ser[[vi]]ce(JspServletWrapper.java:332)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
+
     at org.apache.jasper.servlet.JspServlet.ser[[vi]]ceJspFile(JspServlet.java:314)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
+
     at org.apache.jasper.servlet.JspServlet.ser[[vi]]ce(JspServlet.java:264)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
+
     at javax.servlet.http.HttpServlet.ser[[vi]]ce(HttpServlet.java:688)
 
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
 
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
 
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
95行目: 95行目:
 
     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
 
     at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
 
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
 
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
+
     at org.apache.catalina.valves.Error[[R]]eportValve.invoke(Error[[R]]eportValve.java:105)
 
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
+
     at org.apache.catalina.valves.[[Access]]LogValve.invoke([[Access]]LogValve.java:541)
     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
+
     at org.apache.catalina.connector.CoyoteAdapter.ser[[vi]]ce(CoyoteAdapter.java:148)
 
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
 
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
 
     at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
 
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 
     at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
 
     at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
+
     at org.apache.tomcat.util.threads.ThreadPool$Control[[R]]unnable.run(ThreadPool.java:684)
 
     at java.lang.Thread.run(Thread.java:619)
 
     at java.lang.Thread.run(Thread.java:619)
  
{{include_html banner_html, "!Geronimo"}}
+
{{include_html [[banner_html]], "!Geronimo"}}

2020年2月16日 (日) 04:26時点における最新版

GERONIMO Struts 1.3.8 で不具合

{{include_html banner_html, "!Geronimo"}} {{include_html banner_html, "!Struts"}}

Digesterのバグフィックス
クラスローダについて

http://www-06.ibm.com/jp/software/websphere/developer/j2ee/strategy/2.html

以下の例外が出る。
java.lang.NullPointerException: Module 'null' not found.
ライブラリの更新~Geronimo再起動

commons-digesterのバグ 1.6 -> 1.8 に更新。 依存ライブラリ commons-validator 1.3.1 を導入

  • commons-digester/commons-digester/1.8/jar
  • commons-validator/commons-validator/1.3.1/jar

インストールメニュー 0527 gero 01.jpg インストールされた 0528 gero 02.jpg

例外
javax.servlet.UnavailableException: org.apache.commons.digester.Digester.parse(Ljava/net/URL;)Ljava/lang/Object;
    at org.apache.struts.action.ActionServlet.init(ActionServlet.java:402)
    at javax.servlet.GenericServlet.init(GenericServlet.java:168)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1105)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3915)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4176)
    at org.apache.geronimo.tomcat.GeronimoStandardContext.access$201(GeronimoStandardContext.java:67)
    at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:337)
    at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
    at org.apache.geronimo.tomcat.GeronimoStandardContext.start(GeronimoStandardContext.java:192)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    at org.apache.geronimo.tomcat.TomcatContainer.addContext(TomcatContainer.java:313)
    at org.apache.geronimo.tomcat.TomcatContainer$$FastClassByCGLIB$$9370b073.invoke(<generated>)
    at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
    at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
    at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
    at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at org.apache.geronimo.tomcat.TomcatContainer$$EnhancerByCGLIB$$9460619b.addContext(<generated>)
    at org.apache.geronimo.tomcat.TomcatWebAppContext.doStart(TomcatWebAppContext.java:438)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:981)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:267)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
    at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:540)
    at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
    at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:374)
    at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
    at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:527)
    at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:508)
    at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke(<generated>)
    at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
    at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
    at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
    at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
    at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
    at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
    at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
    at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLIB$$abb776dc.startConfiguration(<generated>)
    at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)
    at java.lang.Thread.run(Thread.java:619)
00:59:49,163 ERROR jsp Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException: Module 'null' not found.
    at org.apache.struts.taglib.TagUtils.getModuleConfig(TagUtils.java:755)
    at org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:364)
    at org.apache.struts.taglib.html.RewriteTag.doEndTag(RewriteTag.java:66)
    at org.apache.jsp.index_jsp._jspx_meth_html_rewrite_0(org.apache.jsp.index_jsp:110)
    at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:64)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at info.typea.fugitive.filter.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:50)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    at org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(DefaultSubjectValve.java:56)
    at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:342)
    at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:619)

{{include_html banner_html, "!Geronimo"}}