Thanks for your replies.
Well I've actually gone through the forums and this issue was mentioned but no more
news about it
https://community.jboss.org/thread/195690
I just wondered if it could be somewhat related to WELD-831 which is also a Windows-env
issue.
Thanks anyway
Francesco
-----Original Message-----
From: Stuart Douglas [mailto:stuart.w.douglas@gmail.com]
Sent: mercoledì 13 febbraio 2013 0.30
To: FRANCESCO MARCHIONI
Cc: jboss-as7-dev(a)lists.jboss.org
Subject: Re: [jboss-as7-dev] WELD-831 Issue on EAP 6.0.1
This list is for discussion of AS7 development, it is not a place to ask for AS7 or EAP6
help. If you have an EAP subscription you should contact GSS for support, or alternatively
ask in the user forums.
WELD-831 was a NullPointerException, given that you are getting an IllegalStateException
it is unlikely they are related, but without seeing the full stack trace it is impossible
to see what is going on.
Stuart
FRANCESCO MARCHIONI wrote:
Hi all!
I'd like to provide some feedback about this issue:
_https://issues.jboss.org/browse/WELD-831_
As a matter of fact I had to test a basic CDI application with a
@SessionScoped Bean in a cluster.
package com.sample;
import java.io.Serializable;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
@Named
@SessionScoped
public class UserBean implements Serializable { int total; public void
sum() {
total++;
System.out.println("Total is "+total); } } The application is fronted
by an Apache 2.2 server running on a Win-Vista machine, therefore I've
defined the proxy-list statically in the mod_cluster configuration:
<subsystem xmlns="urn:jboss:domain:modcluster:1.1">
<mod-cluster-config advertise-socket="modcluster"
proxy-list="127.0.0.1:8888" sticky-session="true"
sticky-session-force="false" connector="ajp">
<dynamic-load-provider>
<load-metric type="busyness"/> </dynamic-load-provider>
</mod-cluster-config> </subsystem> When I shut down the server node
which has affinity to my session, I'm not able to failover to the
survivor node.
16:54:22,931 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host]]
(ajp-/127.0.0.1:8009-1) Exception sending request initialized
lifecycle event to listener instance of class org.jboss.weld.servlet.WeldListener:
java.lang.IllegalStateException: Error restoring serialized contextual
with id
org.jboss.weld.bean-jsf.war/C:/EAP/EAP-6.0.1/NodeB/jboss-eap-6.0/stand
alone/deployments/jsf.war/WEB-INF/classes-ManagedBean-class
com.sample.UserBean
The same application, using JSF annotations
(javax.faces.bean.SessionScoped), works fine.
The tested environment is EAP 6.0.1 (AS 7.1.2) Is there any workaround
for this issue ?
Thanks
Francesco
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev