Dev - version on svn downloads & Eclipse build error.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Dev - version on svn downloads & Eclipse build error.

Chuck22
I commented out the RMI stuff in base/config/ofbiz-containers.xml and was able to debug in eclipse. But I don't know which part of ofbiz wouldn't work without RMI. If you are able to debug ofbiz with RMI support, there must be something else going on.  Not sure what I am missing.
 
I did not use remote deugging. I will try that next time. But I doubt that would make any difference.
 
-CB

 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:

Si,
 
Sent: Monday, June 19, 2006 9:22 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Huh...well I stand corrected then.  I've never been able to get those things to work, but obviously you're better at this than I am!  ;)
I struggled a lot ;o) And without the help of Vinay for Netbeans and Peter for Eclipse would have never achieved these docs.
If interested try these pages below, it's very esay now with these recipes.
 
Jacques


 
Si

On Jun 19, 2006, at 11:38 AM, Jacques Le Roux wrote:

Following <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse" target="_blank">http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse
or <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ofbizwiki.go-integral.com/Wiki.jsp?page=OFBizInNetBeans5.0" target="_blank">http://ofbizwiki.go-integral.com/Wiki.jsp?page=OFBizInNetBeans5.0
 
I have no problem with RMI running (or debugging) in Eclipse nor in NetBeans. I must also say that in fact I don't tried to use RMI in these environments. But I think that this is not Chris's problem.
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 7:50 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
You have to comment on the RMI stuff in base/config/ofbiz-containers.xml to run in Eclipse.  I don't think RMI works in either Eclipse or NetBeans.

 

On Jun 19, 2006, at 10:08 AM, Jacques Le Roux wrote:

 
----- Original Message -----
Sent: Monday, June 19, 2006 5:54 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
My SDK path is C:\j2sdk1.4.2_12. But Eclipse was installed under Program Files. Is this an issue?
No mine also and I have no pb. Have you something already runnig on port 1099 (use netstat to see that) ?
 
Jacques
 
Windows > Preferences > Java > Installed JRE
j2sdk1.4.2_12   Location:C:\j2sdk1.4.2_12    Type: Standard VM
 
-CB

 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Is your SDK path without blanks ? ("Program files" typically no good for RMI)
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:10 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques,
 
I followed the instruction "Running (or debugging) OFBiz in Eclipse", but I got the following error when start debugging OFBIZ in Eclipse:
 

43643 (main) [  GenericDispatcher.java:85 :INFO ] [LocalDispatcher] : Created Dispatcher for: RMIDispatcher
org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiServiceContainer (Unable to start the RMI dispatcher (Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub))
 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)



_______________________________________________
Dev mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/dev



 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - version on svn downloads & Eclipse build error.

Jacques Le Roux
Administrator

>From: Chris Bai
>I commented out the RMI stuff in base/config/ofbiz-containers.xml and was able
to debug in eclipse. But I don't know which part of ofbiz wouldn't work without
RMI. If you are able to debug ofbiz with RMI support, there must be something
else going on.  Not sure what I am missing.

RMI is only needed if you want to use services from another machine and such...

Jacques

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: Dev - version on svn downloads & Eclipse build error.

Si Chen-2
In reply to this post by Chuck22
From what I know RMI is used primarily for doing synchronization between different instances and can be used to hook in outside services from another server.  Typically you don't need it.

On Jun 19, 2006, at 7:26 PM, Chris Bai wrote:

I commented out the RMI stuff in base/config/ofbiz-containers.xml and was able to debug in eclipse. But I don't know which part of ofbiz wouldn't work without RMI. If you are able to debug ofbiz with RMI support, there must be something else going on.  Not sure what I am missing.
 
I did not use remote deugging. I will try that next time. But I doubt that would make any difference.
 
-CB

 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Si,
 
Sent: Monday, June 19, 2006 9:22 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Huh...well I stand corrected then.  I've never been able to get those things to work, but obviously you're better at this than I am!  ;)
I struggled a lot ;o) And without the help of Vinay for Netbeans and Peter for Eclipse would have never achieved these docs.
If interested try these pages below, it's very esay now with these recipes.
 
Jacques


 
Si

On Jun 19, 2006, at 11:38 AM, Jacques Le Roux wrote:

Following <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse" target="_blank">http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse
or <A onclick="return top.js.OpenExtLink(window,event,this)" href="http://ofbizwiki.go-integral.com/Wiki.jsp?page=OFBizInNetBeans5.0" target="_blank">http://ofbizwiki.go-integral.com/Wiki.jsp?page=OFBizInNetBeans5.0
 
I have no problem with RMI running (or debugging) in Eclipse nor in NetBeans. I must also say that in fact I don't tried to use RMI in these environments. But I think that this is not Chris's problem.
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 7:50 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
You have to comment on the RMI stuff in base/config/ofbiz-containers.xml to run in Eclipse.  I don't think RMI works in either Eclipse or NetBeans.

 

On Jun 19, 2006, at 10:08 AM, Jacques Le Roux wrote:

 
----- Original Message -----
Sent: Monday, June 19, 2006 5:54 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
My SDK path is C:\j2sdk1.4.2_12. But Eclipse was installed under Program Files. Is this an issue?
No mine also and I have no pb. Have you something already runnig on port 1099 (use netstat to see that) ?
 
Jacques
 
Windows > Preferences > Java > Installed JRE
j2sdk1.4.2_12   Location:C:\j2sdk1.4.2_12    Type: Standard VM
 
-CB

 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Is your SDK path without blanks ? ("Program files" typically no good for RMI)
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:10 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques,
 
I followed the instruction "Running (or debugging) OFBiz in Eclipse", but I got the following error when start debugging OFBIZ in Eclipse:
 

43643 (main) [  GenericDispatcher.java:85 :INFO ] [LocalDispatcher] : Created Dispatcher for: RMIDispatcher
org.ofbiz.base.start.StartupException: Cannot start() org.ofbiz.service.rmi.RmiServiceContainer (Unable to start the RMI dispatcher (Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub))
 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)



_______________________________________________
Dev mailing list
[hidden email]
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.ofbiz.org/mailman/listinfo/dev" target="_blank"> http://lists.ofbiz.org/mailman/listinfo/dev



_______________________________________________
Dev mailing list


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
12