Plugins busy and server down

Questions and answers on developing, deploying and using plugins and JavaBeans

Plugins busy and server down

Postby Manolo_Etec » Tue Mar 12, 2013 10:31 am

Good morning everyone

I Have an error that broke the server. I think it´s the busy plugins

it is working for some time, but since yesterday without making any changes, the server has started to fall

Thanks in advance

Code: Select all
Mar 11, 2013 2:51:35 PM org.apache.catalina.session.StandardManager start
SEVERE: Exception loading sessions from persistent storage
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: net.stuff.servoy.plugins.busy.wicket.BusyWicketProvider
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1684)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963)
   at java.io.ObjectInputStream.defaultReadObject(ObjectInputStream.java:497)
   at org.apache.wicket.Component.readObject(Component.java:4753)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:988)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1865)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1684)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
   at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1684)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1340)
   at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1963)
   at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1887)
   at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
   at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
   at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
   at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1485)
   at org.apache.catalina.session.StandardSession.readObjectData(StandardSession.java:987)
   at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:394)
   at org.apache.catalina.session.StandardManager.load(StandardManager.java:321)
   at org.apache.catalina.session.StandardManager.start(StandardManager.java:648)
   at org.apache.catalina.core.ContainerBase.setManager(ContainerBase.java:446)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)
   at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079)
   at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
   at org.apache.catalina.core.StandardService.start(StandardService.java:525)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at com.servoy.j2db.server.main.WebServer.startWebServer(WebServer.java:47)
   at com.servoy.j2db.server.main.ApplicationServer.startWebServer(ApplicationServer.java:512)
   at com.servoy.j2db.server.main.ApplicationServer.main(ApplicationServer.java:507)
Caused by: java.io.NotSerializableException: net.stuff.servoy.plugins.busy.wicket.BusyWicketProvider
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1362)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1170)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
   at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:438)
   at org.apache.wicket.Component.writeObject(Component.java:4735)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:616)
   at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:959)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1362)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1170)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
   at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1362)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1170)
   at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
   at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
   at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
   at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
   at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
   at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1561)
   at org.apache.catalina.session.StandardSession.writeObjectData(StandardSession.java:1004)
   at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:528)
   at org.apache.catalina.session.StandardManager.unload(StandardManager.java:469)
   at org.apache.catalina.session.StandardManager.stop(StandardManager.java:678)
   at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4875)
   at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:932)
   at org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:1357)
   at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:1328)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:326)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
   at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1094)
   at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1106)
   at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)
   at org.apache.catalina.core.StandardService.stop(StandardService.java:604)
   at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)
   at org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
   at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run(Catalina.java:706)
Manuel López
Etec Programación SL
manuel@etecsoft.com
http://www.etecsoft.com
User avatar
Manolo_Etec
 
Posts: 66
Joined: Fri Sep 12, 2008 3:58 pm

Re: Plugins busy and server down

Postby ptalbot » Tue Mar 12, 2013 1:39 pm

That stack trace is happening when you restart, it is not the issue: what you see here is Tomcat complaining that it cannot reload a http session after restart, because one of the class that is part of the Busy plugin is not Serializable.
It doesn't really matter (you can ignore that, it happens all the time in Tomcat when you start as it tries to recreate sessions from its serialized storage).

So you need to look at the problem before the restart, is there any exception happening then?
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Plugins busy and server down

Postby Manolo_Etec » Tue Mar 12, 2013 5:23 pm

thanks Patrick

I've noticed that the server is falling. but says nothing before the fall.
I upgraded the server from 6.1.2 to 6.1.4
The problem pluging busy, now gone, but still falling. may be running 10 minutes or an hour, or just input the login.

Code: Select all
12/03/2013 10:57:42,876 WARN [pool-1-thread-1] org.hibernate.dialect.resolver.AbstractDialectResolver - Error executing solve [org.hibernate.dialect.resolver.StandardDialectResolver @ 4da59490]: null []
12/03/2013 11:33:43,388 WARN [pool-1-thread-1] org.hibernate.dialect.resolver.AbstractDialectResolver - Error executing solve [org.hibernate.dialect.resolver.StandardDialectResolver @ 572022b7]: null []


two error logs are consecutive . After 10:57 fall down the server, and when it turn on gave me the same error.
Manuel López
Etec Programación SL
manuel@etecsoft.com
http://www.etecsoft.com
User avatar
Manolo_Etec
 
Posts: 66
Joined: Fri Sep 12, 2008 3:58 pm

Re: Plugins busy and server down

Postby ptalbot » Tue Mar 12, 2013 8:36 pm

I told you that the plugin was not the cause.
That warning is a hibernate one, so your issue might be database related, or jdbc related...
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
https://www.servoyforge.net
Velocity rules! If you don't use it, you don't know what you're missing!
User avatar
ptalbot
 
Posts: 1654
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Plugins busy and server down

Postby rgansevles » Tue Mar 12, 2013 9:16 pm

Manolo_Etec,

So the server runs for 10 minutes, with clients connecting and selecting data ok and then this error appears?
It looks like an error in determining the hibernate dialect from the jdbc driver, only this happens usually immediately, not after 10 min.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Plugins busy and server down

Postby Manolo_Etec » Wed Mar 13, 2013 3:54 pm

Thanks Rob and Patrick.

The error only appears when the server boots.

Code: Select all
12/03/2013 11:33:43,388 WARN [pool-1-thread-1] org.hibernate.dialect.resolver.AbstractDialectResolver - Error executing solve [org.hibernate.dialect.resolver.StandardDialectResolver @ 572022b7]: null []


and when it falls leaves no trace.

I have asked them to send me the server.log too, to see if I can find something else.
Manuel López
Etec Programación SL
manuel@etecsoft.com
http://www.etecsoft.com
User avatar
Manolo_Etec
 
Posts: 66
Joined: Fri Sep 12, 2008 3:58 pm


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 4 guests

cron