Solved

WebSphere Problem

Posted on 2001-08-01
11
405 Views
Last Modified: 2010-04-07
Anyone here have exprience the WebSphere automatically restarted?

What are those possible causes of this situation?

Any sites that I can search information about WebSphere's behaviour?

Thanks
0
Comment
Question by:hln_01
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 49

Expert Comment

by:Ryan Chong
Comment Utility
Hi hin_01,

Just a link here: http://www-4.ibm.com/software/webservers/appserv/

See if it's help.
0
 
LVL 3

Expert Comment

by:black
Comment Utility
it get's restarted if you have it running as nohup mode and you call System.exit(0) anywhere in your code, or an exception or error causes the jvm to crash, it will automatically restart the instance again
0
 

Author Comment

by:hln_01
Comment Utility
black,
  Anywhere I can get information on this restarting issue of WebSphere?

  Then how can I actually know the reason of the restarted of WebSphere is causing by the specific problem that stated by you.  Any way that I can trace the issue?

  Thanks a lot.


 
0
 
LVL 3

Expert Comment

by:black
Comment Utility
First make sure you don't have any System.exit(0) lines in your code.
Second check the websphere logs, in particular the err log for any exceptions.
I usually just do a search on the ibm website support. I've also got the course notes from the web sphere administration course which were pretty good.
0
 

Author Comment

by:hln_01
Comment Utility
Black,
  my code didn't use any exit(0) command. and from the WebSphere err log I can see that sometimes it hits error like outofmemory .... but what cause WAS run out of memory?

  If let's say WAS need to communicate with Informix DB through JDBC driver, and somehow the processing at informix side is slow, would this cause the WebSphere App. Server to jam out which cause WAS run out of memory?
 
  Becuase of this we dun really know what cause WAS to restart by itself.

  Please assist.

  Thanks
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 3

Expert Comment

by:black
Comment Utility
Yes that would explain it. If it runs out of memory the appserver could quite possible restart itself, it would run out of memory simply because it used up all the space allocated to it.
If you have more available memory you could try starting up the jvm for your particular server with more memory using the mx option. For example you could use -mx128m which will tell the jvm to have an initial heap size of 128 megabytes.
The slow processing would not cause out of memory errors, it should mean that your appserver sits idle while it waits for a response.
One more thing, did you see any other exceptions like a TCP socket exception from the database? sometimes you get a Socket reset by peer exception from the database which causes the JVM to crash and that would also cause the appserver to restart.
Your best bet is to addres each of the exceptions in your error log one by one, first increase the memory. Increasing the memory might mask your error, it might occur but less regularly now so make sure you look at any other exceptions that are present in your log files.
Good luck!
0
 
LVL 1

Expert Comment

by:Moondancer
Comment Utility
the question because the information might be useful to others, but was not useful to you. To use this option, you must state why the question is no longer useful to you, and the experts need to let me know if they feel that you're being unfair.
 
3.  Ask Community Support to help split points between participating experts.  Just comment here with details.
 
4.  Delete the question because it is of no value to you or to anyone else.  To use this option, you must state why the question is no longer useful to you, and the experts need to let me know if they feel that you're being unfair.
 
If you elect for option 2, 3 or 4, just post comment with details here and I'll take it from there.  We also request that you review any other open questions you might have and update/close them.  Display all your question history from your Member Profile to view details.
 
PLEASE DO NOT AWARD THE POINTS TO ME.
 
____________________________________________
 
 
 
Hi Experts:
 
In the event that the Asker does not respond, I would very much appreciate your opinions as to which Expert ought to receive points (if any) as a result of this question.  Likewise, you can also suggest that I PAQ or delete the question.
 
Experts, please do not add further "answer" information to this question.  I will be back in about one week to finalize this question.
 
Thank you everyone.
 
Moondancer :)
Community Support Moderator @ Experts Exchange
 
P.S.   http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp  
0
 
LVL 3

Expert Comment

by:black
Comment Utility
for my 2 cents worth - Well I'm not sure if this question is useful for anyone else and I don't think it's answered the question asked. Basically feel free to delete the question Moondancer:)
0
 
LVL 1

Expert Comment

by:Moondancer
Comment Utility
I appreciate your response, black, thank you.

I'll give this a few days, since I updated each of the open questions in the hopes that hln_01 will return and finalize them directly.

Moondancer
Community Support Moderator @ Experts Exchange
0
 

Author Comment

by:hln_01
Comment Utility
MoonDancer,
  How can I drop a question?

  Please do assist.
  Thanks.

hln_01
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
Comment Utility
30 points have been refunded for this, and it is now closed.  Moved to our PAQ at zero points so you can be advised of the outcome.  Sorry for the delay, I had not received any notifs on your request, due to the system problems of that time.

Moondancer
Community Support Moderator @ Experts Exchange
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

In this short web based tutorial, I wanted to show users how they can still use the powers of FrontPage in conjunction with Expression Web 3.  Even though Microsoft eliminated the use of Web components, we can still use them with FrontPage and edit …
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to update a WordPress Site’s version. WordPress releases new versions of its software frequently and it is important to update frequently in order to keep your site secure, and to get new WordPress…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now