| info on running HTTP Service? [message #55812] |
Thu, 05 January 2006 11:25  |
|
Originally posted by: yoduderoo.netscape.net
Hi,
I am getting started with equinox. I started the console using the info
in the "Getting Started" doc.
I connect to the Eclipse CVS and imported the HTTP Service. From
Eclipse, I exported it as a jar and then installed manually using the
console "install" and "start" commands. "Status" shows it is ACTIVE. But
now what?
It looks to me like a tomcat is expected....
Is there any info available to help a newbie like me in getting the http
service running?
Thanks,
y
|
|
|
|
| Re: info on running HTTP Service? [message #55865 is a reply to message #55838] |
Thu, 05 January 2006 14:01   |
|
Originally posted by: yoduderoo.netscape.net
There is no error message and there is no additional listening port
after I start the service. Therefore no truly active http service.
In Eclipse, one sees plugin dependencies on the Eclipse 3.1 tomcat
plugin. Hence I must also install this Eclipse plugion in my OSGi
environment? And I want a "pure" OSGi environment, what is recommended?
Construct a OSGi tomcat bundle?
Thanks, Y
Ricky wrote:
>> It looks to me like a tomcat is expected....
>
> Is there some kind of error message or what do you mean? I have not used
> this service myself but checking if port 80 is up seems reasonable to
> determine if the service is operable.
>
> Ricky
|
|
|
|
| Re: info on running HTTP Service? [message #56034 is a reply to message #55890] |
Fri, 06 January 2006 11:15   |
|
Originally posted by: simon.kaegi.cognos.com
The http service just needs access to the javax.servlet package and you're
seeing tomcat mentioned because PDE is matching up the import from
org.eclipse.tomcat.
For a minimal OSGi environment all you really need is the contents of
servlet.jar in it's own bundle. This is currently up for consideration see
bug 121585.
For the time being you might do it yourself create and use a new plugin-in
project based on the servlet.jar contents.
(e.g. new->project and then Plugin-Development->Plug-in from existing jar)
In terms of a working service I can confirm that the httpservice works
when running on top of 3.2M4. By default it listens on port 80 and is not
lazy in terms of waiting for resources and servlets to be registered.
Hope this helps.
-Simon
|
|
|
| Re: info on running HTTP Service? [message #61253 is a reply to message #56034] |
Fri, 10 February 2006 13:23   |
|
Originally posted by: morova.bol.com.br
The latest equinox integration releases includes Servlet API bundles.
And how can I change the default port without the Config Admin service? It
tries to bind to port 80 without luck in Linux. The OSGi reference talks
about using org.osgi.service.http.port and org.osgi.http.port.secure OSGi
environment properties, but I don't know if they are normal environment
properties.
Gustavo
On Fri, 06 Jan 2006 16:15:34 +0000, Simon Kaegi wrote:
> The http service just needs access to the javax.servlet package and you're
> seeing tomcat mentioned because PDE is matching up the import from
> org.eclipse.tomcat.
>
> For a minimal OSGi environment all you really need is the contents of
> servlet.jar in it's own bundle. This is currently up for consideration see
> bug 121585.
>
> For the time being you might do it yourself create and use a new plugin-in
> project based on the servlet.jar contents.
> (e.g. new->project and then Plugin-Development->Plug-in from existing jar)
>
> In terms of a working service I can confirm that the httpservice works
> when running on top of 3.2M4. By default it listens on port 80 and is not
> lazy in terms of waiting for resources and servlets to be registered.
>
> Hope this helps.
> -Simon
|
|
|
| Re: info on running HTTP Service? [message #61299 is a reply to message #61253] |
Fri, 10 February 2006 16:26   |
|
Originally posted by: simon.kaegi.cognos.com
Hi Gustavo,
Setting "org.osgi.service.http.port" (e.g. -Dxxx or as a System property)
to a value other than 80 is supported for the Equinox HttpService.
-Simon
|
|
|
| Re: info on running HTTP Service? [message #61445 is a reply to message #61299] |
Mon, 13 February 2006 06:39  |
|
Originally posted by: morova.bol.com.br
It worked, thanks! On Eclipse 3.2M4, it worked using -D argument under
Arguments tab, but not using Environment tab in Run dialog. Should I post
a bug for this?
Gustavo
On Fri, 10 Feb 2006 21:26:51 +0000, Simon Kaegi wrote:
> Hi Gustavo,
>
> Setting "org.osgi.service.http.port" (e.g. -Dxxx or as a System property)
> to a value other than 80 is supported for the Equinox HttpService.
>
> -Simon
|
|
|
Powered by
FUDForum. Page generated in 0.01995 seconds