Help !!!! Here is the error I encountered when I run the command startofbiz in window XP
C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program Files\Java\jdk1. 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar 1>framework\l ogs\console.log org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiS erviceContainer (Unable to bind RMIDispatcher to RMI on //host[127.0.0.1]:port[1 099]/name[RMIDispatcher] - with remote=org.ofbiz.service.rmi.RemoteDispatcherImp l[RemoteStub [ref: [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl.SSLClientSocket Factory@128340](local),objID:[0]]]] (RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and)) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 9) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with remote=org.ofbiz.ser vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: [endpoint:[192.168.0.189:1093,org .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] (RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:129) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) java.rmi.ServerException: RemoteException occurred in server thread; nested exce ption is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 ) 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:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:534) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream RemoteCall.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.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:160) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:127) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex ception is: java.net.MalformedURLException: no protocol: and 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:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:534) Caused by: java.net.MalformedURLException: no protocol: and at java.net.URL.<init>(URL.java:537) at java.net.URL.<init>(URL.java:434) at java.net.URL.<init>(URL.java:383) at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:200) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 3) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) ... 9 more org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with remote=org.ofbiz.ser vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: [endpoint:[192.168.0.189:1093,org .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] (RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:129) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) java.rmi.ServerException: RemoteException occurred in server thread; nested exce ption is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 ) 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:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:534) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream RemoteCall.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.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:160) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:127) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex ception is: java.net.MalformedURLException: no protocol: and 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:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:534) Caused by: java.net.MalformedURLException: no protocol: and at java.net.URL.<init>(URL.java:537) at java.net.URL.<init>(URL.java:434) at java.net.URL.<init>(URL.java:383) at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:200) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 3) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) ... 9 more java.rmi.ServerException: RemoteException occurred in server thread; nested exce ption is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 ) 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:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:534) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream RemoteCall.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.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:160) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:127) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex ception is: java.net.MalformedURLException: no protocol: and 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:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:534) Caused by: java.net.MalformedURLException: no protocol: and at java.net.URL.<init>(URL.java:537) at java.net.URL.<init>(URL.java:434) at java.net.URL.<init>(URL.java:383) at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:200) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 3) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 626) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) ... 9 more C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This one is for more of a debugging mode C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C:\Program Files\Java\j dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent -Djava. compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar ofbiz.jar > framework\logs\console.log |
Probably, you're 1099 port is already used by another application, such as Skype (you can test this with ActivePorts).
If so, you have to change the ports configuration, replacing the RMI port (e.g. from 1099 to 2099), in the ofbiz-containers.xml and jetty-containers.xml files. Maurizio.
|
Sorry, *your*, not *you're* ;-)
|
In reply to this post by fan-2
Fan,
Yes, 1099 in use is by far the most common source of this error. - Andrew On Mon, 2007-01-08 at 07:32 -0800, yh-maurizio wrote: > Probably, you're 1099 port is already used by another application, such as > Skype (you can test this with ActivePorts). > If so, you have to change the ports configuration, replacing the RMI port > (e.g. from 1099 to 2099), in the ofbiz-containers.xml and > jetty-containers.xml files. > > Maurizio. > > > Fan wrote: > > > > Help !!!! Here is the error I encountered when I run the command > > startofbiz in window XP > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program > > Files\Java\jdk1. > > 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar > > 1>framework\l > > ogs\console.log > > org.ofbiz.base.start.StartupException: Cannot start() > > org.ofbiz.service.rmi.RmiS > > erviceContainer (Unable to bind RMIDispatcher to RMI on > > //host[127.0.0.1]:port[1 > > 099]/name[RMIDispatcher] - with > > remote=org.ofbiz.service.rmi.RemoteDispatcherImp > > l[RemoteStub [ref: > > [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss > > l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl.SSLClientSocket > > Factory@128340](local),objID:[0]]]] (RemoteException occurred in server > > thread; > > nested exception is: > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > excep > > tion is: > > java.net.MalformedURLException: no protocol: and)) > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > 9) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > at org.ofbiz.base.start.Start.start(Start.java:315) > > at org.ofbiz.base.start.Start.main(Start.java:401) > > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher > > to RMI > > on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > > remote=org.ofbiz.ser > > vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > > [endpoint:[192.168.0.189:1093,org > > .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > > i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > > (RemoteException > > occurred in server thread; nested exception is: > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > excep > > tion is: > > java.net.MalformedURLException: no protocol: and) > > at > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > ava:129) > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > 7) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > at org.ofbiz.base.start.Start.start(Start.java:315) > > at org.ofbiz.base.start.Start.main(Start.java:401) > > java.rmi.ServerException: RemoteException occurred in server thread; > > nested exce > > ption is: > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > excep > > tion is: > > java.net.MalformedURLException: no protocol: and > > at > > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > > ) > > 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:4 > > 60) > > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > .java:701) > > at java.lang.Thread.run(Thread.java:534) > > at > > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > > RemoteCall.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.rebind(Unknown Source) > > at java.rmi.Naming.rebind(Naming.java:160) > > at > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > ava:127) > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > 7) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > at org.ofbiz.base.start.Start.start(Start.java:315) > > at org.ofbiz.base.start.Start.main(Start.java:401) > > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > > nested ex > > ception is: > > java.net.MalformedURLException: no protocol: and > > 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:4 > > 60) > > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > .java:701) > > at java.lang.Thread.run(Thread.java:534) > > Caused by: java.net.MalformedURLException: no protocol: and > > at java.net.URL.<init>(URL.java:537) > > at java.net.URL.<init>(URL.java:434) > > at java.net.URL.<init>(URL.java:383) > > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > > at > > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > > at > > java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > > at > > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > > a:200) > > at > > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > > 3) > > at > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > > at > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > > 626) > > at > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > > at > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > > ... 9 more > > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher > > to RMI > > on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > > remote=org.ofbiz.ser > > vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > > [endpoint:[192.168.0.189:1093,org > > .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > > i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > > (RemoteException > > occurred in server thread; nested exception is: > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > excep > > tion is: > > java.net.MalformedURLException: no protocol: and) > > at > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > ava:129) > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > 7) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > at org.ofbiz.base.start.Start.start(Start.java:315) > > at org.ofbiz.base.start.Start.main(Start.java:401) > > java.rmi.ServerException: RemoteException occurred in server thread; > > nested exce > > ption is: > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > excep > > tion is: > > java.net.MalformedURLException: no protocol: and > > at > > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > > ) > > 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:4 > > 60) > > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > .java:701) > > at java.lang.Thread.run(Thread.java:534) > > at > > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > > RemoteCall.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.rebind(Unknown Source) > > at java.rmi.Naming.rebind(Naming.java:160) > > at > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > ava:127) > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > 7) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > at org.ofbiz.base.start.Start.start(Start.java:315) > > at org.ofbiz.base.start.Start.main(Start.java:401) > > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > > nested ex > > ception is: > > java.net.MalformedURLException: no protocol: and > > 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:4 > > 60) > > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > .java:701) > > at java.lang.Thread.run(Thread.java:534) > > Caused by: java.net.MalformedURLException: no protocol: and > > at java.net.URL.<init>(URL.java:537) > > at java.net.URL.<init>(URL.java:434) > > at java.net.URL.<init>(URL.java:383) > > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > > at > > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > > at > > java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > > at > > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > > a:200) > > at > > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > > 3) > > at > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > > at > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > > 626) > > at > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > > at > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > > ... 9 more > > java.rmi.ServerException: RemoteException occurred in server thread; > > nested exce > > ption is: > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > excep > > tion is: > > java.net.MalformedURLException: no protocol: and > > at > > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > > ) > > 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:4 > > 60) > > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > .java:701) > > at java.lang.Thread.run(Thread.java:534) > > at > > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > > RemoteCall.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.rebind(Unknown Source) > > at java.rmi.Naming.rebind(Naming.java:160) > > at > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > ava:127) > > at > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > 7) > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > at org.ofbiz.base.start.Start.start(Start.java:315) > > at org.ofbiz.base.start.Start.main(Start.java:401) > > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > > nested ex > > ception is: > > java.net.MalformedURLException: no protocol: and > > 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:4 > > 60) > > at > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > .java:701) > > at java.lang.Thread.run(Thread.java:534) > > Caused by: java.net.MalformedURLException: no protocol: and > > at java.net.URL.<init>(URL.java:537) > > at java.net.URL.<init>(URL.java:434) > > at java.net.URL.<init>(URL.java:383) > > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > > at > > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > > at > > java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > > at > > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > > a:200) > > at > > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > > 3) > > at > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > > at > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > > 626) > > at > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > > at > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > > ... 9 more > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This one is for > > more of > > a debugging mode > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C:\Program > > Files\Java\j > > dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent > > -Djava. > > compiler=NONE > > -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar > > ofbiz.jar > framework\logs\console.log > > > Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
In reply to this post by yh-maurizio
Sorry, I am totally new to ofbiz
1) what's the use of ofbiz-containers.xml ? I cant see any port defined in it ? 2) what's the use of jetty-containers.xml ? i) what's the RMI port for ? ii) what's naming-container for ? <container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer">
|
/framework/base/config/ofbiz-container.xml
<container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer"> - <property name="port" value="1099"/> + <property name="port" value="2099"/> </container> <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer"> <property name="bound-name" value="RMIDispatcher"/> <property name="bound-host" value="0.0.0.0"/> - <property name="bound-port" value="1099"/> + <property name="bound-port" value="2099"/> <property name="delegator-name" value="default"/> <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> <property name="ssl-client-auth" value="true"/> </container> /framework/base/config/jetty-container.xml <container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer"> - <property name="port" value="1099"/> + <property name="port" value="2099"/> </container> <container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer"> <property name="bound-name" value="RMIDispatcher"/> <property name="bound-host" value="127.0.0.1"/> <property name="bound-port" value="1099"/> - <property name="bound-port" value="2099"/> + <property name="delegator-name" value="default"/> <property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> <property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> <property name="ssl-client-auth" value="true"/> </container> Good luck! ;-) Maurizio
|
Administrator
|
In reply to this post by Andrew Sykes
On Windows I found http://www.download.com/Active-Ports/3000-2085-10062969.html?part=dl-ActivePor&subj=dl&tag=button very useful
Jacques ----- Original Message ----- From: "Andrew Sykes" <[hidden email]> To: <[hidden email]> Sent: Monday, January 08, 2007 4:38 PM Subject: Re: Error on startofbiz > Fan, > > Yes, 1099 in use is by far the most common source of this error. > > - Andrew > > On Mon, 2007-01-08 at 07:32 -0800, yh-maurizio wrote: > > Probably, you're 1099 port is already used by another application, such as > > Skype (you can test this with ActivePorts). > > If so, you have to change the ports configuration, replacing the RMI port > > (e.g. from 1099 to 2099), in the ofbiz-containers.xml and > > jetty-containers.xml files. > > > > Maurizio. > > > > > > Fan wrote: > > > > > > Help !!!! Here is the error I encountered when I run the command > > > startofbiz in window XP > > > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz > > > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF > > > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program > > > Files\Java\jdk1. > > > 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar > > > 1>framework\l > > > ogs\console.log > > > org.ofbiz.base.start.StartupException: Cannot start() > > > org.ofbiz.service.rmi.RmiS > > > erviceContainer (Unable to bind RMIDispatcher to RMI on > > > //host[127.0.0.1]:port[1 > > > 099]/name[RMIDispatcher] - with > > > remote=org.ofbiz.service.rmi.RemoteDispatcherImp > > > l[RemoteStub [ref: > > > [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss > > > l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl.SSLClientSocket > > > Factory@128340](local),objID:[0]]]] (RemoteException occurred in server > > > thread; > > > nested exception is: > > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > > excep > > > tion is: > > > java.net.MalformedURLException: no protocol: and)) > > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > > 9) > > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > > at org.ofbiz.base.start.Start.start(Start.java:315) > > > at org.ofbiz.base.start.Start.main(Start.java:401) > > > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher > > > to RMI > > > on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > > > remote=org.ofbiz.ser > > > vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > > > [endpoint:[192.168.0.189:1093,org > > > .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > > > i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > > > (RemoteException > > > occurred in server thread; nested exception is: > > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > > excep > > > tion is: > > > java.net.MalformedURLException: no protocol: and) > > > at > > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > > ava:129) > > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > > 7) > > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > > at org.ofbiz.base.start.Start.start(Start.java:315) > > > at org.ofbiz.base.start.Start.main(Start.java:401) > > > java.rmi.ServerException: RemoteException occurred in server thread; > > > nested exce > > > ption is: > > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > > excep > > > tion is: > > > java.net.MalformedURLException: no protocol: and > > > at > > > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > > > ) > > > 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:4 > > > 60) > > > at > > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > > .java:701) > > > at java.lang.Thread.run(Thread.java:534) > > > at > > > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > > > RemoteCall.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.rebind(Unknown Source) > > > at java.rmi.Naming.rebind(Naming.java:160) > > > at > > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > > ava:127) > > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > > 7) > > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > > at org.ofbiz.base.start.Start.start(Start.java:315) > > > at org.ofbiz.base.start.Start.main(Start.java:401) > > > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > > > nested ex > > > ception is: > > > java.net.MalformedURLException: no protocol: and > > > 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:4 > > > 60) > > > at > > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > > .java:701) > > > at java.lang.Thread.run(Thread.java:534) > > > Caused by: java.net.MalformedURLException: no protocol: and > > > at java.net.URL.<init>(URL.java:537) > > > at java.net.URL.<init>(URL.java:434) > > > at java.net.URL.<init>(URL.java:383) > > > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > > > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > > > at > > > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > > > at > > > java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > > > at > > > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > > > a:200) > > > at > > > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > > > 3) > > > at > > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > > > at > > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > > > 626) > > > at > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > > > at > > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > > > ... 9 more > > > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher > > > to RMI > > > on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > > > remote=org.ofbiz.ser > > > vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > > > [endpoint:[192.168.0.189:1093,org > > > .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > > > i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > > > (RemoteException > > > occurred in server thread; nested exception is: > > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > > excep > > > tion is: > > > java.net.MalformedURLException: no protocol: and) > > > at > > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > > ava:129) > > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > > 7) > > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > > at org.ofbiz.base.start.Start.start(Start.java:315) > > > at org.ofbiz.base.start.Start.main(Start.java:401) > > > java.rmi.ServerException: RemoteException occurred in server thread; > > > nested exce > > > ption is: > > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > > excep > > > tion is: > > > java.net.MalformedURLException: no protocol: and > > > at > > > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > > > ) > > > 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:4 > > > 60) > > > at > > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > > .java:701) > > > at java.lang.Thread.run(Thread.java:534) > > > at > > > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > > > RemoteCall.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.rebind(Unknown Source) > > > at java.rmi.Naming.rebind(Naming.java:160) > > > at > > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > > ava:127) > > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > > 7) > > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > > at org.ofbiz.base.start.Start.start(Start.java:315) > > > at org.ofbiz.base.start.Start.main(Start.java:401) > > > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > > > nested ex > > > ception is: > > > java.net.MalformedURLException: no protocol: and > > > 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:4 > > > 60) > > > at > > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > > .java:701) > > > at java.lang.Thread.run(Thread.java:534) > > > Caused by: java.net.MalformedURLException: no protocol: and > > > at java.net.URL.<init>(URL.java:537) > > > at java.net.URL.<init>(URL.java:434) > > > at java.net.URL.<init>(URL.java:383) > > > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > > > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > > > at > > > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > > > at > > > java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > > > at > > > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > > > a:200) > > > at > > > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > > > 3) > > > at > > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > > > at > > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > > > 626) > > > at > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > > > at > > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > > > ... 9 more > > > java.rmi.ServerException: RemoteException occurred in server thread; > > > nested exce > > > ption is: > > > java.rmi.UnmarshalException: error unmarshalling arguments; nested > > > excep > > > tion is: > > > java.net.MalformedURLException: no protocol: and > > > at > > > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > > > ) > > > 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:4 > > > 60) > > > at > > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > > .java:701) > > > at java.lang.Thread.run(Thread.java:534) > > > at > > > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > > > RemoteCall.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.rebind(Unknown Source) > > > at java.rmi.Naming.rebind(Naming.java:160) > > > at > > > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > > > ava:127) > > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > > > 7) > > > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > > > at org.ofbiz.base.start.Start.startServer(Start.java:311) > > > at org.ofbiz.base.start.Start.start(Start.java:315) > > > at org.ofbiz.base.start.Start.main(Start.java:401) > > > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > > > nested ex > > > ception is: > > > java.net.MalformedURLException: no protocol: and > > > 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:4 > > > 60) > > > at > > > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > > > .java:701) > > > at java.lang.Thread.run(Thread.java:534) > > > Caused by: java.net.MalformedURLException: no protocol: and > > > at java.net.URL.<init>(URL.java:537) > > > at java.net.URL.<init>(URL.java:434) > > > at java.net.URL.<init>(URL.java:383) > > > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > > > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > > > at > > > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > > > at > > > java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > > > at > > > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > > > a:200) > > > at > > > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > > > 3) > > > at > > > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > > > at > > > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > > > 626) > > > at > > > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > > > at > > > java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > > > ... 9 more > > > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This one is for > > > more of > > > a debugging mode > > > > > > C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C:\Program > > > Files\Java\j > > > dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent > > > -Djava. > > > compiler=NONE > > > -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar > > > ofbiz.jar > framework\logs\console.log > > > > > > -- > Kind Regards > Andrew Sykes <[hidden email]> > Sykes Development Ltd > http://www.sykesdevelopment.com |
In reply to this post by Andrew Sykes
Andrew Sykes wrote:
> Fan, > Yes, 1099 in use is by far the most common source of this error. http://www.mail-archive.com/dev@.../msg39135.html |
Administrator
|
In reply to this post by fan-2
Fan,
From: "Fan" <[hidden email]> > > Sorry, I am totally new to ofbiz > > 1) what's the use of ofbiz-containers.xml ? I cant see any port defined in > it ? As its name indicates framework/base/config/ofbiz-containers.xml (you may notice that they are 2 ofbiz-containers.xml files) defines parameters for containers. > 2) what's the use of jetty-containers.xml ? By default it's no used (Tomcat is the default). But you may use it if you prefer hence the parameters there. > i) what's the RMI port for ? Needed if you want to use RMI (you know J2EE ?). Ie calling objects from other machines. This is an API. > ii) what's naming-container for ? > <container name="naming-container" > class="org.ofbiz.base.container.NamingServiceContainer"> I know now that you don't know J2EE. This is an API to deal with naming ressources. I guess you may have a look to http://docs.ofbiz.org/x/PQM Jacques > > > yh-maurizio wrote: > > > > Probably, you're 1099 port is already used by another application, such as > > Skype (you can test this with ActivePorts). > > If so, you have to change the ports configuration, replacing the RMI port > > (e.g. from 1099 to 2099), in the ofbiz-containers.xml and > > jetty-containers.xml files. > > > > Maurizio. > > > > > > Fan wrote: > >> > >> Help !!!! Here is the error I encountered when I run the command > >> startofbiz in window XP > >> > >> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz > >> > >> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF > >> > >> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program > >> Files\Java\jdk1. > >> 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar > >> 1>framework\l > >> ogs\console.log > >> org.ofbiz.base.start.StartupException: Cannot start() > >> org.ofbiz.service.rmi.RmiS > >> erviceContainer (Unable to bind RMIDispatcher to RMI on > >> //host[127.0.0.1]:port[1 > >> 099]/name[RMIDispatcher] - with > >> remote=org.ofbiz.service.rmi.RemoteDispatcherImp > >> l[RemoteStub [ref: > >> [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss > >> l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl.SSLClientSocket > >> Factory@128340](local),objID:[0]]]] (RemoteException occurred in server > >> thread; > >> nested exception is: > >> java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and)) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 9) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher > >> to RMI > >> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > >> remote=org.ofbiz.ser > >> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > >> [endpoint:[192.168.0.189:1093,org > >> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > >> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > >> (RemoteException > >> occurred in server thread; nested exception is: > >> java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:129) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> java.rmi.ServerException: RemoteException occurred in server thread; > >> nested exce > >> ption is: > >> java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > >> ) > >> 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:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:534) > >> at > >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >> RemoteCall.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.rebind(Unknown Source) > >> at java.rmi.Naming.rebind(Naming.java:160) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:127) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested ex > >> ception is: > >> java.net.MalformedURLException: no protocol: and > >> 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:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:534) > >> Caused by: java.net.MalformedURLException: no protocol: and > >> at java.net.URL.<init>(URL.java:537) > >> at java.net.URL.<init>(URL.java:434) > >> at java.net.URL.<init>(URL.java:383) > >> at > >> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >> at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >> at > >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > >> at > >> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >> at > >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >> a:200) > >> at > >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > >> 3) > >> at > >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > >> at > >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >> 626) > >> at > >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >> at > >> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >> ... 9 more > >> org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher > >> to RMI > >> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > >> remote=org.ofbiz.ser > >> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > >> [endpoint:[192.168.0.189:1093,org > >> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > >> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > >> (RemoteException > >> occurred in server thread; nested exception is: > >> java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:129) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> java.rmi.ServerException: RemoteException occurred in server thread; > >> nested exce > >> ption is: > >> java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > >> ) > >> 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:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:534) > >> at > >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >> RemoteCall.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.rebind(Unknown Source) > >> at java.rmi.Naming.rebind(Naming.java:160) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:127) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested ex > >> ception is: > >> java.net.MalformedURLException: no protocol: and > >> 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:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:534) > >> Caused by: java.net.MalformedURLException: no protocol: and > >> at java.net.URL.<init>(URL.java:537) > >> at java.net.URL.<init>(URL.java:434) > >> at java.net.URL.<init>(URL.java:383) > >> at > >> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >> at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >> at > >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > >> at > >> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >> at > >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >> a:200) > >> at > >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > >> 3) > >> at > >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > >> at > >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >> 626) > >> at > >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >> at > >> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >> ... 9 more > >> java.rmi.ServerException: RemoteException occurred in server thread; > >> nested exce > >> ption is: > >> java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > >> ) > >> 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:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:534) > >> at > >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >> RemoteCall.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.rebind(Unknown Source) > >> at java.rmi.Naming.rebind(Naming.java:160) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:127) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > >> nested ex > >> ception is: > >> java.net.MalformedURLException: no protocol: and > >> 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:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:534) > >> Caused by: java.net.MalformedURLException: no protocol: and > >> at java.net.URL.<init>(URL.java:537) > >> at java.net.URL.<init>(URL.java:434) > >> at java.net.URL.<init>(URL.java:383) > >> at > >> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >> at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >> at > >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > >> at > >> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >> at > >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >> a:200) > >> at > >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > >> 3) > >> at > >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > >> at > >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >> 626) > >> at > >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >> at > >> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >> ... 9 more > >> > >> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This one is for > >> more of > >> a debugging mode > >> > >> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C:\Program > >> Files\Java\j > >> dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent > >> -Djava. > >> compiler=NONE > >> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar > >> ofbiz.jar > framework\logs\console.log > >> > > > > > > -- > View this message in context: http://www.nabble.com/Error-on-startofbiz-tf2939899.html#a8220803 > Sent from the OFBiz - User mailing list archive at Nabble.com. |
In reply to this post by yh-maurizio
I have the same problem even I had changed all port to 2099
C:\Documents and Settings\fan2\Desktop\Source\ofbiz>"C:\Program Files\Java\jdk1. 5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar 1>framewor k\logs\console.log org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiS erviceContainer (Unable to bind RMIDispatcher to RMI on //host[127.0.0.1]:port[2 099]/name[RMIDispatcher] - with remote=RemoteDispatcherImpl[UnicastServerRef2 [l iveRef: [endpoint:[188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory@1b c6533](local),objID:[0]]]] (RemoteException occurred in server thread; nested ex ception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and)) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 9) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with remote=RemoteDispatc herImpl[UnicastServerRef2 [liveRef: [endpoint:[188.188.8.215:2605,org.ofbiz.serv ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.s sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] (RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:129) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) java.rmi.ServerException: RemoteException occurred in server thread; nested exce ption is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 ) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream RemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: 223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:160) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:127) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex ception is: java.net.MalformedURLException: no protocol: and at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 ) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:595) Caused by: java.net.MalformedURLException: no protocol: and at java.net.URL.<init>(URL.java:567) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:197) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 8) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 693) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) ... 9 more org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with remote=RemoteDispatc herImpl[UnicastServerRef2 [liveRef: [endpoint:[188.188.8.215:2605,org.ofbiz.serv ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.s sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] (RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:129) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) java.rmi.ServerException: RemoteException occurred in server thread; nested exce ption is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 ) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream RemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: 223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:160) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:127) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex ception is: java.net.MalformedURLException: no protocol: and at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 ) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:595) Caused by: java.net.MalformedURLException: no protocol: and at java.net.URL.<init>(URL.java:567) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:197) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 8) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 693) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) ... 9 more java.rmi.ServerException: RemoteException occurred in server thread; nested exce ption is: java.rmi.UnmarshalException: error unmarshalling arguments; nested excep tion is: java.net.MalformedURLException: no protocol: and at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 ) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream RemoteCall.java:247) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: 223) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at java.rmi.Naming.rebind(Naming.java:160) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j ava:127) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 7) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) at org.ofbiz.base.start.Start.startServer(Start.java:311) at org.ofbiz.base.start.Start.start(Start.java:315) at org.ofbiz.base.start.Start.main(Start.java:401) Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested ex ception is: java.net.MalformedURLException: no protocol: and at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 ) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 60) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport .java:701) at java.lang.Thread.run(Thread.java:595) Caused by: java.net.MalformedURLException: no protocol: and at java.net.URL.<init>(URL.java:567) at java.net.URL.<init>(URL.java:464) at java.net.URL.<init>(URL.java:413) at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav a:197) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 8) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 693) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) ... 9 more C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM This one is for more of a debugging mode C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM "C:\Program Files\Java\j dk1.5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent -Dja va.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - jar ofbiz.jar > framework\logs\console.log C:\Documents and Settings\fan2\Desktop\Source\ofbiz>
|
Administrator
|
Fan,
I see now that you have a blank in your java path. "C:\Program Files\Java\jdk1.5.0_06\bin\java" This is not supported please reinstall jdk in a path without any blank, for instance "C:\Java\jdk1.5.0_06\bin\java" I know this is the default from Sun, and we should document this somewhere (if not already done ;o). If it's already done we should try to have an install file with some very basic recommandations to avoid repeting this stuff and such so many times... WDYT folks ? Thanks Jacques ----- Original Message ----- From: "Fan" <[hidden email]> To: <[hidden email]> Sent: Tuesday, January 09, 2007 3:15 AM Subject: Re: Error on startofbiz > > I have the same problem even I had changed all port to 2099 > > C:\Documents and Settings\fan2\Desktop\Source\ofbiz>"C:\Program > Files\Java\jdk1. > 5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar > 1>framewor > k\logs\console.log > org.ofbiz.base.start.StartupException: Cannot start() > org.ofbiz.service.rmi.RmiS > erviceContainer (Unable to bind RMIDispatcher to RMI on > //host[127.0.0.1]:port[2 > 099]/name[RMIDispatcher] - with > remote=RemoteDispatcherImpl[UnicastServerRef2 [l > iveRef: > [endpoint:[188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer > SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory@1b > c6533](local),objID:[0]]]] (RemoteException occurred in server thread; > nested ex > ception is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested > excep > tion is: > java.net.MalformedURLException: no protocol: and)) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > 9) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > at org.ofbiz.base.start.Start.startServer(Start.java:311) > at org.ofbiz.base.start.Start.start(Start.java:315) > at org.ofbiz.base.start.Start.main(Start.java:401) > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI > on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with > remote=RemoteDispatc > herImpl[UnicastServerRef2 [liveRef: > [endpoint:[188.188.8.215:2605,org.ofbiz.serv > ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.s > sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] (RemoteException > occurred > in server thread; nested exception is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested > excep > tion is: > java.net.MalformedURLException: no protocol: and) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > ava:129) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > 7) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > at org.ofbiz.base.start.Start.startServer(Start.java:311) > at org.ofbiz.base.start.Start.start(Start.java:315) > at org.ofbiz.base.start.Start.main(Start.java:401) > java.rmi.ServerException: RemoteException occurred in server thread; nested > exce > ption is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested > excep > tion is: > java.net.MalformedURLException: no protocol: and > at > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 > ) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > 60) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > .java:701) > at java.lang.Thread.run(Thread.java:595) > at > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > RemoteCall.java:247) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: > 223) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) > at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) > at java.rmi.Naming.rebind(Naming.java:160) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > ava:127) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > 7) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > at org.ofbiz.base.start.Start.startServer(Start.java:311) > at org.ofbiz.base.start.Start.start(Start.java:315) > at org.ofbiz.base.start.Start.main(Start.java:401) > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > nested ex > ception is: > java.net.MalformedURLException: no protocol: and > at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) > at > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 > ) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > 60) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > .java:701) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.net.MalformedURLException: no protocol: and > at java.net.URL.<init>(URL.java:567) > at java.net.URL.<init>(URL.java:464) > at java.net.URL.<init>(URL.java:413) > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > at > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) > at > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > a:197) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 > 8) > at > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > 693) > at > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) > ... 9 more > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI > on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with > remote=RemoteDispatc > herImpl[UnicastServerRef2 [liveRef: > [endpoint:[188.188.8.215:2605,org.ofbiz.serv > ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.s > sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] (RemoteException > occurred > in server thread; nested exception is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested > excep > tion is: > java.net.MalformedURLException: no protocol: and) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > ava:129) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > 7) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > at org.ofbiz.base.start.Start.startServer(Start.java:311) > at org.ofbiz.base.start.Start.start(Start.java:315) > at org.ofbiz.base.start.Start.main(Start.java:401) > java.rmi.ServerException: RemoteException occurred in server thread; nested > exce > ption is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested > excep > tion is: > java.net.MalformedURLException: no protocol: and > at > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 > ) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > 60) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > .java:701) > at java.lang.Thread.run(Thread.java:595) > at > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > RemoteCall.java:247) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: > 223) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) > at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) > at java.rmi.Naming.rebind(Naming.java:160) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > ava:127) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > 7) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > at org.ofbiz.base.start.Start.startServer(Start.java:311) > at org.ofbiz.base.start.Start.start(Start.java:315) > at org.ofbiz.base.start.Start.main(Start.java:401) > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > nested ex > ception is: > java.net.MalformedURLException: no protocol: and > at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) > at > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 > ) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > 60) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > .java:701) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.net.MalformedURLException: no protocol: and > at java.net.URL.<init>(URL.java:567) > at java.net.URL.<init>(URL.java:464) > at java.net.URL.<init>(URL.java:413) > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > at > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) > at > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > a:197) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 > 8) > at > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > 693) > at > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) > ... 9 more > java.rmi.ServerException: RemoteException occurred in server thread; nested > exce > ption is: > java.rmi.UnmarshalException: error unmarshalling arguments; nested > excep > tion is: > java.net.MalformedURLException: no protocol: and > at > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 > ) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > 60) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > .java:701) > at java.lang.Thread.run(Thread.java:595) > at > sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > RemoteCall.java:247) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: > 223) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) > at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) > at java.rmi.Naming.rebind(Naming.java:160) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > ava:127) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > 7) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > at org.ofbiz.base.start.Start.startServer(Start.java:311) > at org.ofbiz.base.start.Start.start(Start.java:315) > at org.ofbiz.base.start.Start.main(Start.java:401) > Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > nested ex > ception is: > java.net.MalformedURLException: no protocol: and > at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) > at > sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 > ) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > 60) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > .java:701) > at java.lang.Thread.run(Thread.java:595) > Caused by: java.net.MalformedURLException: no protocol: and > at java.net.URL.<init>(URL.java:567) > at java.net.URL.<init>(URL.java:464) > at java.net.URL.<init>(URL.java:413) > at sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > at > java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) > at > sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > a:197) > at > java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 > 8) > at > java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) > at > java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > 693) > at > java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) > ... 9 more > > C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM This one is for more > of > a debugging mode > > C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM "C:\Program > Files\Java\j > dk1.5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent > -Dja > va.compiler=NONE > -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - > jar ofbiz.jar > framework\logs\console.log > C:\Documents and Settings\fan2\Desktop\Source\ofbiz> > > > yh-maurizio wrote: > > > > Sorry, *your*, not *you're* ;-) > > > > > > yh-maurizio wrote: > >> > >> Probably, you're 1099 port is already used by another application, such > >> as Skype (you can test this with ActivePorts). > >> If so, you have to change the ports configuration, replacing the RMI port > >> (e.g. from 1099 to 2099), in the ofbiz-containers.xml and > >> jetty-containers.xml files. > >> > >> Maurizio. > >> > >> > >> Fan wrote: > >>> > >>> Help !!!! Here is the error I encountered when I run the command > >>> startofbiz in window XP > >>> > >>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz > >>> > >>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF > >>> > >>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program > >>> Files\Java\jdk1. > >>> 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar > >>> 1>framework\l > >>> ogs\console.log > >>> org.ofbiz.base.start.StartupException: Cannot start() > >>> org.ofbiz.service.rmi.RmiS > >>> erviceContainer (Unable to bind RMIDispatcher to RMI on > >>> //host[127.0.0.1]:port[1 > >>> 099]/name[RMIDispatcher] - with > >>> remote=org.ofbiz.service.rmi.RemoteDispatcherImp > >>> l[RemoteStub [ref: > >>> [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss > >>> l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl.SSLClientSocket > >>> Factory@128340](local),objID:[0]]]] (RemoteException occurred in server > >>> thread; > >>> nested exception is: > >>> java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested excep > >>> tion is: > >>> java.net.MalformedURLException: no protocol: and)) > >>> at > >>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >>> 9) > >>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>> org.ofbiz.base.container.ContainerException: Unable to bind > >>> RMIDispatcher to RMI > >>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > >>> remote=org.ofbiz.ser > >>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > >>> [endpoint:[192.168.0.189:1093,org > >>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > >>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > >>> (RemoteException > >>> occurred in server thread; nested exception is: > >>> java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested excep > >>> tion is: > >>> java.net.MalformedURLException: no protocol: and) > >>> at > >>> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >>> ava:129) > >>> at > >>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >>> 7) > >>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>> java.rmi.ServerException: RemoteException occurred in server thread; > >>> nested exce > >>> ption is: > >>> java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested excep > >>> tion is: > >>> java.net.MalformedURLException: no protocol: and > >>> at > >>> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > >>> ) > >>> 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:4 > >>> 60) > >>> at > >>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >>> .java:701) > >>> at java.lang.Thread.run(Thread.java:534) > >>> at > >>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >>> RemoteCall.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.rebind(Unknown Source) > >>> at java.rmi.Naming.rebind(Naming.java:160) > >>> at > >>> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >>> ava:127) > >>> at > >>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >>> 7) > >>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested ex > >>> ception is: > >>> java.net.MalformedURLException: no protocol: and > >>> 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:4 > >>> 60) > >>> at > >>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >>> .java:701) > >>> at java.lang.Thread.run(Thread.java:534) > >>> Caused by: java.net.MalformedURLException: no protocol: and > >>> at java.net.URL.<init>(URL.java:537) > >>> at java.net.URL.<init>(URL.java:434) > >>> at java.net.URL.<init>(URL.java:383) > >>> at > >>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >>> at > >>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >>> at > >>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > >>> at > >>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >>> at > >>> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >>> a:200) > >>> at > >>> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > >>> 3) > >>> at > >>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > >>> at > >>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >>> 626) > >>> at > >>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>> at > >>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >>> ... 9 more > >>> org.ofbiz.base.container.ContainerException: Unable to bind > >>> RMIDispatcher to RMI > >>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > >>> remote=org.ofbiz.ser > >>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > >>> [endpoint:[192.168.0.189:1093,org > >>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.ofbiz.service.rm > >>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > >>> (RemoteException > >>> occurred in server thread; nested exception is: > >>> java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested excep > >>> tion is: > >>> java.net.MalformedURLException: no protocol: and) > >>> at > >>> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >>> ava:129) > >>> at > >>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >>> 7) > >>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>> java.rmi.ServerException: RemoteException occurred in server thread; > >>> nested exce > >>> ption is: > >>> java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested excep > >>> tion is: > >>> java.net.MalformedURLException: no protocol: and > >>> at > >>> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > >>> ) > >>> 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:4 > >>> 60) > >>> at > >>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >>> .java:701) > >>> at java.lang.Thread.run(Thread.java:534) > >>> at > >>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >>> RemoteCall.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.rebind(Unknown Source) > >>> at java.rmi.Naming.rebind(Naming.java:160) > >>> at > >>> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >>> ava:127) > >>> at > >>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >>> 7) > >>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested ex > >>> ception is: > >>> java.net.MalformedURLException: no protocol: and > >>> 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:4 > >>> 60) > >>> at > >>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >>> .java:701) > >>> at java.lang.Thread.run(Thread.java:534) > >>> Caused by: java.net.MalformedURLException: no protocol: and > >>> at java.net.URL.<init>(URL.java:537) > >>> at java.net.URL.<init>(URL.java:434) > >>> at java.net.URL.<init>(URL.java:383) > >>> at > >>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >>> at > >>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >>> at > >>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > >>> at > >>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >>> at > >>> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >>> a:200) > >>> at > >>> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > >>> 3) > >>> at > >>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > >>> at > >>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >>> 626) > >>> at > >>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>> at > >>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >>> ... 9 more > >>> java.rmi.ServerException: RemoteException occurred in server thread; > >>> nested exce > >>> ption is: > >>> java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested excep > >>> tion is: > >>> java.net.MalformedURLException: no protocol: and > >>> at > >>> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:352 > >>> ) > >>> 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:4 > >>> 60) > >>> at > >>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >>> .java:701) > >>> at java.lang.Thread.run(Thread.java:534) > >>> at > >>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >>> RemoteCall.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.rebind(Unknown Source) > >>> at java.rmi.Naming.rebind(Naming.java:160) > >>> at > >>> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >>> ava:127) > >>> at > >>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >>> 7) > >>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:260) > >>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>> Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; > >>> nested ex > >>> ception is: > >>> java.net.MalformedURLException: no protocol: and > >>> 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:4 > >>> 60) > >>> at > >>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >>> .java:701) > >>> at java.lang.Thread.run(Thread.java:534) > >>> Caused by: java.net.MalformedURLException: no protocol: and > >>> at java.net.URL.<init>(URL.java:537) > >>> at java.net.URL.<init>(URL.java:434) > >>> at java.net.URL.<init>(URL.java:383) > >>> at > >>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >>> at > >>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >>> at > >>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631) > >>> at > >>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >>> at > >>> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >>> a:200) > >>> at > >>> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151 > >>> 3) > >>> at > >>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435) > >>> at > >>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >>> 626) > >>> at > >>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>> at > >>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >>> ... 9 more > >>> > >>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This one is for > >>> more of > >>> a debugging mode > >>> > >>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C:\Program > >>> Files\Java\j > >>> dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug -Xnoagent > >>> -Djava. > >>> compiler=NONE > >>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar > >>> ofbiz.jar > framework\logs\console.log > >>> > >> > >> > > > > > > -- > View this message in context: http://www.nabble.com/Error-on-startofbiz-tf2939899.html#a8230836 > Sent from the OFBiz - User mailing list archive at Nabble.com. |
Interesting... it seems like that was fixed recently so it could run even with such spaces... has anyone verified this recently? Fan: which version/revision of OFBiz are you running? -David On Jan 8, 2007, at 10:23 PM, Jacques Le Roux wrote: > Fan, > > I see now that you have a blank in your java path. > "C:\Program Files\Java\jdk1.5.0_06\bin\java" > This is not supported please reinstall jdk in a path without any > blank, for instance > "C:\Java\jdk1.5.0_06\bin\java" > > I know this is the default from Sun, and we should document this > somewhere (if not already done ;o). > > If it's already done we should try to have an install file with > some very basic recommandations to avoid repeting this stuff and > such so many times... > > WDYT folks ? > > Thanks > > Jacques > > ----- Original Message ----- > From: "Fan" <[hidden email]> > To: <[hidden email]> > Sent: Tuesday, January 09, 2007 3:15 AM > Subject: Re: Error on startofbiz > > >> >> I have the same problem even I had changed all port to 2099 >> >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>"C:\Program >> Files\Java\jdk1. >> 5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar >> 1>framewor >> k\logs\console.log >> org.ofbiz.base.start.StartupException: Cannot start() >> org.ofbiz.service.rmi.RmiS >> erviceContainer (Unable to bind RMIDispatcher to RMI on >> //host[127.0.0.1]:port[2 >> 099]/name[RMIDispatcher] - with >> remote=RemoteDispatcherImpl[UnicastServerRef2 [l >> iveRef: >> [endpoint: >> [188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer >> SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSocke >> tFactory@1b >> c6533](local),objID:[0]]]] (RemoteException occurred in server >> thread; >> nested ex >> ception is: >> java.rmi.UnmarshalException: error unmarshalling >> arguments; nested >> excep >> tion is: >> java.net.MalformedURLException: no protocol: and)) >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 >> 9) >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> 260) >> at org.ofbiz.base.start.Start.startServer(Start.java:311) >> at org.ofbiz.base.start.Start.start(Start.java:315) >> at org.ofbiz.base.start.Start.main(Start.java:401) >> org.ofbiz.base.container.ContainerException: Unable to bind >> RMIDispatcher to >> RMI >> on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with >> remote=RemoteDispatc >> herImpl[UnicastServerRef2 [liveRef: >> [endpoint:[188.188.8.215:2605,org.ofbiz.serv >> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.r >> mi.socket.s >> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] >> (RemoteException >> occurred >> in server thread; nested exception is: >> java.rmi.UnmarshalException: error unmarshalling >> arguments; nested >> excep >> tion is: >> java.net.MalformedURLException: no protocol: and) >> at >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j >> ava:129) >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 >> 7) >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> 260) >> at org.ofbiz.base.start.Start.startServer(Start.java:311) >> at org.ofbiz.base.start.Start.start(Start.java:315) >> at org.ofbiz.base.start.Start.main(Start.java:401) >> java.rmi.ServerException: RemoteException occurred in server >> thread; nested >> exce >> ption is: >> java.rmi.UnmarshalException: error unmarshalling >> arguments; nested >> excep >> tion is: >> java.net.MalformedURLException: no protocol: and >> at >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 >> ) >> at >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >> at sun.rmi.transport.Transport$1.run(Transport.java:153) >> at java.security.AccessController.doPrivileged(Native Method) >> at sun.rmi.transport.Transport.serviceCall(Transport.java: >> 149) >> at >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 >> 60) >> at >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport >> .java:701) >> at java.lang.Thread.run(Thread.java:595) >> at >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream >> RemoteCall.java:247) >> at >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: >> 223) >> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) >> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) >> at java.rmi.Naming.rebind(Naming.java:160) >> at >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j >> ava:127) >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 >> 7) >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> 260) >> at org.ofbiz.base.start.Start.startServer(Start.java:311) >> at org.ofbiz.base.start.Start.start(Start.java:315) >> at org.ofbiz.base.start.Start.main(Start.java:401) >> Caused by: java.rmi.UnmarshalException: error unmarshalling >> arguments; >> nested ex >> ception is: >> java.net.MalformedURLException: no protocol: and >> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown >> Source) >> at >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 >> ) >> at >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >> at sun.rmi.transport.Transport$1.run(Transport.java:153) >> at java.security.AccessController.doPrivileged(Native Method) >> at sun.rmi.transport.Transport.serviceCall(Transport.java: >> 149) >> at >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 >> 60) >> at >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport >> .java:701) >> at java.lang.Thread.run(Thread.java:595) >> Caused by: java.net.MalformedURLException: no protocol: and >> at java.net.URL.<init>(URL.java:567) >> at java.net.URL.<init>(URL.java:464) >> at java.net.URL.<init>(URL.java:413) >> at sun.rmi.server.LoaderHandler.pathToURLs >> (LoaderHandler.java:747) >> at sun.rmi.server.LoaderHandler.loadClass >> (LoaderHandler.java:147) >> at >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) >> at java.rmi.server.RMIClassLoader.loadClass >> (RMIClassLoader.java:247) >> at >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav >> a:197) >> at >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 >> 8) >> at >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) >> at >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 >> 693) >> at >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) >> at java.io.ObjectInputStream.readObject >> (ObjectInputStream.java:339) >> ... 9 more >> org.ofbiz.base.container.ContainerException: Unable to bind >> RMIDispatcher to >> RMI >> on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with >> remote=RemoteDispatc >> herImpl[UnicastServerRef2 [liveRef: >> [endpoint:[188.188.8.215:2605,org.ofbiz.serv >> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.r >> mi.socket.s >> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] >> (RemoteException >> occurred >> in server thread; nested exception is: >> java.rmi.UnmarshalException: error unmarshalling >> arguments; nested >> excep >> tion is: >> java.net.MalformedURLException: no protocol: and) >> at >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j >> ava:129) >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 >> 7) >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> 260) >> at org.ofbiz.base.start.Start.startServer(Start.java:311) >> at org.ofbiz.base.start.Start.start(Start.java:315) >> at org.ofbiz.base.start.Start.main(Start.java:401) >> java.rmi.ServerException: RemoteException occurred in server >> thread; nested >> exce >> ption is: >> java.rmi.UnmarshalException: error unmarshalling >> arguments; nested >> excep >> tion is: >> java.net.MalformedURLException: no protocol: and >> at >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 >> ) >> at >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >> at sun.rmi.transport.Transport$1.run(Transport.java:153) >> at java.security.AccessController.doPrivileged(Native Method) >> at sun.rmi.transport.Transport.serviceCall(Transport.java: >> 149) >> at >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 >> 60) >> at >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport >> .java:701) >> at java.lang.Thread.run(Thread.java:595) >> at >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream >> RemoteCall.java:247) >> at >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: >> 223) >> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) >> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) >> at java.rmi.Naming.rebind(Naming.java:160) >> at >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j >> ava:127) >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 >> 7) >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> 260) >> at org.ofbiz.base.start.Start.startServer(Start.java:311) >> at org.ofbiz.base.start.Start.start(Start.java:315) >> at org.ofbiz.base.start.Start.main(Start.java:401) >> Caused by: java.rmi.UnmarshalException: error unmarshalling >> arguments; >> nested ex >> ception is: >> java.net.MalformedURLException: no protocol: and >> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown >> Source) >> at >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 >> ) >> at >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >> at sun.rmi.transport.Transport$1.run(Transport.java:153) >> at java.security.AccessController.doPrivileged(Native Method) >> at sun.rmi.transport.Transport.serviceCall(Transport.java: >> 149) >> at >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 >> 60) >> at >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport >> .java:701) >> at java.lang.Thread.run(Thread.java:595) >> Caused by: java.net.MalformedURLException: no protocol: and >> at java.net.URL.<init>(URL.java:567) >> at java.net.URL.<init>(URL.java:464) >> at java.net.URL.<init>(URL.java:413) >> at sun.rmi.server.LoaderHandler.pathToURLs >> (LoaderHandler.java:747) >> at sun.rmi.server.LoaderHandler.loadClass >> (LoaderHandler.java:147) >> at >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) >> at java.rmi.server.RMIClassLoader.loadClass >> (RMIClassLoader.java:247) >> at >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav >> a:197) >> at >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 >> 8) >> at >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) >> at >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 >> 693) >> at >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) >> at java.io.ObjectInputStream.readObject >> (ObjectInputStream.java:339) >> ... 9 more >> java.rmi.ServerException: RemoteException occurred in server >> thread; nested >> exce >> ption is: >> java.rmi.UnmarshalException: error unmarshalling >> arguments; nested >> excep >> tion is: >> java.net.MalformedURLException: no protocol: and >> at >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 >> ) >> at >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >> at sun.rmi.transport.Transport$1.run(Transport.java:153) >> at java.security.AccessController.doPrivileged(Native Method) >> at sun.rmi.transport.Transport.serviceCall(Transport.java: >> 149) >> at >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 >> 60) >> at >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport >> .java:701) >> at java.lang.Thread.run(Thread.java:595) >> at >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream >> RemoteCall.java:247) >> at >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: >> 223) >> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) >> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) >> at java.rmi.Naming.rebind(Naming.java:160) >> at >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j >> ava:127) >> at >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 >> 7) >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> 260) >> at org.ofbiz.base.start.Start.startServer(Start.java:311) >> at org.ofbiz.base.start.Start.start(Start.java:315) >> at org.ofbiz.base.start.Start.main(Start.java:401) >> Caused by: java.rmi.UnmarshalException: error unmarshalling >> arguments; >> nested ex >> ception is: >> java.net.MalformedURLException: no protocol: and >> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown >> Source) >> at >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 >> ) >> at >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >> at sun.rmi.transport.Transport$1.run(Transport.java:153) >> at java.security.AccessController.doPrivileged(Native Method) >> at sun.rmi.transport.Transport.serviceCall(Transport.java: >> 149) >> at >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 >> 60) >> at >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport >> .java:701) >> at java.lang.Thread.run(Thread.java:595) >> Caused by: java.net.MalformedURLException: no protocol: and >> at java.net.URL.<init>(URL.java:567) >> at java.net.URL.<init>(URL.java:464) >> at java.net.URL.<init>(URL.java:413) >> at sun.rmi.server.LoaderHandler.pathToURLs >> (LoaderHandler.java:747) >> at sun.rmi.server.LoaderHandler.loadClass >> (LoaderHandler.java:147) >> at >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) >> at java.rmi.server.RMIClassLoader.loadClass >> (RMIClassLoader.java:247) >> at >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav >> a:197) >> at >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 >> 8) >> at >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) >> at >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 >> 693) >> at >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) >> at java.io.ObjectInputStream.readObject >> (ObjectInputStream.java:339) >> ... 9 more >> >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM This one >> is for more >> of >> a debugging mode >> >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM "C:\Program >> Files\Java\j >> dk1.5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug - >> Xnoagent >> -Dja >> va.compiler=NONE >> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - >> jar ofbiz.jar > framework\logs\console.log >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz> >> >> >> yh-maurizio wrote: >>> >>> Sorry, *your*, not *you're* ;-) >>> >>> >>> yh-maurizio wrote: >>>> >>>> Probably, you're 1099 port is already used by another >>>> application, such >>>> as Skype (you can test this with ActivePorts). >>>> If so, you have to change the ports configuration, replacing the >>>> RMI port >>>> (e.g. from 1099 to 2099), in the ofbiz-containers.xml and >>>> jetty-containers.xml files. >>>> >>>> Maurizio. >>>> >>>> >>>> Fan wrote: >>>>> >>>>> Help !!!! Here is the error I encountered when I run the command >>>>> startofbiz in window XP >>>>> >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz >>>>> >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF >>>>> >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program >>>>> Files\Java\jdk1. >>>>> 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar >>>>> 1>framework\l >>>>> ogs\console.log >>>>> org.ofbiz.base.start.StartupException: Cannot start() >>>>> org.ofbiz.service.rmi.RmiS >>>>> erviceContainer (Unable to bind RMIDispatcher to RMI on >>>>> //host[127.0.0.1]:port[1 >>>>> 099]/name[RMIDispatcher] - with >>>>> remote=org.ofbiz.service.rmi.RemoteDispatcherImp >>>>> l[RemoteStub [ref: >>>>> [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss >>>>> l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl.S >>>>> SLClientSocket >>>>> Factory@128340](local),objID:[0]]]] (RemoteException occurred >>>>> in server >>>>> thread; >>>>> nested exception is: >>>>> java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested excep >>>>> tion is: >>>>> java.net.MalformedURLException: no protocol: and)) >>>>> at >>>>> org.ofbiz.base.container.ContainerLoader.start >>>>> (ContainerLoader.java:7 >>>>> 9) >>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>> (Start.java:260) >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>> org.ofbiz.base.container.ContainerException: Unable to bind >>>>> RMIDispatcher to RMI >>>>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with >>>>> remote=org.ofbiz.ser >>>>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: >>>>> [endpoint:[192.168.0.189:1093,org >>>>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.of >>>>> biz.service.rm >>>>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] >>>>> (RemoteException >>>>> occurred in server thread; nested exception is: >>>>> java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested excep >>>>> tion is: >>>>> java.net.MalformedURLException: no protocol: and) >>>>> at >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>> (RmiServiceContainer.j >>>>> ava:129) >>>>> at >>>>> org.ofbiz.base.container.ContainerLoader.start >>>>> (ContainerLoader.java:7 >>>>> 7) >>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>> (Start.java:260) >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>> java.rmi.ServerException: RemoteException occurred in server >>>>> thread; >>>>> nested exce >>>>> ption is: >>>>> java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested excep >>>>> tion is: >>>>> java.net.MalformedURLException: no protocol: and >>>>> at >>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>> (UnicastServerRef.java:352 >>>>> ) >>>>> 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:4 >>>>> 60) >>>>> at >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>> (TCPTransport >>>>> .java:701) >>>>> at java.lang.Thread.run(Thread.java:534) >>>>> at >>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>>> (Stream >>>>> RemoteCall.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.rebind(Unknown >>>>> Source) >>>>> at java.rmi.Naming.rebind(Naming.java:160) >>>>> at >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>> (RmiServiceContainer.j >>>>> ava:127) >>>>> at >>>>> org.ofbiz.base.container.ContainerLoader.start >>>>> (ContainerLoader.java:7 >>>>> 7) >>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>> (Start.java:260) >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested ex >>>>> ception is: >>>>> java.net.MalformedURLException: no protocol: and >>>>> 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:4 >>>>> 60) >>>>> at >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>> (TCPTransport >>>>> .java:701) >>>>> at java.lang.Thread.run(Thread.java:534) >>>>> Caused by: java.net.MalformedURLException: no protocol: and >>>>> at java.net.URL.<init>(URL.java:537) >>>>> at java.net.URL.<init>(URL.java:434) >>>>> at java.net.URL.<init>(URL.java:383) >>>>> at >>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) >>>>> at >>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) >>>>> at >>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: >>>>> 631) >>>>> at >>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) >>>>> at >>>>> sun.rmi.server.MarshalInputStream.resolveClass >>>>> (MarshalInputStream.jav >>>>> a:200) >>>>> at >>>>> java.io.ObjectInputStream.readNonProxyDesc >>>>> (ObjectInputStream.java:151 >>>>> 3) >>>>> at >>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>>> 1435) >>>>> at >>>>> java.io.ObjectInputStream.readOrdinaryObject >>>>> (ObjectInputStream.java:1 >>>>> 626) >>>>> at >>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) >>>>> at >>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) >>>>> ... 9 more >>>>> org.ofbiz.base.container.ContainerException: Unable to bind >>>>> RMIDispatcher to RMI >>>>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with >>>>> remote=org.ofbiz.ser >>>>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: >>>>> [endpoint:[192.168.0.189:1093,org >>>>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.of >>>>> biz.service.rm >>>>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] >>>>> (RemoteException >>>>> occurred in server thread; nested exception is: >>>>> java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested excep >>>>> tion is: >>>>> java.net.MalformedURLException: no protocol: and) >>>>> at >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>> (RmiServiceContainer.j >>>>> ava:129) >>>>> at >>>>> org.ofbiz.base.container.ContainerLoader.start >>>>> (ContainerLoader.java:7 >>>>> 7) >>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>> (Start.java:260) >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>> java.rmi.ServerException: RemoteException occurred in server >>>>> thread; >>>>> nested exce >>>>> ption is: >>>>> java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested excep >>>>> tion is: >>>>> java.net.MalformedURLException: no protocol: and >>>>> at >>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>> (UnicastServerRef.java:352 >>>>> ) >>>>> 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:4 >>>>> 60) >>>>> at >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>> (TCPTransport >>>>> .java:701) >>>>> at java.lang.Thread.run(Thread.java:534) >>>>> at >>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>>> (Stream >>>>> RemoteCall.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.rebind(Unknown >>>>> Source) >>>>> at java.rmi.Naming.rebind(Naming.java:160) >>>>> at >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>> (RmiServiceContainer.j >>>>> ava:127) >>>>> at >>>>> org.ofbiz.base.container.ContainerLoader.start >>>>> (ContainerLoader.java:7 >>>>> 7) >>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>> (Start.java:260) >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested ex >>>>> ception is: >>>>> java.net.MalformedURLException: no protocol: and >>>>> 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:4 >>>>> 60) >>>>> at >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>> (TCPTransport >>>>> .java:701) >>>>> at java.lang.Thread.run(Thread.java:534) >>>>> Caused by: java.net.MalformedURLException: no protocol: and >>>>> at java.net.URL.<init>(URL.java:537) >>>>> at java.net.URL.<init>(URL.java:434) >>>>> at java.net.URL.<init>(URL.java:383) >>>>> at >>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) >>>>> at >>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) >>>>> at >>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: >>>>> 631) >>>>> at >>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) >>>>> at >>>>> sun.rmi.server.MarshalInputStream.resolveClass >>>>> (MarshalInputStream.jav >>>>> a:200) >>>>> at >>>>> java.io.ObjectInputStream.readNonProxyDesc >>>>> (ObjectInputStream.java:151 >>>>> 3) >>>>> at >>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>>> 1435) >>>>> at >>>>> java.io.ObjectInputStream.readOrdinaryObject >>>>> (ObjectInputStream.java:1 >>>>> 626) >>>>> at >>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) >>>>> at >>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) >>>>> ... 9 more >>>>> java.rmi.ServerException: RemoteException occurred in server >>>>> thread; >>>>> nested exce >>>>> ption is: >>>>> java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested excep >>>>> tion is: >>>>> java.net.MalformedURLException: no protocol: and >>>>> at >>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>> (UnicastServerRef.java:352 >>>>> ) >>>>> 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:4 >>>>> 60) >>>>> at >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>> (TCPTransport >>>>> .java:701) >>>>> at java.lang.Thread.run(Thread.java:534) >>>>> at >>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>>> (Stream >>>>> RemoteCall.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.rebind(Unknown >>>>> Source) >>>>> at java.rmi.Naming.rebind(Naming.java:160) >>>>> at >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>> (RmiServiceContainer.j >>>>> ava:127) >>>>> at >>>>> org.ofbiz.base.container.ContainerLoader.start >>>>> (ContainerLoader.java:7 >>>>> 7) >>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>> (Start.java:260) >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>>> arguments; >>>>> nested ex >>>>> ception is: >>>>> java.net.MalformedURLException: no protocol: and >>>>> 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:4 >>>>> 60) >>>>> at >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>> (TCPTransport >>>>> .java:701) >>>>> at java.lang.Thread.run(Thread.java:534) >>>>> Caused by: java.net.MalformedURLException: no protocol: and >>>>> at java.net.URL.<init>(URL.java:537) >>>>> at java.net.URL.<init>(URL.java:434) >>>>> at java.net.URL.<init>(URL.java:383) >>>>> at >>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) >>>>> at >>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) >>>>> at >>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: >>>>> 631) >>>>> at >>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) >>>>> at >>>>> sun.rmi.server.MarshalInputStream.resolveClass >>>>> (MarshalInputStream.jav >>>>> a:200) >>>>> at >>>>> java.io.ObjectInputStream.readNonProxyDesc >>>>> (ObjectInputStream.java:151 >>>>> 3) >>>>> at >>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>>> 1435) >>>>> at >>>>> java.io.ObjectInputStream.readOrdinaryObject >>>>> (ObjectInputStream.java:1 >>>>> 626) >>>>> at >>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) >>>>> at >>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) >>>>> ... 9 more >>>>> >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This >>>>> one is for >>>>> more of >>>>> a debugging mode >>>>> >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C: >>>>> \Program >>>>> Files\Java\j >>>>> dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug - >>>>> Xnoagent >>>>> -Djava. >>>>> compiler=NONE >>>>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar >>>>> ofbiz.jar > framework\logs\console.log >>>>> >>>> >>>> >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Error-on- >> startofbiz-tf2939899.html#a8230836 >> Sent from the OFBiz - User mailing list archive at Nabble.com. > smime.p7s (3K) Download Attachment |
Administrator
|
David,
Was not this problem a Windows only problem ? Are you using Windows David ? Jacques From: "David E Jones" <[hidden email]> > > Interesting... it seems like that was fixed recently so it could run > even with such spaces... has anyone verified this recently? > > Fan: which version/revision of OFBiz are you running? > > -David > > > On Jan 8, 2007, at 10:23 PM, Jacques Le Roux wrote: > > > Fan, > > > > I see now that you have a blank in your java path. > > "C:\Program Files\Java\jdk1.5.0_06\bin\java" > > This is not supported please reinstall jdk in a path without any > > blank, for instance > > "C:\Java\jdk1.5.0_06\bin\java" > > > > I know this is the default from Sun, and we should document this > > somewhere (if not already done ;o). > > > > If it's already done we should try to have an install file with > > some very basic recommandations to avoid repeting this stuff and > > such so many times... > > > > WDYT folks ? > > > > Thanks > > > > Jacques > > > > ----- Original Message ----- > > From: "Fan" <[hidden email]> > > To: <[hidden email]> > > Sent: Tuesday, January 09, 2007 3:15 AM > > Subject: Re: Error on startofbiz > > > > > >> > >> I have the same problem even I had changed all port to 2099 > >> > >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>"C:\Program > >> Files\Java\jdk1. > >> 5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar > >> 1>framewor > >> k\logs\console.log > >> org.ofbiz.base.start.StartupException: Cannot start() > >> org.ofbiz.service.rmi.RmiS > >> erviceContainer (Unable to bind RMIDispatcher to RMI on > >> //host[127.0.0.1]:port[2 > >> 099]/name[RMIDispatcher] - with > >> remote=RemoteDispatcherImpl[UnicastServerRef2 [l > >> iveRef: > >> [endpoint: > >> [188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer > >> SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSocke > >> tFactory@1b > >> c6533](local),objID:[0]]]] (RemoteException occurred in server > >> thread; > >> nested ex > >> ception is: > >> java.rmi.UnmarshalException: error unmarshalling > >> arguments; nested > >> excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and)) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 9) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >> 260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> org.ofbiz.base.container.ContainerException: Unable to bind > >> RMIDispatcher to > >> RMI > >> on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with > >> remote=RemoteDispatc > >> herImpl[UnicastServerRef2 [liveRef: > >> [endpoint:[188.188.8.215:2605,org.ofbiz.serv > >> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.r > >> mi.socket.s > >> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] > >> (RemoteException > >> occurred > >> in server thread; nested exception is: > >> java.rmi.UnmarshalException: error unmarshalling > >> arguments; nested > >> excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:129) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >> 260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> java.rmi.ServerException: RemoteException occurred in server > >> thread; nested > >> exce > >> ption is: > >> java.rmi.UnmarshalException: error unmarshalling > >> arguments; nested > >> excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 > >> ) > >> at > >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >> at sun.rmi.transport.Transport$1.run(Transport.java:153) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at sun.rmi.transport.Transport.serviceCall(Transport.java: > >> 149) > >> at > >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:595) > >> at > >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >> RemoteCall.java:247) > >> at > >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: > >> 223) > >> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) > >> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) > >> at java.rmi.Naming.rebind(Naming.java:160) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:127) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >> 260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> Caused by: java.rmi.UnmarshalException: error unmarshalling > >> arguments; > >> nested ex > >> ception is: > >> java.net.MalformedURLException: no protocol: and > >> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown > >> Source) > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 > >> ) > >> at > >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >> at sun.rmi.transport.Transport$1.run(Transport.java:153) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at sun.rmi.transport.Transport.serviceCall(Transport.java: > >> 149) > >> at > >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:595) > >> Caused by: java.net.MalformedURLException: no protocol: and > >> at java.net.URL.<init>(URL.java:567) > >> at java.net.URL.<init>(URL.java:464) > >> at java.net.URL.<init>(URL.java:413) > >> at sun.rmi.server.LoaderHandler.pathToURLs > >> (LoaderHandler.java:747) > >> at sun.rmi.server.LoaderHandler.loadClass > >> (LoaderHandler.java:147) > >> at > >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > >> at java.rmi.server.RMIClassLoader.loadClass > >> (RMIClassLoader.java:247) > >> at > >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >> a:197) > >> at > >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 > >> 8) > >> at > >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) > >> at > >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >> 693) > >> at > >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > >> at java.io.ObjectInputStream.readObject > >> (ObjectInputStream.java:339) > >> ... 9 more > >> org.ofbiz.base.container.ContainerException: Unable to bind > >> RMIDispatcher to > >> RMI > >> on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with > >> remote=RemoteDispatc > >> herImpl[UnicastServerRef2 [liveRef: > >> [endpoint:[188.188.8.215:2605,org.ofbiz.serv > >> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service.r > >> mi.socket.s > >> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] > >> (RemoteException > >> occurred > >> in server thread; nested exception is: > >> java.rmi.UnmarshalException: error unmarshalling > >> arguments; nested > >> excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:129) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >> 260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> java.rmi.ServerException: RemoteException occurred in server > >> thread; nested > >> exce > >> ption is: > >> java.rmi.UnmarshalException: error unmarshalling > >> arguments; nested > >> excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 > >> ) > >> at > >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >> at sun.rmi.transport.Transport$1.run(Transport.java:153) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at sun.rmi.transport.Transport.serviceCall(Transport.java: > >> 149) > >> at > >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:595) > >> at > >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >> RemoteCall.java:247) > >> at > >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: > >> 223) > >> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) > >> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) > >> at java.rmi.Naming.rebind(Naming.java:160) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:127) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >> 260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> Caused by: java.rmi.UnmarshalException: error unmarshalling > >> arguments; > >> nested ex > >> ception is: > >> java.net.MalformedURLException: no protocol: and > >> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown > >> Source) > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 > >> ) > >> at > >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >> at sun.rmi.transport.Transport$1.run(Transport.java:153) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at sun.rmi.transport.Transport.serviceCall(Transport.java: > >> 149) > >> at > >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:595) > >> Caused by: java.net.MalformedURLException: no protocol: and > >> at java.net.URL.<init>(URL.java:567) > >> at java.net.URL.<init>(URL.java:464) > >> at java.net.URL.<init>(URL.java:413) > >> at sun.rmi.server.LoaderHandler.pathToURLs > >> (LoaderHandler.java:747) > >> at sun.rmi.server.LoaderHandler.loadClass > >> (LoaderHandler.java:147) > >> at > >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > >> at java.rmi.server.RMIClassLoader.loadClass > >> (RMIClassLoader.java:247) > >> at > >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >> a:197) > >> at > >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 > >> 8) > >> at > >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) > >> at > >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >> 693) > >> at > >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > >> at java.io.ObjectInputStream.readObject > >> (ObjectInputStream.java:339) > >> ... 9 more > >> java.rmi.ServerException: RemoteException occurred in server > >> thread; nested > >> exce > >> ption is: > >> java.rmi.UnmarshalException: error unmarshalling > >> arguments; nested > >> excep > >> tion is: > >> java.net.MalformedURLException: no protocol: and > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:385 > >> ) > >> at > >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >> at sun.rmi.transport.Transport$1.run(Transport.java:153) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at sun.rmi.transport.Transport.serviceCall(Transport.java: > >> 149) > >> at > >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:595) > >> at > >> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stream > >> RemoteCall.java:247) > >> at > >> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java: > >> 223) > >> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) > >> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) > >> at java.rmi.Naming.rebind(Naming.java:160) > >> at > >> org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.j > >> ava:127) > >> at > >> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:7 > >> 7) > >> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >> 260) > >> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >> at org.ofbiz.base.start.Start.start(Start.java:315) > >> at org.ofbiz.base.start.Start.main(Start.java:401) > >> Caused by: java.rmi.UnmarshalException: error unmarshalling > >> arguments; > >> nested ex > >> ception is: > >> java.net.MalformedURLException: no protocol: and > >> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown > >> Source) > >> at > >> sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375 > >> ) > >> at > >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >> at sun.rmi.transport.Transport$1.run(Transport.java:153) > >> at java.security.AccessController.doPrivileged(Native Method) > >> at sun.rmi.transport.Transport.serviceCall(Transport.java: > >> 149) > >> at > >> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:4 > >> 60) > >> at > >> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport > >> .java:701) > >> at java.lang.Thread.run(Thread.java:595) > >> Caused by: java.net.MalformedURLException: no protocol: and > >> at java.net.URL.<init>(URL.java:567) > >> at java.net.URL.<init>(URL.java:464) > >> at java.net.URL.<init>(URL.java:413) > >> at sun.rmi.server.LoaderHandler.pathToURLs > >> (LoaderHandler.java:747) > >> at sun.rmi.server.LoaderHandler.loadClass > >> (LoaderHandler.java:147) > >> at > >> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) > >> at java.rmi.server.RMIClassLoader.loadClass > >> (RMIClassLoader.java:247) > >> at > >> sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav > >> a:197) > >> at > >> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:153 > >> 8) > >> at > >> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) > >> at > >> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1 > >> 693) > >> at > >> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) > >> at java.io.ObjectInputStream.readObject > >> (ObjectInputStream.java:339) > >> ... 9 more > >> > >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM This one > >> is for more > >> of > >> a debugging mode > >> > >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM "C:\Program > >> Files\Java\j > >> dk1.5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug - > >> Xnoagent > >> -Dja > >> va.compiler=NONE > >> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - > >> jar ofbiz.jar > framework\logs\console.log > >> C:\Documents and Settings\fan2\Desktop\Source\ofbiz> > >> > >> > >> yh-maurizio wrote: > >>> > >>> Sorry, *your*, not *you're* ;-) > >>> > >>> > >>> yh-maurizio wrote: > >>>> > >>>> Probably, you're 1099 port is already used by another > >>>> application, such > >>>> as Skype (you can test this with ActivePorts). > >>>> If so, you have to change the ports configuration, replacing the > >>>> RMI port > >>>> (e.g. from 1099 to 2099), in the ofbiz-containers.xml and > >>>> jetty-containers.xml files. > >>>> > >>>> Maurizio. > >>>> > >>>> > >>>> Fan wrote: > >>>>> > >>>>> Help !!!! Here is the error I encountered when I run the command > >>>>> startofbiz in window XP > >>>>> > >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz > >>>>> > >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF > >>>>> > >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program > >>>>> Files\Java\jdk1. > >>>>> 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar ofbiz.jar > >>>>> 1>framework\l > >>>>> ogs\console.log > >>>>> org.ofbiz.base.start.StartupException: Cannot start() > >>>>> org.ofbiz.service.rmi.RmiS > >>>>> erviceContainer (Unable to bind RMIDispatcher to RMI on > >>>>> //host[127.0.0.1]:port[1 > >>>>> 099]/name[RMIDispatcher] - with > >>>>> remote=org.ofbiz.service.rmi.RemoteDispatcherImp > >>>>> l[RemoteStub [ref: > >>>>> [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss > >>>>> l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl.S > >>>>> SLClientSocket > >>>>> Factory@128340](local),objID:[0]]]] (RemoteException occurred > >>>>> in server > >>>>> thread; > >>>>> nested exception is: > >>>>> java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested excep > >>>>> tion is: > >>>>> java.net.MalformedURLException: no protocol: and)) > >>>>> at > >>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>> (ContainerLoader.java:7 > >>>>> 9) > >>>>> at org.ofbiz.base.start.Start.startStartLoaders > >>>>> (Start.java:260) > >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> org.ofbiz.base.container.ContainerException: Unable to bind > >>>>> RMIDispatcher to RMI > >>>>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > >>>>> remote=org.ofbiz.ser > >>>>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > >>>>> [endpoint:[192.168.0.189:1093,org > >>>>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.of > >>>>> biz.service.rm > >>>>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > >>>>> (RemoteException > >>>>> occurred in server thread; nested exception is: > >>>>> java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested excep > >>>>> tion is: > >>>>> java.net.MalformedURLException: no protocol: and) > >>>>> at > >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start > >>>>> (RmiServiceContainer.j > >>>>> ava:129) > >>>>> at > >>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>> (ContainerLoader.java:7 > >>>>> 7) > >>>>> at org.ofbiz.base.start.Start.startStartLoaders > >>>>> (Start.java:260) > >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> java.rmi.ServerException: RemoteException occurred in server > >>>>> thread; > >>>>> nested exce > >>>>> ption is: > >>>>> java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested excep > >>>>> tion is: > >>>>> java.net.MalformedURLException: no protocol: and > >>>>> at > >>>>> sun.rmi.server.UnicastServerRef.oldDispatch > >>>>> (UnicastServerRef.java:352 > >>>>> ) > >>>>> 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:4 > >>>>> 60) > >>>>> at > >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run > >>>>> (TCPTransport > >>>>> .java:701) > >>>>> at java.lang.Thread.run(Thread.java:534) > >>>>> at > >>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer > >>>>> (Stream > >>>>> RemoteCall.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.rebind(Unknown > >>>>> Source) > >>>>> at java.rmi.Naming.rebind(Naming.java:160) > >>>>> at > >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start > >>>>> (RmiServiceContainer.j > >>>>> ava:127) > >>>>> at > >>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>> (ContainerLoader.java:7 > >>>>> 7) > >>>>> at org.ofbiz.base.start.Start.startStartLoaders > >>>>> (Start.java:260) > >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested ex > >>>>> ception is: > >>>>> java.net.MalformedURLException: no protocol: and > >>>>> 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:4 > >>>>> 60) > >>>>> at > >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run > >>>>> (TCPTransport > >>>>> .java:701) > >>>>> at java.lang.Thread.run(Thread.java:534) > >>>>> Caused by: java.net.MalformedURLException: no protocol: and > >>>>> at java.net.URL.<init>(URL.java:537) > >>>>> at java.net.URL.<init>(URL.java:434) > >>>>> at java.net.URL.<init>(URL.java:383) > >>>>> at > >>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >>>>> at > >>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >>>>> at > >>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: > >>>>> 631) > >>>>> at > >>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >>>>> at > >>>>> sun.rmi.server.MarshalInputStream.resolveClass > >>>>> (MarshalInputStream.jav > >>>>> a:200) > >>>>> at > >>>>> java.io.ObjectInputStream.readNonProxyDesc > >>>>> (ObjectInputStream.java:151 > >>>>> 3) > >>>>> at > >>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: > >>>>> 1435) > >>>>> at > >>>>> java.io.ObjectInputStream.readOrdinaryObject > >>>>> (ObjectInputStream.java:1 > >>>>> 626) > >>>>> at > >>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>>>> at > >>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >>>>> ... 9 more > >>>>> org.ofbiz.base.container.ContainerException: Unable to bind > >>>>> RMIDispatcher to RMI > >>>>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with > >>>>> remote=org.ofbiz.ser > >>>>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: > >>>>> [endpoint:[192.168.0.189:1093,org > >>>>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org.of > >>>>> biz.service.rm > >>>>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] > >>>>> (RemoteException > >>>>> occurred in server thread; nested exception is: > >>>>> java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested excep > >>>>> tion is: > >>>>> java.net.MalformedURLException: no protocol: and) > >>>>> at > >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start > >>>>> (RmiServiceContainer.j > >>>>> ava:129) > >>>>> at > >>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>> (ContainerLoader.java:7 > >>>>> 7) > >>>>> at org.ofbiz.base.start.Start.startStartLoaders > >>>>> (Start.java:260) > >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> java.rmi.ServerException: RemoteException occurred in server > >>>>> thread; > >>>>> nested exce > >>>>> ption is: > >>>>> java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested excep > >>>>> tion is: > >>>>> java.net.MalformedURLException: no protocol: and > >>>>> at > >>>>> sun.rmi.server.UnicastServerRef.oldDispatch > >>>>> (UnicastServerRef.java:352 > >>>>> ) > >>>>> 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:4 > >>>>> 60) > >>>>> at > >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run > >>>>> (TCPTransport > >>>>> .java:701) > >>>>> at java.lang.Thread.run(Thread.java:534) > >>>>> at > >>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer > >>>>> (Stream > >>>>> RemoteCall.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.rebind(Unknown > >>>>> Source) > >>>>> at java.rmi.Naming.rebind(Naming.java:160) > >>>>> at > >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start > >>>>> (RmiServiceContainer.j > >>>>> ava:127) > >>>>> at > >>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>> (ContainerLoader.java:7 > >>>>> 7) > >>>>> at org.ofbiz.base.start.Start.startStartLoaders > >>>>> (Start.java:260) > >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested ex > >>>>> ception is: > >>>>> java.net.MalformedURLException: no protocol: and > >>>>> 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:4 > >>>>> 60) > >>>>> at > >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run > >>>>> (TCPTransport > >>>>> .java:701) > >>>>> at java.lang.Thread.run(Thread.java:534) > >>>>> Caused by: java.net.MalformedURLException: no protocol: and > >>>>> at java.net.URL.<init>(URL.java:537) > >>>>> at java.net.URL.<init>(URL.java:434) > >>>>> at java.net.URL.<init>(URL.java:383) > >>>>> at > >>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >>>>> at > >>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >>>>> at > >>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: > >>>>> 631) > >>>>> at > >>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >>>>> at > >>>>> sun.rmi.server.MarshalInputStream.resolveClass > >>>>> (MarshalInputStream.jav > >>>>> a:200) > >>>>> at > >>>>> java.io.ObjectInputStream.readNonProxyDesc > >>>>> (ObjectInputStream.java:151 > >>>>> 3) > >>>>> at > >>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: > >>>>> 1435) > >>>>> at > >>>>> java.io.ObjectInputStream.readOrdinaryObject > >>>>> (ObjectInputStream.java:1 > >>>>> 626) > >>>>> at > >>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>>>> at > >>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >>>>> ... 9 more > >>>>> java.rmi.ServerException: RemoteException occurred in server > >>>>> thread; > >>>>> nested exce > >>>>> ption is: > >>>>> java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested excep > >>>>> tion is: > >>>>> java.net.MalformedURLException: no protocol: and > >>>>> at > >>>>> sun.rmi.server.UnicastServerRef.oldDispatch > >>>>> (UnicastServerRef.java:352 > >>>>> ) > >>>>> 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:4 > >>>>> 60) > >>>>> at > >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run > >>>>> (TCPTransport > >>>>> .java:701) > >>>>> at java.lang.Thread.run(Thread.java:534) > >>>>> at > >>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer > >>>>> (Stream > >>>>> RemoteCall.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.rebind(Unknown > >>>>> Source) > >>>>> at java.rmi.Naming.rebind(Naming.java:160) > >>>>> at > >>>>> org.ofbiz.service.rmi.RmiServiceContainer.start > >>>>> (RmiServiceContainer.j > >>>>> ava:127) > >>>>> at > >>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>> (ContainerLoader.java:7 > >>>>> 7) > >>>>> at org.ofbiz.base.start.Start.startStartLoaders > >>>>> (Start.java:260) > >>>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>> at org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> at org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling > >>>>> arguments; > >>>>> nested ex > >>>>> ception is: > >>>>> java.net.MalformedURLException: no protocol: and > >>>>> 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:4 > >>>>> 60) > >>>>> at > >>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run > >>>>> (TCPTransport > >>>>> .java:701) > >>>>> at java.lang.Thread.run(Thread.java:534) > >>>>> Caused by: java.net.MalformedURLException: no protocol: and > >>>>> at java.net.URL.<init>(URL.java:537) > >>>>> at java.net.URL.<init>(URL.java:434) > >>>>> at java.net.URL.<init>(URL.java:383) > >>>>> at > >>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) > >>>>> at > >>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) > >>>>> at > >>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: > >>>>> 631) > >>>>> at > >>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257) > >>>>> at > >>>>> sun.rmi.server.MarshalInputStream.resolveClass > >>>>> (MarshalInputStream.jav > >>>>> a:200) > >>>>> at > >>>>> java.io.ObjectInputStream.readNonProxyDesc > >>>>> (ObjectInputStream.java:151 > >>>>> 3) > >>>>> at > >>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: > >>>>> 1435) > >>>>> at > >>>>> java.io.ObjectInputStream.readOrdinaryObject > >>>>> (ObjectInputStream.java:1 > >>>>> 626) > >>>>> at > >>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) > >>>>> at > >>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) > >>>>> ... 9 more > >>>>> > >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This > >>>>> one is for > >>>>> more of > >>>>> a debugging mode > >>>>> > >>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C: > >>>>> \Program > >>>>> Files\Java\j > >>>>> dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug - > >>>>> Xnoagent > >>>>> -Djava. > >>>>> compiler=NONE > >>>>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 -jar > >>>>> ofbiz.jar > framework\logs\console.log > >>>>> > >>>> > >>>> > >>> > >>> > >> > >> -- > >> View this message in context: http://www.nabble.com/Error-on- > >> startofbiz-tf2939899.html#a8230836 > >> Sent from the OFBiz - User mailing list archive at Nabble.com. > > > > |
No, I'm not using windows (thank the maker!), but there was a patch for this recently that I believe did make it in. So, if someone on windows could test it, that would be great. The point of the patch was to make it possible to run with the default Java location in Windows as this has been a pain point for a while. -David On Jan 8, 2007, at 10:56 PM, Jacques Le Roux wrote: > David, > > Was not this problem a Windows only problem ? Are you using Windows > David ? > > Jacques > > From: "David E Jones" <[hidden email]> >> >> Interesting... it seems like that was fixed recently so it could run >> even with such spaces... has anyone verified this recently? >> >> Fan: which version/revision of OFBiz are you running? >> >> -David >> >> >> On Jan 8, 2007, at 10:23 PM, Jacques Le Roux wrote: >> >>> Fan, >>> >>> I see now that you have a blank in your java path. >>> "C:\Program Files\Java\jdk1.5.0_06\bin\java" >>> This is not supported please reinstall jdk in a path without any >>> blank, for instance >>> "C:\Java\jdk1.5.0_06\bin\java" >>> >>> I know this is the default from Sun, and we should document this >>> somewhere (if not already done ;o). >>> >>> If it's already done we should try to have an install file with >>> some very basic recommandations to avoid repeting this stuff and >>> such so many times... >>> >>> WDYT folks ? >>> >>> Thanks >>> >>> Jacques >>> >>> ----- Original Message ----- >>> From: "Fan" <[hidden email]> >>> To: <[hidden email]> >>> Sent: Tuesday, January 09, 2007 3:15 AM >>> Subject: Re: Error on startofbiz >>> >>> >>>> >>>> I have the same problem even I had changed all port to 2099 >>>> >>>> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>"C:\Program >>>> Files\Java\jdk1. >>>> 5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar >>>> ofbiz.jar >>>> 1>framewor >>>> k\logs\console.log >>>> org.ofbiz.base.start.StartupException: Cannot start() >>>> org.ofbiz.service.rmi.RmiS >>>> erviceContainer (Unable to bind RMIDispatcher to RMI on >>>> //host[127.0.0.1]:port[2 >>>> 099]/name[RMIDispatcher] - with >>>> remote=RemoteDispatcherImpl[UnicastServerRef2 [l >>>> iveRef: >>>> [endpoint: >>>> [188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer >>>> SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSoc >>>> ke >>>> tFactory@1b >>>> c6533](local),objID:[0]]]] (RemoteException occurred in server >>>> thread; >>>> nested ex >>>> ception is: >>>> java.rmi.UnmarshalException: error unmarshalling >>>> arguments; nested >>>> excep >>>> tion is: >>>> java.net.MalformedURLException: no protocol: and)) >>>> at >>>> org.ofbiz.base.container.ContainerLoader.start >>>> (ContainerLoader.java:7 >>>> 9) >>>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>>> 260) >>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>> org.ofbiz.base.container.ContainerException: Unable to bind >>>> RMIDispatcher to >>>> RMI >>>> on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with >>>> remote=RemoteDispatc >>>> herImpl[UnicastServerRef2 [liveRef: >>>> [endpoint:[188.188.8.215:2605,org.ofbiz.serv >>>> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service >>>> .r >>>> mi.socket.s >>>> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] >>>> (RemoteException >>>> occurred >>>> in server thread; nested exception is: >>>> java.rmi.UnmarshalException: error unmarshalling >>>> arguments; nested >>>> excep >>>> tion is: >>>> java.net.MalformedURLException: no protocol: and) >>>> at >>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>> (RmiServiceContainer.j >>>> ava:129) >>>> at >>>> org.ofbiz.base.container.ContainerLoader.start >>>> (ContainerLoader.java:7 >>>> 7) >>>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>>> 260) >>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>> java.rmi.ServerException: RemoteException occurred in server >>>> thread; nested >>>> exce >>>> ption is: >>>> java.rmi.UnmarshalException: error unmarshalling >>>> arguments; nested >>>> excep >>>> tion is: >>>> java.net.MalformedURLException: no protocol: and >>>> at >>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>> (UnicastServerRef.java:385 >>>> ) >>>> at >>>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >>>> at sun.rmi.transport.Transport$1.run(Transport.java:153) >>>> at java.security.AccessController.doPrivileged(Native >>>> Method) >>>> at sun.rmi.transport.Transport.serviceCall(Transport.java: >>>> 149) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport.handleMessages >>>> (TCPTransport.java:4 >>>> 60) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>> (TCPTransport >>>> .java:701) >>>> at java.lang.Thread.run(Thread.java:595) >>>> at >>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>> (Stream >>>> RemoteCall.java:247) >>>> at >>>> sun.rmi.transport.StreamRemoteCall.executeCall >>>> (StreamRemoteCall.java: >>>> 223) >>>> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) >>>> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown >>>> Source) >>>> at java.rmi.Naming.rebind(Naming.java:160) >>>> at >>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>> (RmiServiceContainer.j >>>> ava:127) >>>> at >>>> org.ofbiz.base.container.ContainerLoader.start >>>> (ContainerLoader.java:7 >>>> 7) >>>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>>> 260) >>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>> arguments; >>>> nested ex >>>> ception is: >>>> java.net.MalformedURLException: no protocol: and >>>> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown >>>> Source) >>>> at >>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>> (UnicastServerRef.java:375 >>>> ) >>>> at >>>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >>>> at sun.rmi.transport.Transport$1.run(Transport.java:153) >>>> at java.security.AccessController.doPrivileged(Native >>>> Method) >>>> at sun.rmi.transport.Transport.serviceCall(Transport.java: >>>> 149) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport.handleMessages >>>> (TCPTransport.java:4 >>>> 60) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>> (TCPTransport >>>> .java:701) >>>> at java.lang.Thread.run(Thread.java:595) >>>> Caused by: java.net.MalformedURLException: no protocol: and >>>> at java.net.URL.<init>(URL.java:567) >>>> at java.net.URL.<init>(URL.java:464) >>>> at java.net.URL.<init>(URL.java:413) >>>> at sun.rmi.server.LoaderHandler.pathToURLs >>>> (LoaderHandler.java:747) >>>> at sun.rmi.server.LoaderHandler.loadClass >>>> (LoaderHandler.java:147) >>>> at >>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) >>>> at java.rmi.server.RMIClassLoader.loadClass >>>> (RMIClassLoader.java:247) >>>> at >>>> sun.rmi.server.MarshalInputStream.resolveClass >>>> (MarshalInputStream.jav >>>> a:197) >>>> at >>>> java.io.ObjectInputStream.readNonProxyDesc >>>> (ObjectInputStream.java:153 >>>> 8) >>>> at >>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>> 1460) >>>> at >>>> java.io.ObjectInputStream.readOrdinaryObject >>>> (ObjectInputStream.java:1 >>>> 693) >>>> at >>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) >>>> at java.io.ObjectInputStream.readObject >>>> (ObjectInputStream.java:339) >>>> ... 9 more >>>> org.ofbiz.base.container.ContainerException: Unable to bind >>>> RMIDispatcher to >>>> RMI >>>> on //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - with >>>> remote=RemoteDispatc >>>> herImpl[UnicastServerRef2 [liveRef: >>>> [endpoint:[188.188.8.215:2605,org.ofbiz.serv >>>> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service >>>> .r >>>> mi.socket.s >>>> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] >>>> (RemoteException >>>> occurred >>>> in server thread; nested exception is: >>>> java.rmi.UnmarshalException: error unmarshalling >>>> arguments; nested >>>> excep >>>> tion is: >>>> java.net.MalformedURLException: no protocol: and) >>>> at >>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>> (RmiServiceContainer.j >>>> ava:129) >>>> at >>>> org.ofbiz.base.container.ContainerLoader.start >>>> (ContainerLoader.java:7 >>>> 7) >>>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>>> 260) >>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>> java.rmi.ServerException: RemoteException occurred in server >>>> thread; nested >>>> exce >>>> ption is: >>>> java.rmi.UnmarshalException: error unmarshalling >>>> arguments; nested >>>> excep >>>> tion is: >>>> java.net.MalformedURLException: no protocol: and >>>> at >>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>> (UnicastServerRef.java:385 >>>> ) >>>> at >>>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >>>> at sun.rmi.transport.Transport$1.run(Transport.java:153) >>>> at java.security.AccessController.doPrivileged(Native >>>> Method) >>>> at sun.rmi.transport.Transport.serviceCall(Transport.java: >>>> 149) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport.handleMessages >>>> (TCPTransport.java:4 >>>> 60) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>> (TCPTransport >>>> .java:701) >>>> at java.lang.Thread.run(Thread.java:595) >>>> at >>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>> (Stream >>>> RemoteCall.java:247) >>>> at >>>> sun.rmi.transport.StreamRemoteCall.executeCall >>>> (StreamRemoteCall.java: >>>> 223) >>>> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) >>>> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown >>>> Source) >>>> at java.rmi.Naming.rebind(Naming.java:160) >>>> at >>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>> (RmiServiceContainer.j >>>> ava:127) >>>> at >>>> org.ofbiz.base.container.ContainerLoader.start >>>> (ContainerLoader.java:7 >>>> 7) >>>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>>> 260) >>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>> arguments; >>>> nested ex >>>> ception is: >>>> java.net.MalformedURLException: no protocol: and >>>> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown >>>> Source) >>>> at >>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>> (UnicastServerRef.java:375 >>>> ) >>>> at >>>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >>>> at sun.rmi.transport.Transport$1.run(Transport.java:153) >>>> at java.security.AccessController.doPrivileged(Native >>>> Method) >>>> at sun.rmi.transport.Transport.serviceCall(Transport.java: >>>> 149) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport.handleMessages >>>> (TCPTransport.java:4 >>>> 60) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>> (TCPTransport >>>> .java:701) >>>> at java.lang.Thread.run(Thread.java:595) >>>> Caused by: java.net.MalformedURLException: no protocol: and >>>> at java.net.URL.<init>(URL.java:567) >>>> at java.net.URL.<init>(URL.java:464) >>>> at java.net.URL.<init>(URL.java:413) >>>> at sun.rmi.server.LoaderHandler.pathToURLs >>>> (LoaderHandler.java:747) >>>> at sun.rmi.server.LoaderHandler.loadClass >>>> (LoaderHandler.java:147) >>>> at >>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) >>>> at java.rmi.server.RMIClassLoader.loadClass >>>> (RMIClassLoader.java:247) >>>> at >>>> sun.rmi.server.MarshalInputStream.resolveClass >>>> (MarshalInputStream.jav >>>> a:197) >>>> at >>>> java.io.ObjectInputStream.readNonProxyDesc >>>> (ObjectInputStream.java:153 >>>> 8) >>>> at >>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>> 1460) >>>> at >>>> java.io.ObjectInputStream.readOrdinaryObject >>>> (ObjectInputStream.java:1 >>>> 693) >>>> at >>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) >>>> at java.io.ObjectInputStream.readObject >>>> (ObjectInputStream.java:339) >>>> ... 9 more >>>> java.rmi.ServerException: RemoteException occurred in server >>>> thread; nested >>>> exce >>>> ption is: >>>> java.rmi.UnmarshalException: error unmarshalling >>>> arguments; nested >>>> excep >>>> tion is: >>>> java.net.MalformedURLException: no protocol: and >>>> at >>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>> (UnicastServerRef.java:385 >>>> ) >>>> at >>>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >>>> at sun.rmi.transport.Transport$1.run(Transport.java:153) >>>> at java.security.AccessController.doPrivileged(Native >>>> Method) >>>> at sun.rmi.transport.Transport.serviceCall(Transport.java: >>>> 149) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport.handleMessages >>>> (TCPTransport.java:4 >>>> 60) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>> (TCPTransport >>>> .java:701) >>>> at java.lang.Thread.run(Thread.java:595) >>>> at >>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>> (Stream >>>> RemoteCall.java:247) >>>> at >>>> sun.rmi.transport.StreamRemoteCall.executeCall >>>> (StreamRemoteCall.java: >>>> 223) >>>> at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) >>>> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown >>>> Source) >>>> at java.rmi.Naming.rebind(Naming.java:160) >>>> at >>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>> (RmiServiceContainer.j >>>> ava:127) >>>> at >>>> org.ofbiz.base.container.ContainerLoader.start >>>> (ContainerLoader.java:7 >>>> 7) >>>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>>> 260) >>>> at org.ofbiz.base.start.Start.startServer(Start.java:311) >>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>> arguments; >>>> nested ex >>>> ception is: >>>> java.net.MalformedURLException: no protocol: and >>>> at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown >>>> Source) >>>> at >>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>> (UnicastServerRef.java:375 >>>> ) >>>> at >>>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >>>> at sun.rmi.transport.Transport$1.run(Transport.java:153) >>>> at java.security.AccessController.doPrivileged(Native >>>> Method) >>>> at sun.rmi.transport.Transport.serviceCall(Transport.java: >>>> 149) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport.handleMessages >>>> (TCPTransport.java:4 >>>> 60) >>>> at >>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>> (TCPTransport >>>> .java:701) >>>> at java.lang.Thread.run(Thread.java:595) >>>> Caused by: java.net.MalformedURLException: no protocol: and >>>> at java.net.URL.<init>(URL.java:567) >>>> at java.net.URL.<init>(URL.java:464) >>>> at java.net.URL.<init>(URL.java:413) >>>> at sun.rmi.server.LoaderHandler.pathToURLs >>>> (LoaderHandler.java:747) >>>> at sun.rmi.server.LoaderHandler.loadClass >>>> (LoaderHandler.java:147) >>>> at >>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) >>>> at java.rmi.server.RMIClassLoader.loadClass >>>> (RMIClassLoader.java:247) >>>> at >>>> sun.rmi.server.MarshalInputStream.resolveClass >>>> (MarshalInputStream.jav >>>> a:197) >>>> at >>>> java.io.ObjectInputStream.readNonProxyDesc >>>> (ObjectInputStream.java:153 >>>> 8) >>>> at >>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>> 1460) >>>> at >>>> java.io.ObjectInputStream.readOrdinaryObject >>>> (ObjectInputStream.java:1 >>>> 693) >>>> at >>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) >>>> at java.io.ObjectInputStream.readObject >>>> (ObjectInputStream.java:339) >>>> ... 9 more >>>> >>>> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM This one >>>> is for more >>>> of >>>> a debugging mode >>>> >>>> C:\Documents and Settings\fan2\Desktop\Source\ofbiz>REM "C:\Program >>>> Files\Java\j >>>> dk1.5.0_06\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug - >>>> Xnoagent >>>> -Dja >>>> va.compiler=NONE >>>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 - >>>> jar ofbiz.jar > framework\logs\console.log >>>> C:\Documents and Settings\fan2\Desktop\Source\ofbiz> >>>> >>>> >>>> yh-maurizio wrote: >>>>> >>>>> Sorry, *your*, not *you're* ;-) >>>>> >>>>> >>>>> yh-maurizio wrote: >>>>>> >>>>>> Probably, you're 1099 port is already used by another >>>>>> application, such >>>>>> as Skype (you can test this with ActivePorts). >>>>>> If so, you have to change the ports configuration, replacing the >>>>>> RMI port >>>>>> (e.g. from 1099 to 2099), in the ofbiz-containers.xml and >>>>>> jetty-containers.xml files. >>>>>> >>>>>> Maurizio. >>>>>> >>>>>> >>>>>> Fan wrote: >>>>>>> >>>>>>> Help !!!! Here is the error I encountered when I run the command >>>>>>> startofbiz in window XP >>>>>>> >>>>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>startofbiz >>>>>>> >>>>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>ECHO OFF >>>>>>> >>>>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>"C:\Program >>>>>>> Files\Java\jdk1. >>>>>>> 4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -jar >>>>>>> ofbiz.jar >>>>>>> 1>framework\l >>>>>>> ogs\console.log >>>>>>> org.ofbiz.base.start.StartupException: Cannot start() >>>>>>> org.ofbiz.service.rmi.RmiS >>>>>>> erviceContainer (Unable to bind RMIDispatcher to RMI on >>>>>>> //host[127.0.0.1]:port[1 >>>>>>> 099]/name[RMIDispatcher] - with >>>>>>> remote=org.ofbiz.service.rmi.RemoteDispatcherImp >>>>>>> l[RemoteStub [ref: >>>>>>> [endpoint:[192.168.0.189:1093,org.ofbiz.service.rmi.socket.ss >>>>>>> l.SSLServerSocketFactory@18ff27,org.ofbiz.service.rmi.socket.ssl >>>>>>> .S >>>>>>> SLClientSocket >>>>>>> Factory@128340](local),objID:[0]]]] (RemoteException occurred >>>>>>> in server >>>>>>> thread; >>>>>>> nested exception is: >>>>>>> java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no protocol: and)) >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 9) >>>>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>>>> (Start.java:260) >>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java: >>>>>>> 311) >>>>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>>>> org.ofbiz.base.container.ContainerException: Unable to bind >>>>>>> RMIDispatcher to RMI >>>>>>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with >>>>>>> remote=org.ofbiz.ser >>>>>>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: >>>>>>> [endpoint:[192.168.0.189:1093,org >>>>>>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org. >>>>>>> of >>>>>>> biz.service.rm >>>>>>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] >>>>>>> (RemoteException >>>>>>> occurred in server thread; nested exception is: >>>>>>> java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no protocol: and) >>>>>>> at >>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>>> (RmiServiceContainer.j >>>>>>> ava:129) >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 7) >>>>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>>>> (Start.java:260) >>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java: >>>>>>> 311) >>>>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>>>> java.rmi.ServerException: RemoteException occurred in server >>>>>>> thread; >>>>>>> nested exce >>>>>>> ption is: >>>>>>> java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no protocol: and >>>>>>> at >>>>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>>>> (UnicastServerRef.java:352 >>>>>>> ) >>>>>>> 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:4 >>>>>>> 60) >>>>>>> at >>>>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>>>> (TCPTransport >>>>>>> .java:701) >>>>>>> at java.lang.Thread.run(Thread.java:534) >>>>>>> at >>>>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>>>>> (Stream >>>>>>> RemoteCall.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.rebind(Unknown >>>>>>> Source) >>>>>>> at java.rmi.Naming.rebind(Naming.java:160) >>>>>>> at >>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>>> (RmiServiceContainer.j >>>>>>> ava:127) >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 7) >>>>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>>>> (Start.java:260) >>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java: >>>>>>> 311) >>>>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested ex >>>>>>> ception is: >>>>>>> java.net.MalformedURLException: no protocol: and >>>>>>> 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:4 >>>>>>> 60) >>>>>>> at >>>>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>>>> (TCPTransport >>>>>>> .java:701) >>>>>>> at java.lang.Thread.run(Thread.java:534) >>>>>>> Caused by: java.net.MalformedURLException: no protocol: and >>>>>>> at java.net.URL.<init>(URL.java:537) >>>>>>> at java.net.URL.<init>(URL.java:434) >>>>>>> at java.net.URL.<init>(URL.java:383) >>>>>>> at >>>>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) >>>>>>> at >>>>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) >>>>>>> at >>>>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: >>>>>>> 631) >>>>>>> at >>>>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java: >>>>>>> 257) >>>>>>> at >>>>>>> sun.rmi.server.MarshalInputStream.resolveClass >>>>>>> (MarshalInputStream.jav >>>>>>> a:200) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readNonProxyDesc >>>>>>> (ObjectInputStream.java:151 >>>>>>> 3) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>>>>> 1435) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readOrdinaryObject >>>>>>> (ObjectInputStream.java:1 >>>>>>> 626) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java: >>>>>>> 1274) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) >>>>>>> ... 9 more >>>>>>> org.ofbiz.base.container.ContainerException: Unable to bind >>>>>>> RMIDispatcher to RMI >>>>>>> on //host[127.0.0.1]:port[1099]/name[RMIDispatcher] - with >>>>>>> remote=org.ofbiz.ser >>>>>>> vice.rmi.RemoteDispatcherImpl[RemoteStub [ref: >>>>>>> [endpoint:[192.168.0.189:1093,org >>>>>>> .ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory@18ff27,org. >>>>>>> of >>>>>>> biz.service.rm >>>>>>> i.socket.ssl.SSLClientSocketFactory@128340](local),objID:[0]]]] >>>>>>> (RemoteException >>>>>>> occurred in server thread; nested exception is: >>>>>>> java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no protocol: and) >>>>>>> at >>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>>> (RmiServiceContainer.j >>>>>>> ava:129) >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 7) >>>>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>>>> (Start.java:260) >>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java: >>>>>>> 311) >>>>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>>>> java.rmi.ServerException: RemoteException occurred in server >>>>>>> thread; >>>>>>> nested exce >>>>>>> ption is: >>>>>>> java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no protocol: and >>>>>>> at >>>>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>>>> (UnicastServerRef.java:352 >>>>>>> ) >>>>>>> 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:4 >>>>>>> 60) >>>>>>> at >>>>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>>>> (TCPTransport >>>>>>> .java:701) >>>>>>> at java.lang.Thread.run(Thread.java:534) >>>>>>> at >>>>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>>>>> (Stream >>>>>>> RemoteCall.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.rebind(Unknown >>>>>>> Source) >>>>>>> at java.rmi.Naming.rebind(Naming.java:160) >>>>>>> at >>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>>> (RmiServiceContainer.j >>>>>>> ava:127) >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 7) >>>>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>>>> (Start.java:260) >>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java: >>>>>>> 311) >>>>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested ex >>>>>>> ception is: >>>>>>> java.net.MalformedURLException: no protocol: and >>>>>>> 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:4 >>>>>>> 60) >>>>>>> at >>>>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>>>> (TCPTransport >>>>>>> .java:701) >>>>>>> at java.lang.Thread.run(Thread.java:534) >>>>>>> Caused by: java.net.MalformedURLException: no protocol: and >>>>>>> at java.net.URL.<init>(URL.java:537) >>>>>>> at java.net.URL.<init>(URL.java:434) >>>>>>> at java.net.URL.<init>(URL.java:383) >>>>>>> at >>>>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) >>>>>>> at >>>>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) >>>>>>> at >>>>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: >>>>>>> 631) >>>>>>> at >>>>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java: >>>>>>> 257) >>>>>>> at >>>>>>> sun.rmi.server.MarshalInputStream.resolveClass >>>>>>> (MarshalInputStream.jav >>>>>>> a:200) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readNonProxyDesc >>>>>>> (ObjectInputStream.java:151 >>>>>>> 3) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>>>>> 1435) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readOrdinaryObject >>>>>>> (ObjectInputStream.java:1 >>>>>>> 626) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java: >>>>>>> 1274) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) >>>>>>> ... 9 more >>>>>>> java.rmi.ServerException: RemoteException occurred in server >>>>>>> thread; >>>>>>> nested exce >>>>>>> ption is: >>>>>>> java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no protocol: and >>>>>>> at >>>>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>>>> (UnicastServerRef.java:352 >>>>>>> ) >>>>>>> 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:4 >>>>>>> 60) >>>>>>> at >>>>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>>>> (TCPTransport >>>>>>> .java:701) >>>>>>> at java.lang.Thread.run(Thread.java:534) >>>>>>> at >>>>>>> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer >>>>>>> (Stream >>>>>>> RemoteCall.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.rebind(Unknown >>>>>>> Source) >>>>>>> at java.rmi.Naming.rebind(Naming.java:160) >>>>>>> at >>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>>> (RmiServiceContainer.j >>>>>>> ava:127) >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 7) >>>>>>> at org.ofbiz.base.start.Start.startStartLoaders >>>>>>> (Start.java:260) >>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java: >>>>>>> 311) >>>>>>> at org.ofbiz.base.start.Start.start(Start.java:315) >>>>>>> at org.ofbiz.base.start.Start.main(Start.java:401) >>>>>>> Caused by: java.rmi.UnmarshalException: error unmarshalling >>>>>>> arguments; >>>>>>> nested ex >>>>>>> ception is: >>>>>>> java.net.MalformedURLException: no protocol: and >>>>>>> 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:4 >>>>>>> 60) >>>>>>> at >>>>>>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run >>>>>>> (TCPTransport >>>>>>> .java:701) >>>>>>> at java.lang.Thread.run(Thread.java:534) >>>>>>> Caused by: java.net.MalformedURLException: no protocol: and >>>>>>> at java.net.URL.<init>(URL.java:537) >>>>>>> at java.net.URL.<init>(URL.java:434) >>>>>>> at java.net.URL.<init>(URL.java:383) >>>>>>> at >>>>>>> sun.rmi.server.LoaderHandler.pathToURLs(LoaderHandler.java:747) >>>>>>> at >>>>>>> sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:147) >>>>>>> at >>>>>>> java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java: >>>>>>> 631) >>>>>>> at >>>>>>> java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java: >>>>>>> 257) >>>>>>> at >>>>>>> sun.rmi.server.MarshalInputStream.resolveClass >>>>>>> (MarshalInputStream.jav >>>>>>> a:200) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readNonProxyDesc >>>>>>> (ObjectInputStream.java:151 >>>>>>> 3) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java: >>>>>>> 1435) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readOrdinaryObject >>>>>>> (ObjectInputStream.java:1 >>>>>>> 626) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java: >>>>>>> 1274) >>>>>>> at >>>>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) >>>>>>> ... 9 more >>>>>>> >>>>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM This >>>>>>> one is for >>>>>>> more of >>>>>>> a debugging mode >>>>>>> >>>>>>> C:\Documents and Settings\thong\Desktop\ofbiz\ofbiz>REM "C: >>>>>>> \Program >>>>>>> Files\Java\j >>>>>>> dk1.4.2\bin\java" -Xms256M -Xmx512M -Duser.language=en -Xdebug - >>>>>>> Xnoagent >>>>>>> -Djava. >>>>>>> compiler=NONE >>>>>>> -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005 >>>>>>> -jar >>>>>>> ofbiz.jar > framework\logs\console.log >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> -- >>>> View this message in context: http://www.nabble.com/Error-on- >>>> startofbiz-tf2939899.html#a8230836 >>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >> smime.p7s (3K) Download Attachment |
Here's the JIRA issue
http://issues.apache.org/jira/browse/OFBIZ-486 --- David E Jones <[hidden email]> wrote: > > No, I'm not using windows (thank the maker!), but > there was a patch > for this recently that I believe did make it in. So, > if someone on > windows could test it, that would be great. The > point of the patch > was to make it possible to run with the default Java > location in > Windows as this has been a pain point for a while. > > -David > > > On Jan 8, 2007, at 10:56 PM, Jacques Le Roux wrote: > > > David, > > > > Was not this problem a Windows only problem ? Are > you using Windows > > David ? > > > > Jacques > > > > From: "David E Jones" > <[hidden email]> > >> > >> Interesting... it seems like that was fixed > recently so it could run > >> even with such spaces... has anyone verified this > recently? > >> > >> Fan: which version/revision of OFBiz are you > running? > >> > >> -David > >> > >> > >> On Jan 8, 2007, at 10:23 PM, Jacques Le Roux > wrote: > >> > >>> Fan, > >>> > >>> I see now that you have a blank in your java > path. > >>> "C:\Program Files\Java\jdk1.5.0_06\bin\java" > >>> This is not supported please reinstall jdk in a > path without any > >>> blank, for instance > >>> "C:\Java\jdk1.5.0_06\bin\java" > >>> > >>> I know this is the default from Sun, and we > should document this > >>> somewhere (if not already done ;o). > >>> > >>> If it's already done we should try to have an > install file with > >>> some very basic recommandations to avoid > repeting this stuff and > >>> such so many times... > >>> > >>> WDYT folks ? > >>> > >>> Thanks > >>> > >>> Jacques > >>> > >>> ----- Original Message ----- > >>> From: "Fan" <[hidden email]> > >>> To: <[hidden email]> > >>> Sent: Tuesday, January 09, 2007 3:15 AM > >>> Subject: Re: Error on startofbiz > >>> > >>> > >>>> > >>>> I have the same problem even I had changed all > port to 2099 > >>>> > >>>> C:\Documents and > Settings\fan2\Desktop\Source\ofbiz>"C:\Program > >>>> Files\Java\jdk1. > >>>> 5.0_06\bin\java" -Xms256M -Xmx512M > -Duser.language=en -jar > >>>> ofbiz.jar > >>>> 1>framewor > >>>> k\logs\console.log > >>>> org.ofbiz.base.start.StartupException: Cannot > start() > >>>> org.ofbiz.service.rmi.RmiS > >>>> erviceContainer (Unable to bind RMIDispatcher > to RMI on > >>>> //host[127.0.0.1]:port[2 > >>>> 099]/name[RMIDispatcher] - with > >>>> remote=RemoteDispatcherImpl[UnicastServerRef2 > [l > >>>> iveRef: > >>>> [endpoint: > >>>> > > >>>> > SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSoc > > >>>> ke > >>>> tFactory@1b > >>>> c6533](local),objID:[0]]]] (RemoteException > occurred in server > >>>> thread; > >>>> nested ex > >>>> ception is: > >>>> java.rmi.UnmarshalException: error > unmarshalling > >>>> arguments; nested > >>>> excep > >>>> tion is: > >>>> java.net.MalformedURLException: no > protocol: and)) > >>>> at > >>>> org.ofbiz.base.container.ContainerLoader.start > >>>> (ContainerLoader.java:7 > >>>> 9) > >>>> at > > >>>> 260) > >>>> at > org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>> at > org.ofbiz.base.start.Start.start(Start.java:315) > >>>> at > org.ofbiz.base.start.Start.main(Start.java:401) > >>>> org.ofbiz.base.container.ContainerException: > Unable to bind > >>>> RMIDispatcher to > >>>> RMI > >>>> on > //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - > with > >>>> remote=RemoteDispatc > >>>> herImpl[UnicastServerRef2 [liveRef: > >>>> [endpoint:[188.188.8.215:2605,org.ofbiz.serv > >>>> > > > >>>> .r > >>>> mi.socket.s > >>>> > sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] > >>>> (RemoteException > >>>> occurred > >>>> in server thread; nested exception is: > >>>> java.rmi.UnmarshalException: error > unmarshalling > >>>> arguments; nested > >>>> excep > >>>> tion is: > >>>> java.net.MalformedURLException: no > protocol: and) > >>>> at > >>>> org.ofbiz.service.rmi.RmiServiceContainer.start > > >>>> (RmiServiceContainer.j > >>>> ava:129) > >>>> at > >>>> org.ofbiz.base.container.ContainerLoader.start > >>>> (ContainerLoader.java:7 > >>>> 7) > >>>> at > > >>>> 260) > >>>> at > org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>> at > org.ofbiz.base.start.Start.start(Start.java:315) > >>>> at > org.ofbiz.base.start.Start.main(Start.java:401) > >>>> java.rmi.ServerException: RemoteException > occurred in server > >>>> thread; nested > >>>> exce > >>>> ption is: > >>>> java.rmi.UnmarshalException: error > unmarshalling > >>>> arguments; nested > >>>> excep > >>>> tion is: > >>>> java.net.MalformedURLException: no > protocol: and > >>>> at > >>>> sun.rmi.server.UnicastServerRef.oldDispatch > >>>> (UnicastServerRef.java:385 > >>>> ) > >>>> at > >>>> > > >>>> at > sun.rmi.transport.Transport$1.run(Transport.java:153) > >>>> at > java.security.AccessController.doPrivileged(Native > >>>> Method) > >>>> at > sun.rmi.transport.Transport.serviceCall(Transport.java: > >>>> 149) > === message truncated === |
By chance I'm reinstalling ofbiz and startup is failing, the only thing
different is that my ofbiz install has spaces in it's path. I'll move my ofbiz directory to the root and report back shortly. Regards Scott Chris Howe wrote: > Here's the JIRA issue > > http://issues.apache.org/jira/browse/OFBIZ-486 > > > --- David E Jones <[hidden email]> > wrote: > > >> No, I'm not using windows (thank the maker!), but >> there was a patch >> for this recently that I believe did make it in. So, >> if someone on >> windows could test it, that would be great. The >> point of the patch >> was to make it possible to run with the default Java >> location in >> Windows as this has been a pain point for a while. >> >> -David >> >> >> On Jan 8, 2007, at 10:56 PM, Jacques Le Roux wrote: >> >> >>> David, >>> >>> Was not this problem a Windows only problem ? Are >>> >> you using Windows >> >>> David ? >>> >>> Jacques >>> >>> From: "David E Jones" >>> >> <[hidden email]> >> >>>> Interesting... it seems like that was fixed >>>> >> recently so it could run >> >>>> even with such spaces... has anyone verified this >>>> >> recently? >> >>>> Fan: which version/revision of OFBiz are you >>>> >> running? >> >>>> -David >>>> >>>> >>>> On Jan 8, 2007, at 10:23 PM, Jacques Le Roux >>>> >> wrote: >> >>>>> Fan, >>>>> >>>>> I see now that you have a blank in your java >>>>> >> path. >> >>>>> "C:\Program Files\Java\jdk1.5.0_06\bin\java" >>>>> This is not supported please reinstall jdk in a >>>>> >> path without any >> >>>>> blank, for instance >>>>> "C:\Java\jdk1.5.0_06\bin\java" >>>>> >>>>> I know this is the default from Sun, and we >>>>> >> should document this >> >>>>> somewhere (if not already done ;o). >>>>> >>>>> If it's already done we should try to have an >>>>> >> install file with >> >>>>> some very basic recommandations to avoid >>>>> >> repeting this stuff and >> >>>>> such so many times... >>>>> >>>>> WDYT folks ? >>>>> >>>>> Thanks >>>>> >>>>> Jacques >>>>> >>>>> ----- Original Message ----- >>>>> From: "Fan" <[hidden email]> >>>>> To: <[hidden email]> >>>>> Sent: Tuesday, January 09, 2007 3:15 AM >>>>> Subject: Re: Error on startofbiz >>>>> >>>>> >>>>> >>>>>> I have the same problem even I had changed all >>>>>> >> port to 2099 >> >>>>>> C:\Documents and >>>>>> >> Settings\fan2\Desktop\Source\ofbiz>"C:\Program >> >>>>>> Files\Java\jdk1. >>>>>> 5.0_06\bin\java" -Xms256M -Xmx512M >>>>>> >> -Duser.language=en -jar >> >>>>>> ofbiz.jar >>>>>> 1>framewor >>>>>> k\logs\console.log >>>>>> org.ofbiz.base.start.StartupException: Cannot >>>>>> >> start() >> >>>>>> org.ofbiz.service.rmi.RmiS >>>>>> erviceContainer (Unable to bind RMIDispatcher >>>>>> >> to RMI on >> >>>>>> //host[127.0.0.1]:port[2 >>>>>> 099]/name[RMIDispatcher] - with >>>>>> remote=RemoteDispatcherImpl[UnicastServerRef2 >>>>>> >> [l >> >>>>>> iveRef: >>>>>> [endpoint: >>>>>> >>>>>> > [188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer > > SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSoc > >>>>>> ke >>>>>> tFactory@1b >>>>>> c6533](local),objID:[0]]]] (RemoteException >>>>>> >> occurred in server >> >>>>>> thread; >>>>>> nested ex >>>>>> ception is: >>>>>> java.rmi.UnmarshalException: error >>>>>> >> unmarshalling >> >>>>>> arguments; nested >>>>>> excep >>>>>> tion is: >>>>>> java.net.MalformedURLException: no >>>>>> >> protocol: and)) >> >>>>>> at >>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>> (ContainerLoader.java:7 >>>>>> 9) >>>>>> at >>>>>> > org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >>>>>> 260) >>>>>> at >>>>>> > org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>>> at >>>>>> >> org.ofbiz.base.start.Start.start(Start.java:315) >> >>>>>> at >>>>>> >> org.ofbiz.base.start.Start.main(Start.java:401) >> >>>>>> org.ofbiz.base.container.ContainerException: >>>>>> >> Unable to bind >> >>>>>> RMIDispatcher to >>>>>> RMI >>>>>> on >>>>>> >> //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - >> with >> >>>>>> remote=RemoteDispatc >>>>>> herImpl[UnicastServerRef2 [liveRef: >>>>>> [endpoint:[188.188.8.215:2605,org.ofbiz.serv >>>>>> >>>>>> > ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service > >>>>>> .r >>>>>> mi.socket.s >>>>>> >>>>>> > sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] > >>>>>> (RemoteException >>>>>> occurred >>>>>> in server thread; nested exception is: >>>>>> java.rmi.UnmarshalException: error >>>>>> >> unmarshalling >> >>>>>> arguments; nested >>>>>> excep >>>>>> tion is: >>>>>> java.net.MalformedURLException: no >>>>>> >> protocol: and) >> >>>>>> at >>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>> >>>>>> (RmiServiceContainer.j >>>>>> ava:129) >>>>>> at >>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>> (ContainerLoader.java:7 >>>>>> 7) >>>>>> at >>>>>> > org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >>>>>> 260) >>>>>> at >>>>>> > org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>>>> at >>>>>> >> org.ofbiz.base.start.Start.start(Start.java:315) >> >>>>>> at >>>>>> >> org.ofbiz.base.start.Start.main(Start.java:401) >> >>>>>> java.rmi.ServerException: RemoteException >>>>>> >> occurred in server >> >>>>>> thread; nested >>>>>> exce >>>>>> ption is: >>>>>> java.rmi.UnmarshalException: error >>>>>> >> unmarshalling >> >>>>>> arguments; nested >>>>>> excep >>>>>> tion is: >>>>>> java.net.MalformedURLException: no >>>>>> >> protocol: and >> >>>>>> at >>>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>>> (UnicastServerRef.java:385 >>>>>> ) >>>>>> at >>>>>> >>>>>> > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >>>>>> at >>>>>> > sun.rmi.transport.Transport$1.run(Transport.java:153) > >>>>>> at >>>>>> >> java.security.AccessController.doPrivileged(Native >> >>>>>> Method) >>>>>> at >>>>>> > sun.rmi.transport.Transport.serviceCall(Transport.java: > >>>>>> 149) >>>>>> > === message truncated === > > > |
Interesting... so this may have fixed the problem for spaces in the java install path, but not in the ofbiz install path... though there may be something we can do for that too. Not that I need another reason to reinforce my decision to never buy a Windows box again... I know not everyone is so lucky though. -David On Jan 8, 2007, at 11:31 PM, Scott Gray wrote: > By chance I'm reinstalling ofbiz and startup is failing, the only > thing different is that my ofbiz install has spaces in it's path. > I'll move my ofbiz directory to the root and report back shortly. > > Regards > Scott > > Chris Howe wrote: >> Here's the JIRA issue >> >> http://issues.apache.org/jira/browse/OFBIZ-486 >> >> >> --- David E Jones <[hidden email]> >> wrote: >> >> >>> No, I'm not using windows (thank the maker!), but >>> there was a patch for this recently that I believe did make it >>> in. So, >>> if someone on windows could test it, that would be great. The >>> point of the patch was to make it possible to run with the >>> default Java >>> location in Windows as this has been a pain point for a while. >>> >>> -David >>> >>> >>> On Jan 8, 2007, at 10:56 PM, Jacques Le Roux wrote: >>> >>> >>>> David, >>>> >>>> Was not this problem a Windows only problem ? Are >>>> >>> you using Windows >>>> David ? >>>> >>>> Jacques >>>> >>>> From: "David E Jones" >>>> >>> <[hidden email]> >>> >>>>> Interesting... it seems like that was fixed >>>>> >>> recently so it could run >>> >>>>> even with such spaces... has anyone verified this >>>>> >>> recently? >>> >>>>> Fan: which version/revision of OFBiz are you >>>>> >>> running? >>> >>>>> -David >>>>> >>>>> >>>>> On Jan 8, 2007, at 10:23 PM, Jacques Le Roux >>>>> >>> wrote: >>> >>>>>> Fan, >>>>>> >>>>>> I see now that you have a blank in your java >>>>>> >>> path. >>> >>>>>> "C:\Program Files\Java\jdk1.5.0_06\bin\java" >>>>>> This is not supported please reinstall jdk in a >>>>>> >>> path without any >>> >>>>>> blank, for instance >>>>>> "C:\Java\jdk1.5.0_06\bin\java" >>>>>> >>>>>> I know this is the default from Sun, and we >>>>>> >>> should document this >>> >>>>>> somewhere (if not already done ;o). >>>>>> >>>>>> If it's already done we should try to have an >>>>>> >>> install file with >>> >>>>>> some very basic recommandations to avoid >>>>>> >>> repeting this stuff and >>> >>>>>> such so many times... >>>>>> >>>>>> WDYT folks ? >>>>>> >>>>>> Thanks >>>>>> >>>>>> Jacques >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: "Fan" <[hidden email]> >>>>>> To: <[hidden email]> >>>>>> Sent: Tuesday, January 09, 2007 3:15 AM >>>>>> Subject: Re: Error on startofbiz >>>>>> >>>>>> >>>>>> >>>>>>> I have the same problem even I had changed all >>>>>>> >>> port to 2099 >>> >>>>>>> C:\Documents and >>>>>>> >>> Settings\fan2\Desktop\Source\ofbiz>"C:\Program >>> >>>>>>> Files\Java\jdk1. >>>>>>> 5.0_06\bin\java" -Xms256M -Xmx512M >>>>>>> >>> -Duser.language=en -jar >>>>>>> ofbiz.jar >>>>>>> 1>framewor >>>>>>> k\logs\console.log >>>>>>> org.ofbiz.base.start.StartupException: Cannot >>>>>>> >>> start() >>> >>>>>>> org.ofbiz.service.rmi.RmiS >>>>>>> erviceContainer (Unable to bind RMIDispatcher >>>>>>> >>> to RMI on >>> >>>>>>> //host[127.0.0.1]:port[2 >>>>>>> 099]/name[RMIDispatcher] - with >>>>>>> remote=RemoteDispatcherImpl[UnicastServerRef2 >>>>>>> >>> [l >>> >>>>>>> iveRef: >>>>>>> [endpoint: >>>>>>> >>>>>>> >> [188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer >> SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSoc >> >>>>>>> ke >>>>>>> tFactory@1b >>>>>>> c6533](local),objID:[0]]]] (RemoteException >>>>>>> >>> occurred in server >>> >>>>>>> thread; >>>>>>> nested ex >>>>>>> ception is: >>>>>>> java.rmi.UnmarshalException: error >>>>>>> >>> unmarshalling >>> >>>>>>> arguments; nested >>>>>>> excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no >>>>>>> >>> protocol: and)) >>> >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 9) >>>>>>> at >>>>>>> >> org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> >>>>>>> 260) >>>>>>> at >>>>>>> >> org.ofbiz.base.start.Start.startServer(Start.java:311) >> >>>>>>> at >>>>>>> >>> org.ofbiz.base.start.Start.start(Start.java:315) >>> >>>>>>> at >>>>>>> >>> org.ofbiz.base.start.Start.main(Start.java:401) >>> >>>>>>> org.ofbiz.base.container.ContainerException: >>>>>>> >>> Unable to bind >>> >>>>>>> RMIDispatcher to >>>>>>> RMI >>>>>>> on >>>>>>> >>> //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - >>> with >>> >>>>>>> remote=RemoteDispatc >>>>>>> herImpl[UnicastServerRef2 [liveRef: >>>>>>> [endpoint:[188.188.8.215:2605,org.ofbiz.serv >>>>>>> >>>>>>> >> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service >> >>>>>>> .r >>>>>>> mi.socket.s >>>>>>> >>>>>>> >> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] >> >>>>>>> (RemoteException >>>>>>> occurred >>>>>>> in server thread; nested exception is: >>>>>>> java.rmi.UnmarshalException: error >>>>>>> >>> unmarshalling >>> >>>>>>> arguments; nested >>>>>>> excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no >>>>>>> >>> protocol: and) >>> >>>>>>> at >>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>>> (RmiServiceContainer.j >>>>>>> ava:129) >>>>>>> at >>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>> (ContainerLoader.java:7 >>>>>>> 7) >>>>>>> at >>>>>>> >> org.ofbiz.base.start.Start.startStartLoaders(Start.java: >> >>>>>>> 260) >>>>>>> at >>>>>>> >> org.ofbiz.base.start.Start.startServer(Start.java:311) >> >>>>>>> at >>>>>>> >>> org.ofbiz.base.start.Start.start(Start.java:315) >>> >>>>>>> at >>>>>>> >>> org.ofbiz.base.start.Start.main(Start.java:401) >>> >>>>>>> java.rmi.ServerException: RemoteException >>>>>>> >>> occurred in server >>> >>>>>>> thread; nested >>>>>>> exce >>>>>>> ption is: >>>>>>> java.rmi.UnmarshalException: error >>>>>>> >>> unmarshalling >>> >>>>>>> arguments; nested >>>>>>> excep >>>>>>> tion is: >>>>>>> java.net.MalformedURLException: no >>>>>>> >>> protocol: and >>> >>>>>>> at >>>>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>>>> (UnicastServerRef.java:385 >>>>>>> ) >>>>>>> at >>>>>>> >>>>>>> >> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >> >>>>>>> at >>>>>>> >> sun.rmi.transport.Transport$1.run(Transport.java:153) >> >>>>>>> at >>>>>>> >>> java.security.AccessController.doPrivileged(Native >>>>>>> Method) >>>>>>> at >>>>>>> >> sun.rmi.transport.Transport.serviceCall(Transport.java: >> >>>>>>> 149) >>>>>>> >> === message truncated === >> >> >> > smime.p7s (3K) Download Attachment |
Just to confirm, everything works as it should once ofbiz is moved to a
path without spaces. Regards Scott David E Jones wrote: > > Interesting... so this may have fixed the problem for spaces in the > java install path, but not in the ofbiz install path... though there > may be something we can do for that too. > > Not that I need another reason to reinforce my decision to never buy a > Windows box again... I know not everyone is so lucky though. > > -David > > > On Jan 8, 2007, at 11:31 PM, Scott Gray wrote: > >> By chance I'm reinstalling ofbiz and startup is failing, the only >> thing different is that my ofbiz install has spaces in it's path. >> I'll move my ofbiz directory to the root and report back shortly. >> >> Regards >> Scott >> >> Chris Howe wrote: >>> Here's the JIRA issue >>> >>> http://issues.apache.org/jira/browse/OFBIZ-486 >>> >>> >>> --- David E Jones <[hidden email]> >>> wrote: >>> >>> >>>> No, I'm not using windows (thank the maker!), but >>>> there was a patch for this recently that I believe did make it in. >>>> So, >>>> if someone on windows could test it, that would be great. The >>>> point of the patch was to make it possible to run with the default >>>> Java >>>> location in Windows as this has been a pain point for a while. >>>> >>>> -David >>>> >>>> >>>> On Jan 8, 2007, at 10:56 PM, Jacques Le Roux wrote: >>>> >>>> >>>>> David, >>>>> >>>>> Was not this problem a Windows only problem ? Are >>>>> >>>> you using Windows >>>>> David ? >>>>> >>>>> Jacques >>>>> >>>>> From: "David E Jones" >>>>> >>>> <[hidden email]> >>>> >>>>>> Interesting... it seems like that was fixed >>>>>> >>>> recently so it could run >>>> >>>>>> even with such spaces... has anyone verified this >>>>>> >>>> recently? >>>> >>>>>> Fan: which version/revision of OFBiz are you >>>>>> >>>> running? >>>> >>>>>> -David >>>>>> >>>>>> >>>>>> On Jan 8, 2007, at 10:23 PM, Jacques Le Roux >>>>>> >>>> wrote: >>>> >>>>>>> Fan, >>>>>>> >>>>>>> I see now that you have a blank in your java >>>>>>> >>>> path. >>>> >>>>>>> "C:\Program Files\Java\jdk1.5.0_06\bin\java" >>>>>>> This is not supported please reinstall jdk in a >>>>>>> >>>> path without any >>>> >>>>>>> blank, for instance >>>>>>> "C:\Java\jdk1.5.0_06\bin\java" >>>>>>> >>>>>>> I know this is the default from Sun, and we >>>>>>> >>>> should document this >>>> >>>>>>> somewhere (if not already done ;o). >>>>>>> >>>>>>> If it's already done we should try to have an >>>>>>> >>>> install file with >>>> >>>>>>> some very basic recommandations to avoid >>>>>>> >>>> repeting this stuff and >>>> >>>>>>> such so many times... >>>>>>> >>>>>>> WDYT folks ? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> Jacques >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: "Fan" <[hidden email]> >>>>>>> To: <[hidden email]> >>>>>>> Sent: Tuesday, January 09, 2007 3:15 AM >>>>>>> Subject: Re: Error on startofbiz >>>>>>> >>>>>>> >>>>>>> >>>>>>>> I have the same problem even I had changed all >>>>>>>> >>>> port to 2099 >>>> >>>>>>>> C:\Documents and >>>>>>>> >>>> Settings\fan2\Desktop\Source\ofbiz>"C:\Program >>>> >>>>>>>> Files\Java\jdk1. >>>>>>>> 5.0_06\bin\java" -Xms256M -Xmx512M >>>>>>>> >>>> -Duser.language=en -jar >>>>>>>> ofbiz.jar >>>>>>>> 1>framewor >>>>>>>> k\logs\console.log >>>>>>>> org.ofbiz.base.start.StartupException: Cannot >>>>>>>> >>>> start() >>>> >>>>>>>> org.ofbiz.service.rmi.RmiS >>>>>>>> erviceContainer (Unable to bind RMIDispatcher >>>>>>>> >>>> to RMI on >>>> >>>>>>>> //host[127.0.0.1]:port[2 >>>>>>>> 099]/name[RMIDispatcher] - with >>>>>>>> remote=RemoteDispatcherImpl[UnicastServerRef2 >>>>>>>> >>>> [l >>>> >>>>>>>> iveRef: >>>>>>>> [endpoint: >>>>>>>> >>>>>>>> >>> [188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer >>> SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSoc >>> >>>>>>>> ke >>>>>>>> tFactory@1b >>>>>>>> c6533](local),objID:[0]]]] (RemoteException >>>>>>>> >>>> occurred in server >>>> >>>>>>>> thread; >>>>>>>> nested ex >>>>>>>> ception is: >>>>>>>> java.rmi.UnmarshalException: error >>>>>>>> >>>> unmarshalling >>>> >>>>>>>> arguments; nested >>>>>>>> excep >>>>>>>> tion is: >>>>>>>> java.net.MalformedURLException: no >>>>>>>> >>>> protocol: and)) >>>> >>>>>>>> at >>>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>>> (ContainerLoader.java:7 >>>>>>>> 9) >>>>>>>> at >>>>>>>> >>> org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>> >>>>>>>> 260) >>>>>>>> at >>>>>>>> >>> org.ofbiz.base.start.Start.startServer(Start.java:311) >>> >>>>>>>> at >>>>>>>> >>>> org.ofbiz.base.start.Start.start(Start.java:315) >>>> >>>>>>>> at >>>>>>>> >>>> org.ofbiz.base.start.Start.main(Start.java:401) >>>> >>>>>>>> org.ofbiz.base.container.ContainerException: >>>>>>>> >>>> Unable to bind >>>> >>>>>>>> RMIDispatcher to >>>>>>>> RMI >>>>>>>> on >>>>>>>> >>>> //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - >>>> with >>>> >>>>>>>> remote=RemoteDispatc >>>>>>>> herImpl[UnicastServerRef2 [liveRef: >>>>>>>> [endpoint:[188.188.8.215:2605,org.ofbiz.serv >>>>>>>> >>>>>>>> >>> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service >>> >>>>>>>> .r >>>>>>>> mi.socket.s >>>>>>>> >>>>>>>> >>> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] >>> >>>>>>>> (RemoteException >>>>>>>> occurred >>>>>>>> in server thread; nested exception is: >>>>>>>> java.rmi.UnmarshalException: error >>>>>>>> >>>> unmarshalling >>>> >>>>>>>> arguments; nested >>>>>>>> excep >>>>>>>> tion is: >>>>>>>> java.net.MalformedURLException: no >>>>>>>> >>>> protocol: and) >>>> >>>>>>>> at >>>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start >>>>>>>> (RmiServiceContainer.j >>>>>>>> ava:129) >>>>>>>> at >>>>>>>> org.ofbiz.base.container.ContainerLoader.start >>>>>>>> (ContainerLoader.java:7 >>>>>>>> 7) >>>>>>>> at >>>>>>>> >>> org.ofbiz.base.start.Start.startStartLoaders(Start.java: >>> >>>>>>>> 260) >>>>>>>> at >>>>>>>> >>> org.ofbiz.base.start.Start.startServer(Start.java:311) >>> >>>>>>>> at >>>>>>>> >>>> org.ofbiz.base.start.Start.start(Start.java:315) >>>> >>>>>>>> at >>>>>>>> >>>> org.ofbiz.base.start.Start.main(Start.java:401) >>>> >>>>>>>> java.rmi.ServerException: RemoteException >>>>>>>> >>>> occurred in server >>>> >>>>>>>> thread; nested >>>>>>>> exce >>>>>>>> ption is: >>>>>>>> java.rmi.UnmarshalException: error >>>>>>>> >>>> unmarshalling >>>> >>>>>>>> arguments; nested >>>>>>>> excep >>>>>>>> tion is: >>>>>>>> java.net.MalformedURLException: no >>>>>>>> >>>> protocol: and >>>> >>>>>>>> at >>>>>>>> sun.rmi.server.UnicastServerRef.oldDispatch >>>>>>>> (UnicastServerRef.java:385 >>>>>>>> ) >>>>>>>> at >>>>>>>> >>>>>>>> >>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) >>> >>>>>>>> at >>>>>>>> >>> sun.rmi.transport.Transport$1.run(Transport.java:153) >>> >>>>>>>> at >>>>>>>> >>>> java.security.AccessController.doPrivileged(Native >>>>>>>> Method) >>>>>>>> at >>>>>>>> >>> sun.rmi.transport.Transport.serviceCall(Transport.java: >>> >>>>>>>> 149) >>>>>>>> >>> === message truncated === >>> >>> >>> >> > |
Yup !! Scott is correct, I just moved the ofbiz into a path without spaces, then it works fine without re-installing the JDK into a new path without spaces.
Thanks for all the advice from you all. Now my journey in ofbiz is just starting. Hope it's all fun with the help from you all !!
|
In reply to this post by Scott Gray
Incidentally, linux people are not immune from this either, spaces in a
path will cause problems with RMI, slightly off topic, but just in case anyone is searching the archives... ;-) - Andrew On Tue, 2007-01-09 at 06:32 -0800, Fan wrote: > Yup !! Scott is correct, I just moved the ofbiz into a path without spaces, > then it works fine without re-installing the JDK into a new path without > spaces. > > Thanks for all the advice from you all. Now my journey in ofbiz is just > starting. Hope it's all fun with the help from you all !! > > > Scott Gray wrote: > > > > Just to confirm, everything works as it should once ofbiz is moved to a > > path without spaces. > > > > Regards > > Scott > > > > David E Jones wrote: > >> > >> Interesting... so this may have fixed the problem for spaces in the > >> java install path, but not in the ofbiz install path... though there > >> may be something we can do for that too. > >> > >> Not that I need another reason to reinforce my decision to never buy a > >> Windows box again... I know not everyone is so lucky though. > >> > >> -David > >> > >> > >> On Jan 8, 2007, at 11:31 PM, Scott Gray wrote: > >> > >>> By chance I'm reinstalling ofbiz and startup is failing, the only > >>> thing different is that my ofbiz install has spaces in it's path. > >>> I'll move my ofbiz directory to the root and report back shortly. > >>> > >>> Regards > >>> Scott > >>> > >>> Chris Howe wrote: > >>>> Here's the JIRA issue > >>>> > >>>> http://issues.apache.org/jira/browse/OFBIZ-486 > >>>> > >>>> > >>>> --- David E Jones <[hidden email]> > >>>> wrote: > >>>> > >>>> > >>>>> No, I'm not using windows (thank the maker!), but > >>>>> there was a patch for this recently that I believe did make it in. > >>>>> So, > >>>>> if someone on windows could test it, that would be great. The > >>>>> point of the patch was to make it possible to run with the default > >>>>> Java > >>>>> location in Windows as this has been a pain point for a while. > >>>>> > >>>>> -David > >>>>> > >>>>> > >>>>> On Jan 8, 2007, at 10:56 PM, Jacques Le Roux wrote: > >>>>> > >>>>> > >>>>>> David, > >>>>>> > >>>>>> Was not this problem a Windows only problem ? Are > >>>>>> > >>>>> you using Windows > >>>>>> David ? > >>>>>> > >>>>>> Jacques > >>>>>> > >>>>>> From: "David E Jones" > >>>>>> > >>>>> <[hidden email]> > >>>>> > >>>>>>> Interesting... it seems like that was fixed > >>>>>>> > >>>>> recently so it could run > >>>>> > >>>>>>> even with such spaces... has anyone verified this > >>>>>>> > >>>>> recently? > >>>>> > >>>>>>> Fan: which version/revision of OFBiz are you > >>>>>>> > >>>>> running? > >>>>> > >>>>>>> -David > >>>>>>> > >>>>>>> > >>>>>>> On Jan 8, 2007, at 10:23 PM, Jacques Le Roux > >>>>>>> > >>>>> wrote: > >>>>> > >>>>>>>> Fan, > >>>>>>>> > >>>>>>>> I see now that you have a blank in your java > >>>>>>>> > >>>>> path. > >>>>> > >>>>>>>> "C:\Program Files\Java\jdk1.5.0_06\bin\java" > >>>>>>>> This is not supported please reinstall jdk in a > >>>>>>>> > >>>>> path without any > >>>>> > >>>>>>>> blank, for instance > >>>>>>>> "C:\Java\jdk1.5.0_06\bin\java" > >>>>>>>> > >>>>>>>> I know this is the default from Sun, and we > >>>>>>>> > >>>>> should document this > >>>>> > >>>>>>>> somewhere (if not already done ;o). > >>>>>>>> > >>>>>>>> If it's already done we should try to have an > >>>>>>>> > >>>>> install file with > >>>>> > >>>>>>>> some very basic recommandations to avoid > >>>>>>>> > >>>>> repeting this stuff and > >>>>> > >>>>>>>> such so many times... > >>>>>>>> > >>>>>>>> WDYT folks ? > >>>>>>>> > >>>>>>>> Thanks > >>>>>>>> > >>>>>>>> Jacques > >>>>>>>> > >>>>>>>> ----- Original Message ----- > >>>>>>>> From: "Fan" <[hidden email]> > >>>>>>>> To: <[hidden email]> > >>>>>>>> Sent: Tuesday, January 09, 2007 3:15 AM > >>>>>>>> Subject: Re: Error on startofbiz > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> I have the same problem even I had changed all > >>>>>>>>> > >>>>> port to 2099 > >>>>> > >>>>>>>>> C:\Documents and > >>>>>>>>> > >>>>> Settings\fan2\Desktop\Source\ofbiz>"C:\Program > >>>>> > >>>>>>>>> Files\Java\jdk1. > >>>>>>>>> 5.0_06\bin\java" -Xms256M -Xmx512M > >>>>>>>>> > >>>>> -Duser.language=en -jar > >>>>>>>>> ofbiz.jar > >>>>>>>>> 1>framewor > >>>>>>>>> k\logs\console.log > >>>>>>>>> org.ofbiz.base.start.StartupException: Cannot > >>>>>>>>> > >>>>> start() > >>>>> > >>>>>>>>> org.ofbiz.service.rmi.RmiS > >>>>>>>>> erviceContainer (Unable to bind RMIDispatcher > >>>>>>>>> > >>>>> to RMI on > >>>>> > >>>>>>>>> //host[127.0.0.1]:port[2 > >>>>>>>>> 099]/name[RMIDispatcher] - with > >>>>>>>>> remote=RemoteDispatcherImpl[UnicastServerRef2 > >>>>>>>>> > >>>>> [l > >>>>> > >>>>>>>>> iveRef: > >>>>>>>>> [endpoint: > >>>>>>>>> > >>>>>>>>> > >>>> [188.188.8.215:2605,org.ofbiz.service.rmi.socket.ssl.SSLServer > >>>> SocketFactory@1cb8e0f,org.ofbiz.service.rmi.socket.ssl.SSLClientSoc > >>>> > >>>>>>>>> ke > >>>>>>>>> tFactory@1b > >>>>>>>>> c6533](local),objID:[0]]]] (RemoteException > >>>>>>>>> > >>>>> occurred in server > >>>>> > >>>>>>>>> thread; > >>>>>>>>> nested ex > >>>>>>>>> ception is: > >>>>>>>>> java.rmi.UnmarshalException: error > >>>>>>>>> > >>>>> unmarshalling > >>>>> > >>>>>>>>> arguments; nested > >>>>>>>>> excep > >>>>>>>>> tion is: > >>>>>>>>> java.net.MalformedURLException: no > >>>>>>>>> > >>>>> protocol: and)) > >>>>> > >>>>>>>>> at > >>>>>>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>>>>>> (ContainerLoader.java:7 > >>>>>>>>> 9) > >>>>>>>>> at > >>>>>>>>> > >>>> org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >>>> > >>>>>>>>> 260) > >>>>>>>>> at > >>>>>>>>> > >>>> org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>> > >>>>>>>>> at > >>>>>>>>> > >>>>> org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> > >>>>>>>>> at > >>>>>>>>> > >>>>> org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> > >>>>>>>>> org.ofbiz.base.container.ContainerException: > >>>>>>>>> > >>>>> Unable to bind > >>>>> > >>>>>>>>> RMIDispatcher to > >>>>>>>>> RMI > >>>>>>>>> on > >>>>>>>>> > >>>>> //host[127.0.0.1]:port[2099]/name[RMIDispatcher] - > >>>>> with > >>>>> > >>>>>>>>> remote=RemoteDispatc > >>>>>>>>> herImpl[UnicastServerRef2 [liveRef: > >>>>>>>>> [endpoint:[188.188.8.215:2605,org.ofbiz.serv > >>>>>>>>> > >>>>>>>>> > >>>> ice.rmi.socket.ssl.SSLServerSocketFactory@1cb8e0f,org.ofbiz.service > >>>> > >>>>>>>>> .r > >>>>>>>>> mi.socket.s > >>>>>>>>> > >>>>>>>>> > >>>> sl.SSLClientSocketFactory@1bc6533](local),objID:[0]]]] > >>>> > >>>>>>>>> (RemoteException > >>>>>>>>> occurred > >>>>>>>>> in server thread; nested exception is: > >>>>>>>>> java.rmi.UnmarshalException: error > >>>>>>>>> > >>>>> unmarshalling > >>>>> > >>>>>>>>> arguments; nested > >>>>>>>>> excep > >>>>>>>>> tion is: > >>>>>>>>> java.net.MalformedURLException: no > >>>>>>>>> > >>>>> protocol: and) > >>>>> > >>>>>>>>> at > >>>>>>>>> org.ofbiz.service.rmi.RmiServiceContainer.start > >>>>>>>>> (RmiServiceContainer.j > >>>>>>>>> ava:129) > >>>>>>>>> at > >>>>>>>>> org.ofbiz.base.container.ContainerLoader.start > >>>>>>>>> (ContainerLoader.java:7 > >>>>>>>>> 7) > >>>>>>>>> at > >>>>>>>>> > >>>> org.ofbiz.base.start.Start.startStartLoaders(Start.java: > >>>> > >>>>>>>>> 260) > >>>>>>>>> at > >>>>>>>>> > >>>> org.ofbiz.base.start.Start.startServer(Start.java:311) > >>>> > >>>>>>>>> at > >>>>>>>>> > >>>>> org.ofbiz.base.start.Start.start(Start.java:315) > >>>>> > >>>>>>>>> at > >>>>>>>>> > >>>>> org.ofbiz.base.start.Start.main(Start.java:401) > >>>>> > >>>>>>>>> java.rmi.ServerException: RemoteException > >>>>>>>>> > >>>>> occurred in server > >>>>> > >>>>>>>>> thread; nested > >>>>>>>>> exce > >>>>>>>>> ption is: > >>>>>>>>> java.rmi.UnmarshalException: error > >>>>>>>>> > >>>>> unmarshalling > >>>>> > >>>>>>>>> arguments; nested > >>>>>>>>> excep > >>>>>>>>> tion is: > >>>>>>>>> java.net.MalformedURLException: no > >>>>>>>>> > >>>>> protocol: and > >>>>> > >>>>>>>>> at > >>>>>>>>> sun.rmi.server.UnicastServerRef.oldDispatch > >>>>>>>>> (UnicastServerRef.java:385 > >>>>>>>>> ) > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) > >>>> > >>>>>>>>> at > >>>>>>>>> > >>>> sun.rmi.transport.Transport$1.run(Transport.java:153) > >>>> > >>>>>>>>> at > >>>>>>>>> > >>>>> java.security.AccessController.doPrivileged(Native > >>>>>>>>> Method) > >>>>>>>>> at > >>>>>>>>> > >>>> sun.rmi.transport.Transport.serviceCall(Transport.java: > >>>> > >>>>>>>>> 149) > >>>>>>>>> > >>>> === message truncated === > >>>> > >>>> > >>>> > >>> > >> > > > > > > > Kind Regards Andrew Sykes <[hidden email]> Sykes Development Ltd http://www.sykesdevelopment.com |
Free forum by Nabble | Edit this page |