I got the folowing error when I invoke a http://0.0.0.0:8161/admin on mi server
-------------------------------------------------------------------------------
Key: AMQ-2924
URL: https://issues.apache.org/activemq/browse/AMQ-2924
Project: ActiveMQ
Issue Type: Task
Affects Versions: 5.4.0
Environment: AIX 5.3 , with IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9
2.3 AIX ppc64-64 j9vmap6423ifx-20080811 (JIT enabled),
Reporter: Francisco del valle
Fix For: 5.4.0
I got the followed error when i tried to invoke the admin console;
Java Runtime: IBM Corporation 1.5.0 /opt/mule/sdk/jre
Heap sizes: current=4096k free=3240k max=524288k
JVM args: -Xjcl:jclscar_23
-Dcom.ibm.oti.vm.bootstrap.library.path=/opt/mule/sdk/jre/bin
-Dsun.boot.library.path=/opt/mule/sdk/jre/bin
-Djava.library.path=/opt/mule/sdk/jre/bin:/opt/mule/sdk/jre/bin:/opt/mule/sdk/jre/bin/classic:/opt/mule/sdk/jre/bin:/opt/mule/sdk/jre/bin/j9vm:/usr/lib
-Djava.home=/opt/mule/sdk/jre -Djava.ext.dirs=/opt/mule/sdk/jre/lib/ext
-Duser.dir=/opt/mule/apache-activemq-5.4.0/bin _j2se_j9=70912 vfprintf -Xmx512M
-Dorg.apache.activemq.UseDedicatedTaskRunner=true
-Djava.util.logging.config.file=logging.properties
-Dcom.sun.management.jmxremote
-Dactivemq.classpath=/opt/mule/apache-activemq-5.4.0/conf;
-Dactivemq.home=/opt/mule/apache-activemq-5.4.0
-Dactivemq.base=/opt/mule/apache-activemq-5.4.0 -Dinvokedviajava
-Djava.class.path=/opt/mule/apache-activemq-5.4.0/bin/run.jar vfprintf
_port_library -Xdump
ACTIVEMQ_HOME: /opt/mule/apache-activemq-5.4.0
ACTIVEMQ_BASE: /opt/mule/apache-activemq-5.4.0
Loading message broker from: xbean:activemq.xml
WARN | destroyApplicationContextOnStop parameter is deprecated, please use
shutdown hooks instead
INFO | PListStore:/opt/mule/apache-activemq-5.4.0/data/localhost/tmp_storage
started
INFO | Using Persistence Adapter:
KahaDBPersistenceAdapter[/opt/mule/apache-activemq-5.4.0/data/kahadb]
INFO | ActiveMQ 5.4.0 JMS Message Broker (localhost) is starting
INFO | For help or more information please see: http://activemq.apache.org/
INFO | Scheduler using directory: activemq-data/scheduler
INFO | Listening for connections at: tcp://picdev02.cantv.com.ve:61616
INFO | Connector openwire Started
INFO | ActiveMQ JMS Message Broker (localhost,
ID:picdev02.cantv.com.ve-34419-1284760946654-0:0) started
INFO | Logging to org.slf4j.impl.JCLLoggerAdapter(org.eclipse.jetty.util.log)
via org.eclipse.jetty.util.log.Slf4jLog
INFO | jetty-7.0.1.v20091125
INFO | ActiveMQ WebConsole initialized.
INFO | Initializing Spring FrameworkServlet 'dispatcher'
INFO | ActiveMQ Console at http://0.0.0.0:8161/admin
INFO | Initializing Spring root WebApplicationContext
INFO | Connector vm://localhost Started
WARN | FAILED Jersey Filter: java.lang.TypeNotPresentException: Type
javax.annotation.PreDestroy not present
ERROR | Failed startup of context
webappcont...@5c565c56@5c565c56/camel,file:/opt/mule/apache-activemq-5.4.0/webapps/camel/
java.lang.TypeNotPresentException: Type javax.annotation.PreDestroy not present
at
com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:38)
at
com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(AnnotationHelper.java:50)
at com.ibm.oti.reflect.Method.getDeclaredAnnotations(Method.java:31)
at java.lang.reflect.Method.getDeclaredAnnotations(Method.java:722)
at
java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:191)
at
com.sun.jersey.core.reflection.AnnotatedMethod.hasMetaMethodAnnotations(AnnotatedMethod.java:263)
at
com.sun.jersey.core.reflection.AnnotatedMethod.hasAnnotations(AnnotatedMethod.java:256)
at
com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(AnnotatedMethod.java:238)
at
com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(AnnotatedMethod.java:226)
at
com.sun.jersey.core.reflection.AnnotatedMethod.<init>(AnnotatedMethod.java:109)
at com.sun.jersey.core.reflection.MethodList.<init>(MethodList.java:81)
at com.sun.jersey.core.reflection.MethodList.<init>(MethodList.java:61)
at com.sun.jersey.core.reflection.MethodList.<init>(MethodList.java:57)
at
com.sun.jersey.server.impl.modelapi.annotation.IntrospectionModeller.createResource(IntrospectionModeller.java:109)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.getAbstractResource(WebApplicationImpl.java:570)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:1082)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:912)
at
com.sun.jersey.spi.spring.container.servlet.SpringServlet.initiate(SpringServlet.java:99)
at
com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:252)
at
com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:550)
at
com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:201)
at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:307)
at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:641)
at org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:74)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:676)
at
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:193)
at
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:978)
at
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
at
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:349)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
at
org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.java:340)
at
org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(ConstraintSecurityHandler.java:231)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:165)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at
org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:92)
at org.eclipse.jetty.server.Server.doStart(Server.java:228)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:574)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
at
org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:137)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
at org.apache.activemq.console.Main.main(Main.java:107)
Caused by:
java.lang.ClassNotFoundException: javax.annotation.PreDestroy
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:163)
at
com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.java:33)
... 75 more
INFO | ActiveMQ Web Demos at http://0.0.0.0:8161/demo
INFO | RESTful file access application at http://0.0.0.0:8161/fileserver
INFO | Started [email protected]:8161
WARN | Committed before 503 null
can anyone help me with???
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.