[weld-issues] [JBoss JIRA] Commented: (WELD-514) TCK Test Failures:Could Not Create Stateless EJB

Roger Kitain (JIRA) jira-events at lists.jboss.org
Thu May 6 14:58:05 EDT 2010


    [ https://jira.jboss.org/jira/browse/WELD-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12529442#action_12529442 ] 

Roger Kitain commented on WELD-514:
-----------------------------------

Closing - now filed as: https://jira.jboss.org/jira/browse/CDITCK-151

> TCK Test Failures:Could Not Create Stateless EJB
> ------------------------------------------------
>
>                 Key: WELD-514
>                 URL: https://jira.jboss.org/jira/browse/WELD-514
>             Project: Weld
>          Issue Type: Bug
>          Components: GlassFish Integration
>    Affects Versions: 1.0.1.Final
>         Environment: GlassFish 3.0.1
>            Reporter: Roger Kitain
>
> TCK Test failures :
> TEST NAME:   [testng] org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanICTest.testNewBeanHasSameConstructor
> SERVER LOG:
> [#|2010-04-30T12:17:22.833-0400|WARNING|glassfish3.0|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=25;_ThreadName=http-thread-pool-8080-(2);|A system exception occurred during an invocation on EJB ExplicitConstructorSessionBean method public void org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.ExplicitConstructorSessionBean.setConstructorCalls(int)
> javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
>         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:448)
>         at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2418)
>         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1811)
>         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:188)
>         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:84)
>         at $Proxy115.setConstructorCalls(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:304)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
>         at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:298)
>         at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
>         at org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43)
>         at org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.ExplicitConstructor_$$_javassist_13.setConstructorCalls(ExplicitConstructor_$$_javassist_13.java)
>         at org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.NewEnterpriseBeanICTest.testNewBeanHasSameConstructor(NewEnterpriseBeanICTest.java:46)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
>         at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
>         at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
>         at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
>         at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
>         at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
>         at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
>         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
>         at org.testng.TestRunner.runWorkers(TestRunner.java:759)
>         at org.testng.TestRunner.privateRun(TestRunner.java:592)
>         at org.testng.TestRunner.run(TestRunner.java:486)
>         at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
>         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
>         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
>         at org.testng.SuiteRunner.run(SuiteRunner.java:204)
>         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
>         at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
>         at org.testng.TestNG.run(TestNG.java:784)
>         at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
>         at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
>         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
>         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
>         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:637)
> Caused by: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
>         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:718)
>         at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:200)
>         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:443)
>         ... 72 more
> Caused by: javax.ejb.CreateException: Could not create stateless EJB
>         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:526)
>         at com.sun.ejb.containers.StatelessSessionContainer.access$000(StatelessSessionContainer.java:90)
>         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:716)
>         ... 74 more
> Caused by: java.lang.InstantiationException: org.jboss.jsr299.tck.tests.implementation.enterprise.newBean.ExplicitConstructorSessionBean
>         at java.lang.Class.newInstance0(Class.java:340)
>         at java.lang.Class.newInstance(Class.java:308)
>         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:466)
> TEST NAME: org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest.testConstructorAnnotatedInjectCalled
> SERVER LOG:
> [#|2010-04-30T13:35:14.775-0400|SEVERE|glassfish3.0|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=25;_ThreadName=http-thread-pool-8080-(2);|EJB5070: Exception creating stateless session bean : [ExplicitConstructorSessionBean]|#]
> [#|2010-04-30T13:35:14.775-0400|WARNING|glassfish3.0|javax.enterprise.system.container.ejb.com.sun.ejb.containers|_ThreadID=25;_ThreadName=http-thread-pool-8080-(2);|A system exception occurred during an invocation on EJB ExplicitConstructorSessionBean method public int org.jboss.jsr299.tck.tests.implementation.enterprise.definition.ExplicitConstructorSessionBean.getConstructorCalls()
> javax.ejb.EJBException: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
>         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:448)
>         at com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:2418)
>         at com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:1811)
>         at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:188)
>         at com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:84)
>         at $Proxy571.getConstructorCalls(Unknown Source)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:304)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54)
>         at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163)
>         at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:298)
>         at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:127)
>         at org.jboss.weld.util.CleanableMethodHandler.invoke(CleanableMethodHandler.java:43)
>         at org.jboss.jsr299.tck.tests.implementation.enterprise.definition.ExplicitConstructor_$$_javassist_480.getConstructorCalls(ExplicitConstructor_$$_javassist_480.java)
>         at org.jboss.jsr299.tck.tests.implementation.enterprise.definition.EnterpriseBeanDefinitionTest.testConstructorAnnotatedInjectCalled(EnterpriseBeanDefinitionTest.java:62)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
>         at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
>         at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)        at org.testng.TestRunner.privateRun(TestRunner.java:592)
>         at org.testng.TestRunner.run(TestRunner.java:486)
>         at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
>         at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
>         at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
>         at org.testng.SuiteRunner.run(SuiteRunner.java:204)
>         at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
>         at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
>         at org.testng.TestNG.run(TestNG.java:784)
>         at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
>         at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
>         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
>         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
>         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
>         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
>         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
>         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
>         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
>         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
>         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
>         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>         at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
>         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
>         at java.lang.Thread.run(Thread.java:637)
> Caused by: javax.ejb.EJBException: javax.ejb.CreateException: Could not create stateless EJB
>         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:718)
>         at com.sun.ejb.containers.util.pool.NonBlockingPool.getObject(NonBlockingPool.java:200)
>         at com.sun.ejb.containers.StatelessSessionContainer._getContext(StatelessSessionContainer.java:443)
>         ... 72 more
> Caused by: javax.ejb.CreateException: Could not create stateless EJB
>         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:526)
>         at com.sun.ejb.containers.StatelessSessionContainer.access$000(StatelessSessionContainer.java:90)
>         at com.sun.ejb.containers.StatelessSessionContainer$SessionContextFactory.create(StatelessSessionContainer.java:716)
>         ... 74 more
> Caused by: java.lang.InstantiationException: org.jboss.jsr299.tck.tests.implementation.enterprise.definition.ExplicitConstructorSessionBean
>         at java.lang.Class.newInstance0(Class.java:340)
>         at java.lang.Class.newInstance(Class.java:308)
>         at com.sun.ejb.containers.StatelessSessionContainer.createStatelessEJB(StatelessSessionContainer.java:466)
>         at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
>         at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
>         at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
>         at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
>         at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
>         at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
>         at org.testng.TestRunner.runWorkers(TestRunner.java:759)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list