Mantis - Resin
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4484 | major | always | 04-06-11 14:08 | 04-27-11 09:50 | |
|
|||||
Reporter: | domdorn | Platform: | Ubuntu x64 | ||
Assigned To: | ferg | OS: | Linux | ||
Priority: | high | OS Version: | 10.10 | ||
Status: | closed | Product Version: | 4.0.16 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 4.0.18 | ||
|
|||||
Summary: | 0004484: web-fragment.xml parsing not working correctly | ||||
Description: |
web-fragment.xml parsing does not work correctly. I tried to deploy attached small webapp, but it fails parsing a enclosed web-fragment.xml giving the following error: /META-INF/web-fragment.xml:8: unable to create inline attribute 'QName[{http://java.sun.com/xml/ns/javaee}name]' [^] for 'WebAppFragmentConfig [null]' because no unique child Element exists. Attribute = SetterAttribute[public void com.caucho.server.webapp.WebAppFragmentConfig.setName(java.lang.String)] 6: version="3.0"> 7: 8: <name id="prettyfaces">com_ocpsoft_prettyfaces</name> 9: 10: <ordering> at com.caucho.config.xml.XmlConfigContext.error(XmlConfigContext.java:1174) at com.caucho.config.xml.XmlConfigContext.unableToCreateError(XmlConfigContext.java:707) at com.caucho.config.xml.XmlConfigContext.configureBeanProperties(XmlConfigContext.java:666) at com.caucho.config.xml.XmlConfigContext.configureChildNode(XmlConfigContext.java:457) at com.caucho.config.xml.XmlConfigContext.configureNode(XmlConfigContext.java:370) at com.caucho.config.xml.XmlConfigContext.configureBean(XmlConfigContext.java:284) at com.caucho.config.xml.XmlConfigContext.configure(XmlConfigContext.java:242) at com.caucho.config.Config.configure(Config.java:321) at com.caucho.config.Config.configure(Config.java:219) at com.caucho.server.webapp.WebApp.loadWebFragments(WebApp.java:2809) at com.caucho.server.webapp.WebApp.initWebFragments(WebApp.java:2760) at com.caucho.server.webapp.WebApp.init(WebApp.java:2709) at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:455) at com.caucho.env.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:57) at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:626) at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:129) at com.caucho.env.deploy.DeployController.request(DeployController.java:545) at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:145) at com.caucho.server.webapp.WebAppVersioningController.startImpl(WebAppVersioningController.java:45) at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77) at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493) at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171) at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:713) at com.caucho.server.host.Host.start(Host.java:676) at com.caucho.env.deploy.DeployController.startImpl(DeployController.java:630) at com.caucho.env.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:77) at com.caucho.env.deploy.DeployController.startOnInit(DeployController.java:493) at com.caucho.env.deploy.DeployContainer.start(DeployContainer.java:171) at com.caucho.server.host.HostContainer.start(HostContainer.java:542) at com.caucho.server.cluster.Server.start(Server.java:1225) at com.caucho.server.cluster.ServletService.start(ServletService.java:72) at com.caucho.env.service.ResinSystem.startServices(ResinSystem.java:508) at com.caucho.env.service.ResinSystem.start(ResinSystem.java:476) at com.caucho.server.resin.Resin.start(Resin.java:892) at com.caucho.server.resin.Resin.initMain(Resin.java:1020) at com.caucho.server.resin.Resin.main(Resin.java:1297) this app deploys fine on gf 3.0.1 |
||||
Steps To Reproduce: |
unzip demo_prettyfaces.zip cd demo_prettyfaces mvn clean compile package deploy target/demo_prettyfaces.war |
||||
Additional Information: | |||||
System Description: | |||||
Relationships | |||||
Attached Files: |
demo_prettyfaces.zip [^] (9,114 bytes) 04-06-11 14:08 web-fragment.xml [^] (948 bytes) 04-06-11 14:10 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|