Mukesh Mittal

Ranch Hand
+ Follow
since Jan 13, 2006
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 Mukesh Mittal

Are you trying to take name of dynamic queue from static queue message and then from MDB again receive messsage fron dynamic queue.
14 years ago
Another thing:

You can setup maximum session parameter in your Listener. Goto admin console, select server --> Message Listener Service -->Listener Port --> select your listener

You can specify maximum number of concurrent sessions that a listener can have with the JMS server to process messages. Each session correspond to separate listener thread. If you want to process message in specific order then set the value to 1.


Is that answer your question?

Thanks
14 years ago
You cannot create a listener on dynmic queue.

You have to create static queue and set listener on that. Dynamic replyToQueue is fine. You can easily support 10 clients. Also Do you have multiple instance of server?


Please see the information from sun documentation:
"Like a stateless session bean, a message-driven bean can have many interchangeable instances running at the same time. The container can pool these instances to allow streams of messages to be processed concurrently. The container attempts to deliver messages in chronological order when it does not impair the concurrency of message processing, but no guarantees are made as to the exact order in which messages are delivered to the instances of the message-driven bean class. Because concurrency can affect the order in which messages are delivered, you should write your applications to handle messages that arrive out of sequence. "

"
14 years ago
Do you have full admin access?
14 years ago
You can use application.log() in jsp file.
14 years ago
JSP
You can store jsp in web-inf folder.
14 years ago
JSP
You can use Log4j.
14 years ago
JSP
I think everything is depends on your servlet conatiner. I am using websphere and getting error with servlet 2.3

If you move your listener element after the servlet then you will get error message.
14 years ago
JAX/RPC generated stub is the best option.

Other way to test the servic is HttpURLConnection but in this as input, you have to pass soap request message.
15 years ago
Deployment descriptor elements are in order. For version 2.3, order is

<!ELEMENT web-app (icon?, display-name?, description?,
distributable?, context-param*, filter*, filter-mapping*,
listener*, servlet*, servlet-mapping*, session-config?, mimemapping*,
welcome-file-list?, error-page*, taglib*, resourceenv-
ref*, resource-ref*, security-constraint*, login-config?,
security-role*, env-entry*, ejb-ref*, ejb-local-ref*)>

Are you validating your descriptor file against dtd file?
If you use any IDE and mentioned your listener element after servlet element, you will see error message.
15 years ago
You can read IBM red books.
15 years ago
Set

Admin Console ---> Application server -----> sever_name ---> Java and process management ---> Process definition -->Java Virtual Machine --> Custom properties
15 years ago
Open AdminConsole and setup Websphere MQ connection and queue.
15 years ago
I am using WebSphere and on server side I can enable or disable URL writing. May be you can check on your server too.
Thank you very much for the responses.

I will check this fuctionality on Websphere.


Thanks

Mukesh Mittal
15 years ago