File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes some build gets deployed and some not Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "some build gets deployed and some not" Watch "some build gets deployed and some not" New topic
Author

some build gets deployed and some not

dina Kumar
Greenhorn

Joined: May 20, 2011
Posts: 3
Hi all,

We have multiple copies of build in tomcat to server different clients, the problem is while restarting tomcat some build gets deployed properly and some build are not getting deployed.

If we access the undeployed build i am gettig 404 error.

Then i need to manually reload that particular build to make it works.

I dont know why tomcat not deploying few builds on start up.

Your Valuable suggestions please.Because i am clue less.

Thanks in advance,
Dinesh.
Tejas Aryan
Greenhorn

Joined: Apr 12, 2009
Posts: 22
I am assuming the build file here means, your different war files. Does log files give you any information on why the build (wars) did not get deployed. There must be some information.
dina Kumar
Greenhorn

Joined: May 20, 2011
Posts: 3
Hi,

Thanks for your reply

i get nothing in logs.
dina Kumar
Greenhorn

Joined: May 20, 2011
Posts: 3
Hi Tejas Aryan,

Actually you acre right, I got some error in logs like too many open files.

So i increased the value ulimit -n 650000

and added this "ulimit -n 650000" in .bashrc file for making this to take effect on every sessions.

Then i restarted tomcat and every thing works fine now.


Thanks®ards,
Dinesh.
 
 
subject: some build gets deployed and some not
 
Similar Threads
Eclipse Doubt
Several Tomcat instances on one machine??
HTTP POST maximum data size?
java.lang.IllegalArgumentException: input == null!
How to diagnose Tomcat hanging