File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat Service VS batch file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Service VS batch file" Watch "Tomcat Service VS batch file" New topic

Tomcat Service VS batch file

L Peleg

Joined: Sep 20, 2010
Posts: 1
I upgrade our application from tomcat 5.5 & java 1.5 to Tomcat 6 and 1.6
When I run the tomcat 6 using batch file (using catlina.bat) it works perfectly fine, However when the tomcat is installed as service our main java script file (it is a huge Dojo resource) seems to be cut somehow and the pages are stuck with javascript errors ("Unterminated string literal".)
On same machine when I start the tomcat as batch and then run the service than everything is working fine again,
Only when I removed all installations and then install only the service it does not work again.
Any ideas?
I agree. Here's the link:
subject: Tomcat Service VS batch file
It's not a secret anymore!