tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramesh Vishwanatham (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TOMEE-1052) SEVERE: Failed to start ActiveMQ -- when TomEE is configured to use external activemq broker
Date Thu, 03 Oct 2013 01:53:42 GMT

    [ https://issues.apache.org/jira/browse/TOMEE-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784743#comment-13784743
] 

Ramesh Vishwanatham commented on TOMEE-1052:
--------------------------------------------

Andy
Thanks for quick resolution and for now  we will ignore this message in log
file and will use 1.6 version when it is available.





> SEVERE: Failed to start ActiveMQ -- when TomEE is configured to use external activemq
broker
> --------------------------------------------------------------------------------------------
>
>                 Key: TOMEE-1052
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1052
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>         Environment: Windows7 using Java 1.6
>            Reporter: Ramesh Vishwanatham
>            Priority: Trivial
>             Fix For: 1.5.2, 1.6.0
>
>
> I have configure Apache TomEE 1.5.2 to use external ActiveMQ Broker by changing tomee.xml
file, I have followed details mentioned in url: http://tomee.apache.org/jms-resources-and-mdb-container.html
> Below is my Resource elements in tomee.xml:
> <Resource id="MyJmsResourceAdapter" type="ActiveMQResourceAdapter">
> 	 <!-- BrokerXmlConfig = broker:(tcp://localhost:61616) -->
> 	  	BrokerXmlConfig = 
> 	  ServerUrl = tcp://localhost:61616
> 	</Resource>
> When I start TomEE app server (I am starting inside eclipse) I get below Exception in
eclipse console:
> INFO: Creating Resource(id=MyJmsResourceAdapter)
> Oct 1, 2013 9:27:49 PM org.apache.openejb.resource.activemq.ActiveMQResourceAdapter start
> SEVERE: Failed to start ActiveMQ
> java.lang.NullPointerException
> 	at org.apache.openejb.util.URLs.uri(URLs.java:105)
> 	at org.apache.openejb.resource.activemq.ActiveMQResourceAdapter.start(ActiveMQResourceAdapter.java:126)
> 	at org.apache.openejb.assembler.classic.Assembler.createResource(Assembler.java:1847)
> 	at org.apache.openejb.assembler.classic.Assembler.buildContainerSystem(Assembler.java:434)
> 	at org.apache.openejb.assembler.classic.Assembler.build(Assembler.java:353)
> 	at org.apache.openejb.OpenEJB$Instance.<init>(OpenEJB.java:147)
> 	at org.apache.openejb.OpenEJB.init(OpenEJB.java:292)
> 	at org.apache.tomee.catalina.TomcatLoader.initialize(TomcatLoader.java:233)
> 	at org.apache.tomee.catalina.TomcatLoader.init(TomcatLoader.java:130)
> 	at org.apache.tomee.catalina.ServerListener.lifecycleEvent(ServerListener.java:121)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
> 	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> 	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:110)
> 	at org.apache.catalina.startup.Catalina.load(Catalina.java:633)
> 	at org.apache.catalina.startup.Catalina.load(Catalina.java:658)
> 	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:597)
> 	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:455)
> It does connect to external ActiveMQ broker and every thing works fine. Only thing above
exception is a unwanted at begin of TomEE startup and I am hoping to get a solution for this
issue.
> Thanks
> Ramesh Vishwanatham



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message