I just checked out OFBiz from Apache and forgot to change my JAVA_HOME from 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with 1.5 and it works fine.
As far as I remember few months ago there were some problems with OFBiz and Java 1.5. Was it fixed or this is some kind of magic? Thanks, Oleg. |
If I well remember, the main issue was JOTM (transaction manager) that
now has been replaced (for license issues) by the one from the Apache Geronimo project. Jacopo Oleg Kozyrev Jr. wrote: > I just checked out OFBiz from Apache and forgot to change my JAVA_HOME from > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with 1.5 and > it works fine. > > As far as I remember few months ago there were some problems with OFBiz and > Java 1.5. Was it fixed or this is some kind of magic? > > Thanks, > > Oleg. |
Administrator
|
This is important isn'it ?
Jacques > If I well remember, the main issue was JOTM (transaction manager) that > now has been replaced (for license issues) by the one from the Apache > Geronimo project. > > Jacopo > > Oleg Kozyrev Jr. wrote: > > I just checked out OFBiz from Apache and forgot to change my JAVA_HOME from > > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with 1.5 and > > it works fine. > > > > As far as I remember few months ago there were some problems with OFBiz and > > Java 1.5. Was it fixed or this is some kind of magic? > > > > Thanks, > > > > Oleg. |
I tried the latest version from Apache repo with JDK 1.5.0_07 but get this
error while running C:\Server\ofbizSVN>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar 1>framework\logs\console.log org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiServiceContainer (Unable to bind RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset)) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:91) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) 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.java:140 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.DataInputStream.readByte(DataInputStream.java:241) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) ... 9 more org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) 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.java:140 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.DataInputStream.readByte(DataInputStream.java:241) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) ... 9 more java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) 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.java:140 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.DataInputStream.readByte(DataInputStream.java:241) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) ... 9 more Regards, Vinay Agarwal -----Original Message----- From: Jacques Le Roux [mailto:[hidden email]] Sent: Sunday, July 02, 2006 1:49 AM To: [hidden email] Subject: Re: OFBiz & Java 5.0 This is important isn'it ? Jacques > If I well remember, the main issue was JOTM (transaction manager) that > now has been replaced (for license issues) by the one from the Apache > Geronimo project. > > Jacopo > > Oleg Kozyrev Jr. wrote: > > I just checked out OFBiz from Apache and forgot to change my > > JAVA_HOME from > > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with > > 1.5 and it works fine. > > > > As far as I remember few months ago there were some problems with > > OFBiz and Java 1.5. Was it fixed or this is some kind of magic? > > > > Thanks, > > > > Oleg. |
In reply to this post by Oleg Kozyrev Jr.
Hello Vinay,
As David has described in his emails that he has shifted the base folder into the framework folder.Soo you should comment the following section in the framework/base/config/ofbiz-container.xml file : <!-- RMI Service Dispatcher > <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="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--> I hope this would be helpful for you, Thanks and Regards Ashish Vijaywargiya Vinay Agarwal <[hidden email]> wrote: I tried the latest version from Apache repo with JDK 1.5.0_07 but get this error while running C:\Server\ofbizSVN>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Xms256M -Xmx512M -jar ofbiz.jar 1>framework\logs\console.log org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiServiceContainer (Unable to bind RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset)) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:91) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) 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.java:140 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.DataInputStream.readByte(DataInputStream.java:241) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) ... 9 more org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset) at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) 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.java:140 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.DataInputStream.readByte(DataInputStream.java:241) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) ... 9 more java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is: java.net.SocketException: Connection reset at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) 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.java:140 ) at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) at org.ofbiz.base.start.Start.startServer(Start.java:323) at org.ofbiz.base.start.Start.start(Start.java:327) at org.ofbiz.base.start.Start.main(Start.java:413) Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:168) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at java.io.DataInputStream.readByte(DataInputStream.java:241) at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) ... 9 more Regards, Vinay Agarwal -----Original Message----- From: Jacques Le Roux [mailto:[hidden email]] Sent: Sunday, July 02, 2006 1:49 AM To: [hidden email] Subject: Re: OFBiz & Java 5.0 This is important isn'it ? Jacques > If I well remember, the main issue was JOTM (transaction manager) that > now has been replaced (for license issues) by the one from the Apache > Geronimo project. > > Jacopo > > Oleg Kozyrev Jr. wrote: > > I just checked out OFBiz from Apache and forgot to change my > > JAVA_HOME from > > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with > > 1.5 and it works fine. > > > > As far as I remember few months ago there were some problems with > > OFBiz and Java 1.5. Was it fixed or this is some kind of magic? > > > > Thanks, > > > > Oleg. --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs.Try it free. |
Administrator
|
In reply to this post by Jacques Le Roux
To use RMI you can't have blank in the SDK path (nor in ofbiz home path)
2 solutions : 1. move the sdk (prefered I think) 2. comment out RMI from ofbizcontainer.xml Jacques > I tried the latest version from Apache repo with JDK 1.5.0_07 but get this > error while running > > C:\Server\ofbizSVN>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Xms256M > -Xmx512M -jar ofbiz.jar 1>framework\logs\console.log > org.ofbiz.base.start.StartupException: Cannot start() > org.ofbiz.service.rmi.RmiServiceContainer (Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset)) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:91) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > > Regards, > Vinay Agarwal > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Sunday, July 02, 2006 1:49 AM > To: [hidden email] > Subject: Re: OFBiz & Java 5.0 > > This is important isn'it ? > > Jacques > > > If I well remember, the main issue was JOTM (transaction manager) that > > now has been replaced (for license issues) by the one from the Apache > > Geronimo project. > > > > Jacopo > > > > Oleg Kozyrev Jr. wrote: > > > I just checked out OFBiz from Apache and forgot to change my > > > JAVA_HOME from > > > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with > > > 1.5 and it works fine. > > > > > > As far as I remember few months ago there were some problems with > > > OFBiz and Java 1.5. Was it fixed or this is some kind of magic? > > > > > > Thanks, > > > > > > Oleg. |
Administrator
|
In reply to this post by Ashish Vijaywargiya-2
Ashish,
I think that it's not related with Vinay's problem. It seems more to be a blank in SDK path problem Jacques > Hello Vinay, > > As David has described in his emails that he has shifted the base folder into the framework folder.Soo you should comment the following section in the framework/base/config/ofbiz-container.xml file : > > <!-- RMI Service Dispatcher > > <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="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--> > > I hope this would be helpful for you, > > Thanks and Regards > Ashish Vijaywargiya > > > Vinay Agarwal <[hidden email]> wrote: I tried the latest version > error while running > > C:\Server\ofbizSVN>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Xms256M > -Xmx512M -jar ofbiz.jar 1>framework\logs\console.log > org.ofbiz.base.start.StartupException: Cannot start() > org.ofbiz.service.rmi.RmiServiceContainer (Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset)) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:91) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > > Regards, > Vinay Agarwal > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Sunday, July 02, 2006 1:49 AM > To: [hidden email] > Subject: Re: OFBiz & Java 5.0 > > This is important isn'it ? > > Jacques > > > If I well remember, the main issue was JOTM (transaction manager) that > > now has been replaced (for license issues) by the one from the Apache > > Geronimo project. > > > > Jacopo > > > > Oleg Kozyrev Jr. wrote: > > > I just checked out OFBiz from Apache and forgot to change my > > > JAVA_HOME from > > > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with > > > 1.5 and it works fine. > > > > > > As far as I remember few months ago there were some problems with > > > OFBiz and Java 1.5. Was it fixed or this is some kind of magic? > > > > > > Thanks, > > > > > > Oleg. > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs.Try it free. |
In reply to this post by Jacques Le Roux
Jacques,
It works with JDK1.5 moved to c:\jdk1.5.0_07. I will use JDK 1.5 for my testing from now on. Regards, Vinay Agarwal -----Original Message----- From: Jacques Le Roux [mailto:[hidden email]] Sent: Sunday, July 02, 2006 10:40 AM To: [hidden email] Subject: Re: OFBiz & Java 5.0 To use RMI you can't have blank in the SDK path (nor in ofbiz home path) 2 solutions : 1. move the sdk (prefered I think) 2. comment out RMI from ofbizcontainer.xml Jacques > I tried the latest version from Apache repo with JDK 1.5.0_07 but get > this error while running > > C:\Server\ofbizSVN>"C:\Program Files\Java\jdk1.5.0_07\bin\java" > -Xms256M -Xmx512M -jar ofbiz.jar 1>framework\logs\console.log > org.ofbiz.base.start.StartupException: Cannot start() > org.ofbiz.service.rmi.RmiServiceContainer (Unable to bind > RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset)) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:91) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > org.ofbiz.base.container.ContainerException: Unable to bind > RMIDispatcher to RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.ja > va:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.ja > va:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > org.ofbiz.base.container.ContainerException: Unable to bind > RMIDispatcher to RMI (Error unmarshaling return header; nested exception > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.ja > va:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.ja > va:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.ja > va:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > > Regards, > Vinay Agarwal > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Sunday, July 02, 2006 1:49 AM > To: [hidden email] > Subject: Re: OFBiz & Java 5.0 > > This is important isn'it ? > > Jacques > > > If I well remember, the main issue was JOTM (transaction manager) > > that now has been replaced (for license issues) by the one from the > > Apache Geronimo project. > > > > Jacopo > > > > Oleg Kozyrev Jr. wrote: > > > I just checked out OFBiz from Apache and forgot to change my > > > JAVA_HOME from > > > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with > > > 1.5 and it works fine. > > > > > > As far as I remember few months ago there were some problems with > > > OFBiz and Java 1.5. Was it fixed or this is some kind of magic? > > > > > > Thanks, > > > > > > Oleg. |
In reply to this post by Jacques Le Roux
Thanks Jacques for your proper guidence.
I was on Linux Machine from two years so i didn't find this blank path problem in my sdk path. Jacques Le Roux <[hidden email]> wrote: Ashish, I think that it's not related with Vinay's problem. It seems more to be a blank in SDK path problem Jacques > Hello Vinay, > > As David has described in his emails that he has shifted the base folder into the framework folder.Soo you should comment the following section in the framework/base/config/ofbiz-container.xml file : > > > class="org.ofbiz.service.rmi.RmiServiceContainer"> > > > > > value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/> > value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> > > > > I hope this would be helpful for you, > > Thanks and Regards > Ashish Vijaywargiya > > > Vinay Agarwal wrote: I tried the latest version from Apache repo with JDK 1.5.0_07 but get this > error while running > > C:\Server\ofbizSVN>"C:\Program Files\Java\jdk1.5.0_07\bin\java" -Xms256M > -Xmx512M -jar ofbiz.jar 1>framework\logs\console.log > org.ofbiz.base.start.StartupException: Cannot start() > org.ofbiz.service.rmi.RmiServiceContainer (Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset)) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:91) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > org.ofbiz.base.container.ContainerException: Unable to bind RMIDispatcher to > RMI (Error unmarshaling return header; nested exception is: > java.net.SocketException: Connection reset) > at > org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:142 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.net.SocketException: Connection reset > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > 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.java:140 > ) > at > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > at org.ofbiz.base.start.Start.startServer(Start.java:323) > at org.ofbiz.base.start.Start.start(Start.java:327) > at org.ofbiz.base.start.Start.main(Start.java:413) > Caused by: java.net.SocketException: Connection reset > at java.net.SocketInputStream.read(SocketInputStream.java:168) > at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > at java.io.BufferedInputStream.read(BufferedInputStream.java:235) > at java.io.DataInputStream.readByte(DataInputStream.java:241) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 9 more > > Regards, > Vinay Agarwal > > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Sunday, July 02, 2006 1:49 AM > To: [hidden email] > Subject: Re: OFBiz & Java 5.0 > > This is important isn'it ? > > Jacques > > > If I well remember, the main issue was JOTM (transaction manager) that > > now has been replaced (for license issues) by the one from the Apache > > Geronimo project. > > > > Jacopo > > > > Oleg Kozyrev Jr. wrote: > > > I just checked out OFBiz from Apache and forgot to change my > > > JAVA_HOME from > > > 1.5 to 1.4. So, I have compiled OFBiz with 1.5 and started it with > > > 1.5 and it works fine. > > > > > > As far as I remember few months ago there were some problems with > > > OFBiz and Java 1.5. Was it fixed or this is some kind of magic? > > > > > > Thanks, > > > > > > Oleg. > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs.Try it free. "You can't always get what you want but if you try real hard, you might just find that you get what you need" Regards Ashish **************************************** --------------------------------- Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less. |
So, Java 5 loaded right up. The only errors I got
were that "enum" is a keyword in 5.0 and RequestHandler.java uses enum as an identifier and about some deprecated stuff being used in the accounting app (this was here on 1.4 as well). Obviously it will take some looking around to see if anything else pops up, but looking good otherwise. What were some of the things that were being looked at and tabled because they used Java 5? --- Ashish Vijaywargiya <[hidden email]> wrote: > Thanks Jacques for your proper guidence. > I was on Linux Machine from two years so i didn't > find this blank path problem in my sdk path. > > Jacques Le Roux <[hidden email]> > wrote: Ashish, > > I think that it's not related with Vinay's problem. > It seems more to be a blank > in SDK path problem > > Jacques > > > > Hello Vinay, > > > > As David has described in his emails that he has > shifted the base folder > into the framework folder.Soo you should comment the > following section in the > framework/base/config/ofbiz-container.xml file : > > > > > > > class="org.ofbiz.service.rmi.RmiServiceContainer"> > > > > > > > > > > > > > > > > > > value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/> > > > > > > > > > I hope this would be helpful for you, > > > > Thanks and Regards > > Ashish Vijaywargiya > > > > > > Vinay Agarwal wrote: I tried the latest version > from Apache repo with JDK 1.5.0_07 but get this > > error while running > > > > C:\Server\ofbizSVN>"C:\Program > Files\Java\jdk1.5.0_07\bin\java" -Xms256M > > -Xmx512M -jar ofbiz.jar > 1>framework\logs\console.log > > org.ofbiz.base.start.StartupException: Cannot > start() > > org.ofbiz.service.rmi.RmiServiceContainer (Unable > to bind RMIDispatcher to > > RMI (Error unmarshaling return header; nested > exception is: > > java.net.SocketException: Connection > reset)) > > at > > > > > at > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > > at > org.ofbiz.base.start.Start.startServer(Start.java:323) > > at > org.ofbiz.base.start.Start.start(Start.java:327) > > at > org.ofbiz.base.start.Start.main(Start.java:413) > > org.ofbiz.base.container.ContainerException: > Unable to bind RMIDispatcher to > > RMI (Error unmarshaling return header; nested > exception is: > > java.net.SocketException: Connection > reset) > > at > > > > > ) > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > > at > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > > at > org.ofbiz.base.start.Start.startServer(Start.java:323) > > at > org.ofbiz.base.start.Start.start(Start.java:327) > > at > org.ofbiz.base.start.Start.main(Start.java:413) > > java.rmi.UnmarshalException: Error unmarshaling > return header; nested > > exception is: > > java.net.SocketException: Connection reset > > at > > > > > 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.java:140 > > ) > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > > at > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > > at > org.ofbiz.base.start.Start.startServer(Start.java:323) > > at > org.ofbiz.base.start.Start.start(Start.java:327) > > at > org.ofbiz.base.start.Start.main(Start.java:413) > > Caused by: java.net.SocketException: Connection > reset > > at > java.net.SocketInputStream.read(SocketInputStream.java:168) > > at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > > at > java.io.BufferedInputStream.read(BufferedInputStream.java:235) > > at > java.io.DataInputStream.readByte(DataInputStream.java:241) > > at > > > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > > ... 9 more > > org.ofbiz.base.container.ContainerException: > Unable to bind RMIDispatcher to > > RMI (Error unmarshaling return header; nested > exception is: > > java.net.SocketException: Connection > reset) > > at > > > > > ) > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > > at > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > > at > org.ofbiz.base.start.Start.startServer(Start.java:323) > > at > org.ofbiz.base.start.Start.start(Start.java:327) > > at > org.ofbiz.base.start.Start.main(Start.java:413) > > java.rmi.UnmarshalException: Error unmarshaling > return header; nested > > exception is: > > java.net.SocketException: Connection reset > > at > > > > > 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.java:140 > > ) > > at > > > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89) > > at > org.ofbiz.base.start.Start.startStartLoaders(Start.java:272) > > at > org.ofbiz.base.start.Start.startServer(Start.java:323) > > at > org.ofbiz.base.start.Start.start(Start.java:327) > > at > org.ofbiz.base.start.Start.main(Start.java:413) > > Caused by: java.net.SocketException: Connection > reset > > at > java.net.SocketInputStream.read(SocketInputStream.java:168) > > at > java.io.BufferedInputStream.fill(BufferedInputStream.java:218) > > at > java.io.BufferedInputStream.read(BufferedInputStream.java:235) > > at > java.io.DataInputStream.readByte(DataInputStream.java:241) > > at > > > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > > ... 9 more > > java.rmi.UnmarshalException: Error unmarshaling > return === message truncated === |
Free forum by Nabble | Edit this page |