This week's giveaway is in the Java in General forum.
We're giving away four copies of Java Challengers and have Rafael del Nero on-line!
See this thread for details.
Win a copy of Java Challengers this week in the Java in General forum!

jeetu krishnan

Greenhorn
+ Follow
since Feb 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 jeetu krishnan

Make sure ,the JDK used to compile the java source and the run time JDK is the same version.This should fix the problem.

[ UD: removed unnecessary quote of original question that screwed up the layout ]
[ April 30, 2008: Message edited by: Ulf Dittmer ]
13 years ago
Does anyone know how to pass java objects as a parameter in a web service call ? can you provide a sample client code.

I am getitng the following error when trying to invoke the webservice using a client generated by axis:

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: No serializer found for class ObjectDSConstructor.objectDS.MyObject in registry org.apache.axis.encoding.TypeMappingDelegate@1c7865b
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: No serializer found for class ObjectDSConstructor.objectDS.MyObject in registry org.apache.axis.encoding.TypeMappingDelegate@1c7865b
13 years ago
Basically I want to access a valid URL of the application and verify that the response code is successful.

I need to do this from a Unix script because I am verifying the status of other MQ based services using it. Also i need to schedule it so that there is no human intervention.

the architecture is as follows:

webserver -----> siteminder -----> webserver -- load balancer --- app server.

~j
14 years ago
Please let me know ways to check the status of a web application from a Unix script?
14 years ago
Please let me know ways to check the status of a web application from a Unix script?
14 years ago
We faced multiple issues when trying to display large amount of data for a screen.
Some of them include..
1) poor performance on the database side.
2) Screen rendering taking a lot of time.
3) If there is business logic to be executed on the data retrieved from the database you might face memory issues....etc

I am really not sure how it will be beneficial to display large amount of data on a single screen to the end user for your use case.

The better option is to implement some pagination logic which will show maller chunks of data and thereby eliminate any screen rendering ormemory related issues.

Another option is to use Ajax so that the client perception also improves.
We are facing a similar issue where the messages are not getting picked up.
As the volume of transactions increase there are delays in the message getting picked up.

The bottleneck is because of the following reason:
There is one queue reader thread per queue per JVM.

To improve the performance you can make the calling application send messages to different queues and clone the receiving app along with the listners.
OR
If clustered infrastructure exists then you can use the same instead of making changes to sending apps code/configurations.
15 years ago
What was the Xms,Xmx specified when the server was started?
Try increasing the value.
Try to profile the application using WSAD and see how much of heap is getting used.
15 years ago
I hope so. Next week are are moving app 1 to WAS 6. So it reside on the same box/Q manager as app2. Also we are making some changes to make the messages non persistent. This should eliminate all issues related to MQ.
The MDB's donot take 80 seconds to process. Most of the mdb's respond in milli seconds.

80 seconds is some time lost between when the message is send from app 1 and when it is picked up by the MDB in the app 2.

This problem is exagerrated during peak hours. I dont think that the MQ channels are the ones creating the delay because a message fired after the delayed messge is picked up immediately by app 2.

The default pool size for the MDB in WAS 6 is 50 min and 500 max. Websphere PMI shows the live bean count around 300 from which we can infer than enough beans are available.

As per my understanding following are the "tunable parameters" on the listener.
1) Q connections pool
2) Q session pool
3) Max sessions on Listener
4) container pool size
5) Max messages on listner

Am I missing some other paramter.

How are the MDB's invoked by the container? Is there some setting which decides how many MDB's can be invoked at the same time?


Thanks,
Jeetu
Hi All,
Currently we are facing some performance issues in of our applications which are using Message Driven Beans (Transaction type is Bean Managed). Also queues are build as persistent.

Appreciate any guidance provided by you on this subject.

Following is the architecture of our application: (Websphere app server 5 and 6 / Websphere MQ JMS provider)

app 1 (deployed on was 5.X) -----> App2 deployed on was 6 --->database.

Issue: There are delays between when the message was sent by application 1 and when it was picked up by the application 2. This issue is exaggerated when the volume of transaction increases.

Out of 57000 (over a period of 3 horus) send by application 1 to application 2, 5000 transactions have delays ranging from 1 to 80 seconds.
Out of the 5000 transactions which have delays there are 4 beans on the application 2 which constitutes 80 %. (This is because these beans are called quite frequently)

Current Settings for Application 2:
1 Connection Factory
Max Connections: 10
Session Pool : 120

Thread Pool for Listener : 100
Max Sessions for Listener : 40
Max Messages for Listener: 1

Application 2 uses the same connection factory while sending back the reply to application 1.

Please advise.
Thanks,
Jeetu
Hi All,
Currently we are facing some performance issues in of our applications which are using Message Driven Beans (Transaction type is Bean Managed). Also queues are build as persistent.

Appreciate any guidance provided by you on this subject.

Following is the architecture of our application: (Websphere app server 5 and 6 / Websphere MQ JMS provider)

app 1 (deployed on was 5.X) -----> App2 deployed on was 6 --->database.

Issue: There are delays between when the message was sent by application 1 and when it was picked up by the application 2. This issue is exaggerated when the volume of transaction increases.

Out of 57000 (over a period of 3 horus) send by application 1 to application 2, 5000 transactions have delays ranging from 1 to 80 seconds.
Out of the 5000 transactions which have delays there are 4 beans on the application 2 which constitutes 80 %. (This is because these beans are called quite frequently)

Current Settings for Application 2:
1 Connection Factory
Max Connections: 10
Session Pool : 120

Thread Pool for Listener : 100
Max Sessions for Listener : 40
Max Messages for Listener: 1

Application 2 uses the same connection factory while sending back the reply to application 1.

Please advise.
Thanks,
Jeetu
15 years ago