[
https://issues.jboss.org/browse/ISPN-2330?page=com.atlassian.jira.plugin....
]
Galder Zamarreño commented on ISPN-2330:
----------------------------------------
What's happening here is that the @Inject does not get called again when the cache is
restarted.
The base configuration population should really be happening in an @Start element.
@Inject should only cache the method parameters passed.
JBossMarshaller uses wrong class resolver after stop/start
----------------------------------------------------------
Key: ISPN-2330
URL:
https://issues.jboss.org/browse/ISPN-2330
Project: Infinispan
Issue Type: Bug
Components: Marshalling
Affects Versions: 5.1.4.FINAL
Reporter: Dennis Reed
Assignee: Galder Zamarreño
Labels: jdg, jdg6
Fix For: 5.2.0.CR1, 5.2.0.Final
org.infinispan.marshall.jboss.JBossMarshaller initializes the classResolver in its
inject() method and clears it in its stop() method.
If the cache is stopped and restarted (for example when redeploying a clustered web app
in EAP), the wrong class resolver is used.
Either the classResolver should not be removed in stop() (testing with it removed did not
show any class leaking issues), or it should be reset in start().
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira