Hi Bill,

 I posted a 'workaround' for this, see the thread

RE: [jBoss-Dev] java.lang.ClassCastException:
sun.misc.Launcher$AppClassLoader

around 5th, August.



regards,

-Rob

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bill Pfeiffer
Sent: Wednesday, August 09, 2000 3:02 PM
To: jBoss-user
Subject: [jBoss-User] Exceptions running jBoss under a debugger


I'm attempting to run jBoss 2.0 pr3 under Karmira's Bugseeker debugger.  I
am now in the position of debugging the debugger environment.
- I am starting the debugger from the (jboss_dir)\bin directory.
- I have added all of the (jboss_dir)\lib\ext\ jar files to the debugger's
classpath as well as the (jboss_dir)\lib\jmxri.jar.
- Also added the (jboss_dir)\bin\run.jar.
- start the debugger running class "org.jboss.Main"

The console output I get is listed below.  Any ideas? TIA,

Bill Pfeiffer
Arbitration Forums, Inc
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-------------------------------------------------
[Console logging] Logging started
[Info] Java version: 1.3.0,Sun Microsystems Inc.
[Info] Java VM: Classic VM 1.3.0-C,Sun Microsystems Inc.
[Info] System: Windows 2000 5.0,x86
[JDBC] Loaded JDBC-driver:org.hsql.jdbcDriver
[JDBC] Loaded JDBC-driver:jdbc.idbDriver
[JDBC] Loaded JDBC-driver:sun.jdbc.odbc.JdbcOdbcDriver
[Webserver] Initializing
[Webserver] Initialized
[Hypersonic] Initializing
[Hypersonic] Server.run/init: java.net.BindException: Address in use:
JVM_Bind
[Hypersonic] Database started
[Hypersonic] Initialized
[Naming] Initializing
[Naming] Initialized
[Naming] Naming started on port 1099
[Transaction manager] Initializing
[Transaction manager] Initialized
[DataSource] Initializing
[DataSource] Connection pool for jdbc:idb:../conf/instantdb.properties bound
to InstantDB
InstantDB - Version 3.12
[DataSource] Copyright (c) 1997-1999 Instant Computer Solutions Ltd.
[DataSource] Initialized
[DataSource] Initializing
[DataSource] Connection pool for jdbc:HypersonicSQL:hsql://localhost bound
to Hypersonic
[DataSource] Initialized
[Container factory] Initializing
[Container factory] Initialized
[Auto deploy] Watching C:\Java\jBoss2.0_pr3\deploy
[Auto deployer] Initializing
[Auto deployer] Initialized
[JMX RMI Adaptor] Initializing
[JMX RMI Adaptor] Initialized
java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader
[Configuration] Initializing
        at
org.jboss.util.ClassPathExtension.preRegister(ClassPathExtension.java:47)
[Configuration] Initialized
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253)
        at javax.management.MBeanServer.createMBean(MBeanServer.java:721)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
        at org.jboss.Main.<init>(Main.java:111)
        at org.jboss.Main.<init>(Main.java:86)
        at org.jboss.Main$1.run(Main.java:76)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:67)
java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader
        at
org.jboss.util.ClassPathExtension.preRegister(ClassPathExtension.java:47)
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253)
        at javax.management.MBeanServer.createMBean(MBeanServer.java:721)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
        at org.jboss.Main.<init>(Main.java:111)
        at org.jboss.Main.<init>(Main.java:86)
        at org.jboss.Main$1.run(Main.java:76)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:67)
java.lang.ClassCastException: sun.misc.Launcher$AppClassLoader
        at
org.jboss.util.ClassPathExtension.preRegister(ClassPathExtension.java:47)
        at java.lang.reflect.Method.invoke(Native Method)
        at javax.management.MBeanServer.preRegisterInvoker(MBeanServer.java:2253)
        at javax.management.MBeanServer.createMBean(MBeanServer.java:721)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:385)
        at javax.management.loading.MLet.getMBeansFromURL(MLet.java:208)
        at org.jboss.Main.<init>(Main.java:111)
        at org.jboss.Main.<init>(Main.java:86)
        at org.jboss.Main$1.run(Main.java:76)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.jboss.Main.main(Main.java:67)



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to