[kaffe] jBoss & Kaffe
Dalibor Topic
robilad@yahoo.com
Wed May 21 05:57:01 2003
Hi all,
--- Dalibor Topic <robilad@yahoo.com> wrote:
> Hallo Helmer,
>
> --- Helmer Krämer <hkraemer@freenet.de> wrote:
> > On Wed, 14 May 2003 17:07:31 +0200
> > Ronald Aigner <ra3@os.inf.tu-dresden.de> wrote:
> >
> > with the patches I've checked, jBoss seems to start,
> > print some logging messages about its version and
> > crashes afterwards. IIRC, that crash happens while
> > jBoss is creating a "UniversalClassLoader". It'd be
> > really nice, if youn could take a look at this, since
> > I don't have the time to do so (will fix any bug you
> > find, though ;)).
>
> Yeah, it's one of those "calling a method that's redefined in extended class"
> type of bugs. I fixed it by using an internalAddURL method. Patch attached,
> I'll check it in tonight.
done.
> Also in the patch is a first attempt at merging in java.lang.reflect.Proxy
> from
> GNU Classpath. Now JBoss 3.2.1 fails somewhere in the Proxy class. Use jikes
> to
> build, I haven't updated the class library profiles yet. ;)
done.
I'm trying to run JBoss 3.2.1. I have to setup the environment manually, since
the bin/run.sh script crashes for me. It would be really cool if someone who
knows how Proxies are supposed to work could take a look at what's going wrong.
JBOSS_HOME: /tmp/topic/jboss-3.2.1
JAVA: /tmp/topic/current//bin/java
JAVA_OPTS: -Dprogram.name=run.sh
CLASSPATH: /tmp/topic/jboss-3.2.1/bin/run.jar
bash-2.05a$ kaffe org.jboss.Main
12:43:09,618 INFO [Server] Starting JBoss (MX MicroKernel)...
12:43:09,623 INFO [Server] Release ID: JBoss [WonderLand] 3.2.1 (build:
CVSTag=JBoss_3_2_1 date=200305041533)
12:43:09,624 INFO [Server] Home Dir: /tmp/topic/jboss-3.2.1
12:43:09,624 INFO [Server] Home URL: file:/tmp/topic/jboss-3.2.1/
12:43:09,653 INFO [Server] Library URL: file:/tmp/topic/jboss-3.2.1/lib/
12:43:09,678 INFO [Server] Patch URL: null
12:43:09,678 INFO [Server] Server Name: default
12:43:09,678 INFO [Server] Server Home Dir:
/tmp/topic/jboss-3.2.1/server/default
12:43:09,679 INFO [Server] Server Home URL:
file:/tmp/topic/jboss-3.2.1/server/default/
12:43:09,679 INFO [Server] Server Data Dir:
/tmp/topic/jboss-3.2.1/server/default/data
12:43:09,679 INFO [Server] Server Temp Dir:
/tmp/topic/jboss-3.2.1/server/default/tmp
12:43:09,680 INFO [Server] Server Config URL:
file:/tmp/topic/jboss-3.2.1/server/default/conf/
12:43:09,680 INFO [Server] Server Library URL:
file:/tmp/topic/jboss-3.2.1/server/default/lib/
12:43:09,680 INFO [Server] Root Deployemnt Filename: jboss-service.xml
12:43:10,024 INFO [Server] Starting General Purpose Architecture (GPA)...
12:43:11,982 INFO [ServerInfo] Java version: 1.1.x-cvs,Kaffe.org project
12:43:11,982 INFO [ServerInfo] Java VM: Kaffe 1.1.x-cvs,Kaffe.org project
12:43:11,982 INFO [ServerInfo] OS-System: Linux 2.4.20.9.p4,i686
12:43:12,310 INFO [ServiceController] Controller MBean online
12:43:12,657 INFO [MainDeployer] Creating
12:43:12,680 ERROR [MainDeployer] Initialization failed
java.lang.IllegalArgumentException: not accessible in classloader: interface
org.jboss.mx.util.MBeanProxyInstance
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.<init>(Throwable.java:44)
at java.lang.Exception.<init>(Exception.java:24)
at java.lang.RuntimeException.<init>(RuntimeException.java:21)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:21)
at java.lang.reflect.Proxy$ProxyData.getProxyData(Proxy.java:815)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:268)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:326)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:248)
at
org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)
at org.jboss.deployment.MainDeployer.createService(MainDeployer.java:341)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.create(source file unknown:line unknown, pc 0x8943a93)
at org.jboss.system.ServiceController.create(ServiceController.java:310)
at org.jboss.system.ServiceController.create(ServiceController.java:243)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:411)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:329)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
12:43:12,731 WARN [ServiceController] Problem creating service
jboss.system:service=MainDeployer
java.lang.IllegalArgumentException: not accessible in classloader: interface
org.jboss.mx.util.MBeanProxyInstance
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.<init>(Throwable.java:44)
at java.lang.Exception.<init>(Exception.java:24)
at java.lang.RuntimeException.<init>(RuntimeException.java:21)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:21)
at java.lang.reflect.Proxy$ProxyData.getProxyData(Proxy.java:815)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:268)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:326)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:248)
at
org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)
at org.jboss.deployment.MainDeployer.createService(MainDeployer.java:341)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.create(source file unknown:line unknown, pc 0x8943a93)
at org.jboss.system.ServiceController.create(ServiceController.java:310)
at org.jboss.system.ServiceController.create(ServiceController.java:243)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:411)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:329)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
12:43:13,207 INFO [JARDeployer] Creating
12:43:13,208 ERROR [JARDeployer] Initialization failed
java.lang.IllegalArgumentException: not accessible in classloader: interface
org.jboss.mx.util.MBeanProxyInstance
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.<init>(Throwable.java:44)
at java.lang.Exception.<init>(Exception.java:24)
at java.lang.RuntimeException.<init>(RuntimeException.java:21)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:21)
at java.lang.reflect.Proxy$ProxyData.getProxyData(Proxy.java:815)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:268)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:326)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:248)
at
org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)
at
org.jboss.deployment.SubDeployerSupport.createService(SubDeployerSupport.java:87)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.create(source file unknown:line unknown, pc 0x8943a93)
at org.jboss.system.ServiceController.create(ServiceController.java:310)
at org.jboss.system.ServiceController.create(ServiceController.java:243)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:411)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:348)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
12:43:13,209 WARN [ServiceController] Problem creating service
jboss.system:service=JARDeployer
java.lang.IllegalArgumentException: not accessible in classloader: interface
org.jboss.mx.util.MBeanProxyInstance
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.<init>(Throwable.java:44)
at java.lang.Exception.<init>(Exception.java:24)
at java.lang.RuntimeException.<init>(RuntimeException.java:21)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:21)
at java.lang.reflect.Proxy$ProxyData.getProxyData(Proxy.java:815)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:268)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:326)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:248)
at
org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)
at
org.jboss.deployment.SubDeployerSupport.createService(SubDeployerSupport.java:87)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.create(source file unknown:line unknown, pc 0x8943a93)
at org.jboss.system.ServiceController.create(ServiceController.java:310)
at org.jboss.system.ServiceController.create(ServiceController.java:243)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:411)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:348)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
12:43:13,324 INFO [SARDeployer] Creating
12:43:13,325 ERROR [SARDeployer] Initialization failed
java.lang.IllegalArgumentException: not accessible in classloader: interface
org.jboss.mx.util.MBeanProxyInstance
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.<init>(Throwable.java:44)
at java.lang.Exception.<init>(Exception.java:24)
at java.lang.RuntimeException.<init>(RuntimeException.java:21)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:21)
at java.lang.reflect.Proxy$ProxyData.getProxyData(Proxy.java:815)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:268)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:326)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:248)
at
org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)
at
org.jboss.deployment.SubDeployerSupport.createService(SubDeployerSupport.java:87)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.create(source file unknown:line unknown, pc 0x8943a93)
at org.jboss.system.ServiceController.create(ServiceController.java:310)
at org.jboss.system.ServiceController.create(ServiceController.java:243)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:411)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:351)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
12:43:13,326 WARN [ServiceController] Problem creating service
jboss.system:service=ServiceDeployer
java.lang.IllegalArgumentException: not accessible in classloader: interface
org.jboss.mx.util.MBeanProxyInstance
at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
at java.lang.Throwable.<init>(Throwable.java:44)
at java.lang.Exception.<init>(Exception.java:24)
at java.lang.RuntimeException.<init>(RuntimeException.java:21)
at java.lang.IllegalArgumentException.<init>(IllegalArgumentException.java:21)
at java.lang.reflect.Proxy$ProxyData.getProxyData(Proxy.java:815)
at java.lang.reflect.Proxy.getProxyClass(Proxy.java:268)
at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:326)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:283)
at org.jboss.mx.util.MBeanProxyExt.create(MBeanProxyExt.java:248)
at
org.jboss.system.server.ServerConfigLocator.locate(ServerConfigLocator.java:30)
at
org.jboss.deployment.SubDeployerSupport.createService(SubDeployerSupport.java:87)
at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
at $Proxy0.create(source file unknown:line unknown, pc 0x8943a93)
at org.jboss.system.ServiceController.create(ServiceController.java:310)
at org.jboss.system.ServiceController.create(ServiceController.java:243)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.system.server.ServerImpl.startBootService(ServerImpl.java:411)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:351)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
12:43:13,327 INFO [Server] Core system initialized
12:43:13,386 INFO [MainDeployer] Starting deployment of package:
file:/tmp/topic/jboss-3.2.1/server/default/conf/jboss-service.xml
12:43:13,389 ERROR [MainDeployer] Could not make local copy for
file:/tmp/topic/jboss-3.2.1/server/default/conf/jboss-service.xml
java.lang.NullPointerException
at java.lang.String.startsWith(String.java:483)
at org.jboss.deployment.MainDeployer.inLocalCopyDir(MainDeployer.java:1034)
at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:989)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:672)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.deploy(source file unknown:line unknown, pc 0x883992b)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
12:43:13,391 INFO [MainDeployer] deployment waiting for deployer:
file:/tmp/topic/jboss-3.2.1/server/default/conf/jboss-service.xml
12:43:13,391 ERROR [Server] Failed to start
java.lang.NullPointerException
at java.lang.String.startsWith(String.java:483)
at org.jboss.deployment.MainDeployer.inLocalCopyDir(MainDeployer.java:1034)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:748)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
at java.lang.reflect.Method.invoke0(Method.java:native)
at java.lang.reflect.Method.invoke(Method.java:258)
at
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy4.deploy(source file unknown:line unknown, pc 0x883992b)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:388)
at java.lang.Thread.run(Thread.java:334)
cheers,
dalibor topic
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com