I am having trouble getting a very simple VAADIN-powered servlet running. I created a simple standard WAR file that embeds VAADIN 6.7.0 in the /lib directory. The WAR deploys and runs fine on tomcat (7.0.22). When I drop this same WAR file on VIRGO 3.0.1, the log says that it deploys just fine to /Test context. When I try to hit it in a browser, I get a 500 error that is due to a CNF exception.
I have verified that the offending class is in the embedded VAADIN jar, and since it is a standard WAR (not a shared-lib WAR), I thought that Virgo was supposed to be able to handle it? I also noticed that the VAADIN jar has an OSGi manifest, so I thought perhaps that Virgo notices it and won't allow it to be deployed in a standard WAR? There are plenty of web pages that show how to make VAADIN work as a shared-lib Web Bundle, but I thought by starting as a standard WAR (with no OSgi-ification) would be easier.
At this point I am more interested in learning why it won't work than just simply getting it to work.
The VAADIN jar needs to be on the bundle classpath, so you should investigate what bundle classpath is being used. It may be that your WAR has some headers which indicate it is actually a Web Application Bundle, in which case its bundle classpath as defined in its manifest or the default bundle classpath will apply.
you can change WABHeaders to "defaulted" in <Virgo-Home>/repository/ext/org.eclipse.virgo.web.properties
then redeploy the web application and tell us whether it is OK or not
we have problem reported for plain war transformation - https://bugs.eclipse.org/bugs/show_bug.cgi?id=354730