Bugs item #717724, was opened at 2003-04-08 19:23
Message generated for change (Settings changed) made by ejort
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=717724&group_id=22866

Category: JBossMX
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Out of Date
Priority: 7
Submitted By: Alexander Rabinowitz (raevsky)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot use MLET service

Initial Comment:
I am using Windows 2000, JDK 1.3.1

I have the following code for MLET:

                                         String pulsarName 
= "com.peerdirect.rmapplications.master.jmx.PulsarMod
el" ;
                                         MLet mlet = new MLet();
                                         //Object pulsar = 
Class.forName (pulsarName).newInstance();
                                         String name = 
myMBeanServer.getDefaultDomain() + ":type=" + 
pulsarName;
                                         name = "type:name=mlet";
                                         System.out.println 
("MLET: " + name);
                                         ObjectName objName = 
new ObjectName(name);
                                         
myMBeanServer.registerMBean (mlet, objName);
                                         //final String MLET_URL 
= "file:./output/etc/test/compliance/loading/BasicConfig.
mlet";
                                         //final String MLET_URL 
= "C:\aa\BasicConfig.mlet";
                                         final String MLET_URL 
= "file:///C:/aa/BasicConfig.mlet";
                                         try
                                         {
                                         
DefaultLoaderRepository.loadClass (pulsarName);
                                         System.out.println("Too 
bad");
                                         }
                                         catch (Exception ignored)
                                         {}
                                         myMBeanServer.invoke 
(objName, "getMBeansFromURL",
                                         new Object[] { MLET_URL },
                                         new String[] { 
String.class.getName() }
                                         );

                                         Also, I have the following 
MLET tag in my BasicConfig.mlet file:
                                         <MLET 
CODE=com.peerdirect.rmapplications.master.jmx.Pulsar
Model
                                         
NAME="DefaultDomain:type=com.peerdirect.rmapplicati
ons.master.jmx.PulsarModel"
                                         
CODEBASE="file:///C:/build/GUI2/ram/run_agent"
                                         
ARCHIVE="PeerdirectMasterServerFull.jar"
                                         >
                                         </MLET>

                                         I have the following 
exception:
                                         Creating an instance of 
MasterAgent...
                                         MLET: type:name=mlet
                                         RuntimeMBeanException: 
RuntimeException in MBean operation
                                         'getMBeansFromURL
(,java.lang.String)'
                                         Cause: 
java.lang.ClassCastException: 
org.jboss.mx.loading.UnifiedClassLoader
                                         at
                                         
org.jboss.mx.capability.ReflectedMBeanDispatcher.invok
e(ReflectedMBeanDispatcher.java:299)
                                         at 
org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:517)
                                         at 
com.peerdirect.rmapplications.agent.BaseAgent.<init>
(BaseAgent.java:93)
                                         at 
com.peerdirect.rmapplications.agent.MasterAgent.<init>
(MasterAgent.java:5)
                                         at 
com.peerdirect.rmapplications.agent.MasterAgent.main
(MasterAgent.java:15)

                                         At the same time my file 
C:/build/GUI2/ram/run_agent/PeerdirectMasterServerFull.
jar contains
                                         file 
com\peerdirect\rmapplications\master\jmx\PilsarModel.cl
ass

                                         What is wrong? Why am I 
getting the exception?

                                         My http adapter shows on 
my mlet mbean:

                                         LibraryDirectory 
java.lang.String RW UNAVAILABLE: 
[RuntimeErrorException: Error in MBean
                                         when getting 
attribute 'LibraryDirectory' Cause: java.lang.Error: NYI] 
                                         URLs java.net.URL[] RO 
view the values of URLs 

My server console output:
=========================================
======================================
.
  JBoss Bootstrap Environment
.
  JBOSS_HOME: C:\jboss-3.0.6-PDREproject-integr-
sonic-working\bin\..
.
  JAVA: C:\jdk1.3.1_06\bin\java
.
  JAVA_OPTS:  -Dprogram.name=run.bat
.
  CLASSPATH: ;C:\jdk1.3.1_06\lib\tools.jar;C:\jboss-
3.0.6-PDREproject-integr-son
ic-working\bin\run.jar
.
=========================================
======================================
.
"C:\jdk1.3.1_06\bin\java"  -Dprogram.name=run.bat -
classpath ";C:\jdk1.3.1_06\li
b\tools.jar;C:\jboss-3.0.6-PDREproject-integr-sonic-
working\bin\run.jar"  org.j
boss.Main
13:05:27,448 INFO  [Server] JBoss Release: JBoss-
3.0.6 CVSTag=JBoss_3_0_6
13:05:27,469 INFO  [Server] Home Dir: C:\jboss-3.0.6-
PDREproject-integr-sonic-wo
rking
13:05:27,469 INFO  [Server] Home URL: file:/C:/jboss-
3.0.6-PDREproject-integr-so
nic-working/
13:05:27,469 INFO  [Server] Library URL: file:/C:/jboss-
3.0.6-PDREproject-integr
-sonic-working/lib/
13:05:27,479 INFO  [Server] Patch URL: null
13:05:27,479 INFO  [Server] Server Name: default
13:05:27,479 INFO  [Server] Server Home Dir: C:\jboss-
3.0.6-PDREproject-integr-s
onic-working\server\default
13:05:27,479 INFO  [Server] Server Home URL: 
file:/C:/jboss-3.0.6-PDREproject-in
tegr-sonic-working/server/default/
13:05:27,479 INFO  [Server] Server Data Dir: C:\jboss-
3.0.6-PDREproject-integr-s
onic-working\server\default\db
13:05:27,479 INFO  [Server] Server Temp Dir: C:\jboss-
3.0.6-PDREproject-integr-s
onic-working\server\default\tmp
13:05:27,479 INFO  [Server] Server Config URL: 
file:/C:/jboss-3.0.6-PDREproject-
integr-sonic-working/server/default/conf/
13:05:27,479 INFO  [Server] Server Library URL: 
file:/C:/jboss-3.0.6-PDREproject
-integr-sonic-working/server/default/lib/
13:05:27,479 INFO  [Server] Root Deployemnt Filename: 
jboss-service.xml
13:05:27,479 INFO  [Server] Starting General Purpose 
Architecture (GPA)...
13:05:27,809 INFO  [ServerInfo] Java version: 
1.3.1_06,Sun Microsystems Inc.
13:05:27,809 INFO  [ServerInfo] Java VM: Java HotSpot
(TM) Client VM 1.3.1_06-b01
,Sun Microsystems Inc.
13:05:27,809 INFO  [ServerInfo] OS-System: Windows 
2000 5.0,x86
13:05:27,859 INFO  [ServiceController] Controller MBean 
online
13:05:27,949 INFO  [MainDeployer] Creating
13:05:27,969 INFO  [MainDeployer] Created
13:05:27,969 INFO  [MainDeployer] Starting
13:05:27,969 INFO  [MainDeployer] Started
13:05:27,979 INFO  [JARDeployer] Creating
13:05:27,979 INFO  [JARDeployer] Created
13:05:27,979 INFO  [JARDeployer] Starting
13:05:27,979 INFO  [MainDeployer] Adding deployer: 
org.jboss.deployment.JARDeplo
[EMAIL PROTECTED]
13:05:27,979 INFO  [JARDeployer] Started
13:05:27,989 INFO  [SARDeployer] Creating
13:05:27,989 INFO  [SARDeployer] Created
13:05:27,989 INFO  [SARDeployer] Starting
13:05:27,989 INFO  [MainDeployer] Adding deployer: 
org.jboss.deployment.SARDeplo
[EMAIL PROTECTED]
13:05:27,999 INFO  [SARDeployer] Started
13:05:28,009 INFO  [Server] Core system initialized
13:05:28,009 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/conf/jboss-service.xml
13:05:30,813 INFO  [PropertyEditorManagerService] 
Creating
13:05:30,813 INFO  [PropertyEditorManagerService] 
Created
13:05:30,813 INFO  [SystemPropertiesService] Creating
13:05:30,813 INFO  [SystemPropertiesService] Created
13:05:30,813 INFO  [Log4jService] Creating
13:05:30,813 INFO  [Log4jService] Created
13:05:30,823 INFO  [WebService] Creating
13:05:30,823 INFO  [WebService] Created
13:05:30,823 INFO  [NamingService] Creating
13:05:30,823 INFO  [NamingService] Created
13:05:30,823 INFO  [JNDIView] Creating
13:05:30,823 INFO  [JNDIView] Created
13:05:30,833 INFO  [SecurityConfig] Creating
13:05:30,833 INFO  [SecurityConfig] Created
13:05:30,833 INFO  [XMLLoginConfig] Creating
13:05:30,833 INFO  [XMLLoginConfig] Created
13:05:30,833 INFO  [JaasSecurityManagerService] 
Creating
13:05:30,833 INFO  [JaasSecurityManagerService] 
Created
13:05:30,833 INFO  [TransactionManagerService] 
Creating
13:05:30,833 INFO  [TransactionManagerService] 
Created
13:05:30,833 INFO  [ClientUserTransactionService] 
Creating
13:05:30,833 INFO  [ClientUserTransactionService] 
Created
13:05:30,833 INFO  [CachedConnectionManager] 
Creating
13:05:30,833 INFO  [CachedConnectionManager] 
Created
13:05:30,833 INFO  [EARDeployer] Creating
13:05:30,833 INFO  [EARDeployer] Created
13:05:30,833 INFO  [JRMPInvoker] created
13:05:30,843 INFO  [PooledInvoker] Creating
13:05:30,843 INFO  [PooledInvoker] Created
13:05:30,843 INFO  [LocalInvoker] Creating
13:05:30,843 INFO  [LocalInvoker] Created
13:05:30,843 INFO  [URLDeploymentScanner] Creating
13:05:30,843 INFO  [URLDeploymentScanner] Created
13:05:30,843 INFO  [PropertyEditorManagerService] 
Starting
13:05:30,843 INFO  [PropertyEditorManagerService] 
Started
13:05:30,853 INFO  
[AbstractDeploymentScanner$ScannerThread] Running
13:05:30,853 INFO  [SystemPropertiesService] Starting
13:05:30,853 INFO  [SystemPropertiesService] Started
13:05:30,853 INFO  [Log4jService] Starting
13:05:30,853 INFO  
[Log4jService$URLWatchTimerTask] Configuring from 
URL: resour
ce:log4j.xml
13:05:31,054 INFO  [Log4jService] Started
13:05:31,054 INFO  [WebService] Starting
13:05:31,074 INFO  [WebService] Started webserver 
with address: null port: 8083
13:05:31,074 INFO  [WebService] Codebase set to: 
http://NBARABINOW:8083/
13:05:31,084 INFO  [WebService] Started
13:05:31,084 INFO  [NamingService] Starting
13:05:31,084 INFO  [NamingService] Starting jnp server
13:05:32,105 INFO  [NamingService] Started 
jnpPort=1077, rmiPort=0, backlog=50,
bindAddress=null, Client SocketFactory=null, Server 
SocketFactory=org.jboss.net.
[EMAIL PROTECTED]
13:05:32,145 INFO  [NamingService] Listening on port 
1077
13:05:32,155 INFO  [NamingService] Started
13:05:32,155 INFO  [JNDIView] Starting
13:05:32,155 INFO  [JNDIView] Started
13:05:32,155 INFO  [SecurityConfig] Starting
13:05:32,165 INFO  [SecurityConfig] Started
13:05:32,165 INFO  [XMLLoginConfig] Starting
13:05:32,185 INFO  [XMLLoginConfig] Started
13:05:32,205 INFO  [JaasSecurityManagerService] 
Starting
13:05:32,215 INFO  [JaasSecurityManagerService] 
Started
13:05:32,215 INFO  [TransactionManagerService] 
Starting
13:05:32,245 INFO  [TransactionManagerService] Started
13:05:32,245 INFO  [ClientUserTransactionService] 
Starting
13:05:32,265 INFO  [ClientUserTransactionService] 
Started
13:05:32,265 INFO  [CachedConnectionManager] 
Starting
13:05:32,275 INFO  [CachedConnectionManager] Started
13:05:32,275 INFO  [EARDeployer] Starting
13:05:32,275 INFO  [MainDeployer] Adding deployer: 
org.jboss.deployment.EARDeplo
[EMAIL PROTECTED]
13:05:32,275 INFO  [EARDeployer] Started
13:05:32,275 INFO  [JRMPInvoker] Starting
13:05:32,285 INFO  [JRMPInvoker] Started
13:05:32,285 INFO  [PooledInvoker] Starting
13:05:32,315 INFO  [PooledInvoker] Started
13:05:32,315 INFO  [LocalInvoker] Starting
13:05:32,326 INFO  [LocalInvoker] Started
13:05:32,326 INFO  [URLDeploymentScanner] Starting
13:05:32,326 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/http-invoker.sar/
13:05:32,386 INFO  [MainDeployer] deployment waiting 
for deployer: file:/C:/jbos
s-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/http-invoker.sar/
invoker.war/
13:05:32,436 INFO  [HttpInvoker] Creating
13:05:32,436 INFO  [HttpInvoker] Created
13:05:32,436 INFO  [HttpInvokerHA] Creating
13:05:32,436 INFO  [HttpInvokerHA] Created
13:05:32,436 INFO  [HttpProxyFactory] Creating
13:05:32,436 INFO  [HttpProxyFactory] Created
13:05:32,436 INFO  [HttpProxyFactory] Creating
13:05:32,436 INFO  [HttpProxyFactory] Created
13:05:32,436 INFO  [HttpInvoker] Starting
13:05:32,446 INFO  [HttpInvoker] Started
13:05:32,446 INFO  [HttpInvokerHA] Starting
13:05:32,446 INFO  [HttpInvokerHA] Started
13:05:32,446 INFO  [HttpProxyFactory] Starting
13:05:32,466 INFO  [HttpProxyFactory] Started
13:05:32,466 INFO  [HttpProxyFactory] Starting
13:05:32,466 INFO  [HttpProxyFactory] Started
13:05:32,466 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/http-
invoker.sar/
13:05:32,466 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jbossweb.sar/
13:05:33,117 INFO  [jbossweb] Registered 
jboss.web:Jetty=0
13:05:33,127 INFO  [jbossweb] Registered 
jboss.web:Code=0
13:05:33,137 INFO  [jbossweb] Registered 
jboss.web:Log=0
13:05:33,137 INFO  [jbossweb] Registered 
jboss.web:Log=0,JBossLogSink=0
13:05:33,147 INFO  [JettyService] Creating
13:05:33,397 INFO  [jbossweb] Registered 
jboss.web:Jetty=0,SocketListener=0
13:05:33,437 INFO  [jbossweb] Registered 
jboss.web:Jetty=0,AJP13Listener=0
13:05:33,447 INFO  [jbossweb] Registered 
jboss.web:Jetty=0,NCSARequestLog=0
13:05:33,497 INFO  [JettyService] Created
13:05:33,497 INFO  [JettyService] Starting
13:05:33,497 INFO  [MainDeployer] Adding deployer: 
org.jboss.jetty.JettyService@
51c778
13:05:33,497 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/http-invoker.sar/i
nvoker.war/
13:05:33,617 INFO  [Manager] cloning Manager: 
[EMAIL PROTECTED]
548b
13:05:33,617 INFO  [JBossWebApplicationContext] 
setDistributableSessionManager o
[EMAIL PROTECTED]
13:05:33,718 INFO  [jbossweb] Registered 
jboss.web:Jetty=0,JBossWebApplicationCo
ntext=0,context=/invoker
13:05:33,728 INFO  [jbossweb] Checking Resource 
aliases
13:05:34,028 INFO  [JaasSecurityManagerService] 
Created securityMgr=org.jboss.se
[EMAIL PROTECTED]
13:05:34,028 INFO  [JaasSecurityManagerService] 
setCachePolicy, c=org.jboss.util
[EMAIL PROTECTED]
13:05:34,028 INFO  [JaasSecurityManagerService] 
Added http-invoker, org.jboss.se
[EMAIL PROTECTED] to map
13:05:34,038 INFO  [jbossweb] Started 
WebApplicationContext[/invoker,file:/C:/jb
oss-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/http-invoker.sa
r/invoker.war/]
13:05:34,419 INFO  [jbossweb] successfully deployed 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/http-
invoker.sar/invoker.war/ to
 /invoker
13:05:34,419 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/http-
invoker.sar/invoker.war/
13:05:34,419 INFO  [jbossweb] Starting Jetty/4.2.6
13:05:34,439 INFO  [jbossweb] Started 
[EMAIL PROTECTED]
13:05:34,449 INFO  [jbossweb] Started SocketListener 
on 0.0.0.0:8080
13:05:34,449 INFO  [jbossweb] Started AJP13Listener 
on 0.0.0.0:8009
13:05:34,449 INFO  [jbossweb] NOTICE: AJP13 is not a 
secure protocol. Please pro
tect the port 0.0.0.0:8009
13:05:34,449 INFO  [jbossweb] Started 
[EMAIL PROTECTED]
13:05:34,459 INFO  [JettyService] Started
13:05:34,459 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-
working/server/default/deploy/jbossweb.sar/
13:05:34,459 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jmx-ejb-connector-
server.sar
13:05:34,499 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jmx-ejb-
connector-server.sar
13:05:34,499 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jmx-rmi-adaptor.sa
r/
13:05:34,589 INFO  [RMIAdaptorService] Creating
13:05:34,589 INFO  [RMIAdaptorService] Created
13:05:34,589 INFO  [RMIAdaptorService] Starting
13:05:34,649 INFO  [RMIAdaptorService] Started
13:05:34,649 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jmx-rmi-
adaptor.sar/
13:05:34,649 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/counter-service.xm
l
13:05:34,669 INFO  [CounterService] Creating
13:05:34,669 INFO  [CounterService] Created
13:05:34,669 INFO  [CounterService] Starting
13:05:34,679 INFO  [CounterService] Started
13:05:34,679 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/counter-
service.xml
13:05:34,679 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/hsqldb-service.xml

13:05:34,789 INFO  [JBossManagedConnectionPool] 
Creating
13:05:34,789 INFO  [JBossManagedConnectionPool] 
Created
13:05:34,789 INFO  [HypersonicDatabase] Creating
13:05:34,789 INFO  [HypersonicDatabase] Created
13:05:34,789 INFO  [JBossManagedConnectionPool] 
Starting
13:05:34,799 INFO  [JBossManagedConnectionPool] 
Started
13:05:34,799 INFO  [HypersonicDatabase] Starting
13:05:34,799 INFO  [HypersonicDatabase] Started
13:05:34,799 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/hsqldb-
service.xml
13:05:34,799 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jca-service.xml
13:05:34,869 INFO  [RARDeployer] Creating
13:05:34,879 INFO  [RARDeployer] Created
13:05:34,879 INFO  [RARDeployer] Starting
13:05:34,879 INFO  [MainDeployer] Adding deployer: 
org.jboss.resource.RARDeploye
[EMAIL PROTECTED]
13:05:34,879 INFO  [RARDeployer] Started
13:05:34,879 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jca-
service.xml
13:05:34,879 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/mail-service.xml
13:05:34,939 INFO  [STDOUT] Server 1.6 is running
13:05:34,939 INFO  [STDOUT] Press [Ctrl]+[C] to abort
13:05:35,049 INFO  [MailService] Creating
13:05:35,059 INFO  [MailService] Created
13:05:35,059 INFO  [MailService] Starting
13:05:35,140 INFO  [MailService] Mail Service bound to 
java:/Mail
13:05:35,140 INFO  [MailService] Started
13:05:35,140 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/mail-
service.xml
13:05:35,140 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/postgres-service.x
ml
13:05:35,210 INFO  [JBossManagedConnectionPool] 
Creating
13:05:35,210 INFO  [JBossManagedConnectionPool] 
Created
13:05:35,210 INFO  [JBossManagedConnectionPool] 
Starting
13:05:35,210 INFO  [JBossManagedConnectionPool] 
Started
13:05:35,220 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/postgres-
service.xml
13:05:35,220 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/properties-service
.xml
13:05:35,270 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/properties-
service.xml
13:05:35,270 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/schedule-manager-s
ervice.xml
13:05:35,300 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/schedule-
manager-service.xml
13:05:35,300 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/scheduler-service.
xml
13:05:35,330 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/scheduler-
service.xml
13:05:35,330 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/sonicmq-service.xm
l
13:05:35,410 INFO  [JNDILoader] Creating
13:05:35,410 INFO  [JNDILoader] Created
13:05:35,410 INFO  [SonicMQProviderLoader] Creating
13:05:35,410 INFO  [SonicMQProviderLoader] Created
13:05:35,410 INFO  [ServerSessionPoolLoader] Creating
13:05:35,410 INFO  [ServerSessionPoolLoader] Created
13:05:35,410 INFO  [EJBDeployer] Creating
13:05:35,410 INFO  [EJBDeployer] Created
13:05:35,410 INFO  [NamingAlias] Creating
13:05:35,410 INFO  [NamingAlias] Created
13:05:35,410 INFO  [JNDILoader] Starting
13:05:35,660 INFO  [XmlJndiLoader] Bound 
TopicConnectionFactory class:progress.m
essage.jclient.xa.XATopicConnectionFactory to 
TopicConnectionFactory
13:05:35,690 INFO  [XmlJndiLoader] Bound 
QueueConnectionFactory class:progress.m
essage.jclient.xa.XAQueueConnectionFactory to 
QueueConnectionFactory
13:05:35,730 INFO  [XmlJndiLoader] Bound 
JMSConnectorQueue class:progress.messag
e.jclient.Queue to queue/JMSConnectorQueue
13:05:35,750 INFO  [XmlJndiLoader] Bound 
StatusNotificationTopic class:progress.
message.jclient.Topic to topic/StatusNotificationTopic
13:05:35,760 INFO  [XmlJndiLoader] Bound 
RSENotificationTopic class:progress.mes
sage.jclient.Topic to topic/RSENotificationTopic
13:05:35,770 INFO  [XmlJndiLoader] Bound 
AppNotificationTopic class:progress.mes
sage.jclient.Topic to topic/AppNotificationTopic
13:05:35,780 INFO  [XmlJndiLoader] Bound 
PDRENotificationTopic class:progress.me
ssage.jclient.Topic to topic/PDRENotificationTopic
13:05:35,790 INFO  [XmlJndiLoader] Bound DLQ 
class:progress.message.jclient.Queu
e to queue/DLQ
13:05:35,801 INFO  [XmlJndiLoader] Bound SampleQ1 
class:progress.message.jclient
.Queue to queue/SampleQ1
13:05:35,801 INFO  [XmlJndiLoader] Bound SampleQ2 
class:progress.message.jclient
.Queue to queue/SampleQ2
13:05:35,811 INFO  [XmlJndiLoader] Bound SampleT1 
class:progress.message.jclient
.Topic to topic/SampleT1
13:05:35,821 INFO  [XmlJndiLoader] Bound SampleT2 
class:progress.message.jclient
.Topic to topic/SampleT2
13:05:35,821 INFO  [JNDILoader] bound name 
JNDILoader to java:/JNDILoader
13:05:35,821 INFO  [JNDILoader] Started
13:05:35,821 INFO  [SonicMQProviderLoader] Starting
13:05:35,831 INFO  [SonicMQProviderLoader] bound 
adapter SonicMQProvider to java
:/SonicMQProvider
13:05:35,841 INFO  [SonicMQProviderLoader] Started
13:05:35,841 INFO  [ServerSessionPoolLoader] Starting
13:05:35,841 INFO  [ServerSessionPoolLoader] pool 
factory StdJMSPool bound to ja
va:/StdJMSPool
13:05:35,841 INFO  [ServerSessionPoolLoader] Started
13:05:35,841 INFO  [EJBDeployer] Starting
13:05:35,851 INFO  [MainDeployer] Adding deployer: 
[EMAIL PROTECTED]
025
13:05:35,851 INFO  [EJBDeployer] Started
13:05:35,851 INFO  [NamingAlias] Starting
13:05:35,851 INFO  [NamingAlias] Bound link 
PDRENotificationTopic to topic/PDREN
otificationTopic
13:05:35,851 INFO  [NamingAlias] Started
13:05:35,851 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/sonicmq-
service.xml
13:05:35,851 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/user-service.xml
13:05:35,881 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/user-
service.xml
13:05:35,881 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jboss-local-jdbc.r
ar
13:05:35,961 INFO  [LocalTxConnectionManager] 
Creating
13:05:35,991 INFO  [LocalTxConnectionManager] 
Created
13:05:35,991 INFO  [LocalTxConnectionManager] 
Creating
13:05:35,991 INFO  [LocalTxConnectionManager] 
Created
13:05:36,021 INFO  [LocalTxConnectionManager] 
Starting
13:05:36,051 INFO  [DefaultDS] Bound connection 
factory for resource adapter 'JB
oss LocalTransaction JDBC Wrapper' to JNDI 
name 'java:/DefaultDS'
13:05:36,051 INFO  [LocalTxConnectionManager] 
Started
13:05:36,051 INFO  [LocalTxConnectionManager] 
Starting
13:05:36,051 INFO  [PgDbcDS] Bound connection 
factory for resource adapter 'JBos
s LocalTransaction JDBC Wrapper' to JNDI 
name 'java:/PgDbcDS'
13:05:36,051 INFO  [LocalTxConnectionManager] 
Started
13:05:36,051 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jboss-
local-jdbc.rar
13:05:36,061 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jboss-xa.rar
13:05:36,101 INFO  [RARMetaData] Loading Minerva 
Resource Adapter for JDBC 2 XA
drivers
13:05:36,101 INFO  [RARMetaData] Required license 
terms present. See deployment
descriptor.
13:05:36,131 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jboss-
xa.rar
13:05:36,131 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/ejb-management.jar

13:05:36,481 INFO  [EjbModule] Creating
13:05:36,502 INFO  [EjbModule] Deploying MEJB
13:05:36,642 INFO  [EjbModule] Created
13:05:36,642 INFO  [EjbModule] Starting
13:05:36,672 INFO  [EjbModule] Started
13:05:36,682 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/ejb-
management.jar
13:05:36,682 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jmx-ejb-adaptor.ja
r
13:05:36,762 INFO  [EjbModule] Creating
13:05:36,772 INFO  [EjbModule] Deploying 
jmx/ejb/Adaptor
13:05:36,802 INFO  [EjbModule] Created
13:05:36,802 INFO  [EjbModule] Starting
13:05:36,842 INFO  [EjbModule] Started
13:05:36,842 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jmx-ejb-
adaptor.jar
13:05:36,842 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/PeerdirectMasterSe
rver.jar
13:05:37,323 INFO  [EjbModule] Creating
13:05:37,343 INFO  [EjbModule] Deploying 
master/DBManagementConfig
13:05:37,423 INFO  [EjbModule] Deploying 
master/FileManagerManagementConfig
13:05:37,443 INFO  [EjbModule] Deploying 
master/PdreManagementConfig
13:05:37,443 INFO  [EjbModule] Deploying 
master/AppManagementConfig
13:05:37,453 INFO  [EjbModule] Deploying Command
13:05:37,493 INFO  [EjbModule] Deploying RemoteNode
13:05:37,503 INFO  [EjbModule] Deploying 
master/RSEManagementConfig
13:05:37,513 INFO  [EjbModule] Deploying 
master/AppVersionedManagementConfig
13:05:37,523 INFO  [EjbModule] Deploying Database
13:05:37,523 INFO  [EjbModule] Deploying PdreLogger
13:05:37,543 INFO  [EjbModule] Deploying 
master/rse/RSEManager
13:05:37,583 INFO  [EjbModule] Deploying 
com.peerdirect.rmapplications.master.Co
nfigUtility
13:05:37,583 INFO  [EjbModule] Deploying 
master/ReplicationManager
13:05:37,593 INFO  [EjbModule] Deploying 
master/DatabaseManager
13:05:37,613 INFO  [EjbModule] Deploying 
master/PdreMessage
13:05:37,763 INFO  [SonicMQContainerInvoker] Creating
13:05:37,773 INFO  [SonicMQContainerInvoker] Created
13:05:37,873 INFO  [EjbModule] Created
13:05:37,873 INFO  [EjbModule] Starting
13:05:40,597 INFO  [SonicMQContainerInvoker] Starting
13:05:40,597 ERROR [SonicMQContainerInvoker] 
Starting SonicMQContainerInvoker fo
r bean null
13:05:40,597 INFO  [SonicMQContainerInvoker] 
Destination Type: javax.jms.Topic
13:05:43,251 INFO  [SonicMQContainerInvoker] Started
13:05:44,153 INFO  [EjbModule] Started
13:05:44,153 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-
working/server/default/deploy/PeerdirectMasterServer.jar
13:05:44,153 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jmx-console.war/
13:05:44,223 INFO  [Manager] cloning Manager: 
[EMAIL PROTECTED]
548b
13:05:44,223 INFO  [JBossWebApplicationContext] 
setDistributableSessionManager o
[EMAIL PROTECTED]
13:05:44,323 INFO  [jbossweb] Registered 
jboss.web:Jetty=0,JBossWebApplicationCo
ntext=1,context=/jmx-console
13:05:44,984 INFO  [jbossweb] Started 
WebApplicationContext[/jmx-console,file:/C
:/jboss-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/jmx-console
.war/]
13:05:45,014 INFO  [jbossweb] successfully deployed 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jmx-
console.war/ to /jmx-console

13:05:45,014 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/deploy/jmx-
console.war/
13:05:45,024 INFO  [URLDeploymentScanner] Started
13:05:45,024 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-working/server/default/conf/jboss-
service.xml
13:05:45,034 INFO  [Server] JBoss (MX MicroKernel) 
[3.0.6 (CVSTag=JBoss_3_0_6 Da
te=200301260037)] Started in 0m:17s:555ms
14:51:57,647 INFO  [MainDeployer] Undeploying 
file:/C:/jboss-3.0.6-PDREproject-i
ntegr-sonic-
working/server/default/deploy/PeerdirectMasterServer.jar
14:51:57,647 INFO  [EjbModule] Stopping
14:51:57,647 INFO  [SonicMQContainerInvoker] Stopping
14:51:57,677 INFO  [SonicMQContainerInvoker] Stopped
14:51:57,677 INFO  [EjbModule] Stopped
14:51:57,677 INFO  [EjbModule] Destroying
14:51:57,807 INFO  [EjbModule] Remove JSR-77 EJB 
Module: jboss.management.single
:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBM
odule,name=PeerdirectMasterSer
ver.jar
14:51:57,807 INFO  [EjbModule] Destroyed
14:51:58,338 WARN  [DeploymentInfo] Could not delete 
directory file:/C:/jboss-3.
0.6-PDREproject-integr-sonic-
working/server/default/tmp/deploy/server/default/de
ploy/PeerdirectMasterServer.jar/22.PeerdirectMasterServ
er.jar restart will delet
e it
14:51:58,338 INFO  [MainDeployer] Undeployed 
file:/C:/jboss-3.0.6-PDREproject-in
tegr-sonic-
working/server/default/deploy/PeerdirectMasterServer.jar
14:51:58,338 INFO  [MainDeployer] Starting deployment 
of package: file:/C:/jboss
-3.0.6-PDREproject-integr-sonic-
working/server/default/deploy/PeerdirectMasterSe
rver.jar
14:51:59,490 INFO  [EjbModule] Creating
14:51:59,510 INFO  [EjbModule] Deploying 
master/DBManagementConfig
14:51:59,520 INFO  [EjbModule] Deploying 
master/FileManagerManagementConfig
14:51:59,530 INFO  [EjbModule] Deploying 
master/PdreManagementConfig
14:51:59,540 INFO  [EjbModule] Deploying 
master/AppManagementConfig
14:51:59,550 INFO  [EjbModule] Deploying Command
14:51:59,570 INFO  [EjbModule] Deploying RemoteNode
14:51:59,580 INFO  [EjbModule] Deploying 
master/RSEManagementConfig
14:51:59,590 INFO  [EjbModule] Deploying 
master/AppVersionedManagementConfig
14:51:59,600 INFO  [EjbModule] Deploying Database
14:51:59,610 INFO  [EjbModule] Deploying PdreLogger
14:51:59,620 INFO  [EjbModule] Deploying 
master/rse/RSEManager
14:51:59,640 INFO  [EjbModule] Deploying 
com.peerdirect.rmapplications.master.Co
nfigUtility
14:51:59,650 INFO  [EjbModule] Deploying 
master/ReplicationManager
14:51:59,660 INFO  [EjbModule] Deploying 
master/DatabaseManager
14:51:59,670 INFO  [EjbModule] Deploying 
master/PdreMessage
14:51:59,810 INFO  [SonicMQContainerInvoker] Creating
14:51:59,810 INFO  [SonicMQContainerInvoker] Created
14:51:59,910 INFO  [EjbModule] Created
14:51:59,920 INFO  [EjbModule] Starting
14:52:05,078 INFO  [SonicMQContainerInvoker] Starting
14:52:05,078 ERROR [SonicMQContainerInvoker] 
Starting SonicMQContainerInvoker fo
r bean null
14:52:05,078 INFO  [SonicMQContainerInvoker] 
Destination Type: javax.jms.Topic
14:52:07,161 INFO  [SonicMQContainerInvoker] Started
14:52:07,481 INFO  [EjbModule] Started
14:52:07,481 INFO  [MainDeployer] Deployed package: 
file:/C:/jboss-3.0.6-PDREpro
ject-integr-sonic-
working/server/default/deploy/PeerdirectMasterServer.jar


My output on the client:
C:\build\GUI2\ram\run_agent>java -
cp .;PeerdirectAgent.jar;PeerdirectJmx.jar;Pee
rdirectMasterServer.jar;sonic_client.jar;sonic_xa.jar;jboss
-jmx.jar;jmxtools.jar
;jbossall-client.jar;jboss-j2ee.jar;jnp-
client.jar;jnet.jar;log4j.jar com.peerdi
rect.rmapplications.agent.MasterAgent

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Creating an instance of MasterAgent...
MLET: DefaultDomain:type=MLET
RuntimeMBeanException: RuntimeException in MBean 
operation 'getMBeansFromURL(,ja
va.lang.String)'
Cause: java.lang.ClassCastException: 
org.jboss.mx.loading.UnifiedClassLoader
        at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invok
e(ReflectedMBea
nDispatcher.java:299)
        at org.jboss.mx.server.MBeanServerImpl.invoke
(MBeanServerImpl.java:517)
        at 
com.peerdirect.rmapplications.agent.BaseAgent.<init>
(BaseAgent.java:1
01)
        at 
com.peerdirect.rmapplications.agent.MasterAgent.<init>
(MasterAgent.ja
va:5)
        at 
com.peerdirect.rmapplications.agent.MasterAgent.main
(MasterAgent.java
:15)
Instantiating an HTML protocol adaptor with default port...
Instantiating an RMI connector server with default port...
Instantiating a JMS connector server with default port...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Now, you can point your browser to 
http://NBARABINOW:8082/
to view this agent through the HTML protocol adaptor.

Or, in another window, start a client application that 
connects
to this agent by using an RMI connector client

Press <Enter> to stop the agent...

----------------------------------------------------------------------

Comment By: Alexander Rabinowitz (raevsky)
Date: 2003-04-08 20:51

Message:
Logged In: YES 
user_id=671073

When I use JBoss implementation, I still have to use 
jmxtools.jar from Sun implementation, in order to have 
CommunicatorServer.class present in my jar file, correct?
Or is that a cause of the problem.
I use the following jars for client:
jboss-jmx.jar;jmxtools.jar;jbossall-client.jar;jboss-j2ee.jar;jnp-
client.jar;jnet.jar;log4j.jar


----------------------------------------------------------------------

Comment By: Alexander Rabinowitz (raevsky)
Date: 2003-04-08 20:35

Message:
Logged In: YES 
user_id=671073

I tried this thing under several different scenarion:

when my MBean is a Standard MBean

when my MBean is a Model MBean

It occured both times.
However, if I use Sun JMX implementation on the client (file 
jmxri.jar instead of jboss-jmx.jar)  Standard MBean works 
correctly (while Model MBean still does not).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=717724&group_id=22866


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to