Hi,
First, I'm French and it's not a good start :). More seriously, my English is not
very fluent, so I hope you can understand my problem.
Then, here's our environment :
- JBossAS 5.0.0GA with embedded JMS jar file running on windows XP under eclipse ganymede
(development environment).
We have two JBossAS servers running on two physicals separated servers. One produce
messages (let's call it serverP), the other consume them through a MDB (call it
serverC).
We are not using bridges or clusters. We are using default configuration files with only
jms-ds.xml modified to activate remote JNDI.
ServerC is connected to serverP via remote JNDI configured in jms-ds.xml (I've not the
file with me now, I'll post it tomorrow).
When servers starts together, all is working fine.
When serverC starts alone, the JNDI lookup failed and 5 retries are done (one every 10
seconds). If serverP starts after these 5 retries, the connection between the two servers
is not established and the only way we have found to force the reconnection is to restart
serverC after serverP has started. This must not be the case in production environment.
We have tried to put the property jnp.maxRetries to -1 but it seems this is only working
in clustered configuration.
We don't want to use clusters because in this case, we must declare a database
datasource for storing waiting messages and we don't want to add more load to our
database.
Is-it possible that serverC retries the lookup until it success ?
Thanks a lot,
Stephane.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206382#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...