Hello Adrian,
thanks for Your reply.

It is quite difficult to explain in short words, what (I think) is going on.  
We are developing a workforce management system communicating with an external  
network control system (electricity).

We need high availability.

Therefore we use JBoss clustering and HAJMS and oracle RAC/TAF.

As an example: we can interchange information with mobile units (cars) over 
GPRS or GSM via the network control system.

  Car -->  network control system -> JBoss

This interface between the network control system and JBoss  is implemented as 
an mbean using nio and HAJMS to get information from the car to the application 
server. This mbean service is a cluster singleton service. In a test 
environement every 10 seconds a update information from the car is comming via 
socket and put into a ha queue. An MDB processes this information and triggers 
some business logic. I can see the log message every 10 seconds.  If the 
message cannot be put into the queue, it is retried several times.

And now I come to the point. JBoss comes back means I can see these log 
messages again and JBoss is ready for clients to connect (after databse was 
plug off for about one minute). No exceptions are seen afterwards
. 
JBoss doesn't come back means I dont's see the log messages any longer and 
clients cannot connect (JBoss console is dead) and I can see exceptions (after 
database was plug off more than 10 minutes, which is the blocking timeout).  
The last exception  is
anonymous wrote : 10:15:09,218 WARN  [LocalManagedConnectionFactory] Destroying 
connection that is not valid, due to the following exception:
  | java.sql.SQLException: ORA-12571: TNS: Fehler beim Paket-Schreiber
  | . Then nothing more happens. No reaction on shutdown request.


I thought I found empirically a relation between the blocking timeout of the 
jms datasource and the time I can cut off the database connection without 
killing the server completely.

I saw HAJMS failover messages from the container  as well as from my own 
classes while the database was plug off.

Please excuse my English
Stefan








View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865666#3865666

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865666


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to