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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to