问题描述
各位大侠,小弟在安装HermesJMS+JBoss配置的时候,出现下列问题,求教············javax.naming.CommunicationException[Rootexceptionisjava.rmi.ServerException:RemoteExceptionoccurredinserverthread;nestedexceptionis:java.rmi.UnmarshalException:errorunmarshallingarguments;nestedexceptionis:java.net.MalformedURLException:noprotocol:Files/HermesJMS/lib/ext/hermes-imq.jar]atorg.jnp.interfaces.NamingContext.list(NamingContext.java:797)atorg.jnp.interfaces.NamingContext.list(NamingContext.java:771)atjavax.naming.InitialContext.list(InitialContext.java:436)athermes.browser.model.tree.ContextTreeNode.setContext(ContextTreeNode.java:105)athermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:69)athermes.browser.model.tree.ContextTreeNode.<init>(ContextTreeNode.java:74)athermes.browser.components.ContextTreeModelFactory.create(ContextTreeModelFactory.java:60)athermes.browser.tasks.JNDIBrowseTask.invoke(JNDIBrowseTask.java:59)athermes.browser.tasks.TaskSupport.run(TaskSupport.java:175)athermes.browser.tasks.ThreadPool.run(ThreadPool.java:170)atjava.lang.Thread.run(Thread.java:619)Causedby:java.rmi.ServerException:RemoteExceptionoccurredinserverthread;nestedexceptionis:java.rmi.UnmarshalException:errorunmarshallingarguments;nestedexceptionis:java.net.MalformedURLException:noprotocol:Files/HermesJMS/lib/ext/hermes-imq.jaratsun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:336)atsun.rmi.transport.Transport$1.run(Transport.java:159)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:155)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)atjava.lang.Thread.run(Thread.java:619)atsun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)atsun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)atsun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)atorg.jnp.server.NamingServer_Stub.list(UnknownSource)atorg.jnp.interfaces.NamingContext.list(NamingContext.java:785)...10moreCausedby:java.rmi.UnmarshalException:errorunmarshallingarguments;nestedexceptionis:java.net.MalformedURLException:noprotocol:Files/HermesJMS/lib/ext/hermes-imq.jaratsun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:293)atsun.rmi.transport.Transport$1.run(Transport.java:159)atjava.security.AccessController.doPrivileged(NativeMethod)atsun.rmi.transport.Transport.serviceCall(Transport.java:155)atsun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)atsun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)atjava.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)...1moreCausedby:java.net.MalformedURLException:noprotocol:Files/HermesJMS/lib/ext/hermes-imq.jaratjava.net.URL.<init>(URL.java:567)atjava.net.URL.<init>(URL.java:464)atjava.net.URL.<init>(URL.java:413)atsun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:751)atsun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147)atjava.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620)atorg.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:79)atjava.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247)atsun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197)atjava.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)atjava.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)atjava.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)atjava.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:351)atjavax.naming.CompoundName.readObject(CompoundName.java:554)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)atjava.lang.reflect.Method.invoke(Method.java:597)atjava.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)atjava.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)atjava.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)atjava.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)atjava.io.ObjectInputStream.readObject(ObjectInputStream.java:351)atsun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)atsun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:290)...9more