[opencms-dev] Re: Remote debugging OpenCms with Eclipse

IQplay.net ric at oslad.com
Tue Jan 23 10:31:08 CET 2007


Hi Christian,

> I use Netbeans 5.5 with Tomcat 5.5 and JSP debugging is working. For me
> the key was to store the JSP's in the appropriate path. Remember that
> OpenCMS automatically exports all JSP's from the VFS to real filesystem
> in folder WEB-INF/jsp/offline of your webapp (for the offline project).
> 
> So if your JSP reside in VFS under path
> 
> /system/modules/com.package.xyz/elements/template.jsp
> 
> then you should store it in your IDE project here:
> 
> /project/webfolder/WEB-INF/jsp/offline/system/modules/com.package.xyz/elements/template.jsp
> 
> Configure your IDE that it uses /project/webfolder to store JSP's. 

i can debug java by insert breakpoint into *.java files in Eclipse. but cann't debug with jsp still now,  insert breakpoint into *.jsp files is no effect.

also tried in Netbeans with remote debug, but no luck.

Please, what is point to make it work? Thanks!

ENV
--------------------
Tomcat  5.5: /usr/local/tomcat/
Opencms: /usr/local/tomcat/webapps/ROOT/

Netbeans 5.5:
Project folder: /usr/local/tomcat/webapps
Web pages folder: ROOT





More information about the opencms-dev mailing list