java ee - After upgrade WildFly 8.2.1 to 10.0.0 "WELD-001304: More than one context active for scope type javax.enterprise.context.SessionScoped" -
i have web application working fine on our machines, , fine on many different installations. 1 customer have strange problems , not have idea reasons.
environment:
- wildfly 10.0.0
- own ear java 8
- ui jsf/richfaces.
- jpa postgres 9.6.2-3
- windows
- browser: firefox , internet explorer
problem:
the customer did not had problems older version, using wildfly 8.2.1 , postgres 9.3. since update 10.0.0, 1 of 3 servers produces 500 error messages in browser, based on exceptions:
2017-07-20 15:14:40,642 error [io.undertow.request] (default task-43) ut005023: exception handling request /ws/elresolver: org.jboss.weld.exceptions.illegalstateexception: weld-001304: more 1 context active scope type javax.enterprise.context.sessionscoped @ org.jboss.weld.manager.beanmanagerimpl.internalgetcontext(beanmanagerimpl.java:720) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.weld.manager.beanmanagerimpl.getcontext(beanmanagerimpl.java:687) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.weld.bean.contextualinstancestrategy$defaultcontextualinstancestrategy.get(contextualinstancestrategy.java:95) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.weld.bean.contextualinstancestrategy$cachingcontextualinstancestrategy.get(contextualinstancestrategy.java:178) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.weld.bean.contextualinstance.get(contextualinstance.java:50) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.weld.manager.beanmanagerimpl.getreference(beanmanagerimpl.java:742) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.weld.el.abstractweldelresolver.lookup(abstractweldelresolver.java:107) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.weld.el.abstractweldelresolver.getvalue(abstractweldelresolver.java:90) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ org.jboss.as.jsf.injection.weld.forwardingelresolver.getvalue(forwardingelresolver.java:46) [wildfly-jsf-injection-8.1.0.final.jar:8.1.0.final] @ javax.el.compositeelresolver.getvalue(compositeelresolver.java:188) [jboss-el-api_3.0_spec-1.0.5.final.jar:1.0.5.final] @ com.sun.faces.el.demuxcompositeelresolver._getvalue(demuxcompositeelresolver.java:176) [jsf-impl-2.1.7-patched-by-ov.jar:] @ com.sun.faces.el.demuxcompositeelresolver.getvalue(demuxcompositeelresolver.java:203) [jsf-impl-2.1.7-patched-by-ov.jar:] @ com.sun.el.parser.astidentifier.getvalue(astidentifier.java:116) [javax.el-impl-3.0.1-b08-jbossorg-1.jar:3.0.1-b08-jbossorg-1] @ com.sun.el.parser.astvalue.getbase(astvalue.java:150) [javax.el-impl-3.0.1-b08-jbossorg-1.jar:3.0.1-b08-jbossorg-1] @ com.sun.el.parser.astvalue.getvalue(astvalue.java:199) [javax.el-impl-3.0.1-b08-jbossorg-1.jar:3.0.1-b08-jbossorg-1] @ com.sun.el.valueexpressionimpl.getvalue(valueexpressionimpl.java:226) [javax.el-impl-3.0.1-b08-jbossorg-1.jar:3.0.1-b08-jbossorg-1] @ org.jboss.weld.el.weldvalueexpression.getvalue(weldvalueexpression.java:50) [weld-core-impl-2.3.2.final.jar:2.3.2.final] @ com.sun.faces.application.applicationimpl.evaluateexpressionget(applicationimpl.java:430) [jsf-impl-2.1.7-patched-by-ov.jar:] @ org.jboss.as.jsf.injection.weld.forwardingapplication.evaluateexpressionget(forwardingapplication.java:170) [wildfly-jsf-injection-8.1.0.final.jar:8.1.0.final] ...
the problem did disappear on 1 server after time appeared on server 1 day later! until now, there no pattern visible reasons are. have no idea how reproduce on machine.
question:
has idea reason such error? not think, code issue because working on many other installations. belief there special in network there, have no idea what. tried check issues caused virus scanner or proxy server, found nothing far.
searching weld-001304 error find special cases old software components seem happen time.
Comments
Post a Comment