• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

Internal Server Error in Websphere in Solaris

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,
Our application has been tested well in Websphere 3.5 present in NT Server. The same code has been ported to Solaris - Websphere 3.5. In some of the pages Internal Server error is displayed. what is the reason for this problem? is it related to the code?
 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Senthil,
The error message might be thrown not due to the code, but to the environment settings of your server. Please check your settings and try again.
May be you have not set the CLASSPATH variable, which may throw a ClassNotFoundException.
Pls check and revert back if necessary.

Mahesh
 
senthil loganathan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mahesh Mamani:
Hi Senthil,
The error message might be thrown not due to the code, but to the environment settings of your server. Please check your settings and try again.
May be you have not set the CLASSPATH variable, which may throw a ClassNotFoundException.
Pls check and revert back if necessary.

Mahesh

 
senthil loganathan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Mahesh Mamani:
Hi Senthil,
The error message might be thrown not due to the code, but to the environment settings of your server. Please check your settings and try again.
May be you have not set the CLASSPATH variable, which may throw a ClassNotFoundException.
Pls check and revert back if necessary.

Mahesh


Hi Mahesh,
In Solaris also the applications are running but in some pages Internal Server error occurs. This is also not consistent. Not that every time in the same page the error occurs. Some times it occurs, some times not??
 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Internal Server Error (aka Error 500) may occur due to many reasons. To name a few - missing parameteres, null parameters, missing class libraries.
Besides, if you have used any OS specific parameters such as absolute file paths (in your case, you moved from NT to Solaris) may create trouble. Don't ignore that null parameters values are a big headache.
One way to find out the cause is to put some debugging code in your servlets/jsp, check your server logs (both access and error logs)
HTH
--
Venkat
 
senthil loganathan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by sita kodali:
Internal Server Error (aka Error 500) may occur due to many reasons. To name a few - missing parameteres, null parameters, missing class libraries.
Besides, if you have used any OS specific parameters such as absolute file paths (in your case, you moved from NT to Solaris) may create trouble. Don't ignore that null parameters values are a big headache.

One way to find out the cause is to put some debugging code in your servlets/jsp, check your server logs (both access and error logs)
HTH
--
Venkat


what do you mean by missing parameters?
Null parameters.. Will internal server error come while trying to access a null parameter?
there are no OS specific parameters..
the class path is properly set..
can u pls explain in detail about the missing parameters and null parameters handling??
 
Sita Kodali
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what do you mean by missing parameters?
Null parameters.. Will internal server error come while trying to access a null parameter?
there are no OS specific parameters..
the class path is properly set..
can u pls explain in detail about the missing parameters and null parameters handling??

Missing parameters : If you don't supply those parameters required in your servlet/jsp and don't handle error/exception caused thereby.
null parameters : If you don't supply those parameters required in your servlet/jsp and don't handle error/exception caused thereby and those parameters are dynamic i.e, pulled from a database and happen to be null, it causes Error 500.
The best way is to check your server logs for exceptions that those pages generate
Regards
--
Venkat
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Senthil,
I've had also come across these types of errors and all I can say is that the platform doesn't matter.
The biggest thorn I've encountered so far has been with browser versions. IE 4.0 is particularly the culprit behind form variables not being submitted, resulting in the "null" 500 error. This happens if you have multiple forms in one HTML page. IE 4.0 is "blindingly" faithful when it comes to forms: it just wants one and one alone. With IE 5.0 and 5.5 (and maybe 6.0) multiple forms are OK. Also to watch out are hidden form variables.
I suggest that you implement a robust exception-catching policy, such that particular exceptions are caught so that you're not left out in the cold on what the hell is happening to your application. For example, null form variables will generate a "NullPointerException".
And maybe a lot of detective-like intuition...
GL
Ex Animo Java!
-- Val
 
senthil loganathan
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by sita kodali:
what do you mean by missing parameters?
Null parameters.. Will internal server error come while trying to access a null parameter?
there are no OS specific parameters..
the class path is properly set..
can u pls explain in detail about the missing parameters and null parameters handling??

Missing parameters : If you don't supply those parameters required in your servlet/jsp and don't handle error/exception caused thereby.
null parameters : If you don't supply those parameters required in your servlet/jsp and don't handle error/exception caused thereby and those parameters are dynamic i.e, pulled from a database and happen to be null, it causes Error 500.
The best way is to check your server logs for exceptions that those pages generate
Regards
--
Venkat


Hi Venkat,
Just now i was testing my application and i got Internal Server error. I cheked the error logs there are no exceptions.
In trace.log.ibmhttp the follwing messages are present.
Tue Apr 23 15:15:32 2002 - 00001331 00000000 - Error - ERROR: In do_service_time_request, enter_callback_mode failed
Tue Apr 23 15:15:32 2002 - 00001331 00000000 - Error - mediate_service_to_clone: Error 1 from clone 0, uri /webapp/Csa/meonlinecheque.jsp
I got Internal Server Error in meonlinecheque.jsp
i am not able to track this error...
can u help
 
grapes are vegan food pellets. Eat this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic