Hallo!
We recently switched from Sysdeo Tomcat Plugin to Lomboz (Eclipse Webtools Platform). With Sysdeo everything works nice, it maps the Eclipse Project directly to server.xml of tomcat. But now there is a problem with CAI, WTP uses a .deployables folder, and the stuff of webproject is copied to this folder and the servlet.xml maps the .deployables folder.
First attempt, change nothing:
SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
Tomcat doesn’t start correct.
Second attempt, use the cis.home parameter and that it to ‘original’ path:
cis.home
<C:\dev\workspacename\projectname</param-value>
Tomcat starts correct and the HTMLBasedGUI finds its projects, but the preview ends with 404, because the preview page isn’t in the .deployables folder it’s in the ‘original’ folder.
Third attempt, use the cis.home parameter and set it to the .deployables path :
cis.home
<C:\dev\workspacename\projectname.deployables\projectname</param-value>
Tomcat starts correct and the HTMLBasedGUI finds its projects, preview works.
But if a layout is change, the change is overwritten with the next deployment, because the copied files the .deployable folder are changed and not the ‘original’ in the project folder.
Is there a solution for this problem?
Thanks
Stephan
EPOQ GmbH