# Problem after switching from Sysdeo to Eclipse Webtools Pla.

**URL:** <https://techcommunity.softwareag.com/t/problem-after-switching-from-sysdeo-to-eclipse-webtools-pla/57244>\
**Category:** Forum\
**Tags:** Former-Crossvision-Products, Application-Composer\
**Created:** [March 6, 2006, 6:02pm UTC](https://techcommunity.softwareag.com/t/problem-after-switching-from-sysdeo-to-eclipse-webtools-pla/57244 "2006-03-06T18:02:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephan](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@stephan](https://techcommunity.softwareag.com/u/stephan)\
**Post date:** [March 6, 2006, 6:02pm UTC](https://techcommunity.softwareag.com/t/problem-after-switching-from-sysdeo-to-eclipse-webtools-pla/57244/1 "2006-03-06T18:02:16Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Serhat](https://avatars.discourse-cdn.com/v4/letter/s/c0e974/32.png) [@Serhat](https://techcommunity.softwareag.com/u/Serhat)\
**Post date:** [March 7, 2006, 12:38am UTC](https://techcommunity.softwareag.com/t/problem-after-switching-from-sysdeo-to-eclipse-webtools-pla/57244/2 "2006-03-07T00:38:01Z")

</div>

After you created a new Web project you must set default output folder to WebContent\WEB-INF\classes directory and do not forget to copy whole CAI project under WebContent directory.  
I also recommend not to add your project to Tomcat directly.Instead of this you should add your project as external web module.This way works more efficiently.Otherwise eclipse restarts Tomcat on any change.  
And instead of using “JavaSource” folder of your web projects as base java source folder , create different java projects and redirect their output folder to yourCAIProject\appclasses\classes directory.(CAI classloader checks this directory first) .  
Finaly set your tomcat server’s http port to 51000.By this way you can use CAI eclipse plugin easyly.  
I hope this helps.We use eclipse 3.1 and WTP and we don’t have any problem.  
Good luck

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:38pm UTC](https://techcommunity.softwareag.com/t/problem-after-switching-from-sysdeo-to-eclipse-webtools-pla/57244/3 "2021-04-02T14:38:30Z")

</div>


