File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Same EAR deployed but a different result from 2 WAS servers under load balance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Same EAR deployed but a different result from 2 WAS servers under load balance" Watch "Same EAR deployed but a different result from 2 WAS servers under load balance" New topic
Author

Same EAR deployed but a different result from 2 WAS servers under load balance

Hanumanth Korlakuna
Greenhorn

Joined: Dec 19, 2008
Posts: 1
Dear All,

I have an EAR built from RAD and is deployed the same single EAR in two testing WAS servers which are under load balance. But the strange fact is that i am getting it worked in one server with the expected result and the other server is giving an exception as below.

Actually i am invoking a webservice here, if i print the log i will have to get 2 as a constant value from Application.Properties, in one server log i am getting it as 2 but in other it says the below exception.

Java.lang.NumberFormatException: null

Is it due to EAR issue or some configuration settings in the server, i couldn't locate the exact issue. Please help me solve the issue with ideas...
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3610
    
  60

Welcome to the Ranch, Hanumanth!

Can you post the full stack trace of your exception? And perhaps part of your code with the line the exception occurs on? The NumberFormatException is just too broad for anyoneto be able to infer anything about your problem (see also TellTheDetails ⇐ click).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Same EAR deployed but a different result from 2 WAS servers under load balance