geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anita Kulshreshtha <a_kuls...@yahoo.com>
Subject Re: activemq-broker
Date Thu, 22 Mar 2007 18:16:26 GMT

--- Kevan Miller <kevan.miller@gmail.com> wrote:

> 
> On Mar 22, 2007, at 10:39 AM, Anita Kulshreshtha wrote:
> 
> >    I get following exception while starting an instance of g using 
> 
> > port
> > 61626 instead of 61616. Where is 61616 coming from?
> 
> Hi Anita,
> 61616 is the ActiveMQ's default port. So, we're establishing this  
> internal connection to ActiveMQ without specifying a port number (and
>  
> activemq is defaulting). Or, we're using the wrong port number.
> 
> How are you configuring this?

 I am running an instance of G from g1 directory usng java -D....
bin\server..... I changed the port no. for ActiveMQ.tcp.default gbean
in g1/var/config/config.xml. The server starts despite the exception
and lists the correct port no, i.e. 61626. I had to modify
BrokerServiceGBeanImpl to create activemq dir in  g1/var.
   Not sure where the old value is coming from..

Thanks
Anita

> 
> --kevan
> 
> >
> > Thanks
> > Anita
> >
> > Starting Geronimo Application Server v2.0-SNAPSHOT
> > [*********>                  ] 34%  18s Starting
> > org.apache.geronim...10:27:08,953 ERROR [
> > MCFConnectionInterceptor] Error occurred creating ManagedConnection
>  
> > for
> > org.apache.geronim
> > o.connector.outbound.ConnectionInfo@1a6ac3e
> > javax.resource.ResourceException: Could not create connection.
> >         at
> >
>
org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedC
> 
> > onnection
> > (ActiveMQManagedConnectionFactory.java:112)
> >         at
> >
>
org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getCon
> 
> > nection(M
> > CFConnectionInterceptor.java:48)
> >         at
> >
>
org.apache.geronimo.connector.outbound.XAResourceInsertionInterceptor.
> 
> > getConnec
> > tion(XAResourceInsertionInterceptor.java:41)
> >         at
> >
>
org.apache.geronimo.connector.outbound.SinglePoolConnectionInterceptor
> 
> > .internal
> > GetConnection(SinglePoolConnectionInterceptor.java:66)
> >         at
> >
>
org.apache.geronimo.connector.outbound.AbstractSinglePoolConnectionInt
> 
> > erceptor.
> > getConnection(AbstractSinglePoolConnectionInterceptor.java:78)
> >         at
> >
>
org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor
> 
> > .getConne
> > ction(TransactionEnlistingInterceptor.java:46)
> >         at
> >
>
org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.g
> 
> > etConnect
> > ion(TransactionCachingInterceptor.java:95)
> >         at
> >
> org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection 
> > (TCCLInterc
> > eptor.java:39)
> >         at
> >
>
org.apache.geronimo.connector.outbound.AbstractConnectionManager.getRe
> 
> > coveryXAR
> > esource(AbstractConnectionManager.java:98)
> >         at
> > org.apache.geronimo.connector.outbound.AbstractConnectionManager$ 
> > $FastClassByCG
> > LIB$$80012030.invoke(<generated>)
> >         at
> net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
> > .......................................................
> > ......................................................
> >
> >         at
> > org.apache.geronimo.system.main.Daemon.<init>(Daemon.java:74)
> >         at org.apache.geronimo.system.main.Daemon.main(Daemon.java:
> 
> > 342)
> > Caused by: javax.jms.JMSException: Could not connect to broker URL:
> > tcp://0.0.0.0:61616. R
> > eason: java.net.ConnectException: Connection refused: connect
> >         at
> > org.apache.activemq.util.JMSExceptionSupport.create 
> > (JMSExceptionSupport.java:33
> >
> >
> >
> >
> >
>
______________________________________________________________________
> 
> > ______________
> > The fish are biting.
> > Get more visitors on your site using Yahoo! Search Marketing.
> > http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> 
> 



 
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

Mime
View raw message