[jboss-as7-dev] Are jbowws-web.xml/jboss-app.xml/jboss.xml backward compatible?

Kabir Khan kabir.khan at jboss.com
Thu Jul 14 04:49:41 EDT 2011


The class-loading element no longer exists
https://docs.jboss.org/author/display/AS7/How+do+I+migrate+my+application+from+AS5+or+AS6+to+AS7#HowdoImigratemyapplicationfromAS5orAS6toAS7-ClassLoadingChanges
or http://tinyurl.com/5savlhp

On 14 Jul 2011, at 05:12, Vimal Kansal wrote:

> Sorry there is a typo in the subject line : I really meant :
> 
> Re: [jboss-as7-dev] Are jboss-web.xml/jboss-app.xml/jboss.xml backward    compatible?
> 
> Thx
> 
> Vimal
> 
> On 14/07/2011 1:56 PM, Vimal Kansal wrote:
>> Hi,
>> 
>> I tried deploying the richfaces demo war file (richfaces version 3.3.0 and JSF 1.2) and I get the following exception ? 
>> 
>> "
>> 21,610 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC00001: Failed to start service jboss.deployment.unit."richfaces-demo-3.3.3.Final-jee5.war".PARSE: org.jboss.msc.service.Star
>> tion in service jboss.deployment.unit."richfaces-demo-3.3.3.Final-jee5.war".PARSE: Failed to process phase PARSE of deployment "richfaces-demo-3.3.3.Final-jee5.war"
>>   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
>>   at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)
>>   at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)
>>   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_24]
>>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_24]
>>   at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
>>  by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: Failed to parse "/C:/Users/Vimal/content/richfaces-demo-3.3.3.Final-jee5.war/WEB-INF/jboss-web.xml"
>>   at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:66)
>>   at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
>>   ... 5 more
>>  by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[6,2]
>> e: Unexpected element 'class-loading' encountered
>>   at org.jboss.metadata.parser.util.MetaDataElementParser.unexpectedElement(MetaDataElementParser.java:109)
>>   at org.jboss.metadata.parser.jbossweb.JBossWebMetaDataParser.parse(JBossWebMetaDataParser.java:182)
>>   at org.jboss.as.web.deployment.JBossWebParsingDeploymentProcessor.deploy(JBossWebParsingDeploymentProcessor.java:64)
>>   ... 6 more
>> 
>> 21,615 INFO  [org.jboss.as.server.controller] (pool-2-thread-28) Deployment of "richfaces-demo-3.3.3.Final-jee5.war" was rolled back with failure message {"Failed services" => {"jboss.deployment
>> \"richfaces-demo-3.3.3.Final-jee5.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"richfaces-demo-3.3.3.Final-jee5.war\".PARSE: Failed to process phase PA
>>  deployment \"richfaces-demo-3.3.3.Final-jee5.war\""}}
>> 
>> "
>> 
>> Thx
>> 
>> Vimal
>> 
>> _______________________________________________
>> jboss-as7-dev mailing list
>> 
>> jboss-as7-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev




More information about the jboss-as7-dev mailing list