[Clustering/JBoss] - Re: Doubt regarding clinet side interceptor.....
by bstansberry@jboss.com
First, client-side interceptors are basically not relevant to an HTTP client talking to the cluster (e.g. a normal webapp where the client is a browser).
Cluster-aware client side interceptors are involved when a Java client contacts a server in the cluster and downloads proxy, which it then uses to invoke operations on servers in the cluster. E.g.:
1) Create an InitialContext configured to use HA-JNDI on port 1100. This results in a communication to the HA-JNDI service on 1100 and the download of a cluster-aware naming service proxy. This is all transparent to your code. When you then do lookups using that context, the proxy includes interceptors that handle load balancing and failover of the naming lookups.
2) Contact JNDI or HA-JNDI (doesn't matter which) and look up an EJB that's configured as clustered. You get an EJB proxy that includes a cluster-aware interceptor. When you make invocations on the bean, the interceptor handles load balancing and failover.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045016#4045016
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045016
19 years, 1 month
[Messaging, JMS & JBossMQ] - class not ofunf exception
by iamgoingcrazy
I have an MDB listening to a queue. Once it gets the message it should procees it and send it to another queue on diff server which uses TIBCO.
I have a standlone client prog which can successfully send the message to the diff server using the tibco jars that i specify in the class path when invoking this standalone prog.
But when i try to send the message form the MDB to the Tibco server , I get
Cannot instantiate class: com.tibco.tibjms.naming.TibjmsInitialContextFactory
I was missing the tibco jars so I included the tibco jars in the jboss_class path variable.
Now i am getting an error.
Noclassdefinationfound error for javax/jms/JMSException
but the jmsexception class is part of jboss-j2ee.jar file which is present in jboss/server/default/lib dir so it should pick it frm there right???
Anothere interesting thing is that if i place the tibco jar in jboss/server/default/lib dir and deletete it from jboss_classpath var then the MDB is able to send the message and i donot get any error.
pl help me
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045009#4045009
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045009
19 years, 1 month