Hi: I still have problem with java.lang.management.* api. JikesRVM's port of harmony is incomplete. I'm doing my best to fill in all these missing functions. After I passed the dacapo-bach-9.12 tradebeans, and tradesoap test, I will put my config.xml to jira and will submit the harmony bugs. I have at least 10 bugs for harmony.
DaFENG Coder Telecommunication && Network Industry Gmail:sunspid...@gmail.com ________________________________ From: Ivan <xhh...@gmail.com> To: user@geronimo.apache.org; Da Feng <jvfen...@yahoo.com> Sent: Sunday, October 23, 2011 12:30 AM Subject: Re: can't find java:comp in application client So does it work now ? If does, could you share the correct configuration, that would help other members. Thanks. 2011/10/23 Da Feng <jvfen...@yahoo.com> Hi: >I find the harmony implementation of java.lang.InheritableThreadLocal has a >bug. I fixed it. Thanks, that wiki has a problem, only JMX service need >harmony rmi jndi, normal jndi doesn't need to be changed. > > >DaFENG >Coder >Telecommunication && Network Industry >Gmail:sunspid...@gmail.com > > > > >________________________________ >From: Ivan <xhh...@gmail.com> >To: user@geronimo.apache.org; Da Feng <jvfen...@yahoo.com> >Sent: Saturday, October 22, 2011 5:33 PM >Subject: Re: can't find java:comp in application client > > > >I have not tried to run Geronimo on Harmony, but from the stack trace, the >client application should use the in-vm xbean jndi impl to look up the >java:comp namespace. > > >2011/10/22 Da Feng <jvfen...@yahoo.com> > >Hi: >>I configure geronimo to run on harmony lib. The VM is JikesRVM. I followed >>geronimo over harmony guide, and changed JNDI, used harmony provider in >>rmi-naming and client module. Application client still can't find java:comp >>env. >> >> >> >>========================== >> >>Exception initializing client: javax.naming.NameNotFoundException: Name is >>not bound: java:comp [Root exception is java.rmi.NotBoundException: Name >>java:comp is not associated with any remote >>reference.]javax.naming.NameNotFoundException: Name is not bound: java:comp >>[Root exception is java.rmi.NotBoundException: Name java:comp is not >>associated with any remote reference.] >> at >>org.apache.harmony.jndi.provider.rmi.registry.RegistryContext.lookup(RegistryContext.java:227) >> at >>org.apache.harmony.jndi.provider.rmi.registry.RegistryContext.lookup(RegistryContext.java:238) >> at javax.naming.InitialContext.lookup(InitialContext.java:403) >> at >>org.apache.geronimo.client.StaticJndiContextPlugin.startClient(StaticJndiContextPlugin.java:44) >> at >>org.apache.geronimo.client.AppClientContainer.main(AppClientContainer.java:128) >> at >>org.jikesrvm.classloader.ReflectionBase$$Reflect94501.invokeInternal(Unknown >>Source) >> at org.jikesrvm.runtime.ReflectionBase.invoke(ReflectionBase.java:180) >> at org.jikesrvm.runtime.Reflection.invoke(Reflection.java:72) >> at >>java.lang.reflect.VMCommonLibrarySupport.invokeVirtual(VMCommonLibrarySupport.java:233) >> at >>java.lang.reflect.VMCommonLibrarySupport.invoke(VMCommonLibrarySupport.java:174) >> at java.lang.reflect.Method.invoke(Method.java:397) >> at >>org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) >> at >>org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) >> at >>org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867) >> at >>org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239) >> at >>org.dacapo.daytrader.DaCapoClientRunner.initialize(DaCapoClientRunner.java:49) >> at >>org.jikesrvm.classloader.ReflectionBase$$Reflect50658.invokeInternal(Unknown >>Source) >> at org.jikesrvm.runtime.ReflectionBase.invoke(ReflectionBase.java:180) >> at org.jikesrvm.runtime.Reflection.invoke(Reflection.java:72) >> at >>java.lang.reflect.VMCommonLibrarySupport.invokeStatic(VMCommonLibrarySupport.java:203) >> at >>java.lang.reflect.VMCommonLibrarySupport.invoke(VMCommonLibrarySupport.java:172) >> at java.lang.reflect.Method.invoke(Method.java:397) >> at org.dacapo.daytrader.Launcher.initialize(Launcher.java:77) >> at >>org.jikesrvm.classloader.ReflectionBase$$Reflect27057.invokeInternal(Unknown >>Source) >> at org.jikesrvm.runtime.ReflectionBase.invoke(ReflectionBase.java:180) >> at org.jikesrvm.runtime.Reflection.invoke(Reflection.java:72) >> at >>java.lang.reflect.VMCommonLibrarySupport.invokeStatic(VMCommonLibrarySupport.java:203) >> at >>java.lang.reflect.VMCommonLibrarySupport.invoke(VMCommonLibrarySupport.java:172) >> at java.lang.reflect.Method.invoke(Method.java:397) >> at org.dacapo.harness.Tradebeans.prepare(Tradebeans.java:49) >> at org.dacapo.harness.Benchmark.run(Benchmark.java:144) >> at org.dacapo.harness.TestHarness.runBenchmark(TestHarness.java:221) >> at org.dacapo.harness.TestHarness.main(TestHarness.java:174) >> at Harness.main(Harness.java:17) >>Caused by: java.rmi.NotBoundException: Name java:comp is not associated with >>any remote reference. >> at >>org.apache.harmony.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:194) >> at >>org.jikesrvm.classloader.ReflectionBase$$Reflect59359.invokeInternal(Unknown >>Source) >> at org.jikesrvm.runtime.ReflectionBase.invoke(ReflectionBase.java:180) >> at org.jikesrvm.runtime.Reflection.invoke(Reflection.java:72) >> at >>java.lang.reflect.VMCommonLibrarySupport.invokeVirtual(VMCommonLibrarySupport.java:233) >> at >>java.lang.reflect.VMCommonLibrarySupport.invoke(VMCommonLibrarySupport.java:174) >> at java.lang.reflect.Method.invoke(Method.java:397) >> at >>org.apache.harmony.rmi.remoteref.UnicastServerRef.processCall(UnicastServerRef.java:436) >> at >>org.apache.harmony.rmi.server.ServerConnection$1.run(ServerConnection.java:173) >> at java.security.AccessController.doPrivileged(AccessController.java:294) >> at >>org.apache.harmony.rmi.server.ServerConnection.run(ServerConnection.java:162) >> at java.lang.Thread.run(Thread.java:797) >> at >>org.apache.harmony.rmi.client.ClientRemoteCall.getExceptionFromServer(ClientRemoteCall.java:256) >> at >>org.apache.harmony.rmi.client.ClientRemoteCall.executeCall(ClientRemoteCall.java:191) >> at org.apache.harmony.rmi.remoteref.UnicastRef.invoke(UnicastRef.java:262) >>[Ljava.lang.StringEditor; >> at org.apache.harmony.rmi.remoteref.UnicastRef.invoke(UnicastRef.java:152) >> at >>org.apache.harmony.rmi.registry.RegistryImpl_Stub.lookup(RegistryImpl_Stub.java:136) >> at >>org.apache.harmony.jndi.provider.rmi.registry.RegistryContext.lookup(RegistryContext.java:224) > > >-- >Ivan > -- Ivan