[jboss-jira] [JBoss JIRA] Resolved: (JBAS-4539) Modify HA-JNDI not to leak JBoss Cache CacheException
Jerry Gauthier (JIRA)
jira-events at lists.jboss.org
Wed Jul 25 16:38:52 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAS-4539?page=all ]
Jerry Gauthier resolved JBAS-4539.
----------------------------------
Fix Version/s: JBossAS-5.0.0.Beta3
(was: JBossAS-5.0.0.CR1)
Resolution: Done
Modified TreeHead.java as suggested to eliminate leakage of CacheException to remote clients.
> Modify HA-JNDI not to leak JBoss Cache CacheException
> -----------------------------------------------------
>
> Key: JBAS-4539
> URL: http://jira.jboss.com/jira/browse/JBAS-4539
> Project: JBoss Application Server
> Issue Type: Task
> Security Level: Public(Everyone can see)
> Components: Clustering
> Reporter: Brian Stansberry
> Assigned To: Jerry Gauthier
> Fix For: JBossAS-5.0.0.Beta3
>
>
> JBoss Cache will likely not be on a remote HA-JNDI client's classpath. So, need to ensure CacheException doesn't leak to the client via exception chaining.
> Use:
> NamingException ne = new NamingException(ce.getClass().getName() + " " + ce.getMessage());
> ne.setStackTrace(ce.getStackTrace());
> throw ne;
> Not:
> throw new NamingException(ce);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list