geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Da Feng <jvfen...@yahoo.com>
Subject can't find java:comp in application client
Date Sat, 22 Oct 2011 07:40:13 GMT
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)
Mime
View raw message