Running license server as a windows service
Not sure where to ask this question as there is no group for the license server and nore is there a project for it in YouTrack so as we use for ReSharper I will ask it here :)
We have the license server up and running but have not been successfull in running it as a windows service. I have tried using the service.bat install command as per the tomcat docs but have no luck. It should be possible because this is how Jira, Confluence, TeamCity, etc run. I have confluence running as a service running on the same box but under a different port number.
The error messages I get in the jakarata log are:
[2011-12-01 15:48:51] [174 javajni.c] [error] %1 is not a valid Win32 application.
[2011-12-01 15:48:51] [986 prunsrv.c] [error] Failed creating java c:/Program Files/Java/jdk1.7.0\jre\bin\server\jvm.dll
[2011-12-01 15:48:51] [1260 prunsrv.c] [error] ServiceStart returned 1
Please sign in to leave a comment.
Hello
Apparently this error is caused by trying to run a 64-bit executable under 32-bit. Please try installing a 64-bit Tomcat from http://tomcat.apache.org and manually deploying the licenseServer.war there. Let me know if this helps. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Hi Andrey,
Using the stand alone tomcat service works fine.
Are there any plans for adding the License Server project to your YouTrack issue tracking site? I love the service and would like to be able to raise issues and suggest features.
Thanks,
Matt Davis