tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Klop <ronald-mailingl...@base.nl>
Subject Re: error in clustering: NullPointerException at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength
Date Tue, 14 Jun 2011 10:23:22 GMT
Hi,

 I see the issue if solved in an upcoming version of Tomcat. Thank you very much for that.
But can I expect an upcoming version of Tomcat 6.0 in the not too distant future?
 At the tomcat-dev list I only see recent votings for 7.0.x.
 Who normally is the initiator of the 6.x release cycle?

 Ronald.


Op vrijdag, 10 juni 2011 13:03 schreef Ronald Klop <ronald-mailinglist@base.nl>:
> 
>   
>  
>  Hi,
>  
>    I'm running a 4 node cluster and seeing the same exception as described in this issue.
>    https://issues.apache.org/bugzilla/show_bug.cgi?id=51306
>  
>    What can I do to workaround it or what can I information can I provide to help?
>  
>    I'm running 6.0.32 with a securitymanager on Debian 5. Java version "1.6.0_22" from
debian sun-java pkgs.
>  
>    My clusterconfig is this:
>        <Engine name="Catalina" defaultHost="xxxx.xxxx.xxxx">
>          <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>                 resourceName="UserDatabase" />
>                    <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster">
>                            <Channel className="org.apache.catalina.tribes.group.GroupChannel">
>                                    <Membership className="org.apache.catalina.tribes.membership.McastService"
port="47727" />
>                            </Channel>
>                    </Cluster>
>  
>            <!-- Zorg dat de appBase regel direct na de 'Host name' regel staat -->
>            <Host name="xxxx.xxxx.xxxx"
>                    appBase="/data/webapps/xxx-xxx/deployed"
>                    unpackWARs="true" autoDeploy="false"
>                    xmlValidation="false" xmlNamespaceAware="true">
>            </Host>
>        </Engine>
>  
>    
>  
>    The exception from my catalina.out.
>  
>    Jun 10, 2011 11:08:52 AM org.apache.catalina.ha.session.DeltaManager messageReceived
>    SEVERE: Manager [crm.realworks.nl#]: Unable to receive message through TCP channel
>    java.lang.NullPointerException
>        at java.io.ObjectOutputStream$BlockDataOutputStream.getUTFLength(ObjectOutputStream.java:2106)
>        at java.io.ObjectOutputStream$BlockDataOutputStream.writeUTF(ObjectOutputStream.java:1977)
>        at java.io.ObjectOutputStream.writeUTF(ObjectOutputStream.java:849)
>        at org.apache.catalina.ha.session.DeltaRequest.writeExternal(DeltaRequest.java:267)
>        at org.apache.catalina.ha.session.DeltaRequest.serialize(DeltaRequest.java:287)
>        at org.apache.catalina.ha.session.DeltaManager.serializeDeltaRequest(DeltaManager.java:716)
>        at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:1224)
>        at org.apache.catalina.ha.session.DeltaSession.expire(DeltaSession.java:403)
>        at org.apache.catalina.ha.session.DeltaManager.handleSESSION_EXPIRED(DeltaManager.java:1546)
>        at org.apache.catalina.ha.session.DeltaManager.messageReceived(DeltaManager.java:1452)
>        at org.apache.catalina.ha.session.DeltaManager.messageDataReceived(DeltaManager.java:1173)
>        at org.apache.catalina.ha.session.ClusterSessionListener.messageReceived(ClusterSessionListener.java:92)
>        at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:901)
>        at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:882)
>        at org.apache.catalina.tribes.group.GroupChannel.messageReceived(GroupChannel.java:269)
>        at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
>        at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
>        at org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.messageReceived(TcpFailureDetector.java:110)
>        at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
>        at org.apache.catalina.tribes.group.ChannelCoordinator.messageReceived(ChannelCoordinator.java:241)
>        at org.apache.catalina.tribes.transport.ReceiverBase.messageDataReceived(ReceiverBase.java:225)
>        at org.apache.catalina.tribes.transport.nio.NioReplicationTask.drainChannel(NioReplicationTask.java:188)
>        at org.apache.catalina.tribes.transport.nio.NioReplicationTask.run(NioReplicationTask.java:91)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>        at java.lang.Thread.run(Thread.java:662)
>  
>    
>    Ronald.
>  
> 
> 
>  
> 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message