[jboss-jira] [JBoss JIRA] Resolved: (EJBTHREE-592) Deployment of EJB3s using Interceptors fails

Carlo de Wolf (JIRA) jira-events at jboss.com
Mon Jan 8 06:59:26 EST 2007


     [ http://jira.jboss.com/jira/browse/EJBTHREE-592?page=all ]

Carlo de Wolf resolved EJBTHREE-592.
------------------------------------

    Resolution: Rejected

Interceptors have moved to javax.interceptor.Interceptors.

> Deployment of EJB3s using Interceptors fails
> --------------------------------------------
>
>                 Key: EJBTHREE-592
>                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-592
>             Project: EJB 3.0
>          Issue Type: Bug
>          Components: EJB3 Extensions
>    Affects Versions: EJB 3.0 RC6 - PFD
>            Reporter: J?rg Henne
>         Assigned To: Carlo de Wolf
>
> Deployment of EJB3s using Interceptors fails with this Exception
> java.lang.TypeNotPresentException: Type javax.ejb.Interceptors not present
> 	at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98)
> 	at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
> 	at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
> 	at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351)
> 	at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175)
> 	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
> 	at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
> 	at java.lang.Class.initAnnotationsIfNecessary(Class.java:2998)
> 	at java.lang.Class.getAnnotation(Class.java:2958)
> 	at org.jboss.aop.annotation.AnnotationElement.getVisibleAnnotation(AnnotationElement.java:88)
> 	at org.jboss.aop.Advisor.resolveAnnotation(Advisor.java:327)
> 	at org.jboss.ejb3.ProxyDeployer.initializeRemoteBindingMetadata(ProxyDeployer.java:127)
> 	at org.jboss.ejb3.SessionContainer.instantiated(SessionContainer.java:70)
> 	at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:573)
> 	at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:555)
> 	at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:536)
> 	at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:508)
> 	at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:463)
> 	at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:125)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243)
> 	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:585)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> ...
> The exception isn't terribly surprising consindering that the annotation class just isn't there, which one is already told about by the build script referencing $JBOSS_HOME/server/xxx/deploy/ejb3.deployer/*.jar

-- 
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

        



More information about the jboss-jira mailing list