Need help getting Variman service to start and stay running

189 views
Skip to first unread message

dwatts

unread,
Dec 5, 2014, 10:43:47 AM12/5/14
to variman...@googlegroups.com
System:
 
Windows server 2008
jre1.8.0_25
SQL Server 2005
Variman 3.2.4
 
When I try to start the service I get the following error:
 
The Variman service on Local Computer started then stopped.  Some services stop automatically if they are not in use by there services or programs.
 
 
The Event Viewer has the following notifications:

The Variman service is being started.


The Variman service has been started.

The LoadLibrary function failed for the following reason: The specified module could not be found.

Could not load the Java Virtual Machine.

C:\Program Files (x86)\Java\jre1.8.0_25\bin\client\jvm.dll

The Variman service failed to start.

 

If I do a command prompt and "start variman.exe" the Event View has the following error.

The StartServiceCtrlDispatcher function failed for the following reason: The operation completed successfully.

 

If I go to http://localhost:6103/ I get no response.

 

Any suggestions?

 

Thank you,

David

 

 

 

Mark Klein

unread,
Dec 5, 2014, 12:40:46 PM12/5/14
to variman...@googlegroups.com


On Friday, December 5, 2014 7:43:47 AM UTC-8, dwatts wrote:

The LoadLibrary function failed for the following reason: The specified module could not be found.

Could not load the Java Virtual Machine.

C:\Program Files (x86)\Java\jre1.8.0_25\bin\client\jvm.dll

The Variman service failed to start.


The version of jsvc that was used to build the Windows service may not be compatible with JDK 1.8. Try an earlier JDK and see if that works.

dwatts

unread,
Dec 5, 2014, 5:20:15 PM12/5/14
to variman...@googlegroups.com
Mark,
 
Thank you for your reply.  I just changed the registry key for JVM Library to C:\Program Files\Java\jre7\bin\java.exe
 
The Event Viewer now has this error:
 

The Variman service is being started.

The Variman service has been started.

The GetProcAddress function failed for the following reason: The specified procedure could not be found.
 

Could not find the JNI_CreateJavaVM function in the Virtual Machine DLL.

The Variman service failed to start.

 
I had email Mark Klein earlier and he sent me the command prompt he uses and with that was able to get Variman running for me.
 
c:\program files\variman rets server\  "C:\Program Files\Java\jre7\bin\java.exe" -jar variman.jar
or
c:\program files\variman rets server\ "C:\Program Files (x86)\Java\jre1.8.0_25\bin\java.exe" -jar variman.jar
 
Both of these worked.
 
If you have any more suggestions on getting the service to work I would like to try it.
 
Thank you,
 
David
 
 
 

Mark Klein

unread,
Dec 5, 2014, 9:10:43 PM12/5/14
to variman...@googlegroups.com

On Friday, December 5, 2014 2:20:15 PM UTC-8, dwatts wrote:
Mark,
 
Thank you for your reply.  I just changed the registry key for JVM Library to C:\Program Files\Java\jre7\bin\java.exe

Sorry, I don't know Windows and do not know the ramifications of making such a change. Do it at your own risk.
 
I had email Mark Klein earlier and he sent me the command prompt he uses and with that was able to get Variman running for me.

That's me. :-)

I've not done any work on Variman in quite a while. It was last built with Java 1.6. For sake of argument, I just tried a quick build with Java 1.8. It fails. I also looked at the JavaService web site, and the last build there was from 2009. So, if you want to run Variman as a service on Windows, I think you are out of luck unless you do the manual work around that I gave you. Even if I were to get Variman up to Java 1.8 standards, the JavaService stuff is probably going to continue to fail.

Reply all
Reply to author
Forward
0 new messages