Re: Tomcat setting as a service after installing the binaries

2013-11-17 Thread Jojy George
Thanks for the info Chris, that info is helpful.


On Mon, Nov 11, 2013 at 10:48 PM, Christopher Schultz 
ch...@christopherschultz.net wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Jojy,

 On 11/11/13, 5:34 AM, Jojy George wrote:
  I just checked and found out that it was problem with the wrong
  jdk version. it was using 32 bit instead of 64 bit and i installed
  the 64 bit and that fixed the issue.

 Just checking: do you actually need a 64-bit JVM? If a 32-bit JVM will
 work okay for you, you might want to use it instead. It's likely to be
 a bit faster as long as you don't need large heaps (~1.5GiB).

 - -chris
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.15 (Darwin)
 Comment: GPGTools - http://gpgtools.org
 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

 iQIcBAEBCAAGBQJSgRFpAAoJEBzwKT+lPKRYqkYP/1ooG6AIbrcW5nT0vIe/HQ3e
 4aL5TpJ3QkjemSjUNT7cObx0NZog1J/X/6GHuQs5u0gayI0Km/qU/QUAYEyD5pCh
 cYCYnLijFCcg5L/Rgtl9wHMPivs32+h05FwticD27IY9WDuS+t6wm8dOGU1yidxl
 /AX+4izIX5TH2KbJIGAUBpIkxmoNzhjZ9N5enNL38Uz1rLJBd4SAqA0NQC5N4PJ/
 8nOjjrvYqvW6lxcZJxCjKmd4tq/IqXetj5tT1Gkxaf1cqOykn8jmk4ou4/C26VjX
 hn+dfV8RcjTmvJrhLvjCorUSzsHFVnCv3xwkwZGsBbK8MJGQrQZY8lucFvd3pM2Z
 4CyXnNccnap6meNDrqtHjVEjRoQaIAGoR0n0VGqwfqN78qwpXOhaQriRy2g/ncrL
 fuMj2nusTM4BG5NB465wmoTF609IOm+sb4garH4P547LM5Rn/zhyMM/3bNq1Usi6
 T3/33Lbt2MdFrMm9PO5gKd58N/JWJzXlTEKEq5fRrHPM/aRysRIkJep51L9zePa4
 Tac5Vhmt0BVwbJiAPzix1xwVaBF/Qkqb4IPaMqKsXz8G6cIRBHrWmxRTbzdXmVjL
 IVJYD01JlQs4Trqpkm2q0jbiWAyDkwoLr4LjWfVIv0xb5pUlCUX8RiQYz4pQI6m2
 8yUALsz1/P8RkamxZPOk
 =Rgbf
 -END PGP SIGNATURE-

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Tomcat setting as a service after installing the binaries

2013-11-11 Thread Jojy George
HI All,

I am trying to set and run tomcat as a service after installing it as
binary instead using the windows installer. But i am not able to start it
after setting it as service, it is giving the below exception when i am
trying to start the tomcat service.

Do anybody has got any idea why this error is coming and anybody has got
any resolution for the same.




[2013-11-11 14:42:44] [info] Service Tomcat6 name Apache Tomcat 6.0 Tomcat6
[2013-11-11 14:42:44] [info] Service Tomcat6 installed
[2013-11-11 14:42:44] [info] Commons Daemon procrun finished.
[2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:42:52] [info] Debugging Service...
[2013-11-11 14:42:52] [info] Starting service...
[2013-11-11 14:42:52] [206  javajni.c] [error] %1 is not a valid Win32
application.
[2013-11-11 14:42:52] [985  prunsrv.c] [error] Failed creating java
C:\jdk1.7.0_15\jre\bin\server\jvm.dll
[2013-11-11 14:42:52] [1280 prunsrv.c] [error] ServiceStart returned 1
[2013-11-11 14:42:52] [info] Debug service finished.
[2013-11-11 14:42:52] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:05] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:05] [info] Updating service...
[2013-11-11 14:43:05] [info] Service Tomcat6 updated
[2013-11-11 14:43:05] [info] Update service finished.
[2013-11-11 14:43:05] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:12] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:12] [info] Updating service...
[2013-11-11 14:43:12] [info] Service Tomcat6 updated
[2013-11-11 14:43:12] [info] Update service finished.
[2013-11-11 14:43:12] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:20] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:20] [info] Updating service...
[2013-11-11 14:43:20] [info] Service Tomcat6 updated
[2013-11-11 14:43:20] [info] Update service finished.
[2013-11-11 14:43:20] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:29] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:29] [info] Running Service...
[2013-11-11 14:43:29] [info] Starting service...
[2013-11-11 14:43:29] [206  javajni.c] [error] %1 is not a valid Win32
application.
[2013-11-11 14:43:29] [985  prunsrv.c] [error] Failed creating java
C:\jdk1.7.0_15\jre\bin\server\jvm.dll
[2013-11-11 14:43:29] [1280 prunsrv.c] [error] ServiceStart returned 1
[2013-11-11 14:43:29] [info] Run service finished.
[2013-11-11 14:43:29] [info] Commons Daemon procrun finished.


Thanks
Jojy


Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread Antonio Vidal Ferrer
It seems that you are using 32bits binaries in a 64 bits platform. 
Download 64 bits versions of tomcat6.exe and tomcat6w.exe, and replace them.


For doing so, go here:

http://commons.apache.org/proper/commons-daemon/download_daemon.cgi

Select browse download area, then go to binaries, then select windows, 
and download file commons-daemon-1.0.15-bin-windows.zip


Inside that zip file, you'll find prunmgr.exe and amd64/prunsrv.exe, 
replace your tomcat6w.exe and tomcat6.exe respectively, and restart 
service, it should start without further problem.


Hope it works.

Best,

Toni.

On 11/11/13 10:18, Jojy George wrote:

%1 is not a valid Win32




Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread Antonio Vidal Ferrer
It seems that you are using 32bits binaries in a 64 bits platform. 
Download 64 bits versions of tomcat6.exe and tomcat6w.exe, and replace them.


For doing so, go here:

http://commons.apache.org/proper/commons-daemon/download_daemon.cgi

Select browse download area, then go to binaries, then select windows, 
and download file commons-daemon-1.0.15-bin-windows.zip


Inside that zip file, you'll find prunmgr.exe and amd64/prunsrv.exe, 
replace your tomcat6w.exe and tomcat6.exe respectively, and restart 
service, it should start without further problem.


Hope it works.

Best,

Toni.
On 11/11/13 10:18, Jojy George wrote:



HI All,

I am trying to set and run tomcat as a service after installing it as
binary instead using the windows installer. But i am not able to start it
after setting it as service, it is giving the below exception when i am
trying to start the tomcat service.

Do anybody has got any idea why this error is coming and anybody has got
any resolution for the same.




[2013-11-11 14:42:44] [info] Service Tomcat6 name Apache Tomcat 6.0 Tomcat6
[2013-11-11 14:42:44] [info] Service Tomcat6 installed
[2013-11-11 14:42:44] [info] Commons Daemon procrun finished.
[2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:42:52] [info] Debugging Service...
[2013-11-11 14:42:52] [info] Starting service...
[2013-11-11 14:42:52] [206  javajni.c] [error] %1 is not a valid Win32
application.
[2013-11-11 14:42:52] [985  prunsrv.c] [error] Failed creating java
C:\jdk1.7.0_15\jre\bin\server\jvm.dll
[2013-11-11 14:42:52] [1280 prunsrv.c] [error] ServiceStart returned 1
[2013-11-11 14:42:52] [info] Debug service finished.
[2013-11-11 14:42:52] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:05] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:05] [info] Updating service...
[2013-11-11 14:43:05] [info] Service Tomcat6 updated
[2013-11-11 14:43:05] [info] Update service finished.
[2013-11-11 14:43:05] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:12] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:12] [info] Updating service...
[2013-11-11 14:43:12] [info] Service Tomcat6 updated
[2013-11-11 14:43:12] [info] Update service finished.
[2013-11-11 14:43:12] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:20] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:20] [info] Updating service...
[2013-11-11 14:43:20] [info] Service Tomcat6 updated
[2013-11-11 14:43:20] [info] Update service finished.
[2013-11-11 14:43:20] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:29] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:29] [info] Running Service...
[2013-11-11 14:43:29] [info] Starting service...
[2013-11-11 14:43:29] [206  javajni.c] [error] %1 is not a valid Win32
application.
[2013-11-11 14:43:29] [985  prunsrv.c] [error] Failed creating java
C:\jdk1.7.0_15\jre\bin\server\jvm.dll
[2013-11-11 14:43:29] [1280 prunsrv.c] [error] ServiceStart returned 1
[2013-11-11 14:43:29] [info] Run service finished.
[2013-11-11 14:43:29] [info] Commons Daemon procrun finished.


Thanks
Jojy





-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread Jojy George
Hi Toni,

Thanks for this info.

I was able to download the files , but i am not sure what else needs to be
done after that? i need to just copy the files to the bin folder? that's
enough? is there anything else i need to do ? recreate the service with
this additional options ? when you say replace your tomcat6w.exe and
tomcat6.exe respectively what i need to do with these exe's ?

is there any documentation which you can point me to that would be great.

Thanks for your help
'
Regards
Jojy


On Mon, Nov 11, 2013 at 3:16 PM, Antonio Vidal Ferrer 
antonio.vi...@globalia-sistemas.com wrote:

 It seems that you are using 32bits binaries in a 64 bits platform.
 Download 64 bits versions of tomcat6.exe and tomcat6w.exe, and replace them.

 For doing so, go here:

 http://commons.apache.org/proper/commons-daemon/download_daemon.cgi

 Select browse download area, then go to binaries, then select windows, and
 download file commons-daemon-1.0.15-bin-windows.zip

 Inside that zip file, you'll find prunmgr.exe and amd64/prunsrv.exe,
 replace your tomcat6w.exe and tomcat6.exe respectively, and restart
 service, it should start without further problem.

 Hope it works.

 Best,

 Toni.
 On 11/11/13 10:18, Jojy George wrote:


  HI All,

 I am trying to set and run tomcat as a service after installing it as
 binary instead using the windows installer. But i am not able to start it
 after setting it as service, it is giving the below exception when i am
 trying to start the tomcat service.

 Do anybody has got any idea why this error is coming and anybody has got
 any resolution for the same.




 [2013-11-11 14:42:44] [info] Service Tomcat6 name Apache Tomcat 6.0
 Tomcat6
 [2013-11-11 14:42:44] [info] Service Tomcat6 installed
 [2013-11-11 14:42:44] [info] Commons Daemon procrun finished.
 [2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:42:52] [info] Debugging Service...
 [2013-11-11 14:42:52] [info] Starting service...
 [2013-11-11 14:42:52] [206  javajni.c] [error] %1 is not a valid Win32
 application.
 [2013-11-11 14:42:52] [985  prunsrv.c] [error] Failed creating java
 C:\jdk1.7.0_15\jre\bin\server\jvm.dll
 [2013-11-11 14:42:52] [1280 prunsrv.c] [error] ServiceStart returned 1
 [2013-11-11 14:42:52] [info] Debug service finished.
 [2013-11-11 14:42:52] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:05] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:05] [info] Updating service...
 [2013-11-11 14:43:05] [info] Service Tomcat6 updated
 [2013-11-11 14:43:05] [info] Update service finished.
 [2013-11-11 14:43:05] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:12] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:12] [info] Updating service...
 [2013-11-11 14:43:12] [info] Service Tomcat6 updated
 [2013-11-11 14:43:12] [info] Update service finished.
 [2013-11-11 14:43:12] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:20] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:20] [info] Updating service...
 [2013-11-11 14:43:20] [info] Service Tomcat6 updated
 [2013-11-11 14:43:20] [info] Update service finished.
 [2013-11-11 14:43:20] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:29] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:29] [info] Running Service...
 [2013-11-11 14:43:29] [info] Starting service...
 [2013-11-11 14:43:29] [206  javajni.c] [error] %1 is not a valid Win32
 application.
 [2013-11-11 14:43:29] [985  prunsrv.c] [error] Failed creating java
 C:\jdk1.7.0_15\jre\bin\server\jvm.dll
 [2013-11-11 14:43:29] [1280 prunsrv.c] [error] ServiceStart returned 1
 [2013-11-11 14:43:29] [info] Run service finished.
 [2013-11-11 14:43:29] [info] Commons Daemon procrun finished.


 Thanks
 Jojy




 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread Jojy George
Hi,

I just checked and found out that it was problem with the wrong jdk
version. it was using 32 bit instead of 64 bit and i installed the 64 bit
and that fixed the issue.

Thanks for your help.

Regards
Jojy


R


On Mon, Nov 11, 2013 at 3:35 PM, Jojy George jojy...@gmail.com wrote:

 Hi Toni,

 Thanks for this info.

 I was able to download the files , but i am not sure what else needs to be
 done after that? i need to just copy the files to the bin folder? that's
 enough? is there anything else i need to do ? recreate the service with
 this additional options ? when you say replace your tomcat6w.exe and
 tomcat6.exe respectively what i need to do with these exe's ?

 is there any documentation which you can point me to that would be great.

 Thanks for your help
 '
 Regards
 Jojy


 On Mon, Nov 11, 2013 at 3:16 PM, Antonio Vidal Ferrer 
 antonio.vi...@globalia-sistemas.com wrote:

 It seems that you are using 32bits binaries in a 64 bits platform.
 Download 64 bits versions of tomcat6.exe and tomcat6w.exe, and replace them.

 For doing so, go here:

 http://commons.apache.org/proper/commons-daemon/download_daemon.cgi

 Select browse download area, then go to binaries, then select windows,
 and download file commons-daemon-1.0.15-bin-windows.zip

 Inside that zip file, you'll find prunmgr.exe and amd64/prunsrv.exe,
 replace your tomcat6w.exe and tomcat6.exe respectively, and restart
 service, it should start without further problem.

 Hope it works.

 Best,

 Toni.
 On 11/11/13 10:18, Jojy George wrote:


  HI All,

 I am trying to set and run tomcat as a service after installing it as
 binary instead using the windows installer. But i am not able to start it
 after setting it as service, it is giving the below exception when i am
 trying to start the tomcat service.

 Do anybody has got any idea why this error is coming and anybody has got
 any resolution for the same.




 [2013-11-11 14:42:44] [info] Service Tomcat6 name Apache Tomcat 6.0
 Tomcat6
 [2013-11-11 14:42:44] [info] Service Tomcat6 installed
 [2013-11-11 14:42:44] [info] Commons Daemon procrun finished.
 [2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:42:52] [info] Debugging Service...
 [2013-11-11 14:42:52] [info] Starting service...
 [2013-11-11 14:42:52] [206  javajni.c] [error] %1 is not a valid Win32
 application.
 [2013-11-11 14:42:52] [985  prunsrv.c] [error] Failed creating java
 C:\jdk1.7.0_15\jre\bin\server\jvm.dll
 [2013-11-11 14:42:52] [1280 prunsrv.c] [error] ServiceStart returned 1
 [2013-11-11 14:42:52] [info] Debug service finished.
 [2013-11-11 14:42:52] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:05] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:05] [info] Updating service...
 [2013-11-11 14:43:05] [info] Service Tomcat6 updated
 [2013-11-11 14:43:05] [info] Update service finished.
 [2013-11-11 14:43:05] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:12] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:12] [info] Updating service...
 [2013-11-11 14:43:12] [info] Service Tomcat6 updated
 [2013-11-11 14:43:12] [info] Update service finished.
 [2013-11-11 14:43:12] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:20] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:20] [info] Updating service...
 [2013-11-11 14:43:20] [info] Service Tomcat6 updated
 [2013-11-11 14:43:20] [info] Update service finished.
 [2013-11-11 14:43:20] [info] Commons Daemon procrun finished.
 [2013-11-11 14:43:29] [info] Commons Daemon procrun (1.0.2.0) started
 [2013-11-11 14:43:29] [info] Running Service...
 [2013-11-11 14:43:29] [info] Starting service...
 [2013-11-11 14:43:29] [206  javajni.c] [error] %1 is not a valid Win32
 application.
 [2013-11-11 14:43:29] [985  prunsrv.c] [error] Failed creating java
 C:\jdk1.7.0_15\jre\bin\server\jvm.dll
 [2013-11-11 14:43:29] [1280 prunsrv.c] [error] ServiceStart returned 1
 [2013-11-11 14:43:29] [info] Run service finished.
 [2013-11-11 14:43:29] [info] Commons Daemon procrun finished.


 Thanks
 Jojy




 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org





Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread André Warnier

Jojy George wrote:

Hi Toni,

Thanks for this info.

I was able to download the files , but i am not sure what else needs to be
done after that? i need to just copy the files to the bin folder? that's
enough? is there anything else i need to do ? recreate the service with
this additional options ? when you say replace your tomcat6w.exe and
tomcat6.exe respectively what i need to do with these exe's ?

is there any documentation which you can point me to that would be great.


See here : http://wiki.apache.org/tomcat/FAQ/Windows#Q11




Thanks for your help
'
Regards
Jojy


On Mon, Nov 11, 2013 at 3:16 PM, Antonio Vidal Ferrer 
antonio.vi...@globalia-sistemas.com wrote:


It seems that you are using 32bits binaries in a 64 bits platform.
Download 64 bits versions of tomcat6.exe and tomcat6w.exe, and replace them.

For doing so, go here:

http://commons.apache.org/proper/commons-daemon/download_daemon.cgi

Select browse download area, then go to binaries, then select windows, and
download file commons-daemon-1.0.15-bin-windows.zip

Inside that zip file, you'll find prunmgr.exe and amd64/prunsrv.exe,
replace your tomcat6w.exe and tomcat6.exe respectively, and restart
service, it should start without further problem.

Hope it works.

Best,

Toni.
On 11/11/13 10:18, Jojy George wrote:


 HI All,

I am trying to set and run tomcat as a service after installing it as
binary instead using the windows installer. But i am not able to start it
after setting it as service, it is giving the below exception when i am
trying to start the tomcat service.

Do anybody has got any idea why this error is coming and anybody has got
any resolution for the same.




[2013-11-11 14:42:44] [info] Service Tomcat6 name Apache Tomcat 6.0
Tomcat6
[2013-11-11 14:42:44] [info] Service Tomcat6 installed
[2013-11-11 14:42:44] [info] Commons Daemon procrun finished.
[2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:42:52] [info] Debugging Service...
[2013-11-11 14:42:52] [info] Starting service...
[2013-11-11 14:42:52] [206  javajni.c] [error] %1 is not a valid Win32
application.
[2013-11-11 14:42:52] [985  prunsrv.c] [error] Failed creating java
C:\jdk1.7.0_15\jre\bin\server\jvm.dll
[2013-11-11 14:42:52] [1280 prunsrv.c] [error] ServiceStart returned 1
[2013-11-11 14:42:52] [info] Debug service finished.
[2013-11-11 14:42:52] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:05] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:05] [info] Updating service...
[2013-11-11 14:43:05] [info] Service Tomcat6 updated
[2013-11-11 14:43:05] [info] Update service finished.
[2013-11-11 14:43:05] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:12] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:12] [info] Updating service...
[2013-11-11 14:43:12] [info] Service Tomcat6 updated
[2013-11-11 14:43:12] [info] Update service finished.
[2013-11-11 14:43:12] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:20] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:20] [info] Updating service...
[2013-11-11 14:43:20] [info] Service Tomcat6 updated
[2013-11-11 14:43:20] [info] Update service finished.
[2013-11-11 14:43:20] [info] Commons Daemon procrun finished.
[2013-11-11 14:43:29] [info] Commons Daemon procrun (1.0.2.0) started
[2013-11-11 14:43:29] [info] Running Service...
[2013-11-11 14:43:29] [info] Starting service...
[2013-11-11 14:43:29] [206  javajni.c] [error] %1 is not a valid Win32
application.
[2013-11-11 14:43:29] [985  prunsrv.c] [error] Failed creating java
C:\jdk1.7.0_15\jre\bin\server\jvm.dll
[2013-11-11 14:43:29] [1280 prunsrv.c] [error] ServiceStart returned 1
[2013-11-11 14:43:29] [info] Run service finished.
[2013-11-11 14:43:29] [info] Commons Daemon procrun finished.


Thanks
Jojy




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread Konstantin Kolinko
2013/11/11 Jojy George jojy...@gmail.com:
 HI All,

 I am trying to set and run tomcat as a service after installing it as
 binary instead using the windows installer. But i am not able to start it
 after setting it as service, it is giving the below exception when i am
 trying to start the tomcat service.

 Do anybody has got any idea why this error is coming and anybody has got
 any resolution for the same.




 [2013-11-11 14:42:44] [info] Service Tomcat6 name Apache Tomcat 6.0 Tomcat6
 [2013-11-11 14:42:44] [info] Service Tomcat6 installed
 [2013-11-11 14:42:44] [info] Commons Daemon procrun finished.
 [2013-11-11 14:42:52] [info] Commons Daemon procrun (1.0.2.0) started

1. Your OS = ?

2. How old is your version of Tomcat 6 that it uses Commons Daemon 1.0.2?

The current version of Commons Daemon is 1.0.15.

Best regards,
Konstantin Kolinko

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Tomcat setting as a service after installing the binaries

2013-11-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Jojy,

On 11/11/13, 5:34 AM, Jojy George wrote:
 I just checked and found out that it was problem with the wrong
 jdk version. it was using 32 bit instead of 64 bit and i installed
 the 64 bit and that fixed the issue.

Just checking: do you actually need a 64-bit JVM? If a 32-bit JVM will
work okay for you, you might want to use it instead. It's likely to be
a bit faster as long as you don't need large heaps (~1.5GiB).

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSgRFpAAoJEBzwKT+lPKRYqkYP/1ooG6AIbrcW5nT0vIe/HQ3e
4aL5TpJ3QkjemSjUNT7cObx0NZog1J/X/6GHuQs5u0gayI0Km/qU/QUAYEyD5pCh
cYCYnLijFCcg5L/Rgtl9wHMPivs32+h05FwticD27IY9WDuS+t6wm8dOGU1yidxl
/AX+4izIX5TH2KbJIGAUBpIkxmoNzhjZ9N5enNL38Uz1rLJBd4SAqA0NQC5N4PJ/
8nOjjrvYqvW6lxcZJxCjKmd4tq/IqXetj5tT1Gkxaf1cqOykn8jmk4ou4/C26VjX
hn+dfV8RcjTmvJrhLvjCorUSzsHFVnCv3xwkwZGsBbK8MJGQrQZY8lucFvd3pM2Z
4CyXnNccnap6meNDrqtHjVEjRoQaIAGoR0n0VGqwfqN78qwpXOhaQriRy2g/ncrL
fuMj2nusTM4BG5NB465wmoTF609IOm+sb4garH4P547LM5Rn/zhyMM/3bNq1Usi6
T3/33Lbt2MdFrMm9PO5gKd58N/JWJzXlTEKEq5fRrHPM/aRysRIkJep51L9zePa4
Tac5Vhmt0BVwbJiAPzix1xwVaBF/Qkqb4IPaMqKsXz8G6cIRBHrWmxRTbzdXmVjL
IVJYD01JlQs4Trqpkm2q0jbiWAyDkwoLr4LjWfVIv0xb5pUlCUX8RiQYz4pQI6m2
8yUALsz1/P8RkamxZPOk
=Rgbf
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org