I use standard eclipse debugging. From memory I think this problem is not having base/config in the classpath. Also I believe I had to comment out the webslinger container. Other than standard memory allocation parms, that was it.
Bob On 2010-07-22, at 8:06 PM, "Jacques Le Roux" <[email protected]> wrote: > At large > https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse > > Jacques > > From: "Patrick" <[email protected]> >> Thanks Scott, >> That seems to work. >> Patrick >> >> On Thu, Jul 22, 2010 at 4:17 PM, Scott Gray <[email protected]> >> wrote: >>> You can use remote debugging (this is what I use). >>> >>> Just uncomment the debugging line in startofbiz.bat and comment the >>> existing startup line. That should open up port 5005 for remote debugging. >>> >>> Start ofbiz and then go to eclipse -> debug configurations -> new remote >>> java application >>> Enter a name, select the correct project and change the port to 5005. Click >>> apply and then debug and you should be good to go. >>> >>> Regards >>> Scott >>> >>> HotWax Media >>> http://www.hotwaxmedia.com >>> >>> On 23/07/2010, at 9:06 AM, Patrick wrote: >>> >>>> I've never quite got debugging working in Eclipse (still using >>>> logError), so I'm trying again; When I try to debug it, I get the >>>> following: >>>> >>>> Set OFBIZ_HOME to - C:/opt/ofbiz-release9.04 >>>> Admin socket not configured; set to port 0 >>>> Exception in thread "main" java.lang.ExceptionInInitializerError >>>> at org.ofbiz.base.util.Debug.<clinit>(Debug.java:86) >>>> at org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:51) >>>> at org.ofbiz.base.start.Start.initStartLoaders(Start.java:250) >>>> at org.ofbiz.base.start.Start.init(Start.java:89) >>>> at org.ofbiz.base.start.Start.main(Start.java:398) >>>> Caused by: java.util.MissingResourceException: Can't find bundle for >>>> base name cache, locale en >>>> >>>> I can run the program from the command line, but then I'm not debugging it. >>> >>> > >
