• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

access application tomcat terminates and stops

hi,

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?
0
Rocking
Asked:
Rocking
  • 4
  • 3
1 Solution
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
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.
0
 
RockingAuthor Commented:
Is there any cause of memory leakage? How to check memory leakage in tomcat?
0
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
If it was a memory leak, you should still get the "OutOfMemoryError" being logged into the log files.
0
The Firewall Audit Checklist

Preparing for a firewall audit today is almost impossible.
AlgoSec, together with some of the largest global organizations and auditors, has created a checklist to follow when preparing for your firewall audit. Simplify risk mitigation while staying compliant all of the time!

 
RockingAuthor Commented:
thts's true ,it might me something else...
0
 
RockingAuthor Commented:
Can you suggest good tool which is open source to test memory leakage in tomcat?
0
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
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.
0
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
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.
0
 
Sharon SethCommented:
Yes , jVisualVM is decent and can give you a hint on obvious memory leakages
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now