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 <[EMAIL PROTECTED]>
> >>>> 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"
> >>>>>>
> >>>>> <[EMAIL PROTECTED]>
> >>>>>
> >>>>>>> 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" <[EMAIL PROTECTED]>
> >>>>>>>> To: <ofbiz-user@incubator.apache.org>
> >>>>>>>> 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
> >>>>   [EMAIL PROTECTED],org.ofbiz.service.rmi.socket.ssl.SSLClientSoc
> >>>>
> >>>>>>>>> ke
> >>>>>>>>> [EMAIL PROTECTED]
> >>>>>>>>> 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
> >>>>>>>>>
> >>>>>>>>>
> >>>> [EMAIL PROTECTED],org.ofbiz.service
> >>>>
> >>>>>>>>> .r
> >>>>>>>>> mi.socket.s
> >>>>>>>>>
> >>>>>>>>>
> >>>> [EMAIL PROTECTED](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 <[EMAIL PROTECTED]>
Sykes Development Ltd
http://www.sykesdevelopment.com

Reply via email to