Registering a Wicket Application using OSGi HTTP service

2010-03-18 Thread Jaime Soriano Pastor
Hello, I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service, for that I just register the service using WicketServlet with applicationClassName parameter set to the main application class name: props.put(applicationClassName, MainApplication.class.getName());

Re: Registering a Wicket Application using OSGi HTTP service

2010-03-18 Thread Jaime Soriano Pastor
fails with Equinox, with a similar exception. Regards, Jaime. On Thu, Mar 18, 2010 at 12:01 PM, Jaime Soriano Pastor jsorianopas...@gmail.com wrote: Hello, I'm trying to start a Wicket Application using Felix implementation of OSGi HTTP service, for that I just register the service using

Re: Registering a Wicket Application using OSGi HTTP service

2010-03-22 Thread Jaime Soriano Pastor
Hi, On Thu, Mar 18, 2010 at 9:12 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: That's weird. Did you tried to check-out [1] and  [2]? They did work a couple of month ago when I tested them. Don't worry, it wasn't an Antilia problem :) I finally fixed it, the answer in StackOverflow:

Static files with Wicket and OSGi

2010-03-24 Thread Jaime Soriano Pastor
Hi, I register a wicket application in an OSGi http service using for that a WicketServlet with applicationClassName set to the name of my main application class. My problem now is that I don't know how to serve static files as CSS and so. Is there any place used by default to contain the static

Re: Static files with Wicket and OSGi

2010-03-24 Thread Jaime Soriano Pastor
On Wed, Mar 24, 2010 at 12:57 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: *document root* on an OSGI environment? Yes, it's what I was just trying and it worked :) Many thanks! - To unsubscribe, e-mail:

Re: Static files with Wicket and OSGi

2010-03-24 Thread Jaime Soriano Pastor
On Wed, Mar 24, 2010 at 1:05 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Are you using bridge servlet approach? I don't think so... Is it needed to have several Servlets? I have only one. What I do is to launch Apache Felix Http Jetty as implementation of the OSGi HTTP service and

Re: Static files with Wicket and OSGi

2010-03-24 Thread Jaime Soriano Pastor
Weird, I have also tried to register the application on /foo instead of on / and, as you said, I cannot access to static files. I haven't seen anything special about root alias on OSGi specification (only that is the only alias allowed to end with /) Jaime.

Re: Static files with Wicket and OSGi

2010-03-24 Thread Jaime Soriano Pastor
On Wed, Mar 24, 2010 at 3:08 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Haven't had time to check the specification but this behavior (mounting on /) might pose a security risk as you can fetch invisible things form the class path (e.g. configuration files containing sensitive