Hello,
There's currently no support for JBoss JMS HA, although I would think it's
not difficult to add. The URL would have to change, just like it works for
JMS Grid (Wave) and JMQ (SunOne) so that it will accept commas. Next, the
list of URLs need to be passed to the JBoss JMS runtime client.
I don't know much about the JBoss JMS HA client. Is it the same one as is
used for JBoss JMS? How do you specify multiple URLs for it?
Kind regards,
Frank
Frank Kieviet
Senior Staff Engineer, SOA/BI
Sun Microsystems, Monrovia, CA
Tel +1 626 471 6322
Blog:
http://blogs.sun.com/fkieviet
> -----Original Message-----
> From: coccic75386_at_mypacks.net [mailto:coccic75386_at_mypacks.net]
> Sent: Wednesday, April 02, 2008 13:18
> To: users_at_jmsjca.dev.java.net
> Subject: how to specify multiple ConnectionURLs?
>
> Hey everyone -
>
> I'm having some difficulty configuring JMSJCA for multiple connection
> URLs, and I'm hoping someone might be able to help me.
>
> I'd like to specify two ConnectionURLs due to a high-availability setup.
> I'm running a message-driven bean on Glassfish and using JMSJCA to connect
> to a JBoss JMS provider. After I deploy the JMSJCA RAR in Glassfish as a
> Connector Module, it shows me the Resource Adapter properties, including a
> single ConnectionURL. If I fill in a single URL, such as
> "jnp://localhost:1099", it all works fine.
>
> Specifying multiple comma-delimited URLs in the ConnectionURL field does
> not work, as I get an exception from the
> com.sts.jmsjca.util.UrlParser.parse() method. For example, entering
> "jnp://localhost:1099,jnp://localhost:1199" fails with an exception from
> java.lang.Integer.parseInt(), as it's trying to convert "1099,jnp:" to an
> integer value.
>
> Any ideas on how to specify multiple ConnectionURLs? I appreciate any
> help you guys can give me.
>
> Thanks!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jmsjca.dev.java.net
> For additional commands, e-mail: users-help_at_jmsjca.dev.java.net