It's all about the answers!

Ask a question

Problem in setting up Jazz as a service in Tomcat


MAPAGILE MAPAGILE (81225) | asked May 19 '08, 3:28 a.m.
I am trying to setup Jazz service in Tomcat but on executing "C:\jazz\server\tomcat\bin\service.bat install" on command prompt it is throwing an error.

-----

C:\jazz\server\tomcat\bin>service.bat install
"C:\jazz\server\tomcat"
Installing the service 'Tomcat5' ...
Using CATALINA_HOME: "C:\jazz\server\tomcat"
Using CATALINA_BASE: "C:\jazz\server\tomcat"
Using JAVA_HOME: "C:\Java\jdk1.5.0_01"
Using JVM: "C:\Java\jdk1.5.0_01"\jre\bin\server\jvm.dll

Invalid command line arguments
Failed installing 'Tomcat5' service

-----

5 answers



permanent link
Peter Haumer (2.2k12019) | answered May 19 '08, 6:50 p.m.
JAZZ DEVELOPER
You just need to run 'service install'

I used this page for instructions:
https://jazz.net/wiki/bin/view/Main/RunningJazzAsAService



"mapagile_tcs" <nirav> wrote in message
news:g0raos$a62$1@localhost.localdomain...
I am trying to setup Jazz service in Tomcat but on executing
"C:\jazz\server\tomcat\bin\service.bat install" on command
prompt it is throwing an error.

-----

C:\jazz\server\tomcat\bin>service.bat install
"C:\jazz\server\tomcat"
Installing the service 'Tomcat5' ...
Using CATALINA_HOME: "C:\jazz\server\tomcat"
Using CATALINA_BASE: "C:\jazz\server\tomcat"
Using JAVA_HOME: "C:\Java\jdk1.5.0_01"
Using JVM:
"C:\Java\jdk1.5.0_01"\jre\bin\server\jvm.dll

Invalid command line arguments
Failed installing 'Tomcat5' service

-----

permanent link
MAPAGILE MAPAGILE (81225) | answered May 20 '08, 3:10 a.m.
I was trying the same but am getting the error on the very first step.

You just need to run 'service install'

I used this page for instructions:
https://jazz.net/wiki/bin/view/Main/RunningJazzAsAService



"mapagile_tcs" <nirav> wrote in message
news:g0raos$a62$1@localhost.localdomain...
I am trying to setup Jazz service in Tomcat but on executing
"C:\jazz\server\tomcat\bin\service.bat install" on command
prompt it is throwing an error.

-----

C:\jazz\server\tomcat\bin>service.bat install
"C:\jazz\server\tomcat"
Installing the service 'Tomcat5' ...
Using CATALINA_HOME: "C:\jazz\server\tomcat"
Using CATALINA_BASE: "C:\jazz\server\tomcat"
Using JAVA_HOME: "C:\Java\jdk1.5.0_01"
Using JVM:
"C:\Java\jdk1.5.0_01"\jre\bin\server\jvm.dll

Invalid command line arguments
Failed installing 'Tomcat5' service

-----

permanent link
Peter Haumer (2.2k12019) | answered May 20 '08, 9:38 p.m.
JAZZ DEVELOPER
If you had a tomcat registered before you need to remove it first.

"mapagile_tcs" <nirav> wrote in message
news:g0ttvb$dt6$1@localhost.localdomain...
I was trying the same but am getting the error on the very first
step.

Peter Haumerwrote:
You just need to run 'service install'

I used this page for instructions:
https://jazz.net/wiki/bin/view/Main/RunningJazzAsAService



"mapagile_tcs" <nirav> wrote in message
news:g0raos$a62$1@localhost.localdomain...
I am trying to setup Jazz service in Tomcat but on executing
"C:\jazz\server\tomcat\bin\service.bat install" on
command
prompt it is throwing an error.

-----

C:\jazz\server\tomcat\bin>service.bat install
"C:\jazz\server\tomcat"
Installing the service 'Tomcat5' ...
Using CATALINA_HOME: "C:\jazz\server\tomcat"
Using CATALINA_BASE: "C:\jazz\server\tomcat"
Using JAVA_HOME: "C:\Java\jdk1.5.0_01"
Using JVM:
"C:\Java\jdk1.5.0_01"\jre\bin\server\jvm.dll

Invalid command line arguments
Failed installing 'Tomcat5' service

-----


permanent link
MAPAGILE MAPAGILE (81225) | answered May 21 '08, 12:46 a.m.
Thanks a lot for your reply.

The service was installed on machine so it was not allowing to reinstall.

I removed it using "service.bat remove" and then repeated the installation procedure.

If you had a tomcat registered before you need to remove it first.

"mapagile_tcs" <nirav> wrote in message
news:g0ttvb$dt6$1@localhost.localdomain...
I was trying the same but am getting the error on the very first
step.

Peter Haumerwrote:
You just need to run 'service install'

I used this page for instructions:
https://jazz.net/wiki/bin/view/Main/RunningJazzAsAService



"mapagile_tcs" <nirav> wrote in message
news:g0raos$a62$1@localhost.localdomain...
I am trying to setup Jazz service in Tomcat but on executing
"C:\jazz\server\tomcat\bin\service.bat install" on
command
prompt it is throwing an error.

-----

C:\jazz\server\tomcat\bin>service.bat install
"C:\jazz\server\tomcat"
Installing the service 'Tomcat5' ...
Using CATALINA_HOME: "C:\jazz\server\tomcat"
Using CATALINA_BASE: "C:\jazz\server\tomcat"
Using JAVA_HOME: "C:\Java\jdk1.5.0_01"
Using JVM:
"C:\Java\jdk1.5.0_01"\jre\bin\server\jvm.dll

Invalid command line arguments
Failed installing 'Tomcat5' service

-----


permanent link
Wolfgang Krenzer (1111) | answered Jul 18 '08, 11:51 a.m.
Hi, there is also a Windows Resource Kit tool that can do the job quite nicely, if someone runs this on a Windows server. We have used this to run Jazz Tomcat as a service and just point to the startup batch file for Jazz.


Installation of AutoExNT

1. Using a text editor such as Notepad, create a batch file named Autoexnt.bat. Include the commands you want to run at startup in this file, such as copy files or start an application.

2. Copy the Autoexnt.bat file you just created, the Autoexnt.exe, Servmess.dll and Instexnt.exe files (in the Resource Kit) into the %SystemRoot%\System32 folder on your computer.

3. To install the service, open a command console and type: instexnt install.

Use of AutoExNT

* To test AutoExNT, open a command console and type the command net start autoexnt. You should see Autoexnt.bat file execute.

* Configure your service options by clicking Start-->Program Files-->Administrative Tools-->Computer Management-->Expand Services and Applications -->click Services. Double-click the AutoExNT service

* Select Automatic in the Startup type box.

* Use the Logon As property if your autoexnt.bat file requires specific privileges to run its commands.

* If necessary, set any dependencies that AutoExNT should wait for before starting. This is handy if your application or task requires another service, such as the Workstation service, to be running before it can execute.

There is one issue with AutoExNT: It does not normally work well with applications that have interactive consoles.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.