I am working on a ESB exception handing framework .I need to expose method which accepts a java.lang.Exception as input parameter . Say method signature will be anything like public void handle(Exception ex) . I am using apache axis in RAD . Is there any way of doing it .
There are a lot of examples online jst have a look at them . The sample code send msg to a topic jst modify it accordingly . The only part that critical is the jndi properties.
There are a lot of examples online jst have a look at them . The sample code send msg to a topic jst modify it accordingly . The only part that critical is the jndi properties.
Hi, i need to send a message to a queue in generic jms provider in websphere , But i not getting the jndi lookup . what will be the provider url . I have both the application server installed in my local host. Thanks , Tirthankar
Thanks , yes message listners are one on the options . but they have some problem in working in clustered envoirenment. so i was thinking of doing it this way.
Hi, I need a JMS mesage receptor which listens to particular topic . I have put the a infininite loop.
Is the implementation ok . The message will be sent to message handlers which will inturn invoke buisness services . which are resource intensive and may take long time .So should i call the handlers from a thread in the handlers . Please suggest me some way to do it .
Hi , when implementing a queue receiver and a topic receiver i find a diffrence . When i use queueReceiver.receive() for a queue i get all the messages which have been put in queue. But when i do the same thing in a topic subscriber.receive(). i dont get the messages which had been earlier unless i create a durable subscriber . Can any one tell me the reason .
Hi , i am using WAS (websphere application server ) 6.0 and IBM websphere MQ 5.3. My message driven bean is giving the following exception . thanks in advance . Tirthankar Dutta Chaudhuri .
1/30/06 11:10:48:699 IST] 00000038 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage" on bean "BeanId(TestMdb#MDB.jar#MyMDB, null)". Exception data: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor30.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code)) at java.lang.reflect.Method.invoke(Method.java(Compiled Code)) at com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:37) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:91) at com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:127) at com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:456) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code)) Caused by: java.lang.ClassCastException: ejbs.MyMDBBean at com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:809) at com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:614) at com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:581) ... 8 more
hi, my application needs an abstraction over log4j . so we are using jakarta commons logging . But the problem is that we need diffrent appenders for diffrent modules . Is there any way that we can use appeneders from jcl . or is there any way that we can specify more that one appenders in log4j properties file . Thanks in advance. Tirthankar Dutta Chaudhuri
I am looking to use websphere application server feature dynacache in hibernate. Other than implementing org.hibernate.cache.CacheProvider and org.hibernate.cache.Cache, what else do I need to do? Can anybody please help me in this regard? Also, I am bit puzzled on the configuration settings to be done in WAS in this regard.
Hi, i need to implement a ErrorManager . Which is a singleton class . The client programs would register the listners of the expected Errors . I am storing all the listners in Vector . If listner for a particular error is registered it wont be added again . Now the problem is that if i have more than one client who register the same listner and one of then removes the listner then the listner gets removed . Is thre any thing that i can do to prevent that . Please suggest me something .