mc4j-development Mailing List for MC4J JMX Console (Page 9)
Brought to you by:
ghinkl
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(5) |
Nov
(1) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(2) |
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
(4) |
Jul
(13) |
Aug
(5) |
Sep
(12) |
Oct
(5) |
Nov
(13) |
Dec
(8) |
2004 |
Jan
(2) |
Feb
(15) |
Mar
(15) |
Apr
(32) |
May
(26) |
Jun
(9) |
Jul
(8) |
Aug
(3) |
Sep
(16) |
Oct
(14) |
Nov
(7) |
Dec
(11) |
2005 |
Jan
(9) |
Feb
(3) |
Mar
(6) |
Apr
(1) |
May
(4) |
Jun
(7) |
Jul
(2) |
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(3) |
Dec
(1) |
2006 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2007 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2004-03-16 07:50:50
|
Bugs item #916667, was opened at 2004-03-15 06:43 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=916667&group_id=60228 Category: Connections Group: MC4J 1.2b1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ClassCastException Initial Comment: Created MBeanServer with ID: 1e4cbc4:fb4ef2d33c:- 8000:1096782-D:1 RMIConnectorServer started at: service:jmx:rmi://localhost/jndi/jrmp When trying to connect to server via MC4J (V1.2) the following error occurs: A java.lang.ClassCastException exception has occurred. java.lang.ClassCastException at mx4j.rmi.jrmp.JRMPConnector.narrow (JRMPConnector.java:) The connection properties are: Initial Context Factory: com.sun.jndi.rmi.registry.RegistryContextFactory JNDI Name: jmrp Server URL: rmi://localhost:1099 Connection Type: MX4J Source Code: import java.io.IOException; import java.net.MalformedURLException; import java.util.HashMap; import java.util.Map; import javax.management.InstanceAlreadyExistsException; import javax.management.InstanceNotFoundException; import javax.management.MBeanException; import javax.management.MBeanRegistrationException; import javax.management.MBeanServer; import javax.management.MBeanServerFactory; import javax.management.MalformedObjectNameException; import javax.management.NotCompliantMBeanException; import javax.management.ObjectName; import javax.management.ReflectionException; import javax.management.remote.JMXConnectorServer; import javax.management.remote.JMXConnectorServerFactory; import javax.management.remote.JMXServiceURL; import javax.naming.Context; /** * @author Michael Behnck */ public class JMXConn { public static void main(String[] args) { // Create a MBeanServer MBeanServer server = MBeanServerFactory.createMBeanServer(); try { // Create and start the naming service ObjectName naming = new ObjectName("Naming:type=rmiregistry"); server.createMBean ("mx4j.tools.naming.NamingService", naming, null); server.invoke (naming, "start", null, null); } catch (InstanceAlreadyExistsException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MBeanRegistrationException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (NotCompliantMBeanException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (InstanceNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ReflectionException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MBeanException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MalformedObjectNameException e) { // TODO Auto-generated catch block e.printStackTrace(); } JMXServiceURL address = null; try { // The address of the connector address = new JMXServiceURL("rmi", "localhost", 0, "/jndi/jrmp"); } catch (MalformedURLException e2) { // TODO Auto-generated catch block e2.printStackTrace(); } // Initial Context and Provider URL Map environment = new HashMap(); environment.put (Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.rmi.r egistry.RegistryContextFactory"); environment.put (Context.PROVIDER_URL, "rmi://localhost:1099"); JMXConnectorServer cntorServer; try { // Create and start the JMXConnectorServer cntorServer = JMXConnectorServerFactory.newJMXConnectorServer (address, environment, server); cntorServer.start(); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } } Thank you, Michael Behnck ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-03-15 23:50 Message: Logged In: NO So what would I have to do in order to make a "JSR-160" connection with MC4J (what I'm supposed to do). Everything's working fine when using the MX4J 1.1 RMI connector (JRMP adaptor). Cheers, Michael ---------------------------------------------------------------------- Comment By: Greg Hinkle (ghinkl) Date: 2004-03-15 17:53 Message: Logged In: YES user_id=773314 It looks like your creating a JSR-160 style adaptor and then trying to connect the proprietary mx4j 1.1 rmi connector to it. You want to select "JSR-160" from the connection type in MC4J for this type of connection. (I suppose this is now misleading now that MX4J support JSR-160 style service adaptors. I'll have to fix that.hu) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=916667&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-16 01:54:01
|
Bugs item #916667, was opened at 2004-03-15 09:43 Message generated for change (Comment added) made by ghinkl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=916667&group_id=60228 Category: Connections Group: MC4J 1.2b1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ClassCastException Initial Comment: Created MBeanServer with ID: 1e4cbc4:fb4ef2d33c:- 8000:1096782-D:1 RMIConnectorServer started at: service:jmx:rmi://localhost/jndi/jrmp When trying to connect to server via MC4J (V1.2) the following error occurs: A java.lang.ClassCastException exception has occurred. java.lang.ClassCastException at mx4j.rmi.jrmp.JRMPConnector.narrow (JRMPConnector.java:) The connection properties are: Initial Context Factory: com.sun.jndi.rmi.registry.RegistryContextFactory JNDI Name: jmrp Server URL: rmi://localhost:1099 Connection Type: MX4J Source Code: import java.io.IOException; import java.net.MalformedURLException; import java.util.HashMap; import java.util.Map; import javax.management.InstanceAlreadyExistsException; import javax.management.InstanceNotFoundException; import javax.management.MBeanException; import javax.management.MBeanRegistrationException; import javax.management.MBeanServer; import javax.management.MBeanServerFactory; import javax.management.MalformedObjectNameException; import javax.management.NotCompliantMBeanException; import javax.management.ObjectName; import javax.management.ReflectionException; import javax.management.remote.JMXConnectorServer; import javax.management.remote.JMXConnectorServerFactory; import javax.management.remote.JMXServiceURL; import javax.naming.Context; /** * @author Michael Behnck */ public class JMXConn { public static void main(String[] args) { // Create a MBeanServer MBeanServer server = MBeanServerFactory.createMBeanServer(); try { // Create and start the naming service ObjectName naming = new ObjectName("Naming:type=rmiregistry"); server.createMBean ("mx4j.tools.naming.NamingService", naming, null); server.invoke (naming, "start", null, null); } catch (InstanceAlreadyExistsException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MBeanRegistrationException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (NotCompliantMBeanException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (InstanceNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ReflectionException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MBeanException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MalformedObjectNameException e) { // TODO Auto-generated catch block e.printStackTrace(); } JMXServiceURL address = null; try { // The address of the connector address = new JMXServiceURL("rmi", "localhost", 0, "/jndi/jrmp"); } catch (MalformedURLException e2) { // TODO Auto-generated catch block e2.printStackTrace(); } // Initial Context and Provider URL Map environment = new HashMap(); environment.put (Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.rmi.r egistry.RegistryContextFactory"); environment.put (Context.PROVIDER_URL, "rmi://localhost:1099"); JMXConnectorServer cntorServer; try { // Create and start the JMXConnectorServer cntorServer = JMXConnectorServerFactory.newJMXConnectorServer (address, environment, server); cntorServer.start(); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } } Thank you, Michael Behnck ---------------------------------------------------------------------- >Comment By: Greg Hinkle (ghinkl) Date: 2004-03-15 20:53 Message: Logged In: YES user_id=773314 It looks like your creating a JSR-160 style adaptor and then trying to connect the proprietary mx4j 1.1 rmi connector to it. You want to select "JSR-160" from the connection type in MC4J for this type of connection. (I suppose this is now misleading now that MX4J support JSR-160 style service adaptors. I'll have to fix that.hu) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=916667&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-15 17:24:58
|
Bugs item #916667, was opened at 2004-03-15 06:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=916667&group_id=60228 Category: Connections Group: MC4J 1.2b1 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: ClassCastException Initial Comment: Created MBeanServer with ID: 1e4cbc4:fb4ef2d33c:- 8000:1096782-D:1 RMIConnectorServer started at: service:jmx:rmi://localhost/jndi/jrmp When trying to connect to server via MC4J (V1.2) the following error occurs: A java.lang.ClassCastException exception has occurred. java.lang.ClassCastException at mx4j.rmi.jrmp.JRMPConnector.narrow (JRMPConnector.java:) The connection properties are: Initial Context Factory: com.sun.jndi.rmi.registry.RegistryContextFactory JNDI Name: jmrp Server URL: rmi://localhost:1099 Connection Type: MX4J Source Code: import java.io.IOException; import java.net.MalformedURLException; import java.util.HashMap; import java.util.Map; import javax.management.InstanceAlreadyExistsException; import javax.management.InstanceNotFoundException; import javax.management.MBeanException; import javax.management.MBeanRegistrationException; import javax.management.MBeanServer; import javax.management.MBeanServerFactory; import javax.management.MalformedObjectNameException; import javax.management.NotCompliantMBeanException; import javax.management.ObjectName; import javax.management.ReflectionException; import javax.management.remote.JMXConnectorServer; import javax.management.remote.JMXConnectorServerFactory; import javax.management.remote.JMXServiceURL; import javax.naming.Context; /** * @author Michael Behnck */ public class JMXConn { public static void main(String[] args) { // Create a MBeanServer MBeanServer server = MBeanServerFactory.createMBeanServer(); try { // Create and start the naming service ObjectName naming = new ObjectName("Naming:type=rmiregistry"); server.createMBean ("mx4j.tools.naming.NamingService", naming, null); server.invoke (naming, "start", null, null); } catch (InstanceAlreadyExistsException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MBeanRegistrationException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (NotCompliantMBeanException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (InstanceNotFoundException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (ReflectionException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MBeanException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (MalformedObjectNameException e) { // TODO Auto-generated catch block e.printStackTrace(); } JMXServiceURL address = null; try { // The address of the connector address = new JMXServiceURL("rmi", "localhost", 0, "/jndi/jrmp"); } catch (MalformedURLException e2) { // TODO Auto-generated catch block e2.printStackTrace(); } // Initial Context and Provider URL Map environment = new HashMap(); environment.put (Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.rmi.r egistry.RegistryContextFactory"); environment.put (Context.PROVIDER_URL, "rmi://localhost:1099"); JMXConnectorServer cntorServer; try { // Create and start the JMXConnectorServer cntorServer = JMXConnectorServerFactory.newJMXConnectorServer (address, environment, server); cntorServer.start(); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } } } Thank you, Michael Behnck ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=916667&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-13 05:47:45
|
Bugs item #915072, was opened at 2004-03-12 10:47 Message generated for change (Comment added) made by ghinkl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=915072&group_id=60228 Category: Visual Group: MC4J 1.2b4 Status: Open Resolution: None >Priority: 7 Submitted By: Christian Schweer (holbitlan) >Assigned to: Greg Hinkle (ghinkl) Summary: properties window freezes sometimes Initial Comment: I regularly have the problem, that the properties window is locked on the property of an attribute that I have changed. I.e. it doesn't change to the properties of another node, if that other node is selected in the explorer view. Only exiting and restarting mc4j works. Unfortunately I can't reproduce the symptom with a concrete step sequence - it just happens reguarly. The only thing I observed was, that I had a graph running on the attribute I was changing. Has anyone experienced the same or even reproduce the bug? BTW: I'm using mx4j2.0beta1 and the JSR160-Connector... ---------------------------------------------------------------------- >Comment By: Greg Hinkle (ghinkl) Date: 2004-03-13 00:47 Message: Logged In: YES user_id=773314 I've seen this as well. It was a known NetBeans Platform bug that they thought was corrected. I'm following up with the NB list to try and fix this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=915072&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-12 16:06:01
|
Bugs item #915072, was opened at 2004-03-12 16:47 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=915072&group_id=60228 Category: Visual Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Christian Schweer (holbitlan) Assigned to: Nobody/Anonymous (nobody) Summary: properties window freezes sometimes Initial Comment: I regularly have the problem, that the properties window is locked on the property of an attribute that I have changed. I.e. it doesn't change to the properties of another node, if that other node is selected in the explorer view. Only exiting and restarting mc4j works. Unfortunately I can't reproduce the symptom with a concrete step sequence - it just happens reguarly. The only thing I observed was, that I had a graph running on the attribute I was changing. Has anyone experienced the same or even reproduce the bug? BTW: I'm using mx4j2.0beta1 and the JSR160-Connector... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=915072&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-12 09:20:49
|
Bugs item #914838, was opened at 2004-03-12 10:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=914838&group_id=60228 Category: MBean Support Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Christian Schweer (holbitlan) Assigned to: Nobody/Anonymous (nobody) Summary: MBean displayed duplicate Initial Comment: When I connect to a JSR160 agent with mc4j 1.2b4, some mbean are displayed duplicate. E.g. I deployed one (!) HelloWorld MBean and the bean is shown twice in mc4j. If I disconnect from the agent and reconnect again, the number of displayed mbean is correct! Steps to reproduce: 1. startup JSR160-agent (I'm using mx4j2.0beta1) 2. deploy 2 MBeans at startup 3. start a new (!) mc4j and connect to mx4j Expected result: 2 different beans are shown under my domain Actual result: 3 beans are shown (1 bean is shown twice). Disconnect from mx4j and reconnect without exiting mc4j -> the expected result is reached. Sometimes even my domain is doubled... but I can't reproduce this reliably ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=914838&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-05 02:54:07
|
Bugs item #910228, was opened at 2004-03-04 21:39 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=910228&group_id=60228 Category: Connections Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 7 Submitted By: Greg Hinkle (ghinkl) Assigned to: Nobody/Anonymous (nobody) Summary: Server calls from Event thread Initial Comment: There is still at least one place that is making server calls from the event thread leading to possible lockup on server/network problem. All of these places must be found and fixed. The known places are the property editors. They are going to have to be based on current node property values with only asynchronous updates. The graphs have been fixed in cvs. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=910228&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-02 08:45:03
|
Bugs item #908165, was opened at 2004-03-02 08:32 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=908165&group_id=60228 Category: Connections Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Philippe Mouawad (pmouawad) Assigned to: Nobody/Anonymous (nobody) Summary: JSR160 Wizard is bugged Initial Comment: The wizard discards the InitialContext, the user, password. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=908165&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-02 08:42:03
|
Bugs item #908162, was opened at 2004-03-02 08:29 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=908162&group_id=60228 Category: Connections Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Philippe Mouawad (pmouawad) Assigned to: Nobody/Anonymous (nobody) Summary: Connection to JSR160 fails Initial Comment: Sorry I forgot to join the file. Philippe Mouawad. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=908162&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-01 17:24:44
|
Bugs item #907686, was opened at 2004-03-01 09:12 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=907686&group_id=60228 Category: Connections Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: New Connection doesn't allow input of InitialContext, Creden Initial Comment: When you create a new JSR160 Connection, you can't enter the InitialContextFactory, nor the credentials. I corrected these points. Philippe Mouawad. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=907686&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-01 17:22:37
|
Bugs item #907681, was opened at 2004-03-01 09:05 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=907681&group_id=60228 Category: Connections Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Connection to JSR160 fails Initial Comment: The connection doesn't take into account the properties InitialContextFactory, Nor credentials. Authentication fails. I corrected these 2 points. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2004-03-01 09:10 Message: Logged In: NO I forgot my name: Philippe Mouawad. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=907681&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-03-01 17:17:48
|
Bugs item #907681, was opened at 2004-03-01 09:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=907681&group_id=60228 Category: Connections Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Connection to JSR160 fails Initial Comment: The connection doesn't take into account the properties InitialContextFactory, Nor credentials. Authentication fails. I corrected these 2 points. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=907681&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-02-25 20:27:44
|
Bugs item #857346, was opened at 2003-12-09 23:57 Message generated for change (Comment added) made by ghinkl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=857346&group_id=60228 Category: None Group: MC4J 1.2b3 >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Greg Hinkle (ghinkl) Summary: WindowsAPI is required to be called from AWT thread only Initial Comment: ... when building from source code. Buildfile: build.xml run: [echo] Starting MC4J [java] ------------------------------------------------------------------------------- [java] >Log Session: Tuesday, December 9, 2003 11:48:15 PM EST [java] >System Info: [java] Product Version = MC4J 1.2 [java] Operating System = Windows 2000 version 5.0 running on x86 [java] Java; VM; Vendor = 1.4.2_01; Java HotSpot(TM) Client VM 1.4.2_01-b06; Sun Microsystems Inc. [java] Java Home = C:j2sdk1.4.2_01jre [java] System Locale; Encod. = en_US (mc4j); Cp1252 [java] Home Dir; Current Dir = C:Documents and Settingsoot; C:projectsmc4japplicationmc4j [java] IDE Install; User Dir = c:/projects/mc4j/application/mc4j; C:Documents and Settingsoot.mc4j.2b3 [java] CLASSPATH = C:projectsmc4japplicationmc4jlibextoot.jar [java] Boot & ext classpath = C:j2sdk1.4.2_01jrelibt.jar;C:j2sdk1.4.2_01jrelibi18n.jar;C:j2sdk1.4.2_ ibextsunjce_provider.jar;C:j2sdk1.4.2_01jrelibextdnsns.jar;C:j2sdk1.4.2_01jrelibextldapsec.jar;C:j2sdk1.4 [java] Dynamic classpath = c:projectsmc4japplicationmc4jlibpatchesMc4jBranding.jar;c:projectsmc4j [java] ------------------------------------------------------------------------------- [java] [org.netbeans.core.modules #4] Warning - had to add recursive class loader dependencies for module org.mc4 [java] Restoring mc4j connection panel [java] INFORMATIONAL *********** Exception occurred ************ at Tue Dec 09 23:48:23 EST 2003 [java] [catch]java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thr [java] at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:87 [java] at org.netbeans.core.windows.WindowManagerImpl.getCurrentWorkspace(WindowManagerImpl.java:176) [java] at org.mc4j.console.install.Mc4jInstall.getInstalledExplorer(Mc4jInstall.java:72) [java] at org.mc4j.console.install.Mc4jInstall.restored(Mc4jInstall.java:107) [java] at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java:354) [java] at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:263) [java] at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:861) [java] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:552) [java] at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:487) [java] at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:301) [java] at org.netbeans.core.NonGui.run(NonGui.java:342) [java] at org.netbeans.core.Main.run(Main.java:271) [java] at org.netbeans.core.NbTopManager.getNbTopManager(NbTopManager.java:231) [java] at org.netbeans.core.NbTopManager.get(NbTopManager.java:190) [java] at org.netbeans.core.Main.start(Main.java:460) [java] at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:86) [java] at java.lang.Thread.run(Thread.java:534) [java] *********** Exception occurred ************ at Tue Dec 09 23:48:23 EST 2003 [java] java.lang.NullPointerException [java] at org.mc4j.console.install.Mc4jInstall.getInstalledExplorer(Mc4jInstall.java:75) [java] [catch] at org.mc4j.console.install.Mc4jInstall.restored(Mc4jInstall.java:107) [java] at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java:354) [java] at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:263) [java] at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:861) [java] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:552) [java] at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:487) [java] at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:301) [java] at org.netbeans.core.NonGui.run(NonGui.java:342) [java] at org.netbeans.core.Main.run(Main.java:271) [java] at org.netbeans.core.NbTopManager.getNbTopManager(NbTopManager.java:231) [java] Building new mc4j connection panel [java] at org.netbeans.core.NbTopManager.get(NbTopManager.java:190) [java] at org.netbeans.core.Main.start(Main.java:460) [java] at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:86) [java] at java.lang.Thread.run(Thread.java:534) [java] INFORMATIONAL *********** Exception occurred ************ at Tue Dec 09 23:48:25 EST 2003 [java] [catch]java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thr [java] at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:87 [java] at org.netbeans.core.windows.WindowManagerImpl.topComponentDisplayNameChanged(WindowManagerImpl.java:7 [java] at org.openide.windows.TopComponent.setName(TopComponent.java:508) [java] at org.mc4j.console.swing.ExtendedExplorerPanel.setName(ExtendedExplorerPanel.java:129) [java] at org.mc4j.console.install.Mc4jInstall.restored(Mc4jInstall.java:118) [java] at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java:354) [java] at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:263) [java] at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:861) [java] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:552) [java] at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:487) [java] at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:301) [java] at org.netbeans.core.NonGui.run(NonGui.java:342) [java] at org.netbeans.core.Main.run(Main.java:271) [java] at org.netbeans.core.NbTopManager.getNbTopManager(NbTopManager.java:231) [java] at org.netbeans.core.NbTopManager.get(NbTopManager.java:190) [java] at org.netbeans.core.Main.start(Main.java:460) [java] at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:86) [java] at java.lang.Thread.run(Thread.java:534) [java] INFORMATIONAL *********** Exception occurred ************ at Tue Dec 09 23:48:25 EST 2003 [java] [catch]java.lang.IllegalStateException: Assertion failed. WindowsAPI is required to be called from AWT thr [java] at org.netbeans.core.windows.WindowManagerImpl.assertEventDispatchThreadWeak(WindowManagerImpl.java:87 [java] at org.netbeans.core.windows.WindowManagerImpl.getCurrentWorkspace(WindowManagerImpl.java:176) [java] at org.mc4j.console.install.Mc4jInstall.restored(Mc4jInstall.java:121) [java] at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java:354) [java] at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:263) [java] at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:861) [java] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:552) [java] at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:487) [java] at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:301) [java] at org.netbeans.core.NonGui.run(NonGui.java:342) [java] at org.netbeans.core.Main.run(Main.java:271) [java] at org.netbeans.core.NbTopManager.getNbTopManager(NbTopManager.java:231) [java] at org.netbeans.core.NbTopManager.get(NbTopManager.java:190) [java] at org.netbeans.core.Main.start(Main.java:460) [java] at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:86) [java] at java.lang.Thread.run(Thread.java:534) [java] [org.netbeans.core.modules] *********** Exception occurred ************ at Tue Dec 09 23:48:25 EST 2003 [java] java.lang.NullPointerException [java] at org.mc4j.console.install.Mc4jInstall.restored(Mc4jInstall.java:124) [java] at org.netbeans.core.modules.NbInstaller.loadCode(NbInstaller.java:354) [java] [catch] at org.netbeans.core.modules.NbInstaller.load(NbInstaller.java:263) [java] at org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:861) [java] at org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:552) [java] at org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:487) [java] at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:301) [java] at org.netbeans.core.NonGui.run(NonGui.java:342) [java] at org.netbeans.core.Main.run(Main.java:271) [java] at org.netbeans.core.NbTopManager.getNbTopManager(NbTopManager.java:231) [java] at org.netbeans.core.NbTopManager.get(NbTopManager.java:190) [java] at org.netbeans.core.Main.start(Main.java:460) [java] at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:86) [java] at java.lang.Thread.run(Thread.java:534) [java] Turning on modules: [java] org.openide/1 [4.15 200312071900] [java] org.netbeans.lib.terminalemulator [1.1 200312071900] [java] org.openide.loaders [4.11 200312071900] [java] org.netbeans.core/1 [1.19 200312071900] [java] org.netbeans.core.windows/2 [2.0 200312071900] [java] org.openide.io [1.1 200312071900] [java] org.netbeans.core.output/1 [1.1 200312071900] [java] org.mc4j.console.mc4j [1.3.0 1.3.0] [java] org.netbeans.modules.text/1 [1.12 200312071900] [java] org.netbeans.core.ui/1 [1.3 200312071900] [java] org.netbeans.modules.autoupdate/1 [2.8 200312071900] BUILD SUCCESSFUL ---------------------------------------------------------------------- >Comment By: Greg Hinkle (ghinkl) Date: 2004-02-25 15:16 Message: Logged In: YES user_id=773314 Updated all the window system calls to run from the event thread and tested against the latest nightly platform builds. Also had to upgrade some installation and other APIs for the latest builds. Released in 1.2b4. ---------------------------------------------------------------------- Comment By: Greg Hinkle (ghinkl) Date: 2003-12-10 15:57 Message: Logged In: YES user_id=773314 Hmm... It seems the netbeans platform guys altered some of the core api's (deprecating workspaces). Thats the problem with building against development releases I guess. The 3.5.1 platform release should work with the current code base though. The Nov-14 Q-Build should also work. I'll look into removing the workspace dependencies though. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=857346&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-02-25 20:25:57
|
Bugs item #904485, was opened at 2004-02-25 14:43 Message generated for change (Comment added) made by ghinkl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=904485&group_id=60228 Category: Connections Group: MC4J 1.2b4 >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Greg Hinkle (ghinkl) Assigned to: Greg Hinkle (ghinkl) Summary: Server select dialog wrong type on OS X Initial Comment: The two dialogs in the connection wizard, the first for selecting the server install, the second for selecting additional libraries, display as Save dialogs instead of open dialogs. This only occurs on OS X. ---------------------------------------------------------------------- >Comment By: Greg Hinkle (ghinkl) Date: 2004-02-25 15:14 Message: Logged In: YES user_id=773314 Not sure why the showDialog defaults to an open dialog on windows and a save dialog on os x. Added platform workaround. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=904485&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-02-25 20:24:46
|
Bugs item #901211, was opened at 2004-02-20 12:22 Message generated for change (Comment added) made by ghinkl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=901211&group_id=60228 Category: Connections >Group: MC4J 1.2b4 >Status: Pending >Resolution: Fixed Priority: 5 Submitted By: Matthew L Daniel (mdaniel) >Assigned to: Greg Hinkle (ghinkl) Summary: IllegalArgumentException Initial Comment: Whilst trying to connect to JBoss/3.0.7 (yes, I know it's not supported, but I don't think it should throw IAE) using MC4J 1.2 beta 4, Win2K, Sun JVM 1.4.2-b28 ------ java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "/C" at java.net.URLDecoder.decode(URLDecoder.java:168) at java.net.URLDecoder.decode(URLDecoder.java:82) at org.mc4j.console.bean.MBeanNode.setDisplayName(MBeanNode.java:130) at org.mc4j.console.bean.MBeanNode.<init>(MBeanNode.java:123) at org.mc4j.console.connection.ConnectionNode.addMBean(ConnectionNode.java:235) at org.mc4j.console.connection.ConnectionNode.loadConnectionNodeChildren(ConnectionNode.java:190) at org.mc4j.console.connection.ConnectionNode.refresh(ConnectionNode.java:369) at org.mc4j.console.connection.DomainNodes.exposeDomains(DomainNodes.java:56) at org.mc4j.console.connection.DomainNodes.run(DomainNodes.java:47) [catch] at java.lang.Thread.run(Thread.java:534) ---------------------------------------------------------------------- >Comment By: Greg Hinkle (ghinkl) Date: 2004-02-25 15:13 Message: Logged In: YES user_id=773314 Fixed for next release. Won't assume all component names can be properly decoded. (tested for jboss 3.0.8) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=901211&group_id=60228 |
From: SourceForge.net <no...@so...> - 2004-02-25 19:54:41
|
Bugs item #904485, was opened at 2004-02-25 14:43 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=904485&group_id=60228 Category: Connections Group: MC4J 1.2b4 Status: Open Resolution: None Priority: 5 Submitted By: Greg Hinkle (ghinkl) Assigned to: Greg Hinkle (ghinkl) Summary: Server select dialog wrong type on OS X Initial Comment: The two dialogs in the connection wizard, the first for selecting the server install, the second for selecting additional libraries, display as Save dialogs instead of open dialogs. This only occurs on OS X. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=904485&group_id=60228 |
From: Greider, H. J. (LNG-DAY) <Her...@le...> - 2004-02-25 15:31:03
|
I'm working with the Websphere 5 support in 1.2, beta 4. This looks like an incredible way to manage the internal MBeans of Websphere as well as user-defined MBeans. Unfortunately, I was unable to get it to work. Following the instructions, I supplied the location of the local installation lib folder. I can see the classpath including all the appropriate Websphere adminstrative jar files. That appears to be correct. I tried several ports for the connection: BOOTSTRAP_ADDRESS and SOAP_CONNECTOR_ADDRESS for the Deployment manager and the same for the actual appserver. I used URL http://hostname:port <http://hostname:port> for the server URL with each attempt. Isn't the BOOTSTRAP_ADDRESS the correct endpoint to use? Can I attach to either the DeploymentManager, NodeAgent, or DeploymentManager? I receive the message "Unable to connect to server at [what the URL is]. Check to make sure the server is running on the specified host and port." Just to ensure that everything is up, I was able to connect through both the admin console as well as through wsadmin without a problem. I am using the Websphere installation in WSAD (rather than the normal installation). That works great for wsadmin and direct connection from Java applications. Could there be a dependency there? Thanks for any assistance! Herm Greider LexisNexis Dayton, Ohio |
From: SourceForge.net <no...@so...> - 2004-02-20 17:30:43
|
Bugs item #901211, was opened at 2004-02-20 12:22 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=901211&group_id=60228 Category: Connections Group: None Status: Open Resolution: None Priority: 5 Submitted By: Matthew L Daniel (mdaniel) Assigned to: Nobody/Anonymous (nobody) Summary: IllegalArgumentException Initial Comment: Whilst trying to connect to JBoss/3.0.7 (yes, I know it's not supported, but I don't think it should throw IAE) using MC4J 1.2 beta 4, Win2K, Sun JVM 1.4.2-b28 ------ java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: "/C" at java.net.URLDecoder.decode(URLDecoder.java:168) at java.net.URLDecoder.decode(URLDecoder.java:82) at org.mc4j.console.bean.MBeanNode.setDisplayName(MBeanNode.java:130) at org.mc4j.console.bean.MBeanNode.<init>(MBeanNode.java:123) at org.mc4j.console.connection.ConnectionNode.addMBean(ConnectionNode.java:235) at org.mc4j.console.connection.ConnectionNode.loadConnectionNodeChildren(ConnectionNode.java:190) at org.mc4j.console.connection.ConnectionNode.refresh(ConnectionNode.java:369) at org.mc4j.console.connection.DomainNodes.exposeDomains(DomainNodes.java:56) at org.mc4j.console.connection.DomainNodes.run(DomainNodes.java:47) [catch] at java.lang.Thread.run(Thread.java:534) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=901211&group_id=60228 |
From: <rbr...@co...> - 2004-02-20 00:59:55
|
Greg, Nice job! I downloaded and it worked great without a problem (used the windows exe install - haven't tried to compile the source yet). The new version looks very nice as well. FYI - My configuration is: WinXP Pro JDK 1.4.2_03 JBoss 3.2.3 Rich > From: Greg Hinkle <gh...@sa...> > Date: 2004/02/19 Thu PM 06:56:27 EST > To: 'Mc4...@li...' <mc4...@li...> > Subject: Re: [Mc4j-development] port to NetBeans 3.6? > > Well. I just had to give it a try... so I upgraded to NB 3.6 last night > and got pretty much everything working. The installer class is no > longer used... The new Windows2 layering system is used to install the > MC4J components into the platform. > > The new 1.2b4 just released has this work in it. There will probably be > a few quirks with it though so let me know if anyone has any problems. > > > On Feb 17, 2004, at 4:43 PM, Gregory Hinkle wrote: > > > Hi Rich. I haven't yet gotten a chance to look into 3.6 issues. Now > > that > > I've consolidated it back into a single netbeans module I think its > > time > > to move back to the xml layer based deployment instead of the hacked > > module installer class I'm using today. The last time I tried this I > > did > > have some trouble getting it to work... and the documentation was a bit > > weak at the time. I'll take a look soon too... > > > > Still need to hammer out a few bugs with the b3 release. Having a bit > > of > > trouble with jmx remoting over ssl, but hoping to release in a day or > > two. > > > > Greg Hinkle > > > > -----Original Message----- > > From: mc4...@li... > > [mailto:mc4...@li...] On Behalf Of > > rbr...@co... > > Sent: Thursday, February 12, 2004 6:33 PM > > To: mc4...@li... > > Subject: [Mc4j-development] port to NetBeans 3.6? > > > > I compiled and tried to run the Nov 2003 release under NetBeans 3.6 > > release and got the application to startup but the MC4J module aborted > > at load/start time. I was considering looking at the mods necessary > > over > > the weekend but didn't want to waste time if you've already addressed > > them in the next release or if there are substantial changes. > > > > Greg, can you let me know what the timeframe is for the next release > > you > > mentioned last week and if looking into NB 3.6 would be a waste prior > > to > > the release. > > > > Thanks, > > > > Rich > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Mc4j-development mailing list > > Mc4...@li... > > https://lists.sourceforge.net/lists/listinfo/mc4j-development > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > > _______________________________________________ > > Mc4j-development mailing list > > Mc4...@li... > > https://lists.sourceforge.net/lists/listinfo/mc4j-development > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > _______________________________________________ > Mc4j-development mailing list > Mc4...@li... > https://lists.sourceforge.net/lists/listinfo/mc4j-development > |
From: Greg H. <gh...@sa...> - 2004-02-20 00:02:18
|
Well. I just had to give it a try... so I upgraded to NB 3.6 last night=20= and got pretty much everything working. The installer class is no=20 longer used... The new Windows2 layering system is used to install the=20= MC4J components into the platform. The new 1.2b4 just released has this work in it. There will probably be=20= a few quirks with it though so let me know if anyone has any problems. On Feb 17, 2004, at 4:43 PM, Gregory Hinkle wrote: > Hi Rich. I haven't yet gotten a chance to look into 3.6 issues. Now=20 > that > I've consolidated it back into a single netbeans module I think its=20 > time > to move back to the xml layer based deployment instead of the hacked > module installer class I'm using today. The last time I tried this I=20= > did > have some trouble getting it to work... and the documentation was a = bit > weak at the time. I'll take a look soon too... > > Still need to hammer out a few bugs with the b3 release. Having a bit=20= > of > trouble with jmx remoting over ssl, but hoping to release in a day or > two. > > Greg Hinkle > > -----Original Message----- > From: mc4...@li... > [mailto:mc4...@li...] On Behalf Of > rbr...@co... > Sent: Thursday, February 12, 2004 6:33 PM > To: mc4...@li... > Subject: [Mc4j-development] port to NetBeans 3.6? > > I compiled and tried to run the Nov 2003 release under NetBeans 3.6 > release and got the application to startup but the MC4J module aborted > at load/start time. I was considering looking at the mods necessary=20 > over > the weekend but didn't want to waste time if you've already addressed > them in the next release or if there are substantial changes. > > Greg, can you let me know what the timeframe is for the next release=20= > you > mentioned last week and if looking into NB 3.6 would be a waste prior=20= > to > the release. > > Thanks, > > Rich > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Mc4j-development mailing list > Mc4...@li... > https://lists.sourceforge.net/lists/listinfo/mc4j-development > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id438&op=3Dclick > _______________________________________________ > Mc4j-development mailing list > Mc4...@li... > https://lists.sourceforge.net/lists/listinfo/mc4j-development |
From: Gregory H. <gh...@sa...> - 2004-02-17 21:48:13
|
Hi Rich. I haven't yet gotten a chance to look into 3.6 issues. Now that I've consolidated it back into a single netbeans module I think its time to move back to the xml layer based deployment instead of the hacked module installer class I'm using today. The last time I tried this I did have some trouble getting it to work... and the documentation was a bit weak at the time. I'll take a look soon too... Still need to hammer out a few bugs with the b3 release. Having a bit of trouble with jmx remoting over ssl, but hoping to release in a day or two. Greg Hinkle -----Original Message----- From: mc4...@li... [mailto:mc4...@li...] On Behalf Of rbr...@co... Sent: Thursday, February 12, 2004 6:33 PM To: mc4...@li... Subject: [Mc4j-development] port to NetBeans 3.6? I compiled and tried to run the Nov 2003 release under NetBeans 3.6 release and got the application to startup but the MC4J module aborted at load/start time. I was considering looking at the mods necessary over the weekend but didn't want to waste time if you've already addressed them in the next release or if there are substantial changes.=20 Greg, can you let me know what the timeframe is for the next release you mentioned last week and if looking into NB 3.6 would be a waste prior to the release. Thanks, Rich ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick _______________________________________________ Mc4j-development mailing list Mc4...@li... https://lists.sourceforge.net/lists/listinfo/mc4j-development |
From: <rbr...@co...> - 2004-02-12 23:34:17
|
I compiled and tried to run the Nov 2003 release under NetBeans 3.6 release and got the application to startup but the MC4J module aborted at load/start time. I was considering looking at the mods necessary over the weekend but didn't want to waste time if you've already addressed them in the next release or if there are substantial changes. Greg, can you let me know what the timeframe is for the next release you mentioned last week and if looking into NB 3.6 would be a waste prior to the release. Thanks, Rich |
From: Gregory H. <gh...@sa...> - 2004-02-11 21:36:47
|
MC4J only works with MX4J 1.1.1 in the current release (beta 3). From = the information below, it appears that you are trying to connect it to = an adaptor running on the 2.0 beta 1 version of MX4J. The server and the = client must be running the same versions of of MX4J for the RMI = connection to work.=20 Very soon, I'll be releasing a new beta with support for JSR 160 style = connections. The support is in CVS, but there are a few things to clean = up first. If you are trying to connect to MX4J 2.0 it would probably be = easiest to wait for the next MC4J release and use this type of = connection. I'm planning for the release to happen Friday. Greg Hinkle -----Original Message----- From: mc4...@li... = [mailto:mc4...@li...] On Behalf Of = CRISTINA DIAZ DIAZ Sent: Wednesday, February 11, 2004 5:52 AM To: mc4...@li... Subject: [Mc4j-development] mc4j and mx4j in Linux Hello all! I am quite new to JMX and I am trying to install MC4J using MX4J. I am having some problems that I do not know hoe to resolve, that is why I am writing to this list for help. I have installed MC4JBeta 1.2 Beta 3 and MX4J 1.1.1 over Sun JDK 1.4.2 on Debian Linux. I have put mx4j libraries into jre/lib/ext and I have run the console. When I try to create an MX4J connection I receive this exeception: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:=20 java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:92)= at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:98)= at javax.naming.InitialContext.lookup(InitialContext.java:347) at mx4j.connector.rmi.RMIConnector.connect(RMIConnector.java:110) at org.mc4j.console.connection.Mx4jConnectionNode.connect(Mx4jConnectionNode= .java:73) at org.mc4j.console.connection.ReconnectAction.performAction(ReconnectAction= .java:40) at org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.= java:121) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:677= ) Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:=20 java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:88)= ... 10 more Caused by: java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:20= 0) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)= at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) [catch] ... 12 more =3D=3D> java.rmi.UnmarshalException: error unmarshalling return; nested exception is:=20 java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:88)= at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:98)= at javax.naming.InitialContext.lookup(InitialContext.java:347) at mx4j.connector.rmi.RMIConnector.connect(RMIConnector.java:110) at org.mc4j.console.connection.Mx4jConnectionNode.connect(Mx4jConnectionNode= .java:73) at org.mc4j.console.connection.ReconnectAction.performAction(ReconnectAction= .java:40) at org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.= java:121) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:677= ) Caused by: java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub at java.net.URLClassLoader$1.run(URLClassLoader.java:199) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:20= 0) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1513) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)= at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) [catch] ... 12 more I have look into MX4J 1.1.1 libraries (mx4j-tools.jar and mx4j-jmx.jar) but I did not found the class mx4j.tools.adaptor.rmi.RMIAdaptor_Stub. Instead there is a class called mx4j.adaptor.rmi.RMIAdaptor_Stub. So I suppose that is why it throws that exception. I have then download mx4j 2.0 Beta 1, but that class did not appear in any of its libraries. Instead, it appears in the sources. So I have downloaded and recompile mx4j 2.0 Beta 2 src and I have generate the libraries. I have put the libraries again in the jre/lib/ext and I have launch the console again. I try to create the connection again but now I receive this exception: ava.lang.ClassCastException at mx4j.connector.rmi.jrmp.JRMPConnector.narrow(JRMPConnector.java:28) at mx4j.connector.rmi.RMIConnector.connect(RMIConnector.java:112) at org.mc4j.console.connection.Mx4jConnectionNode.connect(Mx4jConnectionNode= .java:73) at org.mc4j.console.connection.ReconnectAction.performAction(ReconnectAction= .java:40) at org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAction.= java:121) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:677= ) =20 So do you know which version of MX4J and which one of MC4J to make it works? Can you pass that versions to me? Is there any document explaining how to configure this? Can anybody help me? I am not register in the list, so please answer with copy to me. Thank you very much in advance Cristina D=EDaz ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Mc4j-development mailing list Mc4...@li... https://lists.sourceforge.net/lists/listinfo/mc4j-development |
From: CRISTINA D. D. <cd...@ti...> - 2004-02-11 10:52:25
|
Hello all! I am quite new to JMX and I am trying to install MC4J using MX4J. I am having some problems that I do not know hoe to resolve, that is why I am writing to this list for help. I have installed MC4JBeta 1.2 Beta 3 and MX4J 1.1.1 over Sun JDK 1.4.2 on Debian Linux. I have put mx4j libraries into jre/lib/ext and I have run the console. When I try to create an MX4J connection I receive this exeception: javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:=20 =09java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub] =09at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java= :92) =09at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java= :98) =09at javax.naming.InitialContext.lookup(InitialContext.java:347) =09at mx4j.connector.rmi.RMIConnector.connect(RMIConnector.java:110) =09at org.mc4j.console.connection.Mx4jConnectionNode.connect(Mx4jConnection= Node.java:73) =09at org.mc4j.console.connection.ReconnectAction.performAction(ReconnectAc= tion.java:40) =09at org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) =09at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAct= ion.java:121) =09at org.openide.util.Task.run(Task.java:136) =09at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) =09at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java= :677) Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:=20 =09java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub =09at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) =09at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java= :88) =09... 10 more Caused by: java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub =09at java.net.URLClassLoader$1.run(URLClassLoader.java:199) =09at java.security.AccessController.doPrivileged(Native Method) =09at java.net.URLClassLoader.findClass(URLClassLoader.java:187) =09at java.lang.ClassLoader.loadClass(ClassLoader.java:289) =09at java.lang.ClassLoader.loadClass(ClassLoader.java:235) =09at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) =09at java.lang.Class.forName0(Native Method) =09at java.lang.Class.forName(Class.java:219) =09at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430) =09at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) =09at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) =09at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) =09at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav= a:200) =09at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151= 3) =09at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) =09at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1= 626) =09at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) =09at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) [catch] ... 12 more =3D=3D> java.rmi.UnmarshalException: error unmarshalling return; nested exception is:=20 =09java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub =09at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) =09at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java= :88) =09at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java= :98) =09at javax.naming.InitialContext.lookup(InitialContext.java:347) =09at mx4j.connector.rmi.RMIConnector.connect(RMIConnector.java:110) =09at org.mc4j.console.connection.Mx4jConnectionNode.connect(Mx4jConnection= Node.java:73) =09at org.mc4j.console.connection.ReconnectAction.performAction(ReconnectAc= tion.java:40) =09at org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) =09at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAct= ion.java:121) =09at org.openide.util.Task.run(Task.java:136) =09at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) =09at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java= :677) Caused by: java.lang.ClassNotFoundException: mx4j.tools.adaptor.rmi.RMIAdaptor_Stub =09at java.net.URLClassLoader$1.run(URLClassLoader.java:199) =09at java.security.AccessController.doPrivileged(Native Method) =09at java.net.URLClassLoader.findClass(URLClassLoader.java:187) =09at java.lang.ClassLoader.loadClass(ClassLoader.java:289) =09at java.lang.ClassLoader.loadClass(ClassLoader.java:235) =09at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) =09at java.lang.Class.forName0(Native Method) =09at java.lang.Class.forName(Class.java:219) =09at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:430) =09at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165) =09at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) =09at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) =09at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav= a:200) =09at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151= 3) =09at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) =09at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1= 626) =09at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) =09at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) [catch] ... 12 more I have look into MX4J 1.1.1 libraries (mx4j-tools.jar and mx4j-jmx.jar) but I did not found the class mx4j.tools.adaptor.rmi.RMIAdaptor_Stub. Instead there is a class called mx4j.adaptor.rmi.RMIAdaptor_Stub. So I suppose that is why it throws that exception. I have then download mx4j 2.0 Beta 1, but that class did not appear in any of its libraries. Instead, it appears in the sources. So I have downloaded and recompile mx4j 2.0 Beta 2 src and I have generate the libraries. I have put the libraries again in the jre/lib/ext and I have launch the console again. I try to create the connection again but now I receive this exception: ava.lang.ClassCastException =09at mx4j.connector.rmi.jrmp.JRMPConnector.narrow(JRMPConnector.java:28) =09at mx4j.connector.rmi.RMIConnector.connect(RMIConnector.java:112) =09at org.mc4j.console.connection.Mx4jConnectionNode.connect(Mx4jConnection= Node.java:73) =09at org.mc4j.console.connection.ReconnectAction.performAction(ReconnectAc= tion.java:40) =09at org.openide.util.actions.NodeAction$3.run(NodeAction.java:440) =09at org.openide.util.actions.CallableSystemAction$2.run(CallableSystemAct= ion.java:121) =09at org.openide.util.Task.run(Task.java:136) =09at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java= :677) =20 So do you know which version of MX4J and which one of MC4J to make it works? Can you pass that versions to me? Is there any document explaining how to configure this? Can anybody help me? I am not register in the list, so please answer with copy to me. Thank you very much in advance Cristina D=EDaz |
From: SourceForge.net <no...@so...> - 2004-02-07 16:47:36
|
Bugs item #842076, was opened at 2003-11-14 07:55 Message generated for change (Comment added) made by ghinkl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=842076&group_id=60228 Category: Connections Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Connection to Tomcat fails Initial Comment: I have followed the instructions for Tomcat and when trying to connect I get the following: This is the startup output: E:\Apache Group\Tomcat 4.1\bin>catalina.bat run Using CATALINA_BASE: .. Using CATALINA_HOME: .. Using CATALINA_TMPDIR: ..\temp Using JAVA_HOME: D:\j2sdk1.4.1_01 14-Nov-2003 12:52:39 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.29 14-Nov-2003 12:52:44 org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=tru e 14-Nov-2003 12:52:44 org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNul l=true 14-Nov-2003 12:52:46 org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', retur nNull=true 14-Nov-2003 12:52:51 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 14-Nov-2003 12:52:51 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 14-Nov-2003 12:52:51 org.apache.jk.common.JkMX loadAdapter WARNING: No adaptors were loaded but mx.enabled was defined. 14-Nov-2003 12:52:51 org.apache.jk.common.JkMX init INFO: Can't enable log4j mx: java.lang.ClassNotFoundException: org.apache.log4j. jmx.HierarchyDynamicMBean 14-Nov-2003 12:52:51 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=40/100 config=E:\Apache Group\Tomcat 4.1\bin\..\conf \jk2.properties This is the MC4J: javax.naming.ServiceUnavailableException. Root exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket (TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection (TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection (TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall (UnicastRef.java:313) at sun.rmi.registry.RegistryImpl_Stub.lookup (Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup (RegistryContext.java:88) at com.sun.jndi.rmi.registry.RegistryContext.lookup (RegistryContext.java:98) at javax.naming.InitialContext.lookup (InitialContext.java:347) at mx4j.connector.rmi.RMIConnector.connect (RMIConnector.java:110) at org.mc4j.console.connection.Mx4jConnectionNode.connec t(Mx4jConnectionNode.java:73) at org.mc4j.console.ConnectAction.performAction (ConnectAction.java:81) at org.openide.util.actions.NodeAction$3.run (NodeAction.java:440) at org.openide.util.actions.CallableSystemAction$2.run (CallableSystemAction.java:121) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:330) at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:677) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect (Native Method) at java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect (PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.<init>(Socket.java:291) at java.net.Socket.<init>(Socket.java:119) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSo cket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createS ocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket (TCPEndpoint.java:562) [catch] ... 15 more ==> java.rmi.ConnectException: Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect at sun.rmi.transport.tcp.TCPEndpoint.newSocket (TCPEndpoint.java:567) at sun.rmi.transport.tcp.TCPChannel.createConnection (TCPChannel.java:185) at sun.rmi.transport.tcp.TCPChannel.newConnection (TCPChannel.java:171) at sun.rmi.server.UnicastRef.newCall (UnicastRef.java:313) at sun.rmi.registry.RegistryImpl_Stub.lookup (Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup (RegistryContext.java:88) at com.sun.jndi.rmi.registry.RegistryContext.lookup (RegistryContext.java:98) at javax.naming.InitialContext.lookup (InitialContext.java:347) at mx4j.connector.rmi.RMIConnector.connect (RMIConnector.java:110) at org.mc4j.console.connection.Mx4jConnectionNode.connec t(Mx4jConnectionNode.java:73) at org.mc4j.console.ConnectAction.performAction (ConnectAction.java:81) at org.openide.util.actions.NodeAction$3.run (NodeAction.java:440) at org.openide.util.actions.CallableSystemAction$2.run (CallableSystemAction.java:121) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run (RequestProcessor.java:330) at org.openide.util.RequestProcessor$Processor.run (RequestProcessor.java:677) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect (Native Method) at java.net.PlainSocketImpl.doConnect (PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress (PlainSocketImpl.java:171) at java.net.PlainSocketImpl.connect (PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:426) at java.net.Socket.connect(Socket.java:376) at java.net.Socket.<init>(Socket.java:291) at java.net.Socket.<init>(Socket.java:119) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSo cket(RMIDirectSocketFactory.java:22) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createS ocket(RMIMasterSocketFactory.java:128) at sun.rmi.transport.tcp.TCPEndpoint.newSocket (TCPEndpoint.java:562) [catch] ... 15 more ---------------------------------------------------------------------- >Comment By: Greg Hinkle (ghinkl) Date: 2004-02-07 11:43 Message: Logged In: YES user_id=773314 A little slow with the response, but I think I've figured this out. It seems that you must place the mx4j 1.1.1 jars into the common/lib directory, not the server/lib directory. The problem above is that the tomcat server never starts the connector listener for mc4j to talk to. It is because it can't find the mx4j classes in the right classloader. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=493495&aid=842076&group_id=60228 |