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
>>
>>
>

Reply via email to