activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2639) Annotation error with IBM 1.5 JVM
Date Sat, 18 Sep 2010 16:47:38 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bruce Snyder updated AMQ-2639:
------------------------------

    Fix Version/s: 5.5.0
                       (was: 5.4.1)

> Annotation error with IBM 1.5 JVM
> ---------------------------------
>
>                 Key: AMQ-2639
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2639
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.3.0
>         Environment: Linux Suse SLES 10, IBM 1.5 0-SR11 JVM 
>            Reporter: Henri Gomez
>             Fix For: 5.5.0
>
>
> When I launch ActiveMQ 5.3.0 with an IBM 1.5.0 JVM I see the following error :
> jvm 1    |  INFO | Connector vm://localhost Started
> jvm 1    | ERROR | failed Jersey Filter
> jvm 1    | java.lang.TypeNotPresentException: Type javax.annotation.PreDestroy not present
> jvm 1    | 	at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38)
> jvm 1    | 	at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50)
> jvm 1    | 	at com.ibm.oti.reflect.Method.getDeclaredAnnotations(Method.java:31)
> jvm 1    | 	at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:722)
> jvm 1    | 	at java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:191)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.hasMetaMethodAnnotations(AnnotatedMethod.java:269)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.hasAnnotations(AnnotatedMethod.java:262)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(AnnotatedMethod.java:232)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(AnnotatedMethod.java:218)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.<init>(AnnotatedMethod.java:109)
> jvm 1    | 	at com.sun.jersey.core.reflection.MethodList.<init>(MethodList.java:75)
> jvm 1    | 	at com.sun.jersey.core.reflection.MethodList.<init>(MethodList.java:57)
> jvm 1    | 	at com.sun.jersey.server.impl.modelapi.annotation.IntrospectionModeller.createResource(IntrospectionModeller.java:108)
> jvm 1    | 	at com.sun.jersey.server.impl.application.WebApplicationImpl.getAbstractResource(WebApplicationImpl.java:400)
> jvm 1    | 	at com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:800)
> jvm 1    | 	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:645)
> jvm 1    | 	at com.sun.jersey.spi.spring.container.servlet.SpringServlet.initiate(SpringServlet.java:97)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:455)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:178)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:281)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:613)
> jvm 1    | 	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589)
> jvm 1    | 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> jvm 1    | 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> jvm 1    | 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> jvm 1    | 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> jvm 1    | 	at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.xbean.JettyFactoryBean.run(JettyFactoryBean.java:47)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:618)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> jvm 1    | 	at java.security.AccessController.doPrivileged(AccessController.java:214)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> jvm 1    | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> jvm 1    | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> jvm 1    | 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> jvm 1    | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
> jvm 1    | 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
> jvm 1    | 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
> jvm 1    | 	at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
> jvm 1    | 	at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
> jvm 1    | 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
> jvm 1    | 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
> jvm 1    | 	at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
> jvm 1    | 	at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
> jvm 1    | 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> jvm 1    | 	at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
> jvm 1    | 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> jvm 1    | 	at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:618)
> jvm 1    | 	at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
> jvm 1    | 	at org.apache.activemq.console.Main.main(Main.java:107)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:618)
> jvm 1    | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> jvm 1    | 	at java.lang.Thread.run(Thread.java:811)
> jvm 1    | Caused by: 
> jvm 1    | java.lang.ClassNotFoundException: javax.annotation.PreDestroy
> jvm 1    | 	at java.lang.Class.forNameImpl(Native Method)
> jvm 1    | 	at java.lang.Class.forName(Class.java:163)
> jvm 1    | 	at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
> jvm 1    | 	... 78 more
> jvm 1    | ERROR | Failed startup of context org.mortbay.jetty.webapp.WebAppContext@4fb04fb0{/camel,file:/home/apache-activemq-5.3.0/webapps/camel/}
> jvm 1    | java.lang.TypeNotPresentException: Type javax.annotation.PreDestroy not present
> jvm 1    | 	at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38)
> jvm 1    | 	at com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50)
> jvm 1    | 	at com.ibm.oti.reflect.Method.getDeclaredAnnotations(Method.java:31)
> jvm 1    | 	at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:722)
> jvm 1    | 	at java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:191)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.hasMetaMethodAnnotations(AnnotatedMethod.java:269)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.hasAnnotations(AnnotatedMethod.java:262)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(AnnotatedMethod.java:232)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(AnnotatedMethod.java:218)
> jvm 1    | 	at com.sun.jersey.core.reflection.AnnotatedMethod.<init>(AnnotatedMethod.java:109)
> jvm 1    | 	at com.sun.jersey.core.reflection.MethodList.<init>(MethodList.java:75)
> jvm 1    | 	at com.sun.jersey.core.reflection.MethodList.<init>(MethodList.java:57)
> jvm 1    | 	at com.sun.jersey.server.impl.modelapi.annotation.IntrospectionModeller.createResource(IntrospectionModeller.java:108)
> jvm 1    | 	at com.sun.jersey.server.impl.application.WebApplicationImpl.getAbstractResource(WebApplicationImpl.java:400)
> jvm 1    | 	at com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:800)
> jvm 1    | 	at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:645)
> jvm 1    | 	at com.sun.jersey.spi.spring.container.servlet.SpringServlet.initiate(SpringServlet.java:97)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:455)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:178)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:281)
> jvm 1    | 	at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:613)
> jvm 1    | 	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:589)
> jvm 1    | 	at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
> jvm 1    | 	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
> jvm 1    | 	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:510)
> jvm 1    | 	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
> jvm 1    | 	at org.mortbay.jetty.Server.doStart(Server.java:222)
> jvm 1    | 	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
> jvm 1    | 	at org.mortbay.jetty.xbean.JettyFactoryBean.run(JettyFactoryBean.java:47)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:618)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1414)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1375)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> jvm 1    | 	at java.security.AccessController.doPrivileged(AccessController.java:214)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> jvm 1    | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> jvm 1    | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> jvm 1    | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> jvm 1    | 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
> jvm 1    | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
> jvm 1    | 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
> jvm 1    | 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
> jvm 1    | 	at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
> jvm 1    | 	at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
> jvm 1    | 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
> jvm 1    | 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
> jvm 1    | 	at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
> jvm 1    | 	at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
> jvm 1    | 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> jvm 1    | 	at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
> jvm 1    | 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> jvm 1    | 	at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:618)
> jvm 1    | 	at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
> jvm 1    | 	at org.apache.activemq.console.Main.main(Main.java:107)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> jvm 1    | 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> jvm 1    | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> jvm 1    | 	at java.lang.reflect.Method.invoke(Method.java:618)
> jvm 1    | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> jvm 1    | 	at java.lang.Thread.run(Thread.java:811)
> jvm 1    | Caused by: 
> jvm 1    | java.lang.ClassNotFoundException: javax.annotation.PreDestroy
> jvm 1    | 	at java.lang.Class.forNameImpl(Native Method)
> jvm 1    | 	at java.lang.Class.forName(Class.java:163)
> jvm 1    | 	at com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
> jvm 1    | 	... 78 more
> I didn't see such behaviour with an IBM 1.6.0 JVM or Sun 1.5.0 / 1.6.0.
> Some of our futur ActiveMQ targets platform will only have IBM 1.5.0 JVM and couldn't
be upgraded to IBM 1.6.0 for a while.
> Regards

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message