james-server-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Svante Berglund" <sva...@planet-svante.com>
Subject rmi-remotemgr
Date Mon, 03 Mar 2003 22:16:14 GMT
Hi again.
Still trying to get the rmi-remotemgr working, still some trouble.
When running the test client I get the response:

JAMES Remote UserManager Administration Tool
--------------------------------------------

Please enter your login and password
Login   : xxx
Password: xxx
java.rmi.NotBoundException: userManagerAdmin
        at sun.rmi.registry.RegistryImpl.lookup(RegistryImpl.java:106)
        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
        at
sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:342)
        at
sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:207)
        at sun.rmi.transport.Transport$1.run(Transport.java:148)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
        at
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
        at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:7
01)
        at java.lang.Thread.run(Thread.java:536)
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteC
all.java:247)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:350)
        at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
        at java.rmi.Naming.lookup(Naming.java:84)
        at
org.apache.james.client.UserManagerAdminClient.execute(UserManagerAdminClien
t.java:57)
        at
org.apache.james.client.UserManagerAdminClient.main(UserManagerAdminClient.j
ava:357)


and the default.log goes on like this:

03/03/03 23:12:49 INFO  rmiremotemanager: new rmi registry at port 1111
created!
03/03/03 23:12:49 ERROR rmiremotemanager: Stub class not found:
org.apache.james.remotemanager.UserManagerImpl_Stub; nested exception is:
	java.lang.ClassNotFoundException:
org.apache.james.remotemanager.UserManagerImpl_Stub
java.rmi.StubNotFoundException: Stub class not found:
org.apache.james.remotemanager.UserManagerImpl_Stub; nested exception is:
	java.lang.ClassNotFoundException:
org.apache.james.remotemanager.UserManagerImpl_Stub
	at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
	at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
	at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
	at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
	at
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:27
5)
	at
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:17
8)
	at
java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:15
5)
	at
org.apache.james.remotemanager.RMIRemoteManager.initialize(RMIRemoteManager.
java:143)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
.java:235)
	at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
eHelper.java:144)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
DefaultApplication.java:480)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
se(DefaultApplication.java:428)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
faultApplication.java:138)
	at
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
:251)
	at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKer
nel.java:178)
	at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(Def
aultKernel.java:254)
	at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
Deployer.java:353)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:498)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:491)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(De
faultEmbeddor.java:476)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultA
pplications(DefaultEmbeddor.java:466)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(Defaul
tEmbeddor.java:224)
	at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
	at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:144)
	at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:94)
	at org.apache.avalon.phoenix.launcher.Main.main(Main.java:46)
Caused by: java.lang.ClassNotFoundException:
org.apache.james.remotemanager.UserManagerImpl_Stub
	at java.net.URLClassLoader$1.run(URLClassLoader.java:198)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
	at
org.apache.avalon.phoenix.components.classloader.PolicyClassLoader.findClass
(PolicyClassLoader.java:98)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java:191)
	at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
	... 32 more
03/03/03 23:12:49 ERROR rmiremotemanager: Unknown key: userManager
org.apache.avalon.framework.context.ContextException: Unknown key:
userManager
	at
org.apache.avalon.phoenix.components.application.DefaultBlockContext.get(Def
aultBlockContext.java:54)
	at
org.apache.avalon.framework.context.DefaultContext.get(DefaultContext.java:1
13)
	at
org.apache.james.remotemanager.UserManagerAdminImpl.initialize(UserManagerAd
minImpl.java:76)
	at
org.apache.james.remotemanager.RMIRemoteManager.initialize(RMIRemoteManager.
java:140)
	at
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil
.java:235)
	at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(Lifecycl
eHelper.java:144)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.startup(
DefaultApplication.java:480)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPha
se(DefaultApplication.java:428)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
	at
org.apache.avalon.phoenix.components.application.DefaultApplication.start(De
faultApplication.java:138)
	at
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java
:251)
	at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKer
nel.java:178)
	at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(Def
aultKernel.java:254)
	at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(Default
Deployer.java:353)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:498)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(Def
aultEmbeddor.java:491)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(De
faultEmbeddor.java:476)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultA
pplications(DefaultEmbeddor.java:466)
	at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(Defaul
tEmbeddor.java:224)
	at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
	at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:144)
	at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:94)
	at org.apache.avalon.phoenix.launcher.Main.main(Main.java:46)


all help appreciated. rmic missing?

/svante


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


Mime
View raw message