[equinox-dev] AUTO: Michael Iles is out of the office (returning 21/03/2008)

2008-03-19 Thread Michael Iles

I am out of the office until 21/03/2008.

I am out of the office for the week of Mar. 17 to 20 with regular access to
email. For emergency Go! Mobile issues please contact Michael Cyze.


Note: This is an automated response to your message [equinox-dev] AUTO:
Michael Iles is out of the office (returning21/03/2008) sent on 3/18/08
20:03:48.
You will receive a notification for each message you send to this person
while the person is away.

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: [equinox-dev] I need jetty 6, for the clustering sake

2008-03-19 Thread Simon Kaegi
Hi ShaoGuang,

Jetty 6.1 support is on its way.
Look for an older posing in the archives for more details:
[equinox-dev] org.eclipse.equinox.http.jetty - Jetty 6.1 support from [
02/19/2008]

HTH
-Simon




[EMAIL PROTECTED] wrote on 03/18/2008 03:35:08 AM:

 Hi every one,

 My team is constructing web app on the bases of OSGi(equinox now),
 but a problem raised:

 We need cluster, and found a solution from wadi.codehaus.org but
 seems that jetty version 6.x is supported.

 So I post this mail seeing that running jetty 6 on equinox.

 I this interesting to rest of you?

 Is is valuable to write a newer bundle that makes this work?

 Thank you very much, here.

 Yours
 ShaoGuang.Geng___
 equinox-dev mailing list
 equinox-dev@eclipse.org
 https://dev.eclipse.org/mailman/listinfo/equinox-dev

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


[equinox-dev] Servlet mapping

2008-03-19 Thread Emmanuel Potvin
I want to reproduce this servlet installation for Blaze DS (for what is not
important) inside a bundle :

 

servlet

servlet-nameMessageBrokerServlet/servlet-name

display-nameMessageBrokerServlet/display-name

servlet-classflex.messaging.MessageBrokerServlet/servlet-class

init-param

param-nameservices.configuration.file/param-name

param-value/WEB-INF/flex/services-config.xml/param-value

   /init-param

load-on-startup1/load-on-startup

/servlet

 

In the root of my bundle, I copied the flex directory and add this code in
my activator start method :

 

HttpServlet messageBrokerServlet = new MessageBrokerServlet(); 



HashtableString, String initParams = new HashtableString, String();

initParams.put(services.configuration.file, /flex/services-config.xml);



httpService.registerServlet(/messagebroker/*, messageBrokerServlet,
initParams, httpService.createDefaultHttpContext());

 

And it works!!

 

The problem is that I can't access the servlet with /messagebroker/anything.
I have to explicitely call /messagebroker/*. That's the only way for my
servlet to get called.

 

I did some tests like aliasing with  /messagebroker/*.jsp  and it worked.
I can access it with /messagebroker/anything.jsp as it would work as with a
classic web.xml configuration. is that a bug?

 

Emmanuel

 


___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


Re: [equinox-dev] Servlet mapping

2008-03-19 Thread Simon Kaegi
Hi Emmanuel,

Just register with /messagebroker.
The OSGi HttpService handles URI registration a little bit differently and
looks for the longest matchng alias.
* handling is not specified by the Http Service however the intent in
this case seems pretty obvious so we maybe can add it in the Equinox
implementation.

-Simon

[EMAIL PROTECTED] wrote on 03/19/2008 01:37:05 PM:

 I want to reproduce this servlet installation for Blaze DS (for what
 is not important) inside a bundle :

 servlet
 servlet-nameMessageBrokerServlet/servlet-name
 display-nameMessageBrokerServlet/display-name

servlet-classflex.messaging.MessageBrokerServlet/servlet-class
 init-param
 param-nameservices.configuration.file/param-name
 param-value/WEB-INF/flex/services-config.xml/param-value
/init-param
 load-on-startup1/load-on-startup
 /servlet

 In the root of my bundle, I copied the flex directory and add this
 code in my activator start method :

 HttpServlet messageBrokerServlet = new MessageBrokerServlet();

 HashtableString, String initParams = new HashtableString, String();
 initParams.put(services.configuration.file,
/flex/services-config.xml);

 httpService.registerServlet(/messagebroker/*,
 messageBrokerServlet, initParams,
httpService.createDefaultHttpContext());

 And it works!!

 The problem is that I can?t access the servlet with
 /messagebroker/anything. I have to explicitely call
 /messagebroker/*. That?s the only way for my servlet to get called.

 I did some tests like aliasing with « /messagebroker/*.jsp » and it
 worked. I can access it with /messagebroker/anything.jsp as it would
 work as with a classic web.xml configuration? is that a bug?

 Emmanuel
  ___
 equinox-dev mailing list
 equinox-dev@eclipse.org
 https://dev.eclipse.org/mailman/listinfo/equinox-dev

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev


RE: [equinox-dev] Servlet mapping

2008-03-19 Thread Emmanuel Potvin
Thanks Simon for that fast answer! It works!

Emmanuel

-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] De la part de Simon Kaegi
Envoyé : 19 mars 2008 12:50
À : Equinox development mailing list
Objet : Re: [equinox-dev] Servlet mapping

Hi Emmanuel,

Just register with /messagebroker.
The OSGi HttpService handles URI registration a little bit differently and
looks for the longest matchng alias.
* handling is not specified by the Http Service however the intent in
this case seems pretty obvious so we maybe can add it in the Equinox
implementation.

-Simon

[EMAIL PROTECTED] wrote on 03/19/2008 01:37:05 PM:

 I want to reproduce this servlet installation for Blaze DS (for what
 is not important) inside a bundle :

 servlet
 servlet-nameMessageBrokerServlet/servlet-name
 display-nameMessageBrokerServlet/display-name

servlet-classflex.messaging.MessageBrokerServlet/servlet-class
 init-param
 param-nameservices.configuration.file/param-name
 param-value/WEB-INF/flex/services-config.xml/param-value
/init-param
 load-on-startup1/load-on-startup
 /servlet

 In the root of my bundle, I copied the flex directory and add this
 code in my activator start method :

 HttpServlet messageBrokerServlet = new MessageBrokerServlet();

 HashtableString, String initParams = new HashtableString, String();
 initParams.put(services.configuration.file,
/flex/services-config.xml);

 httpService.registerServlet(/messagebroker/*,
 messageBrokerServlet, initParams,
httpService.createDefaultHttpContext());

 And it works!!

 The problem is that I can?t access the servlet with
 /messagebroker/anything. I have to explicitely call
 /messagebroker/*. That?s the only way for my servlet to get called.

 I did some tests like aliasing with « /messagebroker/*.jsp » and it
 worked. I can access it with /messagebroker/anything.jsp as it would
 work as with a classic web.xml configuration? is that a bug?

 Emmanuel
  ___
 equinox-dev mailing list
 equinox-dev@eclipse.org
 https://dev.eclipse.org/mailman/listinfo/equinox-dev

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

___
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev