[jboss-jira] [JBoss JIRA] Updated: (AS7-980) OSGi WebApp support leaks TCCL
Thomas Diesler (JIRA)
jira-events at lists.jboss.org
Thu Jun 9 09:24:59 EDT 2011
[ https://issues.jboss.org/browse/AS7-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Diesler updated AS7-980:
-------------------------------
Description:
15:05:58,615 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."e347fd0c-d938-400f-901b-4afd1dd9890b.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."e347fd0c-d938-400f-901b-4afd1dd9890b.jar".PARSE: Failed to process phase PARSE of deployment "e347fd0c-d938-400f-901b-4afd1dd9890b.jar"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
Caused by: javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory could not be instantiated: java.lang.IllegalStateException: Bundle uninstalled: example-webapp:0.0.0
at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134) [:1.6.0_25]
at org.jboss.as.weld.deployment.BeansXmlParser.parse(BeansXmlParser.java:61)
at org.jboss.as.weld.deployment.processors.BeansXmlProcessor.parseBeansXml(BeansXmlProcessor.java:126)
at org.jboss.as.weld.deployment.processors.BeansXmlProcessor.deploy(BeansXmlProcessor.java:104)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 4 more
was:
when running all osgi integration tests like this
$ mvn -DskipTests=false -Dtest=osgi/**/*TestCase test
I see the ServletIntegrationTestCase fail due to
{code}
15:57:51,063 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) Starting deployment of "web-osgi-client.war"
15:57:51,071 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."web-osgi-client.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."web-osgi-client.war".PARSE: Failed to process phase PARSE of deployment "web-osgi-client.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_21]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_21]
at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
Caused by: javax.xml.stream.FactoryFinder$ConfigurationError: Provider __redirected.__XMLInputFactory could not be instantiated: java.lang.IllegalStateException: Bundle uninstalled: interceptor-endpoint:0.0.0
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:158) [:1.6.0_21]
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:186) [:1.6.0_21]
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:123) [:1.6.0_21]
at org.jboss.as.web.deployment.WebParsingDeploymentProcessor.deploy(WebParsingDeploymentProcessor.java:62)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
... 4 more
{code}
The FactoryFinder seems to access an invalid classloader
> OSGi WebApp support leaks TCCL
> ------------------------------
>
> Key: AS7-980
> URL: https://issues.jboss.org/browse/AS7-980
> Project: Application Server 7
> Issue Type: Bug
> Reporter: Thomas Diesler
> Assignee: Thomas Diesler
> Fix For: 7.0.0.CR1
>
>
> 15:05:58,615 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."e347fd0c-d938-400f-901b-4afd1dd9890b.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."e347fd0c-d938-400f-901b-4afd1dd9890b.jar".PARSE: Failed to process phase PARSE of deployment "e347fd0c-d938-400f-901b-4afd1dd9890b.jar"
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1675)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_25]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_25]
> at java.lang.Thread.run(Thread.java:662) [:1.6.0_25]
> Caused by: javax.xml.parsers.FactoryConfigurationError: Provider __redirected.__SAXParserFactory could not be instantiated: java.lang.IllegalStateException: Bundle uninstalled: example-webapp:0.0.0
> at javax.xml.parsers.SAXParserFactory.newInstance(SAXParserFactory.java:134) [:1.6.0_25]
> at org.jboss.as.weld.deployment.BeansXmlParser.parse(BeansXmlParser.java:61)
> at org.jboss.as.weld.deployment.processors.BeansXmlProcessor.parseBeansXml(BeansXmlProcessor.java:126)
> at org.jboss.as.weld.deployment.processors.BeansXmlProcessor.deploy(BeansXmlProcessor.java:104)
> at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)
> ... 4 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list