activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Norman <nor...@apache.org>
Subject Re: Does ActiveMQ 5.4.1 runs with IBM jdk 1.5 ?
Date Thu, 14 Oct 2010 12:38:43 GMT
  Maybe you could try to add the following jar to the classpath:

http://mirrors.ibiblio.org/pub/mirrors/maven2/org/apache/geronimo/specs/geronimo-annotation_1.1_spec/1.0.1/geronimo-annotation_1.1_spec-1.0.1.jar

Not sure if it will help..

Bye,
Norman

Am 14.10.2010 14:28, schrieb Gary Tully:
> seems to be an issue, but there has been no real investigation to
> date. add what ever you find to
> https://issues.apache.org/activemq/browse/AMQ-2639
>
> On 14 October 2010 12:51, LucDP<luc@wodan.be>  wrote:
>> Hi,
>>
>> I have a problem running ActiveMQ 5.4.1 with IBM JDK 1..5.
>>
>> When I start activeMQ I get the following output and none of the webservices
>> are available ex http://localhost:8161/admiin ->  error 503
>>
>> C:\java\activemq\apache-activemq-5.4.1>bin\activemq
>> Java Runtime: IBM Corporation 1.5.0 C:\Program
>> Files\Java\ibm_jdk1.5.0.7_jablux\
>> jre
>>   Heap sizes: current=4096k  free=3145k  max=524288k
>>     JVM args: -Xjcl:jclscar_23
>> -Dcom.ibm.oti.vm.bootstrap.library.path=C:\Progra
>> m Files\Java\ibm_jdk1.5.0.7_jablux\jre\bin
>> -Dsun.boot.library.path=C:\Program Fi
>> les\Java\ibm_jdk1.5.0.7_jablux\jre\bin -Djava.library.path=C:\Program
>> Files\Java
>> \ibm_jdk1.5.0.7_jablux\jre\bin;.;C:\Program Files\IBM\CM for
>> iSeries\;C:\Program
>>   Files\IBM\CM for
>> iSeries\DLL\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System3
>> 2\Wbem;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\
>> CLIENT~1\Emulator;C:\Program Files\IDM Computer
>> Solutions\UltraEdit-32;C:\Progra
>> m Files\IBM\Installation Manager\eclipse\lib;C:\Program Files\Windows
>> Imaging\;C
>> :\Program Files\IBM\CM for iSeries\;C:\Program Files\IBM\CM for
>> iSeries\DLL\;C:\
>> WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\IBM\CLIENT~1;C:
>> \PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;C:\Program
>> Files
>> \IDM Computer Solutions\UltraEdit-32;C:\Program Files\IBM\Installation
>> Manager\e
>> clipse\lib;C:\Program Files\Windows
>> Imaging\;C:\java\apache-maven-2.0.9\bin;H:\U
>> ltraEdit\ -Djava.home=C:\Program Files\Java\ibm_jdk1.5.0.7_jablux\jre
>> -Djava.ext
>> .dirs=C:\Program Files\Java\ibm_jdk1.5.0.7_jablux\jre\lib\ext
>> -Duser.dir=C:\java
>> \activemq\apache-activemq-5.4.1 _j2se_j9=70912 -Dconsole.encoding=Cp850
>> vfprintf
>>   -Dcom.sun.management.jmxremote -Xmx512M
>> -Dorg.apache.activemq.UseDedicatedTaskR
>> unner=true -Djava.util.logging.config.file=logging.properties
>> -Dactivemq.classpa
>> th=C:\java\activemq\apache-activemq-5.4.1\bin\../conf;C:\java\activemq\apache-ac
>> tivemq-5.4.1\bin\../conf;
>> -Dactivemq.home=C:\java\activemq\apache-activemq-5.4.1
>> \bin\.. -Dactivemq.base=C:\java\activemq\apache-activemq-5.4.1\bin\..
>> -Dinvokedv
>> iajava
>> -Djava.class.path=C:\java\activemq\apache-activemq-5.4.1\bin\../bin/run.j
>> ar vfprintf _port_library -Xdump
>> ACTIVEMQ_HOME: C:\java\activemq\apache-activemq-5.4.1\bin\..
>> ACTIVEMQ_BASE: C:\java\activemq\apache-activemq-5.4.1\bin\..
>> Loading message broker from: xbean:activemq.xml
>>   WARN | destroyApplicationContextOnStop parameter is deprecated, please use
>> shut
>> down hooks instead
>>   INFO |
>> PListStore:C:\java\activemq\apache-activemq-5.4.1\bin\..\data\localhost\
>> tmp_storage started
>>   INFO | Using Persistence Adapter:
>> KahaDBPersistenceAdapter[C:\java\activemq\apa
>> che-activemq-5.4.1\bin\..\data\kahadb]
>>   INFO | KahaDB is version 2
>>   INFO | Recovering from the journal ...
>>   INFO | Recovery replayed 1 operations from the journal in 0.016 seconds.
>>   INFO | ActiveMQ 5.4.1 JMS Message Broker (localhost) is starting
>>   INFO | For help or more information please see: http://activemq.apache.org/
>>   INFO | Scheduler using directory:
>> C:\java\activemq\apache-activemq-5.4.1\bin\..
>> \data\localhost\scheduler
>>   INFO |
>> JobSchedulerStore:C:\java\activemq\apache-activemq-5.4.1\bin\..\data\loc
>> alhost\scheduler started
>>   INFO | Listening for connections at: tcp://W9991239D:61616
>>   INFO | Connector openwire Started
>>   INFO | ActiveMQ JMS Message Broker (localhost,
>> ID:W9991239D-1492-1287055134647-
>> 0:0) started
>>   INFO | Logging to
>> org.slf4j.impl.JCLLoggerAdapter(org.eclipse.jetty.util.log) v
>> ia 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.anno
>> tation.PreDestroy not present
>> ERROR | Failed startup of context
>> WebAppContext@17081708@17081708/camel,file:/C:
>> /java/activemq/apache-activemq-5.4.1/webapps/camel/
>> java.lang.TypeNotPresentException: Type javax.annotation.PreDestroy not
>> present
>>         at
>> com.ibm.oti.reflect.AnnotationHelper.getAnnotation(AnnotationHelper.j
>> ava:38)
>>         at
>> com.ibm.oti.reflect.AnnotationHelper.getDeclaredAnnotations(Annotatio
>> nHelper.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.ja
>> va:191)
>>         at
>> com.sun.jersey.core.reflection.AnnotatedMethod.hasMetaMethodAnnotatio
>> ns(AnnotatedMethod.java:263)
>>         at
>> com.sun.jersey.core.reflection.AnnotatedMethod.hasAnnotations(Annotat
>> edMethod.java:256)
>>         at
>> com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(An
>> notatedMethod.java:238)
>>         at
>> com.sun.jersey.core.reflection.AnnotatedMethod.findAnnotatedMethod(An
>> notatedMethod.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.getAbstract
>> Resource(WebApplicationImpl.java:570)
>>         at
>> com.sun.jersey.server.impl.application.WebApplicationImpl.processRoot
>> Resources(WebApplicationImpl.java:1082)
>>         at
>> com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(We
>> bApplicationImpl.java:912)
>>         at
>> com.sun.jersey.spi.spring.container.servlet.SpringServlet.initiate(Sp
>> ringServlet.java:99)
>>         at
>> com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComp
>> onent.initiate(ServletContainer.java:252)
>>         at
>> com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.j
>> ava:550)
>>         at
>> com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.j
>> ava:201)
>>         at
>> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletCon
>> tainer.java:307)
>>         at
>> com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletCon
>> tainer.java:641)
>>         at
>> org.eclipse.jetty.servlet.FilterHolder.doStart(FilterHolder.java:74)
>>         at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
>> Cycle.java:55)
>>         at
>> org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.ja
>> va:676)
>>         at
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletC
>> ontextHandler.java:193)
>>         at
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.jav
>> a:978)
>>         at
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandle
>> r.java:586)
>>         at
>> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:349
>> )
>>         at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
>> Cycle.java:55)
>>         at
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCol
>> lection.java:165)
>>         at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
>> Cycle.java:55)
>>         at
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe
>> r.java:92)
>>         at
>> org.eclipse.jetty.security.SecurityHandler.doStart(SecurityHandler.ja
>> va:340)
>>         at
>> org.eclipse.jetty.security.ConstraintSecurityHandler.doStart(Constrai
>> ntSecurityHandler.java:231)
>>         at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
>> Cycle.java:55)
>>         at
>> org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCol
>> lection.java:165)
>>         at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
>> Cycle.java:55)
>>         at
>> org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrappe
>> r.java:92)
>>         at org.eclipse.jetty.server.Server.doStart(Server.java:228)
>>         at
>> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLife
>> Cycle.java:55)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:79)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:43)
>>         at java.lang.reflect.Method.invoke(Method.java:618)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>> Factory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1536)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>> Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>> Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1409)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>> Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBean
>> Factory.createBean(AbstractAutowireCapableBeanFactory.java:456)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
>> ject(AbstractBeanFactory.java:291)
>>         at
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
>> y.getSingleton(DefaultSingletonBeanRegistry.java:222)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
>> an(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.finish
>> BeanFactoryInitialization(AbstractApplicationContext.java:895)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.refres
>> h(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(XBeanBroker
>> Factory.java:52)
>>         at
>> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
>> ava:71)
>>         at
>> org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
>> ava:54)
>>         at
>> org.apache.activemq.console.command.StartCommand.startBroker(StartCom
>> mand.java:115)
>>         at
>> org.apache.activemq.console.command.StartCommand.runTask(StartCommand
>> .java:74)
>>         at
>> org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
>> ommand.java:57)
>>         at
>> org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
>> .java:143)
>>         at
>> org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
>> ommand.java:57)
>>         at
>> org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
>> va:85)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:79)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.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.j
>> ava: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 SelectChannelConnector@0.0.0.0:8161
>> --
>> View this message in context: http://activemq.2283324.n4.nabble.com/Does-ActiveMQ-5-4-1-runs-with-IBM-jdk-1-5-tp2995187p2995187.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>
>


Mime
View raw message