Return-Path: X-Original-To: apmail-tomee-commits-archive@www.apache.org Delivered-To: apmail-tomee-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 141BE10C06 for ; Wed, 2 Oct 2013 18:59:54 +0000 (UTC) Received: (qmail 66255 invoked by uid 500); 2 Oct 2013 18:59:53 -0000 Delivered-To: apmail-tomee-commits-archive@tomee.apache.org Received: (qmail 65878 invoked by uid 500); 2 Oct 2013 18:59:48 -0000 Mailing-List: contact commits-help@tomee.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tomee.apache.org Delivered-To: mailing list commits@tomee.apache.org Received: (qmail 65748 invoked by uid 500); 2 Oct 2013 18:59:45 -0000 Delivered-To: apmail-openejb-commits@openejb.apache.org Received: (qmail 65689 invoked by uid 99); 2 Oct 2013 18:59:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Oct 2013 18:59:43 +0000 Date: Wed, 2 Oct 2013 18:59:43 +0000 (UTC) From: "Andy Gumbrecht (JIRA)" To: commits@openejb.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TOMEE-1052) SEVERE: Failed to start ActiveMQ -- when TomEE is configured to use external activemq broker MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TOMEE-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784288#comment-13784288 ] Andy Gumbrecht commented on TOMEE-1052: --------------------------------------- Just for a quick check - Can you look at the config using something like notepad++ and switch on symbols view to check that there is no space or hidden character at the end of the line: BrokerXmlConfig = > 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 > > 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: > > > BrokerXmlConfig = > ServerUrl = tcp://localhost:61616 > > 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.(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)