Solved

WebSphere Problem

Posted on 2001-08-01
11
424 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 52

Expert Comment

by:Ryan Chong
ID: 6343413
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
ID: 6352685
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
ID: 6357916
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
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 3

Expert Comment

by:black
ID: 6358158
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
ID: 6370603
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
 
LVL 3

Expert Comment

by:black
ID: 6370954
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
ID: 6458736
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
ID: 6459130
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
ID: 6462044
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
ID: 6466473
MoonDancer,
  How can I drop a question?

  Please do assist.
  Thanks.

hln_01
0
 
LVL 1

Accepted Solution

by:
Moondancer earned 0 total points
ID: 6755150
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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

695 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