|Problem with RAP 1.5 App and Maven [message #1046910]
||Mon, 22 April 2013 14:28
| Cristian Ionitoiu
Registered: April 2013
I've been trying the last days to solve what I believe is a dependency issue without great success. The situation is very strange. I'll try to describe it as well as I can.
I am working on a 1.5 Rap application made from 7 projects (6 plugins and 1 feature). The application was initially built over Ant (I can provide the scripts) using pdeExportFeatures Ant task. The Ant war deploys fine and all functionality of the application is available.
Then, I ported all these projects to Maven with the help of a parent project using tycho. The feature project is the one that actually assembles the war (also I can provide pom details). The model I used is the following example(github.com/hstaudacher/org.eclipse.rap.build.examples/tree/master/tycho with https in front). The Maven built war is deployed on tomcat 6 (in both cases in fact) but a key functionality of the application is not working - a google vizualization based code, actually trying to launch that functionality blocks the entire application and tomcat too. I have no exceptions in the tomcat normal logs. Moreover the apache logging tracking is the same for both cases, ant and maven, even line numbers match. I compared the two wars and they are similar, meaning that all files are either identical, or in case of some plugins the maven war contains apparently newer versions - but both wars contain same list of plugins.
However, there is a difference. If I look into the working logs of Tomcat (work/Catalina/localhost/app_name/eclipse/workspace/.metadata) there I do have some class not found exceptions that do not appear when the Ant built war is deployed and executed. However, all these classes do exist in the included dependencies/plugins (see exception1.txt file for more details). I do not understand why Maven messes up this war.
When Maven builds the war it does show two errors which I do not know if they are related or not to the problem described above (please see exception2.txt for details).
Any suggestions or advices are very welcome. Thanks a lot.
Powered by FUDForum
. Page generated in 0.02364 seconds