[ 
https://issues.apache.org/jira/browse/OFBIZ-4812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13255712#comment-13255712
 ] 

Francis ANDRE commented on OFBIZ-4812:
--------------------------------------

You miss an important point: all those improvements are for allowing hot 
replacement of class when running under the debug mode in Eclipse, which you 
cannot do if you remotely debug a ofbiz session started by ant, or you just run 
ofbiz under Eclipse because in this later case, ofbiz is using the ofbiz-*.jar 
and thus, one cannot use hot replacement of code. Even in the wiki 
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse,
 it is clearly mentioned by P Gonon that

"Note that when doing development work, you will have to stop OFBiz, run an Ant 
build and re-start. Because this method treats OFBiz as a plain Java up, you 
don't have any automatic classloading as you might be used to when using 
Eclipse-WTP and developing webapps."
                
Thus all those Jira for improvement are to allow a "normal" Eclipse debugging 
session as usual, with hot replacement of code.

When you do not want hot replacement of code, the methods stated in the 
https://cwiki.apache.org/confluence/display/OFBIZ/Running+and+Debugging+OFBiz+in+Eclipse
 works fine, but this is a different objective.

Thus, I am in favor to not revert the r1308085 and apply this one, which needs 
the replacement of the jackrabbit-core-2.3.3.jar by the patched one, otherwise 
ofbiz stops.

                
> Avoid the ClassNotFoundException on the jdbc driver used by jackrabbit 
> component
> --------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4812
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4812
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework
>    Affects Versions: SVN trunk
>         Environment: WXP SP3, Sun SDK 1.6.0_30, PostgreSQL 9.2
>            Reporter: Francis ANDRE
>         Attachments: jackrabbit-core-2.3.3.jar
>
>
> Hi
> When running ofbiz under Eclipse with the sources directories as classpath 
> and not the ofbiz-*.jar, the jcr component fails to load the jdbc driver 
> because jackrabbit-core is using Class.forName() instead of using the current 
> classloader of the thread. see https://issues.apache.org/jira/browse/JCR-3288
> I provide with this issue a jackrabbit-core-2.3.3.jar patched as described in 
> the JCR-3288 issue.
> Rgds

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to