you could try add or replace:

 <property name="connection.provider_class
">org.hibernate.connection.C3P0ConnectionProvider</property>

with:

<property
name="hibernate.connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
 <property name="connection.provider_class
">org.hibernate.connection.C3P0ConnectionProvider</property>

sebastian

2009/2/3 Wayne <[email protected]>

>
> Both our installations of OpenMeeting are still up and running.  All
> user activities appear to be successful.  The only viewable problem is
> that the blue default user image icon sometimes is not displayed on
> the home page.
>
> And, I am now getting the error shown below when users return to the
> home page from the conference room list page.  See the "Caused by:"
> explanation in the 39th line below.  I have verified that
> autoReconnect is set to true in the connection.url property in
> hibernate.cfg.xml and that I am using Connector/J 5.1.7.
>
> 2009-02-03 00:19:19,073 [http-5080-1] ERROR
> o.o.a.data.basic.Sessionmanagement - Sessionmanagement.java 210153814
> 143 org.openmeetings.app.data.basic.Sessionmanagement [http-5080-1] -
> [checkSession]:
> org.hibernate.exception.JDBCConnectionException: could not execute
> query
>        at org.hibernate.exception.SQLStateConverter.convert
> (SQLStateConverter.java:97)
>        at org.hibernate.exception.JDBCExceptionHelper.convert
> (JDBCExceptionHelper.java:66)
>        at org.hibernate.loader.Loader.doList(Loader.java:2231)
>        at org.hibernate.loader.Loader.listIgnoreQueryCache
> (Loader.java:2125)
>        at org.hibernate.loader.Loader.list(Loader.java:2120)
>         at org.hibernate.loader.criteria.CriteriaLoader.list
> (CriteriaLoader.java:118)
>        at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1596)
>        at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:306)
>        at
> org.openmeetings.app.data.basic.Sessionmanagement.checkSession
> (Sessionmanagement.java:123)
>        at
> org.openmeetings.servlet.outputhandler.DownloadHandler.service
> (DownloadHandler.java:49)
>        at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 820)
>        at sun.reflect.GeneratedMethodAccessor365.invoke(Unknown
> Source)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.catalina.security.SecurityUtil$1.run
> (SecurityUtil.java:244)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at javax.security.auth.Subject.doAsPrivileged(Subject.java:
> 517)
>        at org.apache.catalina.security.SecurityUtil.execute
> (SecurityUtil.java:276)
>        at org.apache.catalina.security.SecurityUtil.doAsPrivilege
> (SecurityUtil.java:162)
>        at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:283)
>        at org.apache.catalina.core.ApplicationFilterChain.access$000
> (ApplicationFilterChain.java:56)
>        at org.apache.catalina.core.ApplicationFilterChain$1.run
> (ApplicationFilterChain.java:189)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:185)
>        at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:233)
>        at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:191)
>        at org.apache.catalina.authenticator.AuthenticatorBase.invoke
> (AuthenticatorBase.java:433)
>        at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:128)
>        at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:102)
>        at org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:568)
>        at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:109)
>        at org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:286)
>        at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:845)
>        at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
>        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
> (JIoEndpoint.java:447)
>         at java.lang.Thread.run(Thread.java:619)
> Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
> The last packet successfully received from the server was84254
> milliseconds ago.The last packet sent successfully to the server was
> 84254 milliseconds ago, which  is longer than the server configured
> value of 'wait_timeout'. You should consider either expiring and/or
> testing connection validity before use in your application, increasing
> the server configured values for client timeouts, or using the
> Connector/J connection property 'autoReconnect=true' to avoid this
> problem.
>        at sun.reflect.GeneratedConstructorAccessor63.newInstance
> (Unknown Source)
>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
> (DelegatingConstructorAccessorImpl.java:27)
>        at java.lang.reflect.Constructor.newInstance(Constructor.java:
> 513)
>        at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
>        at com.mysql.jdbc.SQLError.createCommunicationsException
> (SQLError.java:1074)
>        at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3270)
>        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1932)
>        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2101)
>        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:
> 2554)
>         at com.mysql.jdbc.PreparedStatement.executeInternal
> (PreparedStatement.java:1761)
>         at com.mysql.jdbc.PreparedStatement.executeQuery
> (PreparedStatement.java:1912)
>         at org.hibernate.jdbc.AbstractBatcher.getResultSet
> (AbstractBatcher.java:208)
>        at org.hibernate.loader.Loader.getResultSet(Loader.java:1808)
>        at org.hibernate.loader.Loader.doQuery(Loader.java:697)
>        at
> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections
> (Loader.java:259)
>        at org.hibernate.loader.Loader.doList(Loader.java:2228)
>         ... 33 common frames omitted
> Caused by: java.net.SocketException: Broken pipe
>         at java.net.SocketOutputStream.socketWrite0(Native Method)
>        at java.net.SocketOutputStream.socketWrite
> (SocketOutputStream.java:92)
>        at java.net.SocketOutputStream.write(SocketOutputStream.java:
> 136)
>        at java.io.BufferedOutputStream.flushBuffer
> (BufferedOutputStream.java:65)
>        at java.io.BufferedOutputStream.flush
> (BufferedOutputStream.java:123)
>         at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3251)
>        ... 43 common frames omitted
>
> >
>


-- 
Sebastian Wagner
http://www.webbase-design.de
http://openmeetings.googlecode.com
http://www.laszlo-forum.de
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenMeetings User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to