Solved

WebSphere Problem

Posted on 2001-08-01
11
415 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 50

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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Advice needed on CMS/coding platform 9 59
Web creation tool 12 108
Blue Coat API portal URL 2 160
What are the real risks of enabling 3rd party Google drive apps 28 132
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 …
This article provides a case study on how our local youth baseball league deployed a new website, including the platform selection, implementation and benefits to the league.
The purpose of this video is to demonstrate how to automatically show related posts at the bottom of a blog post in WordPress. This will be demonstrated using a Windows 8 PC. Plugin “Yet Another Related Posts Plugin” will be used. Go to your…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…

815 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

9 Experts available now in Live!

Get 1:1 Help Now