How to deploy Vaadin app to Virgo Jetty Server? [message #728247] |
Thu, 22 September 2011 19:21 |
Marton Sigmond Messages: 73 Registered: July 2009 Location: Hungary |
Member |
|
|
Hi,
Kai Tödter has a great Vaadin and OSGi demo app:
http://www.toedter.com/blog/?p=412
I wanted to deploy it to Virgo Jetty Server, so I created the following plan:
<?xml version="1.0" encoding="UTF-8"?>
<plan name="osgi_vaadin_demo.plan" version="1.0.0" scoped="true"
atomic="true" xmlns="http://www.eclipse.org/virgo/schema/plan"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.eclipse.org/virgo/schema/plan
http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
<artifact type="bundle" name="javax.servlet" version="2.5.0.v200910301333" />
<artifact type="bundle" name="slf4j.api" version="1.6.1" />
<artifact type="bundle" name="ch.qos.logback.classic" version="0.9.28" />
<artifact type="bundle" name="com.vaadin" version="6.5.7" />
<artifact type="bundle" name="ch.qos.logback.core" version="0.9.28" />
<artifact type="bundle" name="org.vaadin.osgi" version="1.0.1" />
<artifact type="bundle" name="org.vaadin.osgi.staticres" version="1.0.1" />
<artifact type="bundle" name="com.siemens.ct.pm.model.minimal" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.pm.model" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.pm.model.basic" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.treeview" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.theme" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.tableview" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.saveaction" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.runoraction" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.reindeeraction" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.printaction" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.main" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.logback" version="1.0.0.201109132107" />
<artifact type="bundle" name="com.siemens.ct.osgi.vaadin.pm.bundleview" version="1.0.0.201109132107" />
</plan>
I copied the bundle jars into the $SERVER_HOME/repository/usr/ directory, then I started the server.
Once the server started I copied the above plan into the $SERVER_HOME/pickup/ directory, and the plan was successfully started.
However when I tried to open the demo URL, I got a Jetty error.
I tried the following URLs, but none of them worked:
http://localhost/com.siemens.ct.osgi.vaadin.pm.main
http://localhost:8080/com.siemens.ct.osgi.vaadin.pm.main
Please let me know what I am doing wrong.
Many thanks,
Marton
Best Regards,
Marton Sigmond
Senior Software Engineer
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03564 seconds