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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
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