tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: TomEE creating internal broker?
Date Sat, 01 Feb 2014 07:29:48 GMT
Yes the config file used is in the log. another thing is you surely would
like to use last release which fixed few things regarding amq

Le vendredi 31 janvier 2014, Thiago Veronezi <thiago@veronezi.org> a écrit :
> "TomEE.xml" I guess it could be case-sensitive. Can you try "tomee.xml"?
>
>
> On Fri, Jan 31, 2014 at 4:03 PM, exabrial12 <exabrial@gmail.com> wrote:
>
>> Hey guys,
>>
>> I just want TomEE to connect to an external broker, rather than create
it's
>> own. ActiveMQ is running on port 61616 and 61617, blocking anything else
>> from doing the same.
>>
>> TomEE is not listening to me and creating it's own broker anyway... what
>> gives?
>>
>>
>> TomEE.xml:
>>
>> <tomee>
>>         <Resource
>>                 id="ActiveMQResourceAdapter"
>>                 type="ActiveMQResourceAdapter">
>>                 BrokerXmlConfig =
>>                 ServerUrl = tcp://localhost:61617/localhost
>>         </Resource>
>>         <Resource
>>                 id="ActiveMQConnectionFactory"
>>                 type="javax.jms.ConnectionFactory">
>>                 ResourceAdapter = ActiveMQResourceAdapter
>>         </Resource>
>> </tomee>
>>
>>
>> Stack trace:
>> an 31, 2014 2:56:59 PM org.apache.catalina.startup.HostConfig deployWAR
>> INFO: Deploying web application archive
>> /opt/apache-tomee-plus-1.5.2/webapps/processing-server.war
>> Jan 31, 2014 2:56:59 PM org.apache.tomee.catalina.TomcatWebAppBuilder
init
>> INFO: ------------------------- localhost -> /processing-server
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.util.JarExtractor extract
>> INFO: Extracting jar: /opt/tomee/webapps/processing-server.war
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.util.JarExtractor extract
>> INFO: Extracted path: /opt/tomee/webapps/processing-server
>> Jan 31, 2014 2:56:59 PM
org.apache.tomee.catalina.TomEEClassLoaderEnricher
>> validateJarFile
>> WARNING: jar
>>
>>
'/opt/tomee/webapps/processing-server/WEB-INF/lib/javax.persistence-2.1.0.jar'
>> contains offending class: javax.persistence.Entity. It will be ignored.
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.ConfigurationFactory
>> configureApplication
>> INFO: Configuring enterprise application:
>> /opt/tomee/webapps/processing-server
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.InitEjbDeployments
deploy
>> INFO: Auto-deploying ejb DataBunkerService:
>> EjbDeployment(deployment-id=DataBunkerService)
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.InitEjbDeployments
deploy
>> INFO: Auto-deploying ejb SalesForceModelMessageListener:
>> EjbDeployment(deployment-id=SalesForceModelMessageListener)
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.InitEjbDeployments
deploy
>> INFO: Auto-deploying ejb JmsUpdateMessageListener:
>> EjbDeployment(deployment-id=JmsUpdateMessageListener)
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.ConfigurationFactory
>> configureService
>> INFO: Configuring Service(id=Default Managed Container, type=Container,
>> provider-id=Default Managed Container)
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.AutoConfig
>> createContainer
>> INFO: Auto-creating a container for bean processing-server.Comp863809195:
>> Container(type=MANAGED, id=Default Managed Container)
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.assembler.classic.Assembler
>> createRecipe
>> INFO: Creating Container(id=Default Managed Container)
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.core.managed.SimplePassivater
>> init
>> INFO: Using directory /opt/tomee/temp for stateful session passivation
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.AutoConfig
>> processResourceRef
>> INFO: Auto-linking resource-ref
>>
>>
'java:comp/env/com.springventuregroup.databunker.salesforce.jms.JmsUpdateClient/connectionFactory'
>> in bean processing-server.Comp863809195 to
>> Resource(id=ActiveMQConnectionFactory)
>> Jan 31, 2014 2:56:59 PM org.apache.openejb.config.AutoConfig
>> processResourceRef
>> INFO: Auto-linking resource-ref
>>
>

-- 
*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau
<http://fr.linkedin.com/in/rmannibucau>*
*Github: https://github.com/rmannibucau <https://github.com/rmannibucau>*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message