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
|

Dev - version on svn downloads & Eclipse build error.

Chuck22
Hi
 
I got ofbiz source using : svn co http://svn.ofbiz.org/svn/ofbiz/trunk ofbiz
 
Which version of ofbiz is it by downloading source through SVN this way? Current stable release or most recent development build? There is no README file or other description file about the source which I would normally expect.
 
2nd quesiton: When I import ofbiz into Eclipse and build it, I got the following build error:
 
 Project ofbiz is missing required library: 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec-1.0.jar'
 
I can not found the asked jar file from the source of the project. What am I missing?
 
-CB
 
 

 
_______________________________________________
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
Hi Chris,

This would normally go to Users ML as it's not really about dev but use of
OFBiz. So I create a new thread in User ML, thanks.

Please see my comments inline.

>Which version of ofbiz is it by downloading source through SVN this way?
Current stable release or most recent development build? There is no README file
or other description file about the source which I would normally expect.

It's most recent development build. You are expected to know that prior to
downloading (see http://www.ofbiz.org/docs/setup.html#Building and
http://www.ofbiz.org/docs/GettingAndUsingOFBiz.pdf) even if I must admit that
it's not pretty clear (perhaps a word about that and opentaps will be good in
http://svn.ofbiz.org/) . If you prefer to use stable releases use opentaps
preferably (was Sequoia ERP some times ago). But in last case you'll not be able
to propose patches.

>2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
following build error: Project ofbiz is missing required library:
'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec-1.0.jar'. I can not found the
asked jar file from the source of the project. What am I missing?

Which revision are you using ? This file was removed in rev. 7745. BTW I got no
problem in Eclipse compiling last rev. (7795) with standard build.xml file.
Perhaps try "ant clean" then rebuild (ant or ant run-install).

Jacques

>-CB






_______________________________________________
Dev mailing list
[hidden email]
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.

Chuck22
Thank you Jacques,
 
1. How do I find out which revision of my source I just checked out thru SVN guest access?
 
2. The build error occurs when I build it by selecting Eclipse menu Project > Build Project (or Porject > Clean). It ask me for the mentioned jar file.
 
But interestingly, when I right click build.xml and select Run As > Ant Build within Eclipse, the build is successful. Even though the build is successful, I still can not launch the debugger and Eclipse complains about the above build error.
 
Can you explain a little more about how you compile ofbiz with Eclipse? Using Ant build or IDE build? Thanks.
 
-CB

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

This would normally go to Users ML as it's not really about dev but use of
OFBiz. So I create a new thread in User ML, thanks.

Please see my comments inline.

>Which version of ofbiz is it by downloading source through SVN this way?
Current stable release or most recent development build? There is no README file
or other description file about the source which I would normally expect.

It's most recent development build. You are expected to know that prior to
downloading (see http://www.ofbiz.org/docs/setup.html#Building and
http://www.ofbiz.org/docs/GettingAndUsingOFBiz.pdf) even if I must admit that
it's not pretty clear (perhaps a word about that and opentaps will be good in
http://svn.ofbiz.org/ ) . If you prefer to use stable releases use opentaps
preferably (was Sequoia ERP some times ago). But in last case you'll not be able
to propose patches.

>2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
following build error: Project ofbiz is missing required library:
'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec-1.0.jar'. I can not found the
asked jar file from the source of the project. What am I missing?

Which revision are you using ? This file was removed in rev. 7745. BTW I got no
problem in Eclipse compiling last rev. (7795) with standard build.xml file.
Perhaps try "ant clean" then rebuild (ant or ant run-install).

Jacques

>-CB






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


_______________________________________________
Dev mailing list
[hidden email]
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
As I mentionned before, please user the Users ML for this kind of topic
Thank you Jacques,
 
1. How do I find out which revision of my source I just checked out thru SVN guest access?
On command line "svn info". In general, on Windows Toirtoise SVN is a good tool. On Eclipse Subclipse is the plugin.
 
2. The build error occurs when I build it by selecting Eclipse menu Project > Build Project (or Porject > Clean). It ask me for the mentioned jar file.
 
But interestingly, when I right click build.xml and select Run As > Ant Build within Eclipse, the build is successful. Even though the build is successful, I still can not launch the debugger and Eclipse complains about the above build error.
 
Can you explain a little more about how you compile ofbiz with Eclipse? Using Ant build or IDE build? Thanks.
I always build with ant even in Eclipse. But if you want to use the debugger you must also let Eclipse builds. I use Eclipse build always in backgroud feature (Menu Windows/Preferences/General)
Don't forget to read these pages, helpful too :
 
I can't understand why with the last rev from svn you have a reference to this file, are you sure you are using last rev in Eclipse ?
 
Jacques
 
-CB

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

This would normally go to Users ML as it's not really about dev but use of
OFBiz. So I create a new thread in User ML, thanks.

Please see my comments inline.

>Which version of ofbiz is it by downloading source through SVN this way?
Current stable release or most recent development build? There is no README file
or other description file about the source which I would normally expect.

It's most recent development build. You are expected to know that prior to
downloading (see http://www.ofbiz.org/docs/setup.html#Building and
http://www.ofbiz.org/docs/GettingAndUsingOFBiz.pdf) even if I must admit that
it's not pretty clear (perhaps a word about that and opentaps will be good in
http://svn.ofbiz.org/ ) . If you prefer to use stable releases use opentaps
preferably (was Sequoia ERP some times ago). But in last case you'll not be able
to propose patches.

>2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
following build error: Project ofbiz is missing required library:
'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec-1.0.jar'. I can not found the
asked jar file from the source of the project. What am I missing?

Which revision are you using ? This file was removed in rev. 7745. BTW I got no
problem in Eclipse compiling last rev. (7795) with standard build.xml file.
Perhaps try "ant clean" then rebuild (ant or ant run-install).

Jacques

>-CB






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


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



_______________________________________________
Dev mailing list
[hidden email]
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.

Chuck22
On command line "svn info". In general, on Windows Toirtoise SVN is a good tool. On Eclipse Subclipse is the plugin.
I tried "svn info" but it gives me results like this: svn: ?\226?\128?\156.?\....ect. which is meaningless to me. Are you suggesting there is no indication of ofbiz version or revision # from the source that I can look it up? How do you know last rev. is 7795? Anyway I can tell from the source I downloaded.
 
 

I always build with ant even in Eclipse. But if you want to use the debugger you must also let Eclipse builds. I use Eclipse build always in backgroud feature (Menu Windows/Preferences/General)
Don't forget to read these pages, helpful too :
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ofbizwiki.go-integral.com/Wiki.jsp?page=DebuggingOFBizInEclipse" target="_blank">http://ofbizwiki.go-integral.com/Wiki.jsp?page=DebuggingOFBizInEclipse
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse" target="_blank">http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse
 
I can't understand why with the last rev from svn you have a reference to this file, are you sure you are using last rev in Eclipse ?
 
Jacques
 
I don't know my source revision #. I downloaded it thru SVN yesterday. Supposely it is the last rev.. I assume Eclipse build dispatch the job to Ant build behind the scene, I don't know why Eclipse Ant build succeed while Eclipse IDE build failed. I do need debugger and hope to make IDE build working.
 
-CB

 
 
_______________________________________________
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
You may also know your revision # using "svn up" (will upgrade to the last rev btw).
 
It seems that you have some things to learn before being confortable with OFBiz... You may at least take a look at http://www.ofbiz.org/documents.html
 
If you really need a debugger, one sure way is to look at NetBeans 5.0 thru this link : http://ofbizwiki.go-integral.com/Wiki.jsp?page=OFBizInNetBeans5.0
I had to use it 3 weeks agoto be able to debug the POS application (which is another problem...). Very easy to learn and use, thanks to Vinay.
 
Jacques
 
----- Original Message -----
Sent: Thursday, June 15, 2006 6:24 PM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

On command line "svn info". In general, on Windows Toirtoise SVN is a good tool. On Eclipse Subclipse is the plugin.
I tried "svn info" but it gives me results like this: svn: ?\226?\128?\156.?\....ect. which is meaningless to me. Are you suggesting there is no indication of ofbiz version or revision # from the source that I can look it up? How do you know last rev. is 7795? Anyway I can tell from the source I downloaded.
 
 

I always build with ant even in Eclipse. But if you want to use the debugger you must also let Eclipse builds. I use Eclipse build always in backgroud feature (Menu Windows/Preferences/General)
Don't forget to read these pages, helpful too :
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://ofbizwiki.go-integral.com/Wiki.jsp?page=DebuggingOFBizInEclipse" target=_blank>http://ofbizwiki.go-integral.com/Wiki.jsp?page=DebuggingOFBizInEclipse
<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse" target=_blank>http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse
 
I can't understand why with the last rev from svn you have a reference to this file, are you sure you are using last rev in Eclipse ?
 
Jacques
 
I don't know my source revision #. I downloaded it thru SVN yesterday. Supposely it is the last rev.. I assume Eclipse build dispatch the job to Ant build behind the scene, I don't know why Eclipse Ant build succeed while Eclipse IDE build failed. I do need debugger and hope to make IDE build working.
 
-CB

 



_______________________________________________
Dev mailing list
[hidden email]
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.

Peter Goron
In reply to this post by Chuck22
Hi Chris,

The eclipse's classpath is not up to date. The attached patch fix this
issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
mail.jar)

Can someone commit it ?

Peter


Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :

> 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> following build error:
>  
>  Project ofbiz is missing required library:
> 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec-1.0.jar'
>  
> I can not found the asked jar file from the source of the project.
> What am I missing?
>  
> -CB
>  
>  
>  _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

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

eclipse-classpath.patch (945 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
Thanks Peter for pointing that.

After that Chris you'll have to add some other lines in the .classpath  file to
be able to debug. Look at "Troubleshooting" from steve_mew in this page
http://ofbizwiki.go-integral.com/Wiki.jsp?page=OfbizInEclipse
and so on...

Jacques



----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec-1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>


--------------------------------------------------------------------------------


>
> _______________________________________________
> Dev mailing list
> [hidden email]
> 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
In reply to this post by Peter Goron
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec-1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>

--------------------------------------------------------------------------------


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

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

.classpath (11K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Chuck22
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>


--------------------------------------------------------------------------------


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



_______________________________________________
Dev mailing list
[hidden email]
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
Chris,
 
There is a better way to debug in Eclipse, try this : http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>


--------------------------------------------------------------------------------


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



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





_______________________________________________
Dev mailing list
[hidden email]
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
If you have no access (maintenance), try this instead http://ofbizwiki.go-integral.com/Wiki.jsp?page=DebuggingOFBizInEclipse
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 9:43 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

Chris,
 
There is a better way to debug in Eclipse, try this : http://docs.ofbiz.org/display/OFBIZ/Debugging+OFBiz+in+Eclipse
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" <[hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > Dev mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/dev
>


--------------------------------------------------------------------------------


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



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





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



_______________________________________________
Dev mailing list
[hidden email]
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.

Chuck22
In reply to this post by Jacques Le Roux
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)
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
java.rmi.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton (UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl .<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java :187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass (RemoteProxy.java:191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
43723 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:102:INFO ] Shutting down containers
43743 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:601:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:817)
org.ofbiz.catalina.container.CatalinaContainer.stop (CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$0(Start.java:303)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

43743 (OFBiz_Shutdown_Hook) [  JavaMailContainer.java:153:INFO ] stop JavaMail poller
java.lang.NullPointerException
 at org.ofbiz.service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:171)
 at org.ofbiz.base.container.ContainerLoader.unload (ContainerLoader.java:108)
 at org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
 at org.ofbiz.base.start.Start.access$0(Start.java:303)
 at org.ofbiz.base.start.Start$1.run(Start.java:286)

 
I did not mofidy any source code and I did not get any compile error. Anything am I missing?
 
-CB


 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Chris,
 
There is a better way to debug in Eclipse, try this : <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
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" < [hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > 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]
> <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]
<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]
<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]
<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
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)
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
java.rmi.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton (UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl .<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java :187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass (RemoteProxy.java:191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
43723 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:102:INFO ] Shutting down containers
43743 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:601:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:817)
org.ofbiz.catalina.container.CatalinaContainer.stop (CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$0(Start.java:303)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

43743 (OFBiz_Shutdown_Hook) [  JavaMailContainer.java:153:INFO ] stop JavaMail poller
java.lang.NullPointerException
 at org.ofbiz.service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:171)
 at org.ofbiz.base.container.ContainerLoader.unload (ContainerLoader.java:108)
 at org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
 at org.ofbiz.base.start.Start.access$0(Start.java:303)
 at org.ofbiz.base.start.Start$1.run(Start.java:286)

 
I did not mofidy any source code and I did not get any compile error. Anything am I missing?
 
-CB


 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Chris,
 
There is a better way to debug in Eclipse, try this : <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
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" < [hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 à 22:19 -0400, Chris Bai a écrit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > 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]
> <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]
<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]
<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]
<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

 
_______________________________________________
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.

Chuck22
My SDK path is C:\j2sdk1.4.2_12. But Eclipse was installed under Program Files. Is this an issue?
 
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)
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
java.rmi.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton (UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl .<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java :187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass (RemoteProxy.java:191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
43723 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:102:INFO ] Shutting down containers
43743 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:601:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:817)
org.ofbiz.catalina.container.CatalinaContainer.stop (CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$0(Start.java:303)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

43743 (OFBiz_Shutdown_Hook) [  JavaMailContainer.java:153:INFO ] stop JavaMail poller
java.lang.NullPointerException
 at org.ofbiz.service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:171)
 at org.ofbiz.base.container.ContainerLoader.unload (ContainerLoader.java:108)
 at org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
 at org.ofbiz.base.start.Start.access$0(Start.java:303)
 at org.ofbiz.base.start.Start$1.run(Start.java:286)

 
I did not mofidy any source code and I did not get any compile error. Anything am I missing?
 
-CB


 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Chris,
 
There is a better way to debug in Eclipse, try this : <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
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" < [hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 � 22:19 -0400, Chris Bai a �crit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > 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]
> <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]
<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]
<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]
<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]
<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]
<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

 
----- 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)
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
java.rmi.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton (UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl .<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java :187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass (RemoteProxy.java:191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
43723 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:102:INFO ] Shutting down containers
43743 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:601:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:817)
org.ofbiz.catalina.container.CatalinaContainer.stop (CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$0(Start.java:303)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

43743 (OFBiz_Shutdown_Hook) [  JavaMailContainer.java:153:INFO ] stop JavaMail poller
java.lang.NullPointerException
 at org.ofbiz.service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:171)
 at org.ofbiz.base.container.ContainerLoader.unload (ContainerLoader.java:108)
 at org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
 at org.ofbiz.base.start.Start.access$0(Start.java:303)
 at org.ofbiz.base.start.Start$1.run(Start.java:286)

 
I did not mofidy any source code and I did not get any compile error. Anything am I missing?
 
-CB


 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Chris,
 
There is a better way to debug in Eclipse, try this : <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
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" < [hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 � 22:19 -0400, Chris Bai a �crit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > 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]
> <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]
<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]
<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]
<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]
<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]
<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

 
_______________________________________________
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
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)
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
java.rmi.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton (UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl .<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java :187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass (RemoteProxy.java:191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
43723 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:102:INFO ] Shutting down containers
43743 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:601:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:817)
org.ofbiz.catalina.container.CatalinaContainer.stop (CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$0(Start.java:303)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

43743 (OFBiz_Shutdown_Hook) [  JavaMailContainer.java:153:INFO ] stop JavaMail poller
java.lang.NullPointerException
 at org.ofbiz.service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:171)
 at org.ofbiz.base.container.ContainerLoader.unload (ContainerLoader.java:108)
 at org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
 at org.ofbiz.base.start.Start.access$0(Start.java:303)
 at org.ofbiz.base.start.Start$1.run(Start.java:286)

 
I did not mofidy any source code and I did not get any compile error. Anything am I missing?
 
-CB


 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Chris,
 
There is a better way to debug in Eclipse, try this : <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
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" < [hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 � 22:19 -0400, Chris Bai a �crit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > 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]
> <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]
<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]
<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]
<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]
<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]
<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

_______________________________________________
Dev mailing list


 
_______________________________________________
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

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
 
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)
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
java.rmi.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton (UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl .<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java :187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass (RemoteProxy.java:191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
43723 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:102:INFO ] Shutting down containers
43743 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:601:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:817)
org.ofbiz.catalina.container.CatalinaContainer.stop (CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$0(Start.java:303)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

43743 (OFBiz_Shutdown_Hook) [  JavaMailContainer.java:153:INFO ] stop JavaMail poller
java.lang.NullPointerException
 at org.ofbiz.service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:171)
 at org.ofbiz.base.container.ContainerLoader.unload (ContainerLoader.java:108)
 at org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
 at org.ofbiz.base.start.Start.access$0(Start.java:303)
 at org.ofbiz.base.start.Start$1.run(Start.java:286)

 
I did not mofidy any source code and I did not get any compile error. Anything am I missing?
 
-CB


 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Chris,
 
There is a better way to debug in Eclipse, try this : <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
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" < [hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 � 22:19 -0400, Chris Bai a �crit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > 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]
> <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]
<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]
<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]
<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]
<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]
<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

_______________________________________________
Dev mailing list



_______________________________________________
Dev mailing list
[hidden email]
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.

Si Chen-2
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!  ;)


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
 
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)
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
org.ofbiz.base.container.ContainerException: 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.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:134)
 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.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton(UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject (UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl.<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start (RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass(RemoteProxy.java :191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
java.rmi.StubNotFoundException: Stub class not found: org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub; nested exception is:
 java.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:98)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:55)
 at sun.rmi.server.UnicastServerRef.setSkeleton (UnicastServerRef.java:179)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:142)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
 at java.rmi.server.UnicastRemoteObject.exportObject (UnicastRemoteObject.java:275)
 at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206)
 at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:97)
 at org.ofbiz.service.rmi.RemoteDispatcherImpl .<init>(RemoteDispatcherImpl.java:54)
 at org.ofbiz.service.rmi.RmiServiceContainer.start(RmiServiceContainer.java:132)
 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.lang.ClassNotFoundException : org.ofbiz.service.rmi.RemoteDispatcherImpl_Stub
 at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java :187)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
 at sun.rmi.server.RemoteProxy.loadClassFromClass (RemoteProxy.java:191)
 at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:93)
 ... 14 more
43723 (OFBiz_Shutdown_Hook) [    ContainerLoader.java:102:INFO ] Shutting down containers
43743 (OFBiz_Shutdown_Hook) [  CatalinaContainer.java:601:ERROR]
---- exception report ----------------------------------------------------------
Exception: org.apache.catalina.LifecycleException
Message: Embedded service has not yet been started
---- stack trace ---------------------------------------------------------------
LifecycleException:  Embedded service has not yet been started
org.apache.catalina.startup.Embedded.stop(Embedded.java:817)
org.ofbiz.catalina.container.CatalinaContainer.stop (CatalinaContainer.java:598)
org.ofbiz.base.container.ContainerLoader.unload(ContainerLoader.java:108)
org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
org.ofbiz.base.start.Start.access$0(Start.java:303)
org.ofbiz.base.start.Start$1.run(Start.java:286)
--------------------------------------------------------------------------------

43743 (OFBiz_Shutdown_Hook) [  JavaMailContainer.java:153:INFO ] stop JavaMail poller
java.lang.NullPointerException
 at org.ofbiz.service.rmi.RmiServiceContainer.stop(RmiServiceContainer.java:171)
 at org.ofbiz.base.container.ContainerLoader.unload (ContainerLoader.java:108)
 at org.ofbiz.base.start.Start.shutdownServer(Start.java:309)
 at org.ofbiz.base.start.Start.access$0(Start.java:303)
 at org.ofbiz.base.start.Start$1.run(Start.java:286)

 
I did not mofidy any source code and I did not get any compile error. Anything am I missing?
 
-CB


 
On 6/19/06, Jacques Le Roux <[hidden email]> wrote:
Chris,
 
There is a better way to debug in Eclipse, try this : <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
 
Jacques
----- Original Message -----
Sent: Monday, June 19, 2006 3:46 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.

 
Jacques & Peter
 
The attached .classpath works for me. Now, I can compile ofbiz without any error in Eclipse. Thank you.
 
-C.B.

 
On 6/16/06, Jacques Le Roux <[hidden email]> wrote:
Thanks Peter for pointing that.

Chris, anyway even before that you will need to add some lines in your
classpath.

I was able to run OFBiz in debug mode today with the attached .classpath files
but you may have to adapt it to your specifical needs. The 3 blocks at end were
added by me at hand or using Eclipse debug option (better to use Eclipse but I
had a .classpath file wich was working before and pasted from it)

BTW I will create a new Jira issue to put a patch for people wanting to run
debug in Eclipse (including Peter's patch)

Jacques


----- Original Message -----
From: "Peter Goron" <[hidden email]>
To: "OFBiz Project Development Discussion" < [hidden email]>
Sent: Friday, June 16, 2006 10:07 AM
Subject: Re: [OFBiz] Dev - version on svn downloads & Eclipse build error.


> Hi Chris,
>
> The eclipse's classpath is not up to date. The attached patch fix this
> issue. (geronimo-javamail_1.3.1_spec-1.0.jar has been replaced by
> mail.jar)
>
> Can someone commit it ?
>
> Peter
>
>
> Le mercredi 14 juin 2006 � 22:19 -0400, Chris Bai a �crit :
> > 2nd quesiton: When I import ofbiz into Eclipse and build it, I got the
> > following build error:
> >
> >  Project ofbiz is missing required library:
> > 'base/lib/j2eespecs/geronimo-javamail_1.3.1_spec- 1.0.jar'
> >
> > I can not found the asked jar file from the source of the project.
> > What am I missing?
> >
> > -CB
> >
> >
> >  _______________________________________________
> > 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]
> <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]
<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]
<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]
<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]
<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]
<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

_______________________________________________
Dev mailing list





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

_______________________________________________
Dev mailing list


 
_______________________________________________
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

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
 
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]
http://lists.ofbiz.org/mailman/listinfo/dev
12