I had a task to connect one JBoss to another via JMS
through the firewall.
I've discovered 2 problems with it.
First I can't specify JMSConnectionFactory - it
hardcoded
to "org.jnp.interfaces.NamingContextFactory" but
because I have firewall I
need "org.jboss.naming.HttpNamingContextFactory". So
a I've added parameter "Factory"
to "org.jboss.jms.jndi.JMSProviderLoader" MBean.
Second, when connection was established, and I
shutdown and then startup JBoss that acts as JMS
server another server won't to reconnect,
because "JMSContainerInvoker" catch only
JMSException, not NamingException that can happened
because I use "org.jboss.naming.ExternalContext" to
connect to remote JMS. So I've added NamingException
processing to "JMSContainerInvoker".
I include all files that I change to attachment file.
Used JBoss 3.2.3 release.
Changed files.
Logged In: YES
user_id=429063
Well, as I can see first problem was solved in 3.2.4 by
passing Properties to JMSProviderLoader. So only reconnect
to JMS server in case of NamingException is an issue.
Logged In: YES
user_id=175228
All issues have been moved to http://jira.jboss.com. Existing
issues have been moved. New issues will be closed with this
canned reponse.