Win a copy of Rust Web Development this week in the Other Languages forum!

sudhakar papireddy

Greenhorn
+ Follow
since Jan 10, 2008
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 sudhakar papireddy

Hi All,
Thanks for your information.

currently we are planning to use two execute queue to resolve this issue to some extent.
13 years ago
Andrea
Thank a lot for your info.


---------------
Thanks
Sudhakar P.
13 years ago
H Thanks for your reply.

Issue is :

In my weblogic (eg:Server A), my servlet handles multile requests some of them will be processed locally and some requests require information from another servers(eg:Server B).

As we know all requests should go through execute queue of server A.
In my case all the requests to Server B are struck(some problem in server B). due to that all my threads are struck in execute queue of Server A. even the requests, which need to be processed locally also struck due to there are no execute threads available.


Thanks
-------
14 years ago
hi,

i have a problem with weblogic execute queue.
i have one weblogic (multiple users).there are requests coming from all the users. some how if one request is stuck in execute queue. all subsequent threads also struck and it leads to the whole application freezes. here i need to bounce the weblogic.

can some one help me how i can overcome this scenario.

Thanks.
14 years ago
hi
i have two sevlets. The request always comes to first servlet with one parameter. I would like to send the request to another servlet depends on the parameter value.

can some one help on this. how we can send the request from one sevlet to another?

Thanks
Sudhakar
14 years ago
hi thanks for your reply.

here i am confused about the last part
-------------------------------------------------
How you can distinguish the bean for updating and for retrieving data?

1) You can deploy twice the MDB (with two different names) on two different jms queues and assign to each of them a different execute queue.
This could be done with some kind of configuration in the web.xml. (for example a mapping between bean name --> destination Queue)
In this way the servlet must act as a router / dispatcher between the two queues / MDB.

2) If the names of the beans follow some kind of naming convention and starting from the name you can understand the category of it
you can deploy twice the MDB (with two different names) on THE SAME jms queues and assign to them a correspondent message selector.
In this way the servlet must put the bean name also in a string property of the jms message.
----------------------------------------------------------------

can you explain little bit more about this (specially point 1 )
14 years ago
Andrea Thank you for your reply.

let me explain the scenario.

when ever there is request to servlet, in the request object we have parameter called BEAN. servlet reads this parameter from the request object and create a object for with that parameter
eg: //Here WBean is a generic Bean
WBean wb = null;
String targetName = (String)request.getAttribute("Bean");
wb = (WBean)beanFactory.createObject(targetName);

Than it is going to call the following function to process the request.
wb.processRequest(request, response ,beanFactory).

Currently we divided these beans into to two categories. One set of beans is for saving data and another set of beans is to retrieve the data.
by default all these requests are going through the default web logic queue.


so we are planning to send the request to default queue if it is for saving the data (first category).
Otherwise send the request to another queue(new execute queue)( second category).

can you please help us , whether we can setup two execute queues in this scenario.

Thanks
sudhakar
14 years ago
Hi,

is it possible to use two execute queues for the same servlet.

for eg: i have only one servlet A , which can process two types of requests. i would like to pass first kind of request to one execute queue(probably default execute queue weblogic.kernel.Default) and second type of request to second excute queue.

Please help me !

Thanks
Sudhakar
14 years ago
Hi,

is it possible to use two execute queues for the same servlet.

for eg: i have only one servlet A , which can process two types of requests. i would like to pass first kind of request to one execute queue and second type of request to second excute queue.

Please help me !

Thanks
Sudhakar
[ January 10, 2008: Message edited by: sudhakar papireddy ]
14 years ago