[JBoss JIRA] Created: (EJBTHREE-1399) Fix "cachepassivation" Unit Test
by Andrew Lee Rubinger (JIRA)
Fix "cachepassivation" Unit Test
--------------------------------
Key: EJBTHREE-1399
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1399
Project: EJB 3.0
Issue Type: Task
Components: core
Reporter: Andrew Lee Rubinger
Assigned To: Andrew Lee Rubinger
Priority: Critical
Fix For: AS 5.0.0.CR1
Failing with:
org.jboss.ejb3.common.registrar.spi.NotBoundException: Could not retrieve Ejb3Registrar as a registrar implementation has not yet been bound.
at org.jboss.ejb3.common.registrar.spi.Ejb3RegistrarLocator.locateRegistrar(Ejb3RegistrarLocator.java:86)
at org.jboss.ejb3.session.SessionSpecContainer.getJndiRegistrar(SessionSpecContainer.java:126)
at org.jboss.ejb3.session.SessionSpecContainer.start(SessionSpecContainer.java:365)
at org.jboss.ejb3.stateful.StatefulContainer.start(StatefulContainer.java:288)
at org.jboss.ejb3.test.cachepassivation.unit.CachePassivationUnitTestCase.test1(CachePassivationUnitTestCase.java:91)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months
[JBoss JIRA] Created: (EJBTHREE-1393) Argument Type mismatch during invocation on specific interface Proxy
by Andrew Lee Rubinger (JIRA)
Argument Type mismatch during invocation on specific interface Proxy
--------------------------------------------------------------------
Key: EJBTHREE-1393
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1393
Project: EJB 3.0
Issue Type: Bug
Components: proxy
Reporter: Andrew Lee Rubinger
Assigned To: Andrew Lee Rubinger
Priority: Critical
Fix For: AS 5.0.0.CR1
Attempting to lookup a Proxy for a specific EJB3 Business Interface results in:
Caused by: java.lang.RuntimeException: Could not create the EJB3 Business Proxy implementing "org.jboss.ejb3.core.test.stateless.MyStateless" for MyStatelessBean
at org.jboss.ejb3.proxy.factory.session.SessionProxyFactoryBase.createProxyBusiness(SessionProxyFactoryBase.java:204)
at org.jboss.ejb3.proxy.objectfactory.session.SessionProxyObjectFactory.createProxy(SessionProxyObjectFactory.java:132)
at org.jboss.ejb3.proxy.objectfactory.session.stateless.StatelessSessionProxyObjectFactory.getProxy(StatelessSessionProxyObjectFactory.java:79)
at org.jboss.ejb3.proxy.objectfactory.ProxyObjectFactory.getObjectInstance(ProxyObjectFactory.java:161)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.jnp.interfaces.NamingContext.getObjectInstance(NamingContext.java:1312)
at org.jnp.interfaces.NamingContext.getObjectInstanceWrapFailure(NamingContext.java:1329)
... 30 more
Caused by: java.lang.IllegalArgumentException: argument type mismatch
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.jboss.ejb3.proxy.factory.session.SessionProxyFactoryBase.createProxyBusiness(SessionProxyFactoryBase.java:199)
... 36 more
Add test cases and fix
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months
[JBoss JIRA] Created: (EJBTHREE-1392) Move injection handlers to Ejb3Deployment
by Scott M Stark (JIRA)
Move injection handlers to Ejb3Deployment
-----------------------------------------
Key: EJBTHREE-1392
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1392
Project: EJB 3.0
Issue Type: Feature Request
Reporter: Scott M Stark
Assigned To: Scott M Stark
I want to move the EJBContainer.processMetadata InjectionHandler setup:
public void processMetadata()
{
// XML must be done first so that any annotation overrides are initialized
// todo injection handlers should be pluggable from XML
Collection<InjectionHandler<Environment>> handlers = new ArrayList<InjectionHandler<Environment>>();
handlers.add(new EJBHandler<Environment>());
handlers.add(new DependsHandler<Environment>());
handlers.add(new JndiInjectHandler<Environment>());
handlers.add(new PersistenceContextHandler<Environment>());
handlers.add(new PersistenceUnitHandler<Environment>());
handlers.add(new ResourceHandler<Environment>());
handlers.add(new WebServiceRefHandler<Environment>());
to the input Ejb3Deployment so that these can be overridden from the deployment environment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 7 months