Hi,
I'm trying to use Paxweb and the war extender to deploy a web
application.  In addition I would like to use JSPs.  I have written a
very simple web application with the following structure:

com.acme.war
        /src
        /META-INF
                MANIFEST.MF
        /WEB-INF
                web.xml
        index.jsp

My manifest looks like this:
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Acme Webapp
Bundle-SymbolicName: com.acme.war
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: ACME
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Import-Package: javax.servlet;version="2.5.0",
 javax.servlet.http;version="2.5.0",
 javax.servlet.resources;version="2.5.0"
Bundle-ClassPath: .

My web.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
         http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
        <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
</web-app>

My osgi environment has the following bundles installed:
id      State       Bundle
0       ACTIVE      org.eclipse.osgi_3.5.0.v20090520
                    Fragments=67
3       ACTIVE      org.apache.log4j_1.2.8.v200803061910
                    Fragments=24
7       ACTIVE      com.springsource.javax.el_1.0.0
9       ACTIVE      slf4j.api_1.5.6
                    Fragments=15
15      RESOLVED    slf4j.log4j12_1.5.6
                    Master=9
24      RESOLVED    org.rifidi.log4j.configuration_1.0.0
                    Master=3
28      ACTIVE      jcl.over.slf4j_1.5.6
40      ACTIVE      com.springsource.javax.servlet_2.5.0
58      ACTIVE      org.ops4j.pax.web.pax-web-jsp_0.6.0
59      ACTIVE      org.ops4j.pax.web.pax-web-bundle_0.6.0
60      ACTIVE      org.mortbay.jetty.util_6.1.9
61      ACTIVE      org.mortbay.jetty.server_6.1.9
64      ACTIVE      com.acme.war_1.0.0.qualifier
66      ACTIVE      osgi.compendium_4.1.0.build-200702212030
67      RESOLVED    org.eclipse.equinox.weaving.hook_1.0.0.200905031323
                    Master=0


My question is this:
Do I need the war extender bundle?  From what I've read this has been
merged into v 0.6 of the pax web project.  However from the output in
the log files, It does not look like pax web is scanning my acme war
looking for the web.xml file.  I did download (by accident) v 0.51 of
the war extender bundle using a pom that was included in the wicket
example. When I installed and ran this bundle, it found my web app,
registered it, and I was able to see my web app on the localhost.
However, I am confused because I could not find a binary version of the
extender bundle on the download page where the pax-web-bundle and
pax-web-service bundles are.

Thanks,
Kyle

-- 
Kyle Neumeier
Technical Lead
Pramari, LLC
Manchester, CT


_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to