1 Reply Latest reply on Jan 23, 2003 1:42 AM by myanagih

    ClassLoader hierarchy / scope problem ?

    myanagih

      Hello,

      For reasons I don't understand, I'm getting a java.lang.NoClassDefFoundError. Please help -- I must be doing something stupid. I've reproduced this problem over and over again. This is what I'm doing:

      First I do a clean install of JBoss 3.0.5. (I download and unzip to D:\jboss-3.0.5.)

      Next I create a SAR in D:\jboss-3.0.5\server\default\deploy\my-app.sar. I only have three files in this SAR:

      my-app.sar\META-INF\jboss-service.xml
      my-app.sar\jboss-tests.jar
      my-app.sar\mits.jar


      jboss-tests.jar contains the test packages for JBoss 3.0.5 (test.compilance, test.implementation, test.performance).

      mits.jar contains two class files -- the interface and implementation for a standard MBean called XMTest. XMTest instantiates a XMBean for a test.implementation.modelmbean.support.User object, by using UserManagementInterface.xml.



      This is my jboss-service.xml file:

      <?xml version="1.0" encoding="UTF-8"?>







      To create the XMBean, I need to use JDOM. I am using the jdom.jar that is bundled with the JBoss source code(jboss-3.0.5-src\thirdparty\jdom\beta-7\lib\jdom.jar). I copy jdom.jar to D:\jboss-3.0.5\server\default\lib.


      I start JBoss using run.bat, and invoke my XMTest from the jmx-console web page. These are the errors I get:


      00:27:03,312 WARN [jbossweb] WARNING: Exception for /jmx-console/HtmlAdaptor
      RuntimeErrorException: Error in MBean operation 'test()'
      Cause: java.lang.NoClassDefFoundError: org/jdom/JDOMException
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:307)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      ...
      ... (omitted for brevity )


      When I added debugging statements in my XMTest class, I saw that I could instantiate a JDOMException, and print the code source location.

      I also tried copying jdom.jar to D:\jboss-3.0.5\server\default\deploy\my-app.sar, but I had the same results. I can create a JDOMException from XMTest, but it attempts to create a XMBean, I get NoClassDefFoundError for JDOMException.


      There is a way I can get my XMTest to work. When I start JBoss with run.bat, I add jdom.jar to the classpath:

      D:\jboss-3.0.5\bin>run.bat -L file:///D:/jboss-3.0.5/server/default/lib/jdom.jar


      When I do this, my MBean works correctly. I want to know the correct way to install jdom.jar. I think my problem is related to the classloader hierarchy or classloader scope. I read somewhere about a situation like this:

      Classloader L1 cannot load class C, but classloader L2 can load class C. I've read the JBoss docs and other books, but I still don't understand what's going on.

      I would be grateful if someone could enlighten me, and also show me a clean way to install jdom.jar.

      I cannot seem to attach any files to this forum post. I will append the console output to the end of this message. I will show a failed run, followed by a successful run.

      Kind Regards,
      Mits Yanagihashi




      -----------------------------------------------------
      Console output for failed run:
      -----------------------------------------------------

      D:\jboss-3.0.5\bin>run.bat
      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: D:\jboss-3.0.5\bin\\..
      .
      JAVA: d:\j2sdk1.4.0_01\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat
      .
      CLASSPATH: ;d:\j2sdk1.4.0_01\lib\tools.jar;D:\jboss-3.0.5\bin\\run.jar
      .
      ===============================================================================
      .
      00:26:37,109 INFO [Server] JBoss Release: JBoss-3.0.5 CVSTag=JBoss_3_0_5
      00:26:37,125 INFO [Server] Home Dir: D:\jboss-3.0.5
      00:26:37,125 INFO [Server] Home URL: file:/D:/jboss-3.0.5/
      00:26:37,125 INFO [Server] Library URL: file:/D:/jboss-3.0.5/lib/
      00:26:37,125 INFO [Server] Patch URL: null
      00:26:37,125 INFO [Server] Server Name: default
      00:26:37,125 INFO [Server] Server Home Dir: D:\jboss-3.0.5\server\default
      00:26:37,125 INFO [Server] Server Home URL: file:/D:/jboss-3.0.5/server/default
      /
      00:26:37,125 INFO [Server] Server Data Dir: D:\jboss-3.0.5\server\default\db
      00:26:37,125 INFO [Server] Server Temp Dir: D:\jboss-3.0.5\server\default\tmp
      00:26:37,125 INFO [Server] Server Config URL: file:/D:/jboss-3.0.5/server/defau
      lt/conf/
      00:26:37,140 INFO [Server] Server Library URL: file:/D:/jboss-3.0.5/server/defa
      ult/lib/
      00:26:37,140 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      00:26:37,140 INFO [Server] Starting General Purpose Architecture (GPA)...
      00:26:37,328 INFO [ServerInfo] Java version: 1.4.0_01,Sun Microsystems Inc.
      00:26:37,328 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.0_01-b03
      ,Sun Microsystems Inc.
      00:26:37,328 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      00:26:37,359 INFO [ServiceController] Controller MBean online
      00:26:37,437 INFO [MainDeployer] Creating
      00:26:37,453 INFO [MainDeployer] Created
      00:26:37,453 INFO [MainDeployer] Starting
      00:26:37,453 INFO [MainDeployer] Started
      00:26:37,468 INFO [JARDeployer] Creating
      00:26:37,468 INFO [JARDeployer] Created
      00:26:37,468 INFO [JARDeployer] Starting
      00:26:37,468 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeplo
      yer@2f1921
      00:26:37,468 INFO [JARDeployer] Started
      00:26:37,484 INFO [SARDeployer] Creating
      00:26:37,484 INFO [SARDeployer] Created
      00:26:37,484 INFO [SARDeployer] Starting
      00:26:37,484 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeplo
      yer@a46701
      00:26:37,500 INFO [SARDeployer] Started
      00:26:37,500 INFO [Server] Core system initialized
      00:26:37,515 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/conf/jboss-service.xml
      00:26:41,437 INFO [PropertyEditorManagerService] Creating
      00:26:41,437 INFO [PropertyEditorManagerService] Created
      00:26:41,437 INFO [SystemPropertiesService] Creating
      00:26:41,437 INFO [SystemPropertiesService] Created
      00:26:41,453 INFO [Log4jService] Creating
      00:26:41,453 INFO [Log4jService] Created
      00:26:41,468 INFO [WebService] Creating
      00:26:41,468 INFO [WebService] Created
      00:26:41,468 INFO [NamingService] Creating
      00:26:41,468 INFO [NamingService] Created
      00:26:41,468 INFO [JNDIView] Creating
      00:26:41,468 INFO [JNDIView] Created
      00:26:41,468 INFO [SecurityConfig] Creating
      00:26:41,468 INFO [SecurityConfig] Created
      00:26:41,468 INFO [XMLLoginConfig] Creating
      00:26:41,468 INFO [XMLLoginConfig] Created
      00:26:41,468 INFO [JaasSecurityManagerService] Creating
      00:26:41,468 INFO [JaasSecurityManagerService] Created
      00:26:41,468 INFO [TransactionManagerService] Creating
      00:26:41,468 INFO [TransactionManagerService] Created
      00:26:41,500 INFO [ClientUserTransactionService] Creating
      00:26:41,500 INFO [ClientUserTransactionService] Created
      00:26:41,500 INFO [CachedConnectionManager] Creating
      00:26:41,500 INFO [CachedConnectionManager] Created
      00:26:41,500 INFO [EARDeployer] Creating
      00:26:41,500 INFO [EARDeployer] Created
      00:26:41,500 INFO [JRMPInvoker] created
      00:26:41,500 INFO [PooledInvoker] Creating
      00:26:41,500 INFO [PooledInvoker] Created
      00:26:41,500 INFO [LocalInvoker] Creating
      00:26:41,500 INFO [LocalInvoker] Created
      00:26:41,515 INFO [URLDeploymentScanner] Creating
      00:26:41,515 INFO [URLDeploymentScanner] Created
      00:26:41,531 INFO [PropertyEditorManagerService] Starting
      00:26:41,531 INFO [PropertyEditorManagerService] Started
      00:26:41,531 INFO [SystemPropertiesService] Starting
      00:26:41,531 INFO [SystemPropertiesService] Started
      00:26:41,531 INFO [Log4jService] Starting
      00:26:41,531 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      00:26:41,546 INFO [AbstractDeploymentScanner$ScannerThread] Running
      00:26:41,687 INFO [Log4jService] Started
      00:26:41,687 INFO [WebService] Starting
      00:26:41,687 INFO [WebService] Started webserver with address: null port: 8083
      00:26:41,687 INFO [WebService] Codebase set to: http://opt-myanagih:8083/
      00:26:41,687 INFO [WebService] Started
      00:26:41,687 INFO [NamingService] Starting
      00:26:41,703 INFO [NamingService] Starting jnp server
      00:26:41,796 INFO [NamingService] Started jnpPort=1099, rmiPort=0, backlog=50,
      bindAddress=null, Client SocketFactory=null, Server SocketFactory=org.jboss.net.
      sockets.DefaultSocketFactory@ad093076
      00:26:41,812 INFO [NamingService] Listening on port 1099
      00:26:41,812 INFO [NamingService] Started
      00:26:41,828 INFO [JNDIView] Starting
      00:26:41,828 INFO [JNDIView] Started
      00:26:41,828 INFO [SecurityConfig] Starting
      00:26:41,828 INFO [SecurityConfig] Started
      00:26:41,828 INFO [XMLLoginConfig] Starting
      00:26:41,875 INFO [XMLLoginConfig] Started
      00:26:41,875 INFO [JaasSecurityManagerService] Starting
      00:26:41,875 INFO [JaasSecurityManagerService] Started
      00:26:41,875 INFO [TransactionManagerService] Starting
      00:26:41,906 INFO [TransactionManagerService] Started
      00:26:41,906 INFO [ClientUserTransactionService] Starting
      00:26:41,937 INFO [ClientUserTransactionService] Started
      00:26:41,937 INFO [CachedConnectionManager] Starting
      00:26:41,953 INFO [CachedConnectionManager] Started
      00:26:41,953 INFO [EARDeployer] Starting
      00:26:41,953 INFO [MainDeployer] Adding deployer: org.jboss.deployment.EARDeplo
      yer@a68ef9
      00:26:41,953 INFO [EARDeployer] Started
      00:26:41,953 INFO [JRMPInvoker] Starting
      00:26:41,968 INFO [JRMPInvoker] Started
      00:26:41,968 INFO [PooledInvoker] Starting
      00:26:41,984 INFO [PooledInvoker] Started
      00:26:42,000 INFO [LocalInvoker] Starting
      00:26:42,000 INFO [LocalInvoker] Started
      00:26:42,000 INFO [URLDeploymentScanner] Starting
      00:26:42,000 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/http-invoker.sar/
      00:26:42,015 INFO [MainDeployer] deployment waiting for deployer: file:/D:/jbos
      s-3.0.5/server/default/deploy/http-invoker.sar/invoker.war/
      00:26:42,093 INFO [HttpInvoker] Creating
      00:26:42,093 INFO [HttpInvoker] Created
      00:26:42,093 INFO [HttpInvokerHA] Creating
      00:26:42,093 INFO [HttpInvokerHA] Created
      00:26:42,109 INFO [HttpProxyFactory] Creating
      00:26:42,109 INFO [HttpProxyFactory] Created
      00:26:42,109 INFO [HttpProxyFactory] Creating
      00:26:42,109 INFO [HttpProxyFactory] Created
      00:26:42,109 INFO [HttpInvoker] Starting
      00:26:42,125 INFO [HttpInvoker] Started
      00:26:42,125 INFO [HttpInvokerHA] Starting
      00:26:42,125 INFO [HttpInvokerHA] Started
      00:26:42,140 INFO [HttpProxyFactory] Starting
      00:26:42,156 INFO [HttpProxyFactory] Started
      00:26:42,156 INFO [HttpProxyFactory] Starting
      00:26:42,171 INFO [HttpProxyFactory] Started
      00:26:42,171 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/http-invoker.sar/
      00:26:42,171 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jbossweb.sar/
      00:26:42,750 INFO [jbossweb] Registered jboss.web:Jetty=0
      00:26:42,750 INFO [jbossweb] Registered jboss.web:Code=0
      00:26:42,765 INFO [jbossweb] Registered jboss.web:Log=0
      00:26:42,765 INFO [jbossweb] Registered jboss.web:Log=0,JBossLogSink=0
      00:26:42,781 INFO [JettyService] Creating
      00:26:43,046 INFO [jbossweb] Registered jboss.web:Jetty=0,SocketListener=0
      00:26:43,093 INFO [jbossweb] Registered jboss.web:Jetty=0,AJP13Listener=0
      00:26:43,109 INFO [jbossweb] Registered jboss.web:Jetty=0,NCSARequestLog=0
      00:26:43,156 INFO [JettyService] Created
      00:26:43,156 INFO [JettyService] Starting
      00:26:43,156 INFO [MainDeployer] Adding deployer: org.jboss.jetty.JettyService@
      3a9bba
      00:26:43,156 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/http-invoker.sar/invoker.war/
      00:26:43,265 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@f
      f8c74
      00:26:43,265 INFO [JBossWebApplicationContext] setDistributableSessionManager o
      rg.mortbay.j2ee.session.Manager@5e2ccd
      00:26:43,375 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationCo
      ntext=0,context=/invoker
      00:26:43,390 INFO [jbossweb] Checking Resource aliases
      00:26:43,625 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.se
      curity.plugins.JaasSecurityManager@ce669e
      00:26:43,640 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util
      .TimedCachePolicy@1989b5
      00:26:43,640 INFO [JaasSecurityManagerService] Added http-invoker, org.jboss.se
      curity.plugins.SecurityDomainContext@a00185 to map
      00:26:43,656 INFO [jbossweb] Started WebApplicationContext[/invoker,file:/D:/jb
      oss-3.0.5/server/default/deploy/http-invoker.sar/invoker.war/]
      00:26:43,921 INFO [jbossweb] successfully deployed file:/D:/jboss-3.0.5/server/
      default/deploy/http-invoker.sar/invoker.war/ to /invoker
      00:26:43,921 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/http-invoker.sar/invoker.war/
      00:26:43,937 INFO [jbossweb] Starting Jetty/4.2.4
      00:26:43,937 INFO [jbossweb] Started org.mortbay.http.NCSARequestLog@ac3379
      00:26:43,968 INFO [jbossweb] Started SocketListener on 0.0.0.0:8080
      00:26:43,968 INFO [jbossweb] Started AJP13Listener on 0.0.0.0:8009
      00:26:44,015 INFO [jbossweb] NOTICE: AJP13 is not a secure protocol. Please pro
      tect the port 0.0.0.0:8009
      00:26:44,015 INFO [jbossweb] Started org.jboss.jetty.Jetty@b446d1
      00:26:44,015 INFO [JettyService] Started
      00:26:44,015 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jbossweb.sar/
      00:26:44,015 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-ejb-connector-server.sar
      00:26:44,046 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-ejb-connector-server.sar
      00:26:44,046 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-rmi-adaptor.sar/
      00:26:44,078 INFO [RMIAdaptorService] Creating
      00:26:44,078 INFO [RMIAdaptorService] Created
      00:26:44,078 INFO [RMIAdaptorService] Starting
      00:26:44,125 INFO [RMIAdaptorService] Started
      00:26:44,125 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-rmi-adaptor.sar/
      00:26:44,125 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/my-app.sar/
      00:26:44,203 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/my-app.sar/
      00:26:44,203 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/counter-service.xml
      00:26:44,218 INFO [CounterService] Creating
      00:26:44,218 INFO [CounterService] Created
      00:26:44,234 INFO [CounterService] Starting
      00:26:44,234 INFO [CounterService] Started
      00:26:44,234 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/counter-service.xml
      00:26:44,234 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/hsqldb-service.xml
      00:26:44,328 INFO [JBossManagedConnectionPool] Creating
      00:26:44,328 INFO [JBossManagedConnectionPool] Created
      00:26:44,328 INFO [HypersonicDatabase] Creating
      00:26:44,328 INFO [HypersonicDatabase] Created
      00:26:44,343 INFO [JBossManagedConnectionPool] Starting
      00:26:44,343 INFO [JBossManagedConnectionPool] Started
      00:26:44,343 INFO [HypersonicDatabase] Starting
      00:26:44,343 INFO [HypersonicDatabase] Started
      00:26:44,343 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/hsqldb-service.xml
      00:26:44,359 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jbossmq-destinations-service.xml
      00:26:44,500 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jbossmq-destinations-service.xml
      00:26:44,500 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jbossmq-service.xml
      00:26:44,656 INFO [STDOUT] Server 1.6 is running
      00:26:44,656 INFO [STDOUT] Press [Ctrl]+[C] to abort
      00:26:44,953 INFO [CacheStore] Creating
      00:26:44,953 INFO [CacheStore] Created
      00:26:44,953 INFO [MessageCache] Creating
      00:26:44,953 INFO [MessageCache] Created
      00:26:44,953 INFO [PersistenceManager] Creating
      00:26:44,953 INFO [PersistenceManager] Created
      00:26:44,953 INFO [DynamicStateManager] Creating
      00:26:44,953 INFO [DynamicStateManager] Created
      00:26:44,968 INFO [DestinationManager] Creating
      00:26:44,984 INFO [DestinationManager] Created
      00:26:44,984 INFO [A] Creating
      00:26:44,984 INFO [A] Created
      00:26:44,984 INFO [B] Creating
      00:26:44,984 INFO [B] Created
      00:26:44,984 INFO [C] Creating
      00:26:44,984 INFO [C] Created
      00:26:44,984 INFO [D] Creating
      00:26:44,984 INFO [D] Created
      00:26:44,984 INFO [ex] Creating
      00:26:45,000 INFO [ex] Created
      00:26:45,000 INFO [SecurityManager] Creating
      00:26:45,000 INFO [SecurityManager] Created
      00:26:45,000 INFO [testTopic] Creating
      00:26:45,000 INFO [testTopic] Created
      00:26:45,000 INFO [securedTopic] Creating
      00:26:45,000 INFO [securedTopic] Created
      00:26:45,000 INFO [testDurableTopic] Creating
      00:26:45,000 INFO [testDurableTopic] Created
      00:26:45,015 INFO [testQueue] Creating
      00:26:45,015 INFO [testQueue] Created
      00:26:45,031 INFO [InterceptorLoader] Creating
      00:26:45,031 INFO [InterceptorLoader] Created
      00:26:45,031 INFO [Invoker] Creating
      00:26:45,031 INFO [Invoker] Created
      00:26:45,031 INFO [JVMServerILService] Creating
      00:26:45,031 INFO [JVMServerILService] Created
      00:26:45,031 INFO [RMIServerILService] Creating
      00:26:45,031 INFO [RMIServerILService] Created
      00:26:45,031 INFO [OILServerILService] Creating
      00:26:45,031 INFO [OILServerILService] Created
      00:26:45,031 INFO [UILServerILService] Creating
      00:26:45,046 INFO [UILServerILService] Created
      00:26:45,046 INFO [DLQ] Creating
      00:26:45,046 INFO [DLQ] Created
      00:26:45,062 INFO [CacheStore] Starting
      00:26:45,062 INFO [CacheStore] Started
      00:26:45,062 INFO [MessageCache] Starting
      00:26:45,062 INFO [MessageCache] Started
      00:26:45,062 INFO [PersistenceManager] Starting
      00:26:45,078 INFO [PersistenceManager] Started
      00:26:45,078 INFO [DynamicStateManager] Starting
      00:26:45,093 INFO [DynamicStateManager] Started
      00:26:45,093 INFO [DestinationManager] Starting
      00:26:45,093 INFO [DestinationManager] Started
      00:26:45,093 INFO [A] Starting
      00:26:45,109 INFO [A] Bound to JNDI name: queue/A
      00:26:45,109 INFO [A] Started
      00:26:45,109 INFO [B] Starting
      00:26:45,109 INFO [B] Bound to JNDI name: queue/B
      00:26:45,109 INFO [B] Started
      00:26:45,125 INFO [C] Starting
      00:26:45,125 INFO [C] Bound to JNDI name: queue/C
      00:26:45,125 INFO [C] Started
      00:26:45,125 INFO [D] Starting
      00:26:45,125 INFO [D] Bound to JNDI name: queue/D
      00:26:45,140 INFO [D] Started
      00:26:45,140 INFO [ex] Starting
      00:26:45,140 INFO [ex] Bound to JNDI name: queue/ex
      00:26:45,140 INFO [ex] Started
      00:26:45,140 INFO [SecurityManager] Starting
      00:26:45,156 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.se
      curity.plugins.JaasSecurityManager@67d7fb
      00:26:45,156 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util
      .TimedCachePolicy@94cb8b
      00:26:45,156 INFO [JaasSecurityManagerService] Added jbossmq, org.jboss.securit
      y.plugins.SecurityDomainContext@bf1d3b to map
      00:26:45,171 INFO [SecurityManager] Started
      00:26:45,171 INFO [testTopic] Starting
      00:26:45,171 INFO [testTopic] Bound to JNDI name: topic/testTopic
      00:26:45,187 INFO [testTopic] Started
      00:26:45,187 INFO [securedTopic] Starting
      00:26:45,187 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      00:26:45,187 INFO [securedTopic] Started
      00:26:45,187 INFO [testDurableTopic] Starting
      00:26:45,187 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

      00:26:45,203 INFO [testDurableTopic] Started
      00:26:45,203 INFO [testQueue] Starting
      00:26:45,203 INFO [testQueue] Bound to JNDI name: queue/testQueue
      00:26:45,203 INFO [testQueue] Started
      00:26:45,203 INFO [InterceptorLoader] Starting
      00:26:45,203 INFO [InterceptorLoader] Started
      00:26:45,203 INFO [Invoker] Starting
      00:26:45,203 INFO [Invoker] Started
      00:26:45,203 INFO [JVMServerILService] Starting
      00:26:45,265 INFO [JVMServerILService] Started
      00:26:45,265 INFO [RMIServerILService] Starting
      00:26:45,328 INFO [RMIServerILService] Started
      00:26:45,328 INFO [OILServerILService] Starting
      00:26:45,328 INFO [OILServerILService] JBossMQ OIL service available at : 0.0.0
      .0/0.0.0.0:8090
      00:26:45,343 INFO [OILServerILService] Started
      00:26:45,343 INFO [UILServerILService] Starting
      00:26:45,359 INFO [UILServerILService] JBossMQ UIL service available at : 0.0.0
      .0/0.0.0.0:8091
      00:26:45,375 INFO [UILServerILService] Started
      00:26:45,375 INFO [DLQ] Starting
      00:26:45,375 INFO [DLQ] Bound to JNDI name: queue/DLQ
      00:26:45,375 INFO [DLQ] Started
      00:26:45,375 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jbossmq-service.xml
      00:26:45,375 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jca-service.xml
      00:26:45,406 INFO [RARDeployer] Creating
      00:26:45,406 INFO [RARDeployer] Created
      00:26:45,421 INFO [RARDeployer] Starting
      00:26:45,421 INFO [MainDeployer] Adding deployer: org.jboss.resource.RARDeploye
      r@c8769b
      00:26:45,421 INFO [RARDeployer] Started
      00:26:45,421 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jca-service.xml
      00:26:45,421 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jms-service.xml
      00:26:45,531 INFO [JMSProviderLoader] Creating
      00:26:45,531 INFO [JMSProviderLoader] Created
      00:26:45,531 INFO [ServerSessionPoolLoader] Creating
      00:26:45,531 INFO [ServerSessionPoolLoader] Created
      00:26:45,531 INFO [EJBDeployer] Creating
      00:26:45,531 INFO [EJBDeployer] Created
      00:26:45,531 INFO [JBossManagedConnectionPool] Creating
      00:26:45,546 INFO [JBossManagedConnectionPool] Created
      00:26:45,546 INFO [JMSProviderLoader] Starting
      00:26:45,546 INFO [JMSProviderLoader] Bound adapter to java:/DefaultJMSProvider

      00:26:45,546 INFO [JMSProviderLoader] Started
      00:26:45,562 INFO [ServerSessionPoolLoader] Starting
      00:26:45,562 INFO [ServerSessionPoolLoader] pool factory StdJMSPool bound to ja
      va:/StdJMSPool
      00:26:45,562 INFO [ServerSessionPoolLoader] Started
      00:26:45,562 INFO [EJBDeployer] Starting
      00:26:45,578 INFO [MainDeployer] Adding deployer: org.jboss.ejb.EJBDeployer@b54
      362
      00:26:45,578 INFO [EJBDeployer] Started
      00:26:45,578 INFO [JBossManagedConnectionPool] Starting
      00:26:45,593 INFO [JBossManagedConnectionPool] Started
      00:26:45,593 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jms-service.xml
      00:26:45,593 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/mail-service.xml
      00:26:45,875 INFO [MailService] Creating
      00:26:45,890 INFO [MailService] Created
      00:26:45,890 INFO [MailService] Starting
      00:26:46,031 INFO [MailService] Mail Service bound to java:/Mail
      00:26:46,031 INFO [MailService] Started
      00:26:46,031 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/mail-service.xml
      00:26:46,031 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/properties-service.xml
      00:26:46,046 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/properties-service.xml
      00:26:46,046 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/schedule-manager-service.xml
      00:26:46,046 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/schedule-manager-service.xml
      00:26:46,062 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/scheduler-service.xml
      00:26:46,062 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/scheduler-service.xml
      00:26:46,062 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/user-service.xml
      00:26:46,078 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/user-service.xml
      00:26:46,078 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jboss-local-jdbc.rar
      00:26:46,125 INFO [LocalTxConnectionManager] Creating
      00:26:46,156 INFO [LocalTxConnectionManager] Created
      00:26:46,187 INFO [LocalTxConnectionManager] Starting
      00:26:46,218 INFO [DefaultDS] Bound connection factory for resource adapter 'JB
      oss LocalTransaction JDBC Wrapper' to JNDI name 'java:/DefaultDS'
      00:26:46,218 INFO [LocalTxConnectionManager] Started
      00:26:46,218 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jboss-local-jdbc.rar
      00:26:46,218 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jboss-xa.rar
      00:26:46,250 INFO [RARMetaData] Loading Minerva Resource Adapter for JDBC 2 XA
      drivers
      00:26:46,250 INFO [RARMetaData] Required license terms present. See deployment
      descriptor.
      00:26:46,265 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jboss-xa.rar
      00:26:46,265 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jms-ra.rar
      00:26:46,296 INFO [XATxConnectionManager] Creating
      00:26:46,312 INFO [XATxConnectionManager] Created
      00:26:46,312 INFO [XATxConnectionManager] Starting
      00:26:46,328 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.se
      curity.plugins.JaasSecurityManager@4a5c78
      00:26:46,328 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util
      .TimedCachePolicy@fcf790
      00:26:46,328 INFO [JaasSecurityManagerService] Added JmsXARealm, org.jboss.secu
      rity.plugins.SecurityDomainContext@e14d81 to map
      00:26:46,375 INFO [JmsXA] Bound connection factory for resource adapter 'JMS Ad
      apter' to JNDI name 'java:/JmsXA'
      00:26:46,375 INFO [XATxConnectionManager] Started
      00:26:46,375 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jms-ra.rar
      00:26:46,375 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/ejb-management.jar
      00:26:46,625 INFO [EjbModule] Creating
      00:26:46,656 INFO [EjbModule] Deploying MEJB
      00:26:46,828 INFO [EjbModule] Created
      00:26:46,828 INFO [EjbModule] Starting
      00:26:46,906 INFO [EjbModule] Started
      00:26:46,906 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/ejb-management.jar
      00:26:46,921 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-ejb-adaptor.jar
      00:26:47,140 INFO [EjbModule] Creating
      00:26:47,156 INFO [EjbModule] Deploying jmx/ejb/Adaptor
      00:26:47,187 INFO [EjbModule] Created
      00:26:47,187 INFO [EjbModule] Starting
      00:26:47,218 INFO [EjbModule] Started
      00:26:47,218 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-ejb-adaptor.jar
      00:26:47,234 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-console.war/
      00:26:47,265 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@f
      f8c74
      00:26:47,265 INFO [JBossWebApplicationContext] setDistributableSessionManager o
      rg.mortbay.j2ee.session.Manager@41876
      00:26:47,375 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationCo
      ntext=1,context=/jmx-console
      00:26:47,781 INFO [jbossweb] Started WebApplicationContext[/jmx-console,file:/D
      :/jboss-3.0.5/server/default/deploy/jmx-console.war/]
      00:26:47,812 INFO [jbossweb] successfully deployed file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-console.war/ to /jmx-console
      00:26:47,828 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-console.war/
      00:26:47,828 INFO [URLDeploymentScanner] Started
      00:26:47,828 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/conf/jboss-service.xml
      00:26:47,828 INFO [Server] JBoss (MX MicroKernel) [3.0.5 (CVSTag=JBoss_3_0_5 Da
      te=200301130206)] Started in 0m:10s:688ms
      00:27:03,265 INFO [STDOUT] Created JDOMException with hashcode of 12796714
      00:27:03,265 INFO [STDOUT] Thread ClassLoader : org.jboss.mx.loading.UnifiedC
      lassLoader3:9478358
      00:27:03,265 INFO [STDOUT] ClassLoader : org.jboss.mx.loading.UnifiedClassLoa
      der3:9478358
      00:27:03,265 INFO [STDOUT] CodeSource.location : file:/D:/jboss-3.0.5/server/
      default/lib/jdom.jar
      00:27:03,312 WARN [jbossweb] WARNING: Exception for /jmx-console/HtmlAdaptor
      RuntimeErrorException: Error in MBean operation 'test()'
      Cause: java.lang.NoClassDefFoundError: org/jdom/JDOMException
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:307)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:227)
      at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:196)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorSer
      vlet.java:183)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
      torServlet.java:78)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
      et.java:60)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
      )
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
      onHandler.java:280)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
      53)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1656)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
      Context.java:549)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1606)
      at org.mortbay.http.HttpServer.service(HttpServer.java:862)
      at org.jboss.jetty.Jetty.service(Jetty.java:497)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:752)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:769)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
      202)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
      getTargetError():
      java.lang.NoClassDefFoundError: org/jdom/JDOMException
      at org.jboss.mx.modelmbean.XMBean.(XMBean.java:87)
      at mits.XMTest.test(XMTest.java:90)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.jmx.adaptor.control.Server.invokeOpByName(Server.java:227)
      at org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:196)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorSer
      vlet.java:183)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdap
      torServlet.java:78)
      at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServl
      et.java:60)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
      )
      at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
      onHandler.java:280)
      at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
      53)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1656)
      at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
      Context.java:549)
      at org.mortbay.http.HttpContext.handle(HttpContext.java:1606)
      at org.mortbay.http.HttpServer.service(HttpServer.java:862)
      at org.jboss.jetty.Jetty.service(Jetty.java:497)
      at org.mortbay.http.HttpConnection.service(HttpConnection.java:752)
      at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:916)
      at org.mortbay.http.HttpConnection.handle(HttpConnection.java:769)
      at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
      202)
      at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)


      -----------------------------------------------------
      Console output for successful run:
      -----------------------------------------------------

      D:\jboss-3.0.5\bin>run.bat -L file:///D:/jboss-3.0.5/server/default/lib/jdom.jar

      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: D:\jboss-3.0.5\bin\\..
      .
      JAVA: d:\j2sdk1.4.0_01\bin\java
      .
      JAVA_OPTS: -Dprogram.name=run.bat
      .
      CLASSPATH: ;d:\j2sdk1.4.0_01\lib\tools.jar;D:\jboss-3.0.5\bin\\run.jar
      .
      ===============================================================================
      .
      00:23:56,000 INFO [Server] JBoss Release: JBoss-3.0.5 CVSTag=JBoss_3_0_5
      00:23:56,015 INFO [Server] Home Dir: D:\jboss-3.0.5
      00:23:56,015 INFO [Server] Home URL: file:/D:/jboss-3.0.5/
      00:23:56,015 INFO [Server] Library URL: file:/D:/jboss-3.0.5/lib/
      00:23:56,015 INFO [Server] Patch URL: null
      00:23:56,015 INFO [Server] Server Name: default
      00:23:56,015 INFO [Server] Server Home Dir: D:\jboss-3.0.5\server\default
      00:23:56,015 INFO [Server] Server Home URL: file:/D:/jboss-3.0.5/server/default
      /
      00:23:56,031 INFO [Server] Server Data Dir: D:\jboss-3.0.5\server\default\db
      00:23:56,031 INFO [Server] Server Temp Dir: D:\jboss-3.0.5\server\default\tmp
      00:23:56,031 INFO [Server] Server Config URL: file:/D:/jboss-3.0.5/server/defau
      lt/conf/
      00:23:56,031 INFO [Server] Server Library URL: file:/D:/jboss-3.0.5/server/defa
      ult/lib/
      00:23:56,046 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      00:23:56,046 INFO [Server] Starting General Purpose Architecture (GPA)...
      00:23:56,234 INFO [ServerInfo] Java version: 1.4.0_01,Sun Microsystems Inc.
      00:23:56,234 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.0_01-b03
      ,Sun Microsystems Inc.
      00:23:56,234 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
      00:23:56,265 INFO [ServiceController] Controller MBean online
      00:23:56,328 INFO [MainDeployer] Creating
      00:23:56,359 INFO [MainDeployer] Created
      00:23:56,359 INFO [MainDeployer] Starting
      00:23:56,359 INFO [MainDeployer] Started
      00:23:56,375 INFO [JARDeployer] Creating
      00:23:56,375 INFO [JARDeployer] Created
      00:23:56,375 INFO [JARDeployer] Starting
      00:23:56,375 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeplo
      yer@bc887b
      00:23:56,375 INFO [JARDeployer] Started
      00:23:56,390 INFO [SARDeployer] Creating
      00:23:56,390 INFO [SARDeployer] Created
      00:23:56,390 INFO [SARDeployer] Starting
      00:23:56,390 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeplo
      yer@aa57fb
      00:23:56,406 INFO [SARDeployer] Started
      00:23:56,406 INFO [Server] Core system initialized
      00:23:56,406 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/conf/jboss-service.xml
      00:23:59,750 INFO [PropertyEditorManagerService] Creating
      00:23:59,750 INFO [PropertyEditorManagerService] Created
      00:23:59,750 INFO [SystemPropertiesService] Creating
      00:23:59,750 INFO [SystemPropertiesService] Created
      00:23:59,750 INFO [Log4jService] Creating
      00:23:59,765 INFO [Log4jService] Created
      00:23:59,765 INFO [WebService] Creating
      00:23:59,765 INFO [WebService] Created
      00:23:59,765 INFO [NamingService] Creating
      00:23:59,765 INFO [NamingService] Created
      00:23:59,765 INFO [JNDIView] Creating
      00:23:59,765 INFO [JNDIView] Created
      00:23:59,781 INFO [SecurityConfig] Creating
      00:23:59,781 INFO [SecurityConfig] Created
      00:23:59,781 INFO [XMLLoginConfig] Creating
      00:23:59,781 INFO [XMLLoginConfig] Created
      00:23:59,781 INFO [JaasSecurityManagerService] Creating
      00:23:59,781 INFO [JaasSecurityManagerService] Created
      00:23:59,781 INFO [TransactionManagerService] Creating
      00:23:59,781 INFO [TransactionManagerService] Created
      00:23:59,781 INFO [ClientUserTransactionService] Creating
      00:23:59,781 INFO [ClientUserTransactionService] Created
      00:23:59,781 INFO [CachedConnectionManager] Creating
      00:23:59,796 INFO [CachedConnectionManager] Created
      00:23:59,812 INFO [EARDeployer] Creating
      00:23:59,812 INFO [EARDeployer] Created
      00:23:59,812 INFO [JRMPInvoker] created
      00:23:59,812 INFO [PooledInvoker] Creating
      00:23:59,812 INFO [PooledInvoker] Created
      00:23:59,812 INFO [LocalInvoker] Creating
      00:23:59,812 INFO [LocalInvoker] Created
      00:23:59,812 INFO [URLDeploymentScanner] Creating
      00:23:59,812 INFO [URLDeploymentScanner] Created
      00:23:59,828 INFO [PropertyEditorManagerService] Starting
      00:23:59,828 INFO [PropertyEditorManagerService] Started
      00:23:59,828 INFO [SystemPropertiesService] Starting
      00:23:59,828 INFO [SystemPropertiesService] Started
      00:23:59,843 INFO [Log4jService] Starting
      00:23:59,843 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour
      ce:log4j.xml
      00:23:59,843 INFO [AbstractDeploymentScanner$ScannerThread] Running
      00:24:00,015 INFO [Log4jService] Started
      00:24:00,015 INFO [WebService] Starting
      00:24:00,015 INFO [WebService] Started webserver with address: null port: 8083
      00:24:00,015 INFO [WebService] Codebase set to: http://opt-myanagih:8083/
      00:24:00,031 INFO [WebService] Started
      00:24:00,031 INFO [NamingService] Starting
      00:24:00,031 INFO [NamingService] Starting jnp server
      00:24:00,125 INFO [NamingService] Started jnpPort=1099, rmiPort=0, backlog=50,
      bindAddress=null, Client SocketFactory=null, Server SocketFactory=org.jboss.net.
      sockets.DefaultSocketFactory@ad093076
      00:24:00,140 INFO [NamingService] Listening on port 1099
      00:24:00,140 INFO [NamingService] Started
      00:24:00,156 INFO [JNDIView] Starting
      00:24:00,156 INFO [JNDIView] Started
      00:24:00,156 INFO [SecurityConfig] Starting
      00:24:00,156 INFO [SecurityConfig] Started
      00:24:00,156 INFO [XMLLoginConfig] Starting
      00:24:00,187 INFO [XMLLoginConfig] Started
      00:24:00,187 INFO [JaasSecurityManagerService] Starting
      00:24:00,203 INFO [JaasSecurityManagerService] Started
      00:24:00,203 INFO [TransactionManagerService] Starting
      00:24:00,234 INFO [TransactionManagerService] Started
      00:24:00,234 INFO [ClientUserTransactionService] Starting
      00:24:00,265 INFO [ClientUserTransactionService] Started
      00:24:00,265 INFO [CachedConnectionManager] Starting
      00:24:00,265 INFO [CachedConnectionManager] Started
      00:24:00,265 INFO [EARDeployer] Starting
      00:24:00,265 INFO [MainDeployer] Adding deployer: org.jboss.deployment.EARDeplo
      yer@9bfb30
      00:24:00,265 INFO [EARDeployer] Started
      00:24:00,265 INFO [JRMPInvoker] Starting
      00:24:00,296 INFO [JRMPInvoker] Started
      00:24:00,296 INFO [PooledInvoker] Starting
      00:24:00,312 INFO [PooledInvoker] Started
      00:24:00,312 INFO [LocalInvoker] Starting
      00:24:00,312 INFO [LocalInvoker] Started
      00:24:00,312 INFO [URLDeploymentScanner] Starting
      00:24:00,328 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/http-invoker.sar/
      00:24:00,343 INFO [MainDeployer] deployment waiting for deployer: file:/D:/jbos
      s-3.0.5/server/default/deploy/http-invoker.sar/invoker.war/
      00:24:00,421 INFO [HttpInvoker] Creating
      00:24:00,421 INFO [HttpInvoker] Created
      00:24:00,421 INFO [HttpInvokerHA] Creating
      00:24:00,421 INFO [HttpInvokerHA] Created
      00:24:00,421 INFO [HttpProxyFactory] Creating
      00:24:00,421 INFO [HttpProxyFactory] Created
      00:24:00,421 INFO [HttpProxyFactory] Creating
      00:24:00,437 INFO [HttpProxyFactory] Created
      00:24:00,437 INFO [HttpInvoker] Starting
      00:24:00,453 INFO [HttpInvoker] Started
      00:24:00,453 INFO [HttpInvokerHA] Starting
      00:24:00,468 INFO [HttpInvokerHA] Started
      00:24:00,468 INFO [HttpProxyFactory] Starting
      00:24:00,484 INFO [HttpProxyFactory] Started
      00:24:00,484 INFO [HttpProxyFactory] Starting
      00:24:00,500 INFO [HttpProxyFactory] Started
      00:24:00,500 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/http-invoker.sar/
      00:24:00,500 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jbossweb.sar/
      00:24:01,078 INFO [jbossweb] Registered jboss.web:Jetty=0
      00:24:01,078 INFO [jbossweb] Registered jboss.web:Code=0
      00:24:01,093 INFO [jbossweb] Registered jboss.web:Log=0
      00:24:01,093 INFO [jbossweb] Registered jboss.web:Log=0,JBossLogSink=0
      00:24:01,109 INFO [JettyService] Creating
      00:24:01,375 INFO [jbossweb] Registered jboss.web:Jetty=0,SocketListener=0
      00:24:01,406 INFO [jbossweb] Registered jboss.web:Jetty=0,AJP13Listener=0
      00:24:01,421 INFO [jbossweb] Registered jboss.web:Jetty=0,NCSARequestLog=0
      00:24:01,484 INFO [JettyService] Created
      00:24:01,484 INFO [JettyService] Starting
      00:24:01,484 INFO [MainDeployer] Adding deployer: org.jboss.jetty.JettyService@
      a85d38
      00:24:01,484 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/http-invoker.sar/invoker.war/
      00:24:01,578 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@f
      f94b1
      00:24:01,578 INFO [JBossWebApplicationContext] setDistributableSessionManager o
      rg.mortbay.j2ee.session.Manager@7b0998
      00:24:01,687 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationCo
      ntext=0,context=/invoker
      00:24:01,703 INFO [jbossweb] Checking Resource aliases
      00:24:01,921 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.se
      curity.plugins.JaasSecurityManager@f41e9
      00:24:01,937 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util
      .TimedCachePolicy@3c9c31
      00:24:01,937 INFO [JaasSecurityManagerService] Added http-invoker, org.jboss.se
      curity.plugins.SecurityDomainContext@328c7a to map
      00:24:01,953 INFO [jbossweb] Started WebApplicationContext[/invoker,file:/D:/jb
      oss-3.0.5/server/default/deploy/http-invoker.sar/invoker.war/]
      00:24:02,234 INFO [jbossweb] successfully deployed file:/D:/jboss-3.0.5/server/
      default/deploy/http-invoker.sar/invoker.war/ to /invoker
      00:24:02,234 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/http-invoker.sar/invoker.war/
      00:24:02,234 INFO [jbossweb] Starting Jetty/4.2.4
      00:24:02,265 INFO [jbossweb] Started org.mortbay.http.NCSARequestLog@1c2b67
      00:24:02,265 INFO [jbossweb] Started SocketListener on 0.0.0.0:8080
      00:24:02,296 INFO [jbossweb] Started AJP13Listener on 0.0.0.0:8009
      00:24:02,296 INFO [jbossweb] NOTICE: AJP13 is not a secure protocol. Please pro
      tect the port 0.0.0.0:8009
      00:24:02,312 INFO [jbossweb] Started org.jboss.jetty.Jetty@eac5a
      00:24:02,312 INFO [JettyService] Started
      00:24:02,312 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jbossweb.sar/
      00:24:02,312 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-ejb-connector-server.sar
      00:24:02,328 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-ejb-connector-server.sar
      00:24:02,328 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-rmi-adaptor.sar/
      00:24:02,359 INFO [RMIAdaptorService] Creating
      00:24:02,359 INFO [RMIAdaptorService] Created
      00:24:02,359 INFO [RMIAdaptorService] Starting
      00:24:02,406 INFO [RMIAdaptorService] Started
      00:24:02,406 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-rmi-adaptor.sar/
      00:24:02,406 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/my-app.sar/
      00:24:02,484 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/my-app.sar/
      00:24:02,500 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/counter-service.xml
      00:24:02,515 INFO [CounterService] Creating
      00:24:02,515 INFO [CounterService] Created
      00:24:02,515 INFO [CounterService] Starting
      00:24:02,515 INFO [CounterService] Started
      00:24:02,515 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/counter-service.xml
      00:24:02,531 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/hsqldb-service.xml
      00:24:02,656 INFO [JBossManagedConnectionPool] Creating
      00:24:02,656 INFO [JBossManagedConnectionPool] Created
      00:24:02,656 INFO [HypersonicDatabase] Creating
      00:24:02,656 INFO [HypersonicDatabase] Created
      00:24:02,656 INFO [JBossManagedConnectionPool] Starting
      00:24:02,656 INFO [JBossManagedConnectionPool] Started
      00:24:02,656 INFO [HypersonicDatabase] Starting
      00:24:02,671 INFO [HypersonicDatabase] Started
      00:24:02,671 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/hsqldb-service.xml
      00:24:02,671 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jbossmq-destinations-service.xml
      00:24:02,812 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jbossmq-destinations-service.xml
      00:24:02,812 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jbossmq-service.xml
      00:24:02,921 INFO [STDOUT] Server 1.6 is running
      00:24:02,921 INFO [STDOUT] Press [Ctrl]+[C] to abort
      00:24:03,234 INFO [CacheStore] Creating
      00:24:03,234 INFO [CacheStore] Created
      00:24:03,234 INFO [MessageCache] Creating
      00:24:03,234 INFO [MessageCache] Created
      00:24:03,234 INFO [PersistenceManager] Creating
      00:24:03,234 INFO [PersistenceManager] Created
      00:24:03,250 INFO [DynamicStateManager] Creating
      00:24:03,250 INFO [DynamicStateManager] Created
      00:24:03,250 INFO [DestinationManager] Creating
      00:24:03,265 INFO [DestinationManager] Created
      00:24:03,265 INFO [A] Creating
      00:24:03,265 INFO [A] Created
      00:24:03,265 INFO [B] Creating
      00:24:03,265 INFO [B] Created
      00:24:03,265 INFO [C] Creating
      00:24:03,265 INFO [C] Created
      00:24:03,265 INFO [D] Creating
      00:24:03,281 INFO [D] Created
      00:24:03,281 INFO [ex] Creating
      00:24:03,281 INFO [ex] Created
      00:24:03,281 INFO [SecurityManager] Creating
      00:24:03,281 INFO [SecurityManager] Created
      00:24:03,281 INFO [testTopic] Creating
      00:24:03,281 INFO [testTopic] Created
      00:24:03,281 INFO [securedTopic] Creating
      00:24:03,281 INFO [securedTopic] Created
      00:24:03,281 INFO [testDurableTopic] Creating
      00:24:03,281 INFO [testDurableTopic] Created
      00:24:03,296 INFO [testQueue] Creating
      00:24:03,296 INFO [testQueue] Created
      00:24:03,296 INFO [InterceptorLoader] Creating
      00:24:03,312 INFO [InterceptorLoader] Created
      00:24:03,312 INFO [Invoker] Creating
      00:24:03,312 INFO [Invoker] Created
      00:24:03,312 INFO [JVMServerILService] Creating
      00:24:03,312 INFO [JVMServerILService] Created
      00:24:03,312 INFO [RMIServerILService] Creating
      00:24:03,312 INFO [RMIServerILService] Created
      00:24:03,312 INFO [OILServerILService] Creating
      00:24:03,328 INFO [OILServerILService] Created
      00:24:03,328 INFO [UILServerILService] Creating
      00:24:03,328 INFO [UILServerILService] Created
      00:24:03,328 INFO [DLQ] Creating
      00:24:03,328 INFO [DLQ] Created
      00:24:03,328 INFO [CacheStore] Starting
      00:24:03,328 INFO [CacheStore] Started
      00:24:03,328 INFO [MessageCache] Starting
      00:24:03,343 INFO [MessageCache] Started
      00:24:03,343 INFO [PersistenceManager] Starting
      00:24:03,343 INFO [PersistenceManager] Started
      00:24:03,359 INFO [DynamicStateManager] Starting
      00:24:03,375 INFO [DynamicStateManager] Started
      00:24:03,375 INFO [DestinationManager] Starting
      00:24:03,375 INFO [DestinationManager] Started
      00:24:03,390 INFO [A] Starting
      00:24:03,406 INFO [A] Bound to JNDI name: queue/A
      00:24:03,406 INFO [A] Started
      00:24:03,406 INFO [B] Starting
      00:24:03,406 INFO [B] Bound to JNDI name: queue/B
      00:24:03,406 INFO [B] Started
      00:24:03,406 INFO [C] Starting
      00:24:03,406 INFO [C] Bound to JNDI name: queue/C
      00:24:03,406 INFO [C] Started
      00:24:03,406 INFO [D] Starting
      00:24:03,421 INFO [D] Bound to JNDI name: queue/D
      00:24:03,421 INFO [D] Started
      00:24:03,421 INFO [ex] Starting
      00:24:03,421 INFO [ex] Bound to JNDI name: queue/ex
      00:24:03,421 INFO [ex] Started
      00:24:03,421 INFO [SecurityManager] Starting
      00:24:03,437 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.se
      curity.plugins.JaasSecurityManager@cc0e01
      00:24:03,437 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util
      .TimedCachePolicy@ab7165
      00:24:03,437 INFO [JaasSecurityManagerService] Added jbossmq, org.jboss.securit
      y.plugins.SecurityDomainContext@a1c42f to map
      00:24:03,453 INFO [SecurityManager] Started
      00:24:03,453 INFO [testTopic] Starting
      00:24:03,468 INFO [testTopic] Bound to JNDI name: topic/testTopic
      00:24:03,468 INFO [testTopic] Started
      00:24:03,468 INFO [securedTopic] Starting
      00:24:03,468 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
      00:24:03,484 INFO [securedTopic] Started
      00:24:03,484 INFO [testDurableTopic] Starting
      00:24:03,484 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

      00:24:03,484 INFO [testDurableTopic] Started
      00:24:03,484 INFO [testQueue] Starting
      00:24:03,484 INFO [testQueue] Bound to JNDI name: queue/testQueue
      00:24:03,484 INFO [testQueue] Started
      00:24:03,484 INFO [InterceptorLoader] Starting
      00:24:03,484 INFO [InterceptorLoader] Started
      00:24:03,484 INFO [Invoker] Starting
      00:24:03,484 INFO [Invoker] Started
      00:24:03,500 INFO [JVMServerILService] Starting
      00:24:03,546 INFO [JVMServerILService] Started
      00:24:03,546 INFO [RMIServerILService] Starting
      00:24:03,640 INFO [RMIServerILService] Started
      00:24:03,640 INFO [OILServerILService] Starting
      00:24:03,640 INFO [OILServerILService] JBossMQ OIL service available at : 0.0.0
      .0/0.0.0.0:8090
      00:24:03,656 INFO [OILServerILService] Started
      00:24:03,656 INFO [UILServerILService] Starting
      00:24:03,656 INFO [UILServerILService] JBossMQ UIL service available at : 0.0.0
      .0/0.0.0.0:8091
      00:24:03,687 INFO [UILServerILService] Started
      00:24:03,687 INFO [DLQ] Starting
      00:24:03,687 INFO [DLQ] Bound to JNDI name: queue/DLQ
      00:24:03,687 INFO [DLQ] Started
      00:24:03,687 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jbossmq-service.xml
      00:24:03,687 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jca-service.xml
      00:24:03,718 INFO [RARDeployer] Creating
      00:24:03,718 INFO [RARDeployer] Created
      00:24:03,718 INFO [RARDeployer] Starting
      00:24:03,718 INFO [MainDeployer] Adding deployer: org.jboss.resource.RARDeploye
      r@dfcb47
      00:24:03,718 INFO [RARDeployer] Started
      00:24:03,734 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jca-service.xml
      00:24:03,734 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jms-service.xml
      00:24:03,812 INFO [JMSProviderLoader] Creating
      00:24:03,812 INFO [JMSProviderLoader] Created
      00:24:03,812 INFO [ServerSessionPoolLoader] Creating
      00:24:03,812 INFO [ServerSessionPoolLoader] Created
      00:24:03,812 INFO [EJBDeployer] Creating
      00:24:03,812 INFO [EJBDeployer] Created
      00:24:03,812 INFO [JBossManagedConnectionPool] Creating
      00:24:03,812 INFO [JBossManagedConnectionPool] Created
      00:24:03,812 INFO [JMSProviderLoader] Starting
      00:24:03,843 INFO [JMSProviderLoader] Bound adapter to java:/DefaultJMSProvider

      00:24:03,843 INFO [JMSProviderLoader] Started
      00:24:03,843 INFO [ServerSessionPoolLoader] Starting
      00:24:03,843 INFO [ServerSessionPoolLoader] pool factory StdJMSPool bound to ja
      va:/StdJMSPool
      00:24:03,843 INFO [ServerSessionPoolLoader] Started
      00:24:03,843 INFO [EJBDeployer] Starting
      00:24:03,859 INFO [MainDeployer] Adding deployer: org.jboss.ejb.EJBDeployer@ff9
      053
      00:24:03,859 INFO [EJBDeployer] Started
      00:24:03,859 INFO [JBossManagedConnectionPool] Starting
      00:24:03,859 INFO [JBossManagedConnectionPool] Started
      00:24:03,875 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jms-service.xml
      00:24:03,875 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/mail-service.xml
      00:24:04,156 INFO [MailService] Creating
      00:24:04,156 INFO [MailService] Created
      00:24:04,171 INFO [MailService] Starting
      00:24:04,296 INFO [MailService] Mail Service bound to java:/Mail
      00:24:04,296 INFO [MailService] Started
      00:24:04,296 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/mail-service.xml
      00:24:04,296 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/properties-service.xml
      00:24:04,296 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/properties-service.xml
      00:24:04,312 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/schedule-manager-service.xml
      00:24:04,328 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/schedule-manager-service.xml
      00:24:04,328 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/scheduler-service.xml
      00:24:04,343 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/scheduler-service.xml
      00:24:04,343 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/user-service.xml
      00:24:04,343 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/user-service.xml
      00:24:04,343 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jboss-local-jdbc.rar
      00:24:04,468 INFO [LocalTxConnectionManager] Creating
      00:24:04,484 INFO [LocalTxConnectionManager] Created
      00:24:04,515 INFO [LocalTxConnectionManager] Starting
      00:24:04,546 INFO [DefaultDS] Bound connection factory for resource adapter 'JB
      oss LocalTransaction JDBC Wrapper' to JNDI name 'java:/DefaultDS'
      00:24:04,546 INFO [LocalTxConnectionManager] Started
      00:24:04,546 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jboss-local-jdbc.rar
      00:24:04,562 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jboss-xa.rar
      00:24:04,578 INFO [RARMetaData] Loading Minerva Resource Adapter for JDBC 2 XA
      drivers
      00:24:04,578 INFO [RARMetaData] Required license terms present. See deployment
      descriptor.
      00:24:04,609 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jboss-xa.rar
      00:24:04,609 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jms-ra.rar
      00:24:04,656 INFO [XATxConnectionManager] Creating
      00:24:04,671 INFO [XATxConnectionManager] Created
      00:24:04,671 INFO [XATxConnectionManager] Starting
      00:24:04,687 INFO [JaasSecurityManagerService] Created securityMgr=org.jboss.se
      curity.plugins.JaasSecurityManager@4a5c78
      00:24:04,687 INFO [JaasSecurityManagerService] setCachePolicy, c=org.jboss.util
      .TimedCachePolicy@fcf790
      00:24:04,687 INFO [JaasSecurityManagerService] Added JmsXARealm, org.jboss.secu
      rity.plugins.SecurityDomainContext@e14d81 to map
      00:24:04,734 INFO [JmsXA] Bound connection factory for resource adapter 'JMS Ad
      apter' to JNDI name 'java:/JmsXA'
      00:24:04,734 INFO [XATxConnectionManager] Started
      00:24:04,750 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jms-ra.rar
      00:24:04,750 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/ejb-management.jar
      00:24:05,015 INFO [EjbModule] Creating
      00:24:05,046 INFO [EjbModule] Deploying MEJB
      00:24:05,203 INFO [EjbModule] Created
      00:24:05,203 INFO [EjbModule] Starting
      00:24:05,296 INFO [EjbModule] Started
      00:24:05,296 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/ejb-management.jar
      00:24:05,296 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-ejb-adaptor.jar
      00:24:05,531 INFO [EjbModule] Creating
      00:24:05,546 INFO [EjbModule] Deploying jmx/ejb/Adaptor
      00:24:05,562 INFO [EjbModule] Created
      00:24:05,578 INFO [EjbModule] Starting
      00:24:05,609 INFO [EjbModule] Started
      00:24:05,609 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-ejb-adaptor.jar
      00:24:05,609 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.0.5/server/default/deploy/jmx-console.war/
      00:24:05,640 INFO [Manager] cloning Manager: org.mortbay.j2ee.session.Manager@f
      f94b1
      00:24:05,640 INFO [JBossWebApplicationContext] setDistributableSessionManager o
      rg.mortbay.j2ee.session.Manager@e1ec86
      00:24:05,734 INFO [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationCo
      ntext=1,context=/jmx-console
      00:24:06,156 INFO [jbossweb] Started WebApplicationContext[/jmx-console,file:/D
      :/jboss-3.0.5/server/default/deploy/jmx-console.war/]
      00:24:06,187 INFO [jbossweb] successfully deployed file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-console.war/ to /jmx-console
      00:24:06,187 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/deploy/jmx-console.war/
      00:24:06,203 INFO [URLDeploymentScanner] Started
      00:24:06,203 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.5/server/
      default/conf/jboss-service.xml
      00:24:06,203 INFO [Server] JBoss (MX MicroKernel) [3.0.5 (CVSTag=JBoss_3_0_5 Da
      te=200301130206)] Started in 0m:10s:157ms
      00:24:39,468 INFO [STDOUT] Created JDOMException with hashcode of 8092433
      00:24:39,484 INFO [STDOUT] Thread ClassLoader : org.jboss.mx.loading.UnifiedC
      lassLoader3:912223
      00:24:39,484 INFO [STDOUT] ClassLoader : org.jboss.system.server.NoAnnotation
      URLClassLoader:912223
      00:24:39,484 INFO [STDOUT] CodeSource.location : file:/D:/jboss-3.0.5/server/
      default/lib/jdom.jar
      00:24:39,593 INFO [STDOUT] Successfully instantiated XMBean -> org.jboss.mx.mod
      elmbean.XMBean@5b6116

        • 1. Re: ClassLoader hierarchy / scope problem ?
          myanagih

          I'm adding the source code for reference.

          Regards,
          Mits


          ----[XMTestMBean.java]--------------------------------

          package mits;

          public interface XMTestMBean {

          public void test();

          }


          ----[XMTest.java]-----------------------------------

          package mits;

          import java.security.CodeSource;
          import java.security.ProtectionDomain;

          import javax.management.MBeanServer;
          import javax.management.MBeanServerFactory;

          import org.jboss.mx.modelmbean.XMBean;
          import org.jdom.JDOMException;

          import test.implementation.modelmbean.support.User;

          public class XMTest implements XMTestMBean {

          /**
          * Constructor for XMTest.
          */
          public XMTest() {
          super();
          }

          public void test() {

          try {

          //-------------------------------------------------------
          // BEGIN: debugging statements for JDOM class loading
          //
          // Stolen from code I saw on a JBoss forum
          //

          ClassLoader cl = Thread.currentThread().getContextClassLoader();
          Class c = cl.loadClass("org.jdom.JDOMException");
          JDOMException je = (JDOMException) c.newInstance();
          System.out.println(
          "Created JDOMException with hashcode of " + je.hashCode());
          ClassLoader jeCL = c.getClassLoader();
          ProtectionDomain pd = c.getProtectionDomain();
          CodeSource cs = pd.getCodeSource();
          System.out.println(
          " Thread ClassLoader : "
          + cl.getClass().getName()
          + ':'
          + cl.hashCode());
          System.out.println(
          " ClassLoader : "
          + jeCL.getClass().getName()
          + ':'
          + cl.hashCode());
          System.out.println(" CodeSource.location : " + cs.getLocation());

          // END: debugging statements for JDOM class loading
          //-------------------------------------------------------

          MBeanServer server = MBeanServerFactory.createMBeanServer();
          XMBean mmb =
          new XMBean(
          new User(),
          "file:///C:/xml/UserManagementInterface.xml");

          System.out.println("Successfully instantiated XMBean -> " + mmb);

          } catch (Exception e) {
          System.out.println("FAILURE: " + e);
          }
          }

          private MBeanServer mbeanServer;
          }


          ----[jboss-service.xml]-------------------------------

          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE server>