The blog assembly makes use of pax web 0.8.1 and I do see the web
content being served without it being on the classpath. I can't seem
to get hold of 0.8.2-SNAPSHOT to see if that works differently. Is
there any chance of trying with 0.8.1 to see if you get the same
behaviour? Or trying out the blog assembly on your machine in case I
have a weird system?

Thanks
Alasdair

On 21 January 2011 11:21, Charles Moulliard <[email protected]> wrote:
> We use PAX WEB 0.8.2-SNAPSHOT
>
> [  83] [Active     ] [            ] [   60] OPS4J Pax Web - API 
> (0.8.2.SNAPSHOT)
> [  84] [Active     ] [            ] [   60] OPS4J Pax Web - Service
> SPI (0.8.2.SNAPSHOT)
> [  85] [Active     ] [            ] [   60] OPS4J Pax Web - Runtime
> (0.8.2.SNAPSHOT)
> [  86] [Active     ] [            ] [   60] OPS4J Pax Web - Jetty
> (0.8.2.SNAPSHOT)
> [  88] [Active     ] [            ] [   60] OPS4J Pax Web - Jsp
> Support (0.8.2.SNAPSHOT)
> [  89] [Active     ] [            ] [   60] OPS4J Pax Web - Extender -
> WAR (0.8.2.SNAPSHOT)
> [  90] [Active     ] [            ] [   60] OPS4J Pax Web - Extender -
> Whiteboard (0.8.2.SNAPSHOT)
> [  91] [Active     ] [            ] [   60] OPS4J Pax Web -
> FileInstall Deployer (0.8.2.SNAPSHOT)
>
>
>
> On Fri, Jan 21, 2011 at 12:07 PM, Alasdair Nottingham <[email protected]> wrote:
>> Hi, you need 0.81 of the pax-web project. That works for me.
>>
>> Alasdair Nottingham
>>
>> On 21 Jan 2011, at 10:42, Charles Moulliard <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I have been able to deploy successfully on Karaf the Aries Blog Sample
>>> JPA eba archive but I see that the images/ or style/blog.css directory
>>> present in the bundle are not accessible from the browser.
>>>
>>> For info, here is the MANIFEST generated :
>>>
>>> Manifest-Version: 1.0
>>> Implementation-Title: Apache Aries
>>> Implementation-Version: 0.3-SNAPSHOT
>>> Bundle-ClassPath: WEB-INF/classes
>>> Built-By: charlesmoulliard
>>> Tool: Bnd-1.15.0
>>> Bundle-Name: Apache Aries blog sample web component
>>> Created-By: Apache Maven Bundle Plugin
>>> Web-ContextPath: /blog
>>> Bundle-Vendor: The Apache Software Foundation
>>> Build-Jdk: 1.6.0_22
>>> Bundle-Version: 0.3.0.SNAPSHOT
>>> Bnd-LastModified: 1295601008095
>>> Bundle-ManifestVersion: 2
>>> Bundle-License: http://www.apache.org/licenses/LICENSE-2.0.txt
>>> Bundle-Description: Aries top-level parent pom
>>> Bundle-DocURL: http://www.apache.org
>>> Bundle-SymbolicName: org.apache.aries.samples.blog.web
>>> Import-Package: javax.naming,javax.servlet;version="2.5",javax.servlet
>>> .http;version="2.5",org.apache.aries.samples.blog.api;version="[0.3,1
>>> )"
>>>
>>> So my question is : How can PAX-WEB and/or JETTY have access to the
>>> web resources located in the root of the bundle like images, styles,
>>> ... directories ?
>>>
>>> Regards,
>>>
>>> Charles Moulliard
>>>
>>> Sr. Principal Solution Architect - FuseSource
>>> Apache Committer
>>>
>>> Blog : http://cmoulliard.blogspot.com
>>> Twitter : http://twitter.com/cmoulliard
>>> Linkedin : http://www.linkedin.com/in/charlesmoulliard
>>> Skype: cmoulliard
>>
>



-- 
Alasdair Nottingham
[email protected]

Reply via email to