[jboss-jira] [JBoss JIRA] (WFLY-2275) StackOverflowError on DataSource resource injection
Eduardo Martins (JIRA)
jira-events at lists.jboss.org
Wed Nov 6 14:04:02 EST 2013
[ https://issues.jboss.org/browse/WFLY-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eduardo Martins resolved WFLY-2275.
-----------------------------------
Resolution: Cannot Reproduce Bug
> StackOverflowError on DataSource resource injection
> ---------------------------------------------------
>
> Key: WFLY-2275
> URL: https://issues.jboss.org/browse/WFLY-2275
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Naming
> Affects Versions: 8.0.0.Beta1
> Reporter: Thomas Diesler
> Assignee: Eduardo Martins
> Attachments: standalone-osgi.xml
>
>
> {code}
> @Resource(name="java:comp/DefaultDataSource")
> public DataSource ds;
> {code}
> leads to
> {code}
> 10:59:21,901 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011001: Bundle installed: resource-injection.jar:0.0.0
> 10:59:21,937 INFO [org.jboss.as.arquillian] (MSC service thread 1-3) Arquillian deployment detected: ArquillianConfig[service=jboss.arquillian.config."resource-injection.jar",unit=resource-injection.jar,tests=[org.jboss.test.osgi.example.resource.ResourceInjectionTestCase]]
> 10:59:21,993 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."resource-injection.jar".Activate: org.jboss.msc.service.StartException in service jboss.deployment.unit."resource-injection.jar".Activate: Failed to start service
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1900) [jboss-msc-1.2.0.Beta2.jar:1.2.0.Beta2]
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_25]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_25]
> at java.lang.Thread.run(Thread.java:724) [rt.jar:1.7.0_25]
> Caused by: java.lang.StackOverflowError
> at java.util.Vector.<init>(Vector.java:127) [rt.jar:1.7.0_25]
> at java.util.Vector.<init>(Vector.java:144) [rt.jar:1.7.0_25]
> at java.util.Vector.<init>(Vector.java:153) [rt.jar:1.7.0_25]
> at javax.naming.NameImpl.<init>(NameImpl.java:273) [rt.jar:1.7.0_25]
> at javax.naming.NameImpl.<init>(NameImpl.java:277) [rt.jar:1.7.0_25]
> at javax.naming.CompositeName.<init>(CompositeName.java:231) [rt.jar:1.7.0_25]
> at org.jboss.as.naming.util.NameParser.parse(NameParser.java:49)
> at org.jboss.as.naming.NamingContext.parseName(NamingContext.java:496)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:188)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)
> at org.jboss.as.naming.deployment.ContextNames$BindInfo$1$1.getReference(ContextNames.java:302)
> at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:140)
> at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:81)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:202)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:188)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)
> at org.jboss.as.naming.deployment.ContextNames$BindInfo$1$1.getReference(ContextNames.java:302)
> at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:140)
> at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:81)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:202)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:188)
> at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)
> at org.jboss.as.naming.deployment.ContextNames$BindInfo$1$1.getReference(ContextNames.java:302)
> at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:140)
> at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:81)
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list