struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WW-1334) Showcase example does not work with JDK 5
Date Tue, 06 Jun 2006 14:34:16 GMT
    [ http://issues.apache.org/struts/browse/WW-1334?page=comments#action_37441 ] 

Wendy Smoak commented on WW-1334:
---------------------------------

Confirmed with Tomcat 5.5.16 and JDK 1.5.0_06.  This is new since May 28th, at that point
Showcase was working fine.

Struts Action Framework Problem Report

The Struts Action Framework has detected a problem in your configuration:
Messages: 	

   1. Could not open file xwork-conversion.xml
   2. Caught exception while loading file xwork-conversion.xml

File: 	file:/C:/svn/struts/current/action2/apps/showcase/target/tomcat5x/webapps/struts-showcase/WEB-INF/classes/xwork.xml
Line number: 	39
Column number: 	44

    <include file="xwork-filedownload.xml" />

    

    <include file="xwork-conversion.xml" />

    <package name="default" extends="struts-default">

Stacktraces
Caught exception while loading file xwork-conversion.xml - include - file:/C:/svn/struts/current/action2/apps/showcase/target/tomcat5x/webapps/struts-showcase/WEB-INF/classes/xwork.xml:39:44

    com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:641)
    com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:668)
    com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:90)
    com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
    com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:46)
    com.opensymphony.xwork.DefaultActionProxy.(DefaultActionProxy.java:56)
    com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
    org.apache.struts.action2.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:239)
    org.apache.struts.action2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:212)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    org.apache.struts.action2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:93)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    java.lang.Thread.run(Thread.java:595)
    

java.lang.Exception: Could not open file xwork-conversion.xml

    com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:618)
    com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:668)
    com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:90)
    com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
    com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:46)
    com.opensymphony.xwork.DefaultActionProxy.(DefaultActionProxy.java:56)
    com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
    org.apache.struts.action2.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:239)
    org.apache.struts.action2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:212)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    org.apache.struts.action2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:93)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
    org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
    org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
    org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
    java.lang.Thread.run(Thread.java:595)
    

> Showcase example does not work with JDK 5
> -----------------------------------------
>
>          Key: WW-1334
>          URL: http://issues.apache.org/struts/browse/WW-1334
>      Project: Struts Action 2
>         Type: Bug

>   Components: Examples
>  Environment: JDK 5, Tomcat 5
>     Reporter: Tamara Cattivelli

>
> If you want to run the showcase example, you get the following error:
> 06.06.2006 15:27:34 org.apache.catalina.core.StandardWrapperValve invoke
> SCHWERWIEGEND: Servlet.service() for servlet jsp threw exception
> javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl
not found
> 	at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
> 	at com.opensymphony.xwork.util.DomHelper$DOMBuilder.<clinit>(DomHelper.java:121)
> 	at com.opensymphony.xwork.util.DomHelper.parse(DomHelper.java:98)
> 	at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:631)
> 	at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:90)
> 	at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
> 	at com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:46)
> 	at com.opensymphony.xwork.DefaultActionProxy.<init>(DefaultActionProxy.java:56)
> 	at com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
> 	at org.apache.struts.action2.components.ActionComponent.executeAction(ActionComponent.java:219)
> 	at org.apache.struts.action2.components.ActionComponent.end(ActionComponent.java:126)
> 	at org.apache.struts.action2.views.jsp.ComponentTagSupport.doEndTag(ComponentTagSupport.java:35)
> 	at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspx_meth_saf_action_0(main_jsp.java:494)
> 	at org.apache.jsp.WEB_002dINF.decorators.main_jsp._jspService(main_jsp.java:189)
> 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> 	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:802)
> 	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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> 	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
> 	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
> 	at com.opensymphony.module.sitemesh.filter.PageFilter.applyDecorator(PageFilter.java:156)
> 	at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:59)
> 	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.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.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:664)
> 	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:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message