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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> Sent: Sunday, July 02, 2006 1:49 AM
> To: [email protected]
> 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.

Reply via email to