You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Anita Kulshreshtha <a_...@yahoo.com> on 2007/03/22 15:39:46 UTC
activemq-broker
I get following exception while starting an instance of g using port
61626 instead of 61616. Where is 61616 coming from?
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.createManagedConnection
(ActiveMQManagedConnectionFactory.java:112)
at
org.apache.geronimo.connector.outbound.MCFConnectionInterceptor.getConnection(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.AbstractSinglePoolConnectionInterceptor.
getConnection(AbstractSinglePoolConnectionInterceptor.java:78)
at
org.apache.geronimo.connector.outbound.TransactionEnlistingInterceptor.getConne
ction(TransactionEnlistingInterceptor.java:46)
at
org.apache.geronimo.connector.outbound.TransactionCachingInterceptor.getConnect
ion(TransactionCachingInterceptor.java:95)
at
org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterc
eptor.java:39)
at
org.apache.geronimo.connector.outbound.AbstractConnectionManager.getRecoveryXAR
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
Re: activemq-broker
Posted by Anita Kulshreshtha <a_...@yahoo.com>.
--- Kevan Miller <ke...@gmail.com> wrote:
So, we're establishing this
> internal connection to ActiveMQ without specifying a port number (and
>
> activemq is defaulting).
This seems more likely... (rev 521546)
> Or, we're using the wrong port number.
Server reports the correct port no:
[******************************] 100% 35s Startup complete
Listening on Ports:
1089 0.0.0.0 RMI Naming
1517 0.0.0.0 Derby Connector
4201 0.0.0.0 org.apache.geronimo.openejb.EjbDaemonGBean
4232 0.0.0.0 Remote Login Listener
8019 0.0.0.0 Tomcat Connector AJP
8070 0.0.0.0 Tomcat Connector HTTP
8433 0.0.0.0 Tomcat Connector HTTPS
9989 0.0.0.0 JMX Remoting Connector
61606 0.0.0.0 ActiveMQ Transport Connector
61613 0.0.0.0 ActiveMQ Transport Connector
Thanks
Anita
p.s. now I am using 61606.
>
> How are you configuring this?
>
> --kevan
> > 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
>
>
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
Re: activemq-broker
Posted by Anita Kulshreshtha <a_...@yahoo.com>.
Thanks David! I had overlooked getAttribute and setAttribute methods
in ResourceAdapterWrapperGBean. I used ActiveMQ RA and it worked like
charm!
Thanks
Anita
--- David Jencks <da...@yahoo.com> wrote:
> All the config-properties specified in ra.xml for the resource
> adapter class and the outbound ManagedConnectionFactory and IIRC the
>
> admin objects are turned into dynamic attributes for the wrapper
> gbeans so they can be set through the gbean mechanism, exposed to
> management, overridden in config.xml, etc.
>
> So, this isn't an attribute of ResourceAdapterWrapperGBean itself,
> but any activemq resource adapter wrapper gbean instance should have
>
> it.
>
> thanks
> david jencks
>
> On Apr 10, 2007, at 6:25 AM, Anita Kulshreshtha wrote:
>
> > Thanks David! I could not find a ServerUrl attribute in
> > ResourceAdapterWrapper gbean. Do we need to add one? If yes, how?
> >
> > Thanks
> > Anita
> >
> > --- David Jencks <da...@yahoo.com> wrote:
> >
> >> This gets turned into a gbean attribute called ServerUrl on the
> >> ResourceAdapterWrapper gbean so it should be possible to override
> it
> >>
> >> that way in config.xml.
> >>
> >> thanks
> >> david jencks
> >>
> >> On Apr 9, 2007, at 7:48 PM, Anita Kulshreshtha wrote:
> >>
> >>> Kevan,
> >>> The plan for activemq-ra config is using 61616:
> >>> <resourceadapter>
> >>> <resourceadapter-instance>
> >>> <resourceadapter-name>ActiveMQ
> >> RA</resourceadapter-name>
> >>> <config-property-setting
> >>>
> name="ServerUrl">tcp://${PlanServerHostname}:${PlanActiveMQPort}</
> >>> config-property-setting>
> >>> ............................
> >>> </..>
> >>>
> >>> Any idea how to make this configurable?
> >>>
> >>> Thanks
> >>> Anita
> >>>
> >>> --- Kevan Miller <ke...@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?
> >>>>
> >>>> --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
>
=== message truncated ===
____________________________________________________________________________________
Finding fabulous fares is fun.
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains.
http://farechase.yahoo.com/promo-generic-14795097
Re: activemq-broker
Posted by David Jencks <da...@yahoo.com>.
All the config-properties specified in ra.xml for the resource
adapter class and the outbound ManagedConnectionFactory and IIRC the
admin objects are turned into dynamic attributes for the wrapper
gbeans so they can be set through the gbean mechanism, exposed to
management, overridden in config.xml, etc.
So, this isn't an attribute of ResourceAdapterWrapperGBean itself,
but any activemq resource adapter wrapper gbean instance should have
it.
thanks
david jencks
On Apr 10, 2007, at 6:25 AM, Anita Kulshreshtha wrote:
> Thanks David! I could not find a ServerUrl attribute in
> ResourceAdapterWrapper gbean. Do we need to add one? If yes, how?
>
> Thanks
> Anita
>
> --- David Jencks <da...@yahoo.com> wrote:
>
>> This gets turned into a gbean attribute called ServerUrl on the
>> ResourceAdapterWrapper gbean so it should be possible to override it
>>
>> that way in config.xml.
>>
>> thanks
>> david jencks
>>
>> On Apr 9, 2007, at 7:48 PM, Anita Kulshreshtha wrote:
>>
>>> Kevan,
>>> The plan for activemq-ra config is using 61616:
>>> <resourceadapter>
>>> <resourceadapter-instance>
>>> <resourceadapter-name>ActiveMQ
>> RA</resourceadapter-name>
>>> <config-property-setting
>>> name="ServerUrl">tcp://${PlanServerHostname}:${PlanActiveMQPort}</
>>> config-property-setting>
>>> ............................
>>> </..>
>>>
>>> Any idea how to make this configurable?
>>>
>>> Thanks
>>> Anita
>>>
>>> --- Kevan Miller <ke...@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?
>>>>
>>>> --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
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
> ______________________________________________________________________
>>
>>> ______________
>>> Expecting? Get great news right away with email Auto-Check.
>>> Try the Yahoo! Mail Beta.
>>> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
>>
>>
>
>
>
>
> ______________________________________________________________________
> ______________
> We won't tell. Get more on shows you hate to love
> (and love to hate): Yahoo! TV's Guilty Pleasures list.
> http://tv.yahoo.com/collections/265
Re: activemq-broker
Posted by Anita Kulshreshtha <a_...@yahoo.com>.
Thanks David! I could not find a ServerUrl attribute in
ResourceAdapterWrapper gbean. Do we need to add one? If yes, how?
Thanks
Anita
--- David Jencks <da...@yahoo.com> wrote:
> This gets turned into a gbean attribute called ServerUrl on the
> ResourceAdapterWrapper gbean so it should be possible to override it
>
> that way in config.xml.
>
> thanks
> david jencks
>
> On Apr 9, 2007, at 7:48 PM, Anita Kulshreshtha wrote:
>
> > Kevan,
> > The plan for activemq-ra config is using 61616:
> > <resourceadapter>
> > <resourceadapter-instance>
> > <resourceadapter-name>ActiveMQ
> RA</resourceadapter-name>
> > <config-property-setting
> > name="ServerUrl">tcp://${PlanServerHostname}:${PlanActiveMQPort}</
> > config-property-setting>
> > ............................
> > </..>
> >
> > Any idea how to make this configurable?
> >
> > Thanks
> > Anita
> >
> > --- Kevan Miller <ke...@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?
> >>
> >> --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
> >>
> >>
> >
> >
> >
> >
> >
>
______________________________________________________________________
>
> > ______________
> > Expecting? Get great news right away with email Auto-Check.
> > Try the Yahoo! Mail Beta.
> > http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
>
>
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
Re: activemq-broker
Posted by David Jencks <da...@yahoo.com>.
This gets turned into a gbean attribute called ServerUrl on the
ResourceAdapterWrapper gbean so it should be possible to override it
that way in config.xml.
thanks
david jencks
On Apr 9, 2007, at 7:48 PM, Anita Kulshreshtha wrote:
> Kevan,
> The plan for activemq-ra config is using 61616:
> <resourceadapter>
> <resourceadapter-instance>
> <resourceadapter-name>ActiveMQ RA</resourceadapter-name>
> <config-property-setting
> name="ServerUrl">tcp://${PlanServerHostname}:${PlanActiveMQPort}</
> config-property-setting>
> ............................
> </..>
>
> Any idea how to make this configurable?
>
> Thanks
> Anita
>
> --- Kevan Miller <ke...@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?
>>
>> --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
>>
>>
>
>
>
>
> ______________________________________________________________________
> ______________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
Re: activemq-broker
Posted by Anita Kulshreshtha <a_...@yahoo.com>.
Kevan,
The plan for activemq-ra config is using 61616:
<resourceadapter>
<resourceadapter-instance>
<resourceadapter-name>ActiveMQ RA</resourceadapter-name>
<config-property-setting
name="ServerUrl">tcp://${PlanServerHostname}:${PlanActiveMQPort}</config-property-setting>
............................
</..>
Any idea how to make this configurable?
Thanks
Anita
--- Kevan Miller <ke...@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?
>
> --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
>
>
____________________________________________________________________________________
Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
Re: activemq-broker
Posted by Anita Kulshreshtha <a_...@yahoo.com>.
--- Kevan Miller <ke...@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
Re: activemq-broker
Posted by Kevan Miller <ke...@gmail.com>.
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?
--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