[JBoss JIRA] Created: (JBVFS-18) Seeing jar:jar urls for nested jars with a SynthenticDirEntryHandler parent
by Scott M Stark (JIRA)
Seeing jar:jar urls for nested jars with a SynthenticDirEntryHandler parent
---------------------------------------------------------------------------
Key: JBVFS-18
URL: http://jira.jboss.com/jira/browse/JBVFS-18
Project: JBoss VFS
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.Beta9
Reporter: Scott M Stark
Fix For: 2.0.0.Beta10
In testing the current vfs trunk with jbossas using the jboss.vfs.forceNoCopy=true setting, the jdk jar: protocol handler ends up puking on jar:jar: type of urls.
Caused by: java.lang.RuntimeException: java.net.MalformedURLException: no !/ in spec
at org.jboss.virtual.plugins.context.AbstractURLHandler.initCacheLastModified(AbstractURLHan
dler.java:76)
at org.jboss.virtual.plugins.context.AbstractURLHandler.<init>(AbstractURLHandler.java:65)
at org.jboss.virtual.plugins.context.jar.SynthenticDirEntryHandler.<init>(SynthenticDirEntryHandler.java:77)
at org.jboss.virtual.plugins.context.jar.AbstractStructuredJarHandler.createSynthenticParent
(AbstractStructuredJarHandler.java:239)
at org.jboss.virtual.plugins.context.jar.AbstractStructuredJarHandler.buildParents(AbstractS
tructuredJarHandler.java:227)
at org.jboss.virtual.plugins.context.jar.AbstractStructuredJarHandler.initJarFile(AbstractSt
ructuredJarHandler.java:166)
at org.jboss.virtual.plugins.context.jar.NestedJarFromStream.init(NestedJarFromStream.java:9
1)
at org.jboss.virtual.plugins.context.jar.NestedJarFromStream.getChild(NestedJarFromStream.ja
va:108)
at org.jboss.virtual.plugins.context.jar.NoCopyNestedJarHandler.getChild(NoCopyNestedJarHand
ler.java:130)
at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:407)
at org.jboss.deployers.vfs.plugins.structure.explicit.DeclaredStructure.determineStructure(D
eclaredStructure.java:64)
... 63 more
This is not seen with the 2.0.0.Beta9 vfs release.
--
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, 11 months
[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, 11 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, 11 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, 11 months