Servoy Service (3.5 SR1) crashes when client starts

Since I have updated our server to 3.5SR1, the Service exits when a client starts. Servoy is installed on Windows 2003 R2 Standard Edition NL. To solve this issue, I have performed and tested the following actions:

  • installed all Windows 2003 server updates (SP2)
  • removed alle java JDK and JRE
  • installed java JDK and JRE version 6 update 2
  • installed Sybase 9.0.2 (we used 9.0.1)
  • replaced the wrapper.conf
  • reinstalled the service

Until now without any succes (‘:?’). Anyone suggestions what might cause this problem?

Logging details:

In the event viewer, the following message appears:
ServoyService/Wrapper: There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.

In the logfile .service_log.txt the following messages appear (only last part is stated):
INFO | jvm 5 | 2007/09/13 11:10:42 | 0 [WrapperSimpleAppMain] INFO com.servoy.j2db.util.Debug - Loading servoy.properties from C:\Program Files\Servoy\servoy.properties
INFO | jvm 5 | 2007/09/13 11:10:43 | 562 [WrapperSimpleAppMain] INFO com.servoy.j2db.util.Debug - Loading - Done
INFO | jvm 5 | 2007/09/13 11:10:46 |
INFO | jvm 5 | 2007/09/13 11:10:46 | WrapperSimpleApp: Encountered an error running main: java.lang.NoClassDefFoundError: org/hibernate/mapping/Value
INFO | jvm 5 | 2007/09/13 11:10:46 | java.lang.NoClassDefFoundError: org/hibernate/mapping/Value
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Server.a(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Server.int(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Server.for(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Server.getTable(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Repository.a(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Repository.a(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Repository.a(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Repository.a(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.s.a(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.s.if(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Repository.getActiveRootObject(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.persistence.Repository.getActiveSolution(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.server.ApplicationServer.if(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at com.servoy.j2db.server.ApplicationServer.main(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO | jvm 5 | 2007/09/13 11:10:46 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at java.lang.reflect.Method.invoke(Unknown Source)
INFO | jvm 5 | 2007/09/13 11:10:46 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:136)
INFO | jvm 5 | 2007/09/13 11:10:46 | at java.lang.Thread.run(Unknown Source)
STATUS | wrapper | 2007/09/13 11:10:48 | on_exit trigger matched. Restarting the JVM. (Exit code: 1)
FATAL | wrapper | 2007/09/13 11:10:48 | There were 5 failed launches in a row, each lasting less than 300 seconds. Giving up.
FATAL | wrapper | 2007/09/13 11:10:48 | There may be a configuration problem: please check the logs.
STATUS | wrapper | 2007/09/13 11:10:48 | ← Wrapper Stopped

java.lang.NoClassDefFoundError: org/hibernate/mapping/Value

Can you check that the you have ${servoy root}/lib/hibernate3.jar installed?

It looks like something is wrong with your Servoy install…

Hi Marcel,

The file is installed in {servoy root}\lib, with the following properties:
size: 2.188 kB
date: 05 april 2007

Anton

Can it be that you have another hibernateXX.jar somewhere in your libs, plugins or beans folder?

Hi Marcel,

Sorry, no other hibernate3.jar’s are present (although Jasper uses a variant of hibernate3.jar as well.

Anton

But no hibernate 2 (or anything else) either?

Hi Marcel,

Sorry, only hibernate3.jar, no other versions.

Anton

When you are sure you have not mixed anything (maybe try a clean install), I would submit a case to support…

Hi Anton/Marcel,

I was looking for server issues yesterday evening and came across this thread which may have a bearing on this problem as the error:java.lang.NoClassDefFoundError: org/hibernate/mapping/Value is almost identical:

Hope this helps

Cheers
Harry

It sure does, I remembered the thread but I did not link it with this one :oops:

toontje,

If you use servoy_server.bat from a command window, does the server start correctly?
If it does, there must be something wrong in your wrapper.conf

Rob