*
The moose likes Tomcat and the fly likes I can't start tomcat service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "I can Watch "I can New topic
Author

I can't start tomcat service

hesham katon
Ranch Hand

Joined: Dec 18, 2002
Posts: 82
OS : Windows XP

I have installed Java sdk

I have installed apache http server

i downloaded tomcat from:
Binary Distributions > Core >windows service installer"

I have installed apache tomcat 6.0.7

i have set JAVE_HOME to the java sdk installation place
and CATALINA_HOME to the tomcat installation place

now , when i am trying to run Tomcat from services window
i get this message :
"windows could not start the apache tomcat"
and code number is 0

i have tried lot of alternatives but nothing works
the same error
i tried to install new windows and try all of that again , but the same error

i tried to install the "zip" version but i got the same error !

any one can help me

thank you in advance


Hesham Katon<br />SCJP 1.2<br />SCWCD 1.4<br />Better to light a candle than to curse the darkness
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
If you go into the bin directory of the installation and run tomcat5.exe, you should more information about why it won't start.

Also you might check the event viewer to see if there is any information.
hesham katon
Ranch Hand

Joined: Dec 18, 2002
Posts: 82
thanks Keith for your reply

tomcat6.exe just open a black dos screen and fast disappear

The event Viewer shows an error
Description :
The Apache Tomcat service terminated with service-specific error 0(0x0)
For more information see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp

I still don't have any solution
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14114
    
  16

Try this: Open a command prompt window (click Start, Run, enter "cmd" and click OK). Go to the Tomcat bin folder: cd c:\...\<tomcat installation dir>\bin. Now start it manually from there: type tomcat6.exe <enter>. Does it print any error messages in the command prompt window?

A common reason why Tomcat won't start is that a different process has already allocated the TCP/IP port (8080 by default) that Tomcat wants to use to accept connections. To test this, open a browser and go to http://localhost:8080 What do you see - an error message, or do you get a response from a program that has already allocated port 8080?
[ July 30, 2007: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
camilo cerchiari
Greenhorn

Joined: Oct 31, 2007
Posts: 4
it soooo long, but well.....
i had that problem and fixed it.
copy the file msvcr71.dll from the bin dir of your java installation, to the bin dir of the tomcat installation.
that worked for me in windows xp.

salutes
Dilipkumar Jadhav
Greenhorn

Joined: Apr 18, 2009
Posts: 5
I had a similar problem on a new Windows XP machine. The issue got fixed after the copy-paste of msvcr71.dll in the tomcat installation's bin folder.
I never expected that a post from 2007-2008 would help me resolve this issue. But well, as long as it works...
Ranjeetitm Singh
Greenhorn

Joined: Oct 01, 2008
Posts: 17
Yes it worked for me too.


SCJA SCJP SCWCD
Dilipkumar Jadhav
Greenhorn

Joined: Apr 18, 2009
Posts: 5
Maybe it is just me, but could it be an issue exclusively with tomcat 6.0.18. I deployed tomcat 6.0.18 on my laptop & I had to resolve this little issue with the startup using the dll file. However, on my office installation of tomcat 6.0.14 it was smooth flowing. No issues there.
Anyone else who faced this on a particular instance of tomcat?...
camilo cerchiari
Greenhorn

Joined: Oct 31, 2007
Posts: 4
Dilipkumar Jadhav wrote:Maybe it is just me, but could it be an issue exclusively with tomcat 6.0.18. I deployed tomcat 6.0.18 on my laptop & I had to resolve this little issue with the startup using the dll file. However, on my office installation of tomcat 6.0.14 it was smooth flowing. No issues there.
Anyone else who faced this on a particular instance of tomcat?...


i guess you'll have to wait a couple of years for your question to be answered...
:P
Howard Watson
Ranch Hand

Joined: Jan 07, 2004
Posts: 56
I see that camilo cerchiari had already posted this. (msvcr71.dll)

These two links got me out of trouble with Tomcat6.0.20/jdk6 on server 2008/64-bit:

http://www.iisadmin.co.uk/?p=22
http://support.microsoft.com/kb/326922
Justa Guy
Greenhorn

Joined: Jan 10, 2010
Posts: 2
I'm having a problem starting mine, too. Installed the "Windows Service Installer" from this webpage:
http://tomcat.apache.org/download-60.cgi

The sysinternals procmon app said NAME NOT FOUND for a FEW dll's missing from the bin under the dir Tomcat installed to, & I'm assuming that's expected since the installer didn't put them there.

They're WINMM.dll & OLEACC.dll & OLEACCRC.DLL


The following is my jakarta log:

[2010-01-10 00:50:04] [1343 prunsrv.c] [debug] Procrun log initialized


[2010-01-10 00:50:05] [info] Procrun (2.0.4.0) started


[2010-01-10 00:50:05] [info] Running Service...


[2010-01-10 00:50:05] [1166 prunsrv.c] [debug] Inside ServiceMain...


[2010-01-10 00:50:05] [info] Starting service...


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[0] -Dcatalina.home=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[1] -Dcatalina.base=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[2] -Djava.endorsed.dirs=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0
\endorsed


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[3] -Djava.io.tmpdir=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\temp


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[4] -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[5] -Djava.util.logging.config.file=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\conf\logging.properties


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[6] -Djava.class.path=C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar


[2010-01-10 00:50:05] [385 javajni.c] [debug] Jvm Option[7] vfprintf


[2010-01-10 00:50:05] [395 javajni.c] [error] CreateJavaVM Failed


[2010-01-10 00:50:05] [1000 prunsrv.c] [error] Failed initializing java C:\Program Files (x86)\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar


[2010-01-10 00:50:05] [1269 prunsrv.c] [error] ServiceStart returned 2


[2010-01-10 00:50:05] [info] Run service finished.


[2010-01-10 00:50:05] [info] Procrun finished.


I can't make sense of this- Please advise.
Dilipkumar Jadhav
Greenhorn

Joined: Apr 18, 2009
Posts: 5
Hi Justa Guy,
You mentioned that you downloaded the "windows service installer" from Tomcat download website. Based on the URL you provided I am assuming you downloaded the 6.0.20 or some 6.0.XX version of Tomcat which is available at this point of time. Looks like Tomcat 6.0.20 bin folder (in the windows service installer method) ships only with 4 files viz. bootstrap.jar, tomcat6.exe (this I believe is the procrun), tomcat6w.exe, tomcat-juli.jar. So, the error about dll files might be misleading (especially since there aren't supposed to be any dll files in the bin folder).
I would suggest that you download the zip version rather than the windows service installer of Tomcat 6.0.20 version (this would be just a test). Extract the folder and you will find that this version of tomcat has many more files in it's bin folder. Of interest to us would be the startup.bat. Run this file since it launches tomcat in the command prompt. If you are able to launch Tomcat this way successfully, it would imply that it could be an issue with how the tomcat launch service accesses your windows resources, to be more precise, how much of an access does your login have on that machine.
If Tomcat still fails to launch, we would have to wait for some more replies
Hope this helps.
Justa Guy
Greenhorn

Joined: Jan 10, 2010
Posts: 2
Thank you for the reply.
I found a way to resolve it but forgot to post here after.

First I installed an old offline 64-bit J2RE & let it update itself.

Next I installed the J2JDK with the J2EE SDK bundle, which told me port 8080 wasn't available so I changed it to 8081, and set the User/Pass.

Then after uninstalling & reinstalling Tomcat, setting the port, user & pass (sure it matched this time), all was well.

Thank you again for the suggestion.
chaitanya palli
Greenhorn

Joined: Feb 19, 2010
Posts: 13

Hi Dilipkumar Jadhav,

i too got the same problem and tried with tomcat6.0.20 zip,followed as suggested,gave cd [dir]/[tomcat path]/bin/startup.bat ,but then it is prompting catalina home is not recognized,the environment variables nee dto be set to run this. but i gave CATALINA_HOME =[dir]/[tomcat path].whats wrong done?

and my major dought is just by unzipping tomcat,how can the system takes the port number and runs on localhost without using manual installation which contains few Next button pressing steps.may be question is silly but i want to know the difference and steps to go with installation of tomcat 6.0.20 (zip).mine is windows vista 64bit O.S,using jdk1.6.0_18(win 64 bit).which TOMCAT 6.0.20 bin/src/windows installer(zip/tar etc.,) i should download for my Win 64 bit. i want to set up a UDDI registry,so i downloaded mysql-5.1.44-winx64,tomcat 0.9rc4 and eclipse-SDK-3.5.1-win32-x86_64

reply soon


Spread Smiles
Misha Ver
Ranch Hand

Joined: Mar 03, 2008
Posts: 470
Justa Guy wrote:I'm having a problem starting mine, too. Installed the "Windows Service Installer" from this webpage:
http://tomcat.apache.org/download-60.cgi


Did you notice that you actually downloaded the files from on of the mirrors web sites? Do not forget that you must verify the integrity of the downloaded files.



We provide PGP signatures for every release file. This signature should be matched against the KEYS file which contains the PGP keys of Tomcat's Release Managers. We also provide an MD5 checksum for every release file. After you download the file, you should calculate a checksum for your download, and make sure it is the same as ours.
Dilipkumar Jadhav
Greenhorn

Joined: Apr 18, 2009
Posts: 5
Hi Chaitanya,
but then it is prompting catalina home is not recognized,the environment variables nee dto be set to run this


Just to test the setup, please try setting up the catalina_home variable under System Variables in the environment variables of your windows operating system. The value of this Variable would be the directory where you installed tomcat. In my case, I've installed tomcat under G:\server\Tomcat6020. So my CATALINA_HOME=G:\server\Tomcat6020

how can the system takes the port number and runs on localhost without using manual installation


It is possible to run a program on an operating system without actual installation. Tomcat does just that. The port numbers are picked up from the configuration files and if you were to modify these files, you can pretty much tweak how your instance of Tomcat would work including the port number on which it would be listening.

My suggestion to you is that you go ahead with the zip file for Tomcat rather than the exe installation. There was an issue with the exe installation some time back and don't know if this got corrected. You can read the details here.
With the zip method of installation, I think you are on the right track. Just need to make sure your CATALINA_HOME is pointing to the right folder.
Hope this helps...
chaitanya palli
Greenhorn

Joined: Feb 19, 2010
Posts: 13
Hi Dilipkumar,

For my UDDI registry I am using 1)JAVA jdk1.6.0_18 2)Tomcat 6.0.24 3)juddi0.9rc4 4)mysql-5.1.44-winx64 5)mysql-connector-java-5.1.12 6)eclipse-SDK-3.2.1-win32-x86_64 (all 6 are 64bit versions only)as my windows vista is 64 bit.
I followed the steps xactly in the following link
juudi0.9rc4 installation
I done upto the step Install JUDDI (Last step 9th)and my Juddi is happy now.(( juddi is happy now “Juddi is happy” is how writers express that jUDDI is correctly configured. If you see any errors in your JUDDI validation,rework these instructions.))
but in my browser while checking " http://localhost:90/juddi/console/ " none of the API s are working ,I mean when I tried vd get_registryinfo
and pressed the "Submit" button it is displaying "Connection refused: connect"
similarly for validation response was "Validation is not implemented yet." where have I done the mistaken,help me please, could not trace out.
Bhaskar Anand
Greenhorn

Joined: Jun 20, 2010
Posts: 3
Thanks to the post .... It also worked for my situation
archit thakur
Greenhorn

Joined: Jul 10, 2010
Posts: 24
hey friends,

I am using netbeans ide tomcat gets started through it.
the problem i am facing is whenver i try to run the web-project from netbeans tomcat asks me to aunthenticate.
since i had downloaded the zipped version i dont have set any username-password which is set at the time of installation.
what should i do?
naveen shrimal
Greenhorn

Joined: Dec 18, 2010
Posts: 14
getting error while starting Apache Tomcat 6 help me

the log file is as foollows

INFO: Server startup in 228 ms
19 Dec, 2010 8:40:01 AM org.apache.jk.common.MsgAjp processHeader
SEVERE: BAD packet signature 18245
19 Dec, 2010 8:40:01 AM org.apache.jk.common.ChannelSocket processConnection
SEVERE: Error, processing connection
java.lang.IndexOutOfBoundsException
at java.io.BufferedInputStream.read(BufferedInputStream.java:310)
at org.apache.jk.common.ChannelSocket.read(ChannelSocket.java:620)
at org.apache.jk.common.ChannelSocket.receive(ChannelSocket.java:577)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:685)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:686)
at java.lang.Thread.run(Thread.java:619)


help me soon thanks in advance....
Dick Eggleston
Greenhorn

Joined: Aug 11, 2011
Posts: 1

For me, an my apologies if this has already been posted, the problem was when I rebooted my server, it change the jvm.dll from the jdk\server directory to the jre directory. My app won't run on jre, has to have jdk. The question becomes why would tomcat (or java or windows or whatever else I can blame) change the parameter?
Sanchit Kapur
Greenhorn

Joined: May 05, 2011
Posts: 20
Worked for me as well.. after copying the msvcr71.dll fro jre bin to tomcat bin
Richard Kachelriess
Greenhorn

Joined: Jan 12, 2012
Posts: 1
Wow, 4 and a half year old thread helped me solve this problem. I love the web.

I ran into this problem today and was able to fix it by changing which jvm.dll that Tomcat was pointing to. I'm using Tomcat 6.0.35 and it was pointing to ...\Java\jre7\bin\server\jvm.dll. When I switched to the Java 6 version (...\Java\jre6\bin\server\jvm.dll) it worked. Also, make sure it's the "server" version and not "client" version. When I used ...\Java\jre6\bin\client\jvm.dll, I still wasn't able to start Tomcat.

Thanks for all the help I got from this thread. I hope this helps!

Peter Sinclair
Greenhorn

Joined: Feb 04, 2012
Posts: 1
LOW TECH SOLUTION

Send Monitor Tomcat to the Desktop as a Shortcut. Click. WHAT WAS ALL THE FUSS ABOUT?

It worked for me using Win7 32bit.
Sana Rs
Greenhorn

Joined: Apr 16, 2012
Posts: 1

This 5yr old thread has helped me a lot for my lab exams thanks a lot for all the help


-$ana
Zafar Anwar
Greenhorn

Joined: Jun 06, 2012
Posts: 3
Sana Rs wrote:This 5yr old thread has helped me a lot for my lab exams thanks a lot for all the help


I am not able to start binary distribution of tomcat6..

Tomcat location: C:\Users\Zafar.Anwar\Documents\Newfolder\apache-tomcat-6.0.35-windows-x64\apache-tomcat-6.0.35\
JDK location: C:\Program Files (x86)\Java\jdk1.7.0_03
JRE Location: C:\Program Files (x86)\Java\jre1.6.0_14

I have following user environment variables

Name: JAVA_HOME
Value: C:\Program Files (x86)\Java;

Name: CATALINA_HOME
Value: C:\Users\Zafar.Anwar\Documents\Newfolder\apache-tomcat-6.0.35-windows-x64\apache-tomcat-6.0.35

Name: PATH
Value: %PATH%;C:\Program Files (x86)\Java\jdk1.7.0_03\bin;%JAVA_HOME%\bin;%CATALINA_HOME%\bin

Name: CLASSPATH
Value: %CLASSPATH%;C:\Program Files (x86)\Java\jdk1.7.0_03\lib;

In command prompt I typed 'tomcat6' and the output was as following:

C:\Users\Zafar.Anwar\Documents\Newfolder\apache-tomcat-6.0.35-windows-x64\apache -tomcat-6.0.35\bin> tomcat6
[2012-06-07 06:38:11] [warn] The system cannot find the Registry key for service 'tomcat6'
[2012-06-07 06:38:11] [error] Load configuration failed
[2012-06-07 06:38:11] [error] The system cannot find the file specified.
[2012-06-07 06:38:11] [error] Commons Daemon procrun failed with exit value: 2 (Failed to load configuration)
[2012-06-07 06:38:11] [error] The system cannot find the file specified.

C:\Users\Zafar.Anwar\Documents\Newfolder\apache-tomcat-6.0.35-windows-x64\apache-tomcat-6.0.35\bin>

Could some one please help me, on how to start tomcat6, please?
Tank Panzer
Greenhorn

Joined: Aug 20, 2012
Posts: 1
The bootstrap error alo occurs if Tomcat sets Java parameters (-Dparameter) but with a faulty 'minus' sign. For example an underscore or a long-stroke character. Word is known to replace minus signs when it is helping to improve the layout by starting a list etc. Compare below:

–Daccess.router.restart.cold=true
-Daccess.router.restart.cold=true
_Daccess.router.restart.cold=true
kieran kkkkkkk
Greenhorn

Joined: Nov 16, 2012
Posts: 1
I had the same problem with Tomcat 5.5 (I no its nearly out of date but probably happens for all servers my fix.)

after several hours of trying everything. on the Apache Tomcat 5.5 Tomcat5 Properties, Select the Java Tab, unselected Default and changed the Java Virtual Machine path
From
C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

To
C:\Program Files\Java\jre6\bin\server\jvm.dll

Clicked Start on the General Tab and it worked straight away

I have windows 7 64bit

Environment Variables:

JAVA_HOME = C:\Program Files\Java\jdk1.7.0_09\bin;C:\Program Files\Java\jdk1.7.0_07;C:\Program Files\Java\jdk1.7.0_07\lib;C:\Program Files\Java\jdk1.7.0_07\bin;C:\Program Files (x86)\Java\jre7\bin;C:\Program Files (x86)\Java\jre6\lib

PATH = C:\Program Files (x86)\Java\jre6\lib;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib;C:\Program Files\Java\jdk1.7.0_09\bin;C:\Program Files\Java\jre7\bin

and i deleted classpath (because someone suggested trying it to fix the issue. I have a backup of it but it still works without it)
I'm not sure how it worked it may work by putting in the path to a different version of jvm.dll. but I know the steps above fixed my issue with tomcat
Igor Tolstonozhenko
Greenhorn

Joined: Nov 26, 2012
Posts: 2
I had the same problem with PaloSuiteTomcatService (Palo ETL Server Version: 3.2.0.1783) under Windows Server 2003 32bit.
After installation of Palo Suite 3.2 CE (Release: 3.2.0.5160) PaloSuiteTomcatService and PaloSuiteHttpdService (Apache/2.2.17 (Win32)) didn't start.
After installation of JRE appache began to start normally, but tomcat didn't.

jakarta_service_yyyymmdd.log reads like:

[2012-11-27 07:59:57] [info] Procrun (2.0.4.0) started
[2012-11-27 07:59:57] [info] Running Service...
[2012-11-27 07:59:58] [info] Starting service...
[2012-11-27 07:59:58] [174 javajni.c] [error] Не найден указанный модуль.
[2012-11-27 07:59:58] [994 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_21\jre\bin\server\jvm.dll
[2012-11-27 07:59:59] [1269 prunsrv.c] [error] ServiceStart returned 1
[2012-11-27 08:00:31] [info] Run service finished.
[2012-11-27 08:00:31] [info] Procrun finished.

I installed jdk-6u21-windows-i586 and added path to the bin directory of JDK to the system enviroment variable Path (C:\Program Files\Java\jdk1.6.0_21\bin\) and it started normally.
Then I removed JRE and everything is still fine.

Thanks to everbody for help!
Igor Tolstonozhenko
Greenhorn

Joined: Nov 26, 2012
Posts: 2
The problem appeared again after java updated to 7 and jdk6_21 removed.
This time I set variables:

JAVA_HOME to C:\Program Files\Java\jdk1.7.0_21
JRE_HOME to C:\Program Files\Java\jre7
PATH to C:\Program Files\Java\jdk1.7.0_21\bin\

But jakarta_service_20130624.log still read like

[2013-06-24 11:23:40] [info] Procrun (2.0.4.0) started
[2013-06-24 11:23:40] [info] Running Service...
[2013-06-24 11:23:40] [info] Starting service...
[2013-06-24 11:23:40] [174 javajni.c] [error] Не найден указанный модуль.
[2013-06-24 11:23:40] [994 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_21\jre\bin\server\jvm.dll
[2013-06-24 11:23:40] [1269 prunsrv.c] [error] ServiceStart returned 1
[2013-06-24 11:23:40] [info] Run service finished.
[2013-06-24 11:23:40] [info] Procrun finished.

So it refered somehow to removed java installation,
while catalina used new one -

catalina.bat reads like:

Using CATALINA_BASE: C:\Program Files\Jedox\Palo Suite\tomcat
Using CATALINA_HOME: C:\Program Files\Jedox\Palo Suite\tomcat
Using CATALINA_TMPDIR: C:\Program Files\Jedox\Palo Suite\tomcat\temp
Using JRE_HOME: C:\Program Files\Java\jre7
Server version: Apache Tomcat/6.0.18
Server built: Jul 22 2008 02:00:36
Server number: 6.0.18.0
OS Name: Windows 2003
OS Version: 5.2
Architecture: x86
JVM Version: 1.7.0_25-b17
JVM Vendor: Oracle Corporation

This time copy of msvcr100.dll from jre folder to System32 folder saved me.

So, I stopped all palo services, replaced the file and restarted palo services.

No problem any more.
Yogesh Gandhi
Ranch Hand

Joined: Dec 05, 2008
Posts: 212
Tank Panzer wrote:The bootstrap error alo occurs if Tomcat sets Java parameters (-Dparameter) but with a faulty 'minus' sign. For example an underscore or a long-stroke character. Word is known to replace minus signs when it is helping to improve the layout by starting a list etc. Compare below:

–Daccess.router.restart.cold=true
-Daccess.router.restart.cold=true
_Daccess.router.restart.cold=true


Where do i find this?
zoyeb shaikh
Greenhorn

Joined: Feb 25, 2014
Posts: 5
How to Install Latest Apache Tomcat 8 (8.0.3) on Windows 7 [HD] [fixing username and password]


http://www.youtube.com/watch?v=ifH-ppeunCA
zoyeb shaikh
Greenhorn

Joined: Feb 25, 2014
Posts: 5
apache tomcat startup.bat won't work server won't startup HD[fix]


http://www.youtube.com/watch?v=NpVhKSY4F8o
zoyeb shaikh
Greenhorn

Joined: Feb 25, 2014
Posts: 5
variable name paths use

CLASSPATH C:\tomcat 8.0.3\lib\servlet-api.jar;C:\tomcat 8.0.3\lib\jsp-api.jar [for servlet execution class file ]




JRE_HOME C:\Program Files\Java\jre7 [for tomcat server ]






PATH C:\Program Files\Java\jdk1.7.0_45\bin [for simple java program execution]




note:however this paths is for my computer find your's and make sure variable name should be same as i mentioned above


zoyeb shaikh
Greenhorn

Joined: Feb 25, 2014
Posts: 5

CLASSPATH C:\tomcat 8.0.3\lib\servlet-api.jar;C:\tomcat 8.0.3\lib\jsp-api.jar [for servlet execution class file ]




JRE_HOME C:\Program Files\Java\jre7 [for tomcat server ]






PATH C:\Program Files\Java\jdk1.7.0_45\bin [for simple java program execution]




note:however this paths is for my computer find your's and make sure variable name should be same as i mentioned above


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I can't start tomcat service