After upgrading from 5.0.18 to 5.1.0.5 my application fails to start when
deployed on a weblogic server. I think this has to do with the usage of Stax
in the TemplateParser. I have tried to override the implementation in my
weblogic-application.xml with

 <application-param>
  <param-name>javax.xml.stream.XMLInputFactory</param-name>
  <param-value>com.ctc.wstx.stax.WstxInputFactory</param-value>
 </application-param>

but I still get the following exception:

Caused by: java.lang.ClassCastException:
weblogic.xml.stax.XMLStreamInputFactory
        at
org.apache.tapestry5.internal.services.TemplateParserImpl.(TemplateParserImpl.java:44)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at
org.apache.tapestry5.ioc.internal.ConstructorServiceCreator.createObject(ConstructorServiceCreator.java:62)

Is there any way around this problem?
-- 
View this message in context: 
http://www.nabble.com/ClassCastException-after-upgrading-to-5.1.0.5-tp24738227p24738227.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to