Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Always Crowd ('s tomcat) is not starting caused by a 'not a valid Win32 application' error

Recently I have set up the Crowd instacen on my Windows Server 2012 machine. I have set it up as described in its documentation and configured it to use a separeate mySQL DB. Running Crowd from start_crowd.bat works fine so far. But I need to run Crows as Windows' service. I installed the service as described in the ducmentation again an altered the jvm settings as recommended. Starting the server from bat-file still works proerly.


But if I try to run the Tomcat/Crowd service, it stops soon after startup. Attachted there are the logs, presented until the services crashs in debug log level. For configuration I have upgraded my Java installation to version 9 and ensured, that JAVA_HOME is pointing to the directory of the jdk.



[2018-03-06 23:23:07] [debug] ( prunsrv.c:1679) [ 6940] Commons Daemon procrun log initialized
[2018-03-06 23:23:07] [info] ( prunsrv.c:1683) [ 6940] Commons Daemon procrun ( 32-bit) started
[2018-03-06 23:23:07] [info] ( prunsrv.c:1596) [ 6940] Running 'AtlassianCrowd' Service...
[2018-03-06 23:23:07] [debug] ( prunsrv.c:1374) [15024] Inside ServiceMain...
[2018-03-06 23:23:07] [debug] ( prunsrv.c:844 ) [15024] reportServiceStatusE: 2, 0, 3000, 0
[2018-03-06 23:23:07] [info] ( prunsrv.c:1127) [15024] Starting service...
[2018-03-06 23:23:07] [debug] ( javajni.c:233 ) [15024] loading jvm 'C:\Progra~1\Java\jre-9.0.4\bin\server\jvm.dll'
[2018-03-06 23:23:07] [debug] ( javajni.c:278 ) [15024] Setting DLL search path to 'C:\Progra~1\Java\jre-9.0.4\bin\server'
[2018-03-06 23:23:07] [debug] ( javajni.c:278 ) [15024] Setting DLL search path to 'C:\Progra~1\Java\jre-9.0.4\bin'
[2018-03-06 23:23:07] [error] ( javajni.c:291 ) [15024] %1 is not a valid Win32 application.
[2018-03-06 23:23:07] [error] ( prunsrv.c:1162) [15024] Failed creating java C:\Progra~1\Java\jre-9.0.4\bin\server\jvm.dll
[2018-03-06 23:23:07] [error] ( prunsrv.c:1162) [15024] %1 is not a valid Win32 application.
[2018-03-06 23:23:07] [error] ( prunsrv.c:1536) [15024] ServiceStart returned 1
[2018-03-06 23:23:07] [error] ( prunsrv.c:1536) [15024] %1 is not a valid Win32 application.
[2018-03-06 23:23:07] [debug] ( prunsrv.c:844 ) [15024] reportServiceStatusE: 1, 1066, 0, 1
[2018-03-06 23:23:07] [info] ( prunsrv.c:1598) [ 6940] Run service finished.
[2018-03-06 23:23:07] [info] ( prunsrv.c:1764) [ 6940] Commons Daemon procrun finished

Result of JAVA_HOME system variable output:

echo %JAVA_HOME%
C:\Program Files\Java\jdk-9.0.4 

Results of Java's version:

C:\>java -version
java version "9.0.4"
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)


I have no idea anymore, why the service is not coming up? Is there maybe a issue because of Java's 32/64 bit installation / expectation?


Thanks in advance,


1 answer

1 accepted

1 vote
Answer accepted
AnnWorley Atlassian Team Mar 06, 2018

Hi Kevin,

You guessed it! It's Tomcat that is expecting the wrong Java. Please follow Crowd 2.8 service 64-bit fails to start - not a valid Win32 application

On a side note, Java 9 is not a supported platform for Crowd, so unexpected behavior could result. Please change to a supported Java version listed on Supported Platforms.

Best of luck,


Hi Ann,


thanks for your reply and the workaround. I fixed the problem with exact this solution. The tomcats runtime was for 32bit system; Replacing them with the ones for 64bit system solved my issue. Crowd now comes up via service and runs without a problem.


Thanks again and best regards,


Suggest an answer

Log in or Sign up to answer
Community showcase
Asked in Jira Service Management

JSM June ask me anything (AMA)

Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...

233 views 12 14
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you