It's all about the answers!

Ask a question

error running tomcat as a service.

Sterling Ferguson-II (1.6k8278269) | asked Jul 27 '12, 6:36 p.m.

Step 4 -- error

The specified service does not exist as an installed service. Unable to open the service 'tomcat7'

5 answers

permanent link
Éric Hamel (3353) | answered Jul 27 '12, 9:07 p.m.
What OS are you running?

Sterling Ferguson-II commented Jul 28 '12, 12:04 p.m.

windows 64-bit.

Éric Hamel commented Jul 28 '12, 12:38 p.m.

Server, Windows 7 Professional, Home...?

Sterling Ferguson-II commented Jul 29 '12, 4:28 p.m.

windows 2008 R2 64-bit.

Éric Hamel commented Jul 30 '12, 1:08 p.m.

Oops! I thought I had seen a possible suggestion for this a few weeks back but it as for a different problem (tomcat would not initialize on 64-bit). Sorry to have raised false hopes for a solution.

permanent link
David Green (1) | answered Jul 29 '12, 2:51 a.m.
Maybe Ultimate?


permanent link
Sterling Ferguson-II (1.6k8278269) | answered Jul 30 '12, 3:12 p.m.
 Found it.

Documentation error in step 3. There was a "." after tomcat7.

Robin Bater commented Aug 01 '12, 2:02 p.m.

Many thanks the documentation has been fixed and will appear in an upcoming release.

permanent link
Sterling Ferguson-II (1.6k8278269) | answered Aug 03 '12, 9:31 a.m.
 I've had to create a defect. 

I have tried with "additional information" sent to me by the documentation team and this piece is not working.

Karl Weinert commented Aug 03 '12, 9:45 a.m.

What problems are you having? I have it running on my Windows 7 system without any issues. How much memory do you have on your system?

Sterling Ferguson-II commented Aug 03 '12, 9:49 a.m.

I have 8GB memory.

The steps were followed. Documentation team states that some of the commands and Xargs are incorrect and gave me the correct ones. The service is running, the env variable is set, but when the system is rebooted, nothing.

Karl Weinert commented Aug 03 '12, 10:18 a.m.

Is the service set to automatic? Can you start it from the services control panel?

permanent link
Karl Weinert (2.0k52736) | answered Aug 03 '12, 10:04 a.m.
You had this error in your tomcat7.-stderr log
JVMJ9GC019E -Xmn too large for -Xms

I think you have already resolved that issue but I wanted to post a link to this technote in case anyone else runs into it.

Setting up Windows service results in JVM errors

Your answer

Register or to post your answer.