Solved

WebSphere Problem

Posted on 2001-08-01
11
417 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
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.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Now that Expression Web 4.0 (http://www.microsoft.com/expression/products/Upgrade.aspx) is free if you buy or have the full version of Expression Web 3.0, now is the best time to  migrate from FrontPage to Expression Web (http://www.frontpage-to-exp…
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 create a Printer Friendly PDF on a WordPress Page. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome Screenshot” Google Chrome Extension, and SmallPDF.com Log…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…

840 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