|Deploying EclipseRT bundles to Eclipse-embedded Virgo Tomcat doesn't work [message #819978]
||Tue, 13 March 2012 15:19
| Jason Levine
Registered: July 2009
I currently have a bunch of EclipseRT Bundle projects in Eclipse, and when I deploy them to my version of Virgo Tomcat I'm running as a server in Eclipse, they appear to try to deploy as plain WAR files, not as the WABs that they are. I'm adding them to the server as described in the Virgo Programmer Guide section 7.7 (using the "Add and Remove" dialog); I see them deploy, but they don't deploy to the Web-ContextPath that's defined in their MANIFEST.MF files, and when I look in the /stage/ and /work/org.eclipse.virgo.kernel.deployer_3.0.2.RELEASE/staging/global/bundle/ subdirectories of my Virgo Tomcat installation directory, I see that there's a .war entry for my project; it's a tiny tiny WAR file that simply contains an empty WEB-INF/classes directory and a META-INF/MANIFEST.MF file with "Manifest-Version: 1.0" and nothing else.|
Is there a setting on my project somewhere that makes it behave with the embedded Virgo server like the WAB it really is? Note that if I build my project external to Eclipse -- using Maven, issuing "mvn package" -- then it perfectly builds my .jar file that I can either upload to the Virgo server using the admin interface or throw into the /pickup/ subdirectory to have it grab it automatically. But I'd love to work out using the built-in Virgo server in Eclipse, so I can debug without having to go through the manual build/redeploy stage.
I'm using the latest snapshot of the Eclipse Virgo Tools (188.8.131.52203100237-SNAPSHOT), and Virgo Tomcat 3.0.2.RELEASE.
Thanks in advance....
Powered by FUDForum
. Page generated in 0.02226 seconds