Servoy service keeps restarting (2.2.7)

Hi all,

Our server is restarting at random interval. . We keep geting a JVM appears hung error and it would restart itself. This problem has never occured over the last 6 months of using servoy 2.2.7 and it’s happening 3 to 4 times a day now. Can you please help with this. See below log:

Server Information
Servoy version R2 2.2.7-build 339, repository version 27
Current time: Tue Sep 04 16:27:46 PDT 2007
Uptime: 15 minutes 19 seconds

User Information
Logged in as: admin

JDK Information
java.vm.name=Java HotSpot™ Client VM
java.vm.version=1.4.2_05-b04

Log:

ERROR | wrapper | 2007/09/04 16:12:20 | JVM appears hung: Timed out waiting for signal from JVM.
ERROR | wrapper | 2007/09/04 16:12:20 | JVM did not exit on request, terminated
STATUS | wrapper | 2007/09/04 16:12:25 | Launching a JVM…
INFO | jvm 7 | 2007/09/04 16:12:27 | Wrapper (Version 3.1.2) http://wrapper.tanukisoftware.org
INFO | jvm 7 | 2007/09/04 16:12:27 |
INFO | jvm 7 | 2007/09/04 16:12:27 | Loading servoy.properties from C:\Program Files\Servoy\servoy.properties
INFO | jvm 7 | 2007/09/04 16:12:27 | Loading - Done
INFO | jvm 7 | 2007/09/04 16:12:42 | Using RMI registry on port 1099
INFO | jvm 7 | 2007/09/04 16:13:03 | JVM Process has not received any CPU time for 13 seconds. Extending timeouts.
INFO | jvm 7 | 2007/09/04 16:13:07 | Starting service Tomcat-Standalone
INFO | jvm 7 | 2007/09/04 16:13:07 | Apache Tomcat/4.0.1

Sammy, did your configuration change?

sammyzheng:
INFO | jvm 7 | 2007/09/04 16:12:27 | Wrapper (Version 3.1.2) http://wrapper.tanukisoftware.org

I would take a look at this wrapper and his manuals.
Frankly I never had the need for such a wrapper in my installations.

Problem is, our IT team manages the server itself. They manage the antivirus, the backup, etc.

I didn’t change any setting as far as SErvoy Server is concerned since January 2007. Not sure what the purpose of the wrapper is, but I think it came with the default installation of servoy 2.2.7. (is that true?)

No, it’s not in the default install, your team must have added this and looks like it’s not working. Talk to them, the problem is not in Servoy. :)

ngervasi:
No, it’s not in the default install, your team must have added this and looks like it’s not working. Talk to them, the problem is not in Servoy. :)

Can you tell me what it’s used for and WHY does that wrapper restart the entire Servoy Server service when it can’t gets hung?

The wrapper is used to create a startup item.

Why it hangs? I don’t know…

IT2Be:
The wrapper is used to create a startup item.

Why it hangs? I don’t know…

so how can i disable it without affecting servoy server service?

The wrapper is probably set to ping the JVM every ‘x’ seconds and if there is no reply then it times out and assumes it is hung and restarts it

Could be that the IT team have either set this timeout value too low or your server comes under a heavy load periodically causing it to timeout.

It still needs to be taken up with the IT team.

Good luck

Cheers
Harry

Harry Catharell:
The wrapper is probably set to ping the JVM every ‘x’ seconds and if there is no reply then it times out and assumes it is hung and restarts it

Could be that the IT team have either set this timeout value too low or your server comes under a heavy load periodically causing it to timeout.

It still needs to be taken up with the IT team.

Good luck

Cheers
Harry

Thanks for the suggestion. For now, i just want to disable the wrapper if it’s not necessary to be in use so it doens’t cause the hang up problem again.

Thanks

also,

this wrapper that loads (Java Service wrapper TestWrapper Application - Java Service Wrapper
)

is located in the C:\Program Files\Servoy\service along with 4 other files:
wrapper.conf, wrapper.dll, wrapper.exe, wrapper.jar.

Can anyone at Servoy tell us WHAT that is used for? and if it’s completely necessary?

the wrapper is needed, to let Servoy start as a service under Windows!

So if the server is rebooted, servoy will start as soon the server up again, even without logging in into the server.

You can also use, the servoy_server.bat file, but than, the server will only be automaticly started, when someone is logged into the server, and your place the hyperlink of the batchfile into the startup items.

Hope this helps

HJK:
the wrapper is needed, to let Servoy start as a service under Windows!

So if the server is rebooted, servoy will start as soon the server up again, even without logging in into the server.

You can also use, the servoy_server.bat file, but than, the server will only be automaticly started, when someone is logged into the server, and your place the hyperlink of the batchfile into the startup items.

Hope this helps

Okay, thanks for the info. I was able to go inside the wrapper.conf file and changed the timeout from 60 seconds to 255.