Win a copy of Securing DevOps this week in the Security forum!

veera naga

Greenhorn
+ Follow
since Sep 11, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by veera naga

Hi,

I am trying to configure JNDI in WebsphereMQ7 by following below URL
URL:http://angelartechspace.blogspot.in/2010/04/ibm-mq-how-to-setup-and-use-jmsadmin.html?showComment=1348221932199#c7288971791729294925

In that step4 when i running the JMSAdmin i got below exception i don't know how to solve this problem.




can any one suggest me how to solve above problem.

Thanks,
VeeraNaga
5 years ago
Hi Ranganathan,

Thanks for your reply and you valuable suggetions.

Well my class is extending RuntimeException , it's my problem i was posted wrongly.(it should not happen again)

And In my MDB program my Queue name(also same as my target Queue name) is : ORANGE.QUEUE .
If i intentionally give wrong Queue name in my MDB like :

And if i deploy above application in my Jobss it is showing Exceptions immediately on server console (like i posted above) and failed to deploy the application.

but My Intention is to deploy the ejb mdb eventhough when i give wrong Queue name (or) Queue server is not available.


Thanks,
VeeraNaga
I was written a simple MessageListener(MDB) it is working fine.How to handle runtime exceptions in this.

[Ex: if was try to deploy this listener with a wrong queue name like "XXXX" instead of right one that time it is showing Exceptions and moreover deployment failure also coming.]

So how to avoid this type of Exceptions is there any EJB Annotations are available ?

And I tried to handle inside the below Class(ORANGE_QUEUE_MDB). But the control is not coming to inside . Please help me how to solve this type of Errors.





When I deploy above listener(with wrong queue name) in Jboss it is showing below exception The Exception is like below :



How to handle this type of exceptions , Can any one help me on this.
Thanks,
VeeraNaga