Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004484 [Resin] major always 04-06-11 14:08 04-27-11 09:50
Reporter domdorn View Status public  
Assigned To ferg
Priority high Resolution fixed Platform Ubuntu x64
Status closed   OS Linux
Projection none   OS Version 10.10
ETA none Fixed in Version 4.0.18 Product Version 4.0.16
  Product Build
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
Attached Files  demo_prettyfaces.zip [^] (9,114 bytes) 04-06-11 14:08
 web-fragment.xml [^] (948 bytes) 04-06-11 14:10

- Relationships

- Notes
(0005169)
domdorn
04-06-11 14:09

see attached META-INF/web-fragment.xml file.
 
(0005212)
ferg
04-27-11 09:50

server/1r11
 

- Issue History
Date Modified Username Field Change
04-06-11 14:08 domdorn New Issue
04-06-11 14:08 domdorn Status new => assigned
04-06-11 14:08 domdorn Assigned To  => ferg
04-06-11 14:08 domdorn File Added: demo_prettyfaces.zip
04-06-11 14:09 domdorn Note Added: 0005169
04-06-11 14:10 domdorn File Added: web-fragment.xml
04-27-11 09:50 ferg Note Added: 0005212
04-27-11 09:50 ferg Status assigned => closed
04-27-11 09:50 ferg Resolution open => fixed
04-27-11 09:50 ferg Fixed in Version  => 4.0.18


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker