You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/02/12 18:57:49 UTC

DO NOT REPLY [Bug 41595] New: - java.io.NotSerializableException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41595

           Summary: java.io.NotSerializableException:
                    org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardC
                    onnectionWrapper
           Product: Tomcat 5
           Version: 5.5.16
          Platform: HP
               URL: NOT PUBLIC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina:Cluster
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: osegarra@gencat.net
                CC: osegarra@gencat.net


We have Production and developement environments whith the same version of 
apache-tomcat, jk and openssl versions. In our developement environment (PC 
i686 based) we do not have any problem but the same application in production 
environments raises this error. Is there any solution or workarroun ?

Of course all session variables implement serializable.

12/02/2007 18:05:30 org.apache.catalina.cluster.session.DeltaManager 
requestCompleted
SEVERE: Unable to serialize delta request for sessionid 
[2A003931BCFFD4524F86A4B0797B80DF.workerW12]
java.io.NotSerializableException: 
org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper
	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
	at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
	at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
	at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
	at java.io.ObjectOutputStream.writeObject0(Unknown Source)
	at java.io.ObjectOutputStream.writeObject(Unknown Source)
	at 
org.apache.catalina.cluster.session.DeltaRequest$AttributeInfo.writeExternal
(DeltaRequest.java:346)
	at org.apache.catalina.cluster.session.DeltaRequest.writeExternal
(DeltaRequest.java:263)
	at org.apache.catalina.cluster.session.DeltaManager.unloadDeltaRequest
(DeltaManager.java:710)
	at org.apache.catalina.cluster.session.DeltaManager.requestCompleted
(DeltaManager.java:1293)
	at org.apache.catalina.cluster.tcp.ReplicationValve.send
(ReplicationValve.java:543)
	at org.apache.catalina.cluster.tcp.ReplicationValve.sendMessage
(ReplicationValve.java:530)
	at 
org.apache.catalina.cluster.tcp.ReplicationValve.sendSessionReplicationMessage
(ReplicationValve.java:512)
	at 
org.apache.catalina.cluster.tcp.ReplicationValve.sendReplicationMessage
(ReplicationValve.java:427)
	at org.apache.catalina.cluster.tcp.ReplicationValve.invoke
(ReplicationValve.java:361)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
	at org.apache.catalina.authenticator.SingleSignOn.invoke
(SingleSignOn.java:392)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
	at org.apache.coyote.ajp.AjpAprProcessor.process
(AjpAprProcessor.java:425)
	at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process
(AjpAprProtocol.java:452)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run
(AprEndpoint.java:1196)
	at java.lang.Thread.run(Unknown Source)
12/02/2007 18:06:14 org.apache.struts.action.RequestProcessor process

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41595] - java.io.NotSerializableException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41595


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2007-02-12 17:55 -------
Bugzilla is not a support forum. If you need more guidance than comment 1
provides, please use the tomcat users mailing list.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41595] - java.io.NotSerializableException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41595





------- Additional Comments From shankarunni@netscape.net  2007-02-12 15:11 -------
Either disable session serialization (especially if you're *not* failing
sessions over between tomcat's), or don't put a Connection into the session.

If you have a Connection in the session, you obviously can't just serialize it
to the failover server..

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41595] - java.io.NotSerializableException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41595


osegarra@gencat.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From osegarra@gencat.net  2007-02-13 00:33 -------
(In reply to comment #1)

Thanks for your quick response. We need to enable serialization because our 
cluster tomcat needs to failover over the other apache (we have a two node 
cluster).

I have talked with our programmer and he has asured that because of this errors 
he has taken out the connection from the session and now it is not in the 
session.

In our developement environmet it works perfectly but in our production 
environment it does not work.

Thanks in advance.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 41595] - java.io.NotSerializableException: org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWrapper

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41595>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41595


markt@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From markt@apache.org  2007-02-15 15:54 -------
You won't see this exception unless you put the Connection in the session.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org