access application tomcat terminates and stops

Posted on 2014-03-26
Last Modified: 2014-04-09

i have to deploy war file on the server,the file is deployed successfully.
when i try to access the application the tomcat terminates abnormally and is stopped.
When i refer to the log it doesn't show anything.

Moreover the same war deployed on other machine with same environment it works fine without any issue?

What could be the cause of the problem?
Question by:Rocking
  • 4
  • 3
LVL 35

Expert Comment

ID: 39957687
Some things to try...

- I guess you may have Tomcat running as a service? If so, instead of starting the service, try starting Tomcat just from a command line and then see if you get more information when it terminates.

- You've tagged this as Tomcat 5 which is quite old now. Is it a possibility to upgrade to a more recent version (6 or 7), also this would imply a fresh install of Tomcat which may also get around the problem (if the problem happened to be something wrong with the particular installation that you are running).

Otherwise, it is very hard to give you much more advice without more details about what is happening.

Author Comment

ID: 39957862
Is there any cause of memory leakage? How to check memory leakage in tomcat?
LVL 35

Expert Comment

ID: 39957867
If it was a memory leak, you should still get the "OutOfMemoryError" being logged into the log files.
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.


Author Comment

ID: 39957896
thts's true ,it might me something else...

Author Comment

ID: 39963233
Can you suggest good tool which is open source to test memory leakage in tomcat?
LVL 35

Expert Comment

ID: 39965586
Note, there may be other products that are available separately from the JDK that are more specific to investigating memory leak issues, but I haven't used any so I can't provide any advice there.
LVL 35

Accepted Solution

mccarl earned 500 total points
ID: 39965584
You should be able to use something simple like JConsole that is provided with the JDK to attach to your Tomcat JVM and monitor the memory usage. Also, you may want to look at JVisualVM, also provided with the JDK, to do the same thing but I haven't used that as much (didn't even know it was there until recently) so I can't say for sure if it would work for you.
LVL 12

Expert Comment

by:Sharon Seth
ID: 39965976
Yes , jVisualVM is decent and can give you a hint on obvious memory leakages

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
micro services spring boot application error 3 197
Java Timer (static) 9 45
factorial example 4 40
going to wrong jsp page 2 21
Convert websphere application server default chained Certificates from 1024 to 2048 keysize or higher size and also you can change signatureAlgorithm . Please make sure Websphere Application Server fixpack or Above. The following steps a…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

803 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