I'm new to webwork and for now I'm trying to understand how it works. My
first try was install the webwork.ear produced by the build of webwork
cvs tree. I've used JBossJBoss-2.4.4/Tomcat-4.0.1.
Out of the box when I drop webwork.ear (or .war, it's the same). The
deployment starts ok but throws an exception (see below).
I've found many references to this exception in tomcat, jboss and other
mailing lists aying that is related to an incompatibility between
crimson and xerces. But the question is that both webwork and catalina
use crimson.
Someone can help me and open my eyes?
//------------- The exception....
[INFO,Default] [Auto deploy (DefaultConfiguration)] Could not create XML
action configuration
java.lang.ClassCastException:
org.apache.crimson.jaxp.DocumentBuilderFactoryImpl at
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:116)
at
webwork.config.XMLActionConfiguration.<init>(XMLActionConfiguration.java:45)
at
webwork.config.DefaultConfiguration.<init>(DefaultConfiguration.java:76)
at
webwork.config.Configuration.getDefaultConfiguration(Configuration.java:151)
at
webwork.config.Configuration.getConfiguration(Configuration.java:102) at
webwork.config.Configuration.get(Configuration.java:39)
at webwork.config.Configuration.getString(Configuration.java:49)
at webwork.util.LoggerUtil.config(LoggerUtil.java:73)
at webwork.dispatcher.ServletDispatcher.init(ServletDispatcher.java:96)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:852)
at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3267)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3384)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454) at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:428)
at
org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:282)
at
org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:191)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505) at
org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459)
at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395)
at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233)
at
org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371) at
org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967)
at $Proxy0.start(Unknown Source)
at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
at java.lang.reflect.Method.invoke(Native Method)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at org.jboss.Main.<init>(Main.java:208)
at org.jboss.Main$1.run(Main.java:110)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.Main.main(Main.java:106)
_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user