[
http://jira.jboss.com/jira/browse/JBAS-4986?page=all ]
Brian Stansberry resolved JBAS-4986.
------------------------------------
Resolution: Done
The start/stopChannelDebugger methods are part of the MBean interface of ClusterPartition,
so I don't want to remove this entirely in a point release (it's gone in AS 5).
But, to ease JGroups upgrades I've switched the usage of the Debugger class to use
reflection, so there is no longer any compile-time dependency. No runtime dependency
either unless you go out of your way to start the debugger via JMX console or something.
Remove compile-time dependency on Debugger from ClusterPartition
----------------------------------------------------------------
Key: JBAS-4986
URL:
http://jira.jboss.com/jira/browse/JBAS-4986
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: JBossAS-4.2.2.GA
Reporter: Torsten Werner
Assigned To: Brian Stansberry
Priority: Minor
Fix For: JBossAS-4.2.3.GA
When I try to build the subproject from source, I get the following error message. The
class org.jgroups.debug.Debugger is not available in jgroups 2.5 or 2.6.
1. ERROR in
/home/twerner/debian/build-area/jbossas4-4.2.2.GA/cluster/src/main/./org/jboss/ha/framework/server/ClusterPartition.java
(at line 49)
import org.jgroups.debug.Debugger;
^^^^^^^^^^^^^^^^^^^^^^^^^^
The import org.jgroups.debug.Debugger cannot be resolved
----------
2. ERROR in
/home/twerner/debian/build-area/jbossas4-4.2.2.GA/cluster/src/main/./org/jboss/ha/framework/server/ClusterPartition.java
(at line 100)
protected Debugger debugger=null;
^^^^^^^^
Debugger cannot be resolved to a type
----------
3. ERROR in
/home/twerner/debian/build-area/jbossas4-4.2.2.GA/cluster/src/main/./org/jboss/ha/framework/server/ClusterPartition.java
(at line 344)
if(use_debugger && debugger == null)
^^^^^^^^
debugger cannot be resolved
----------
4. ERROR in
/home/twerner/debian/build-area/jbossas4-4.2.2.GA/cluster/src/main/./org/jboss/ha/framework/server/ClusterPartition.java
(at line 346)
debugger=new Debugger(channel);
^^^^^^^^
debugger cannot be resolved
----------
5. ERROR in
/home/twerner/debian/build-area/jbossas4-4.2.2.GA/cluster/src/main/./org/jboss/ha/framework/server/ClusterPartition.java
(at line 346)
debugger=new Debugger(channel);
^^^^^^^^
Debugger cannot be resolved to a type
Cheers,
Torsten
--
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