|
Re: Equinox/Jetty Works Out-of-the-Box? Not [message #117290 is a reply to message #117261] |
Thu, 11 September 2008 12:28 |
|
Geoffry Roberts schrieb:
> According to the literature, the file jettyhttp-anon.psf contains the
> bundles required to run the jetty servlet container inside equnox.
Do you have a link to the file? It seems that it's outdated. All bundles
are available in Ganymede. You could start right away by creating a
fresh workspace and setup an "OSGi Framework" launch configuration from
the bundles in your target platform (which would be the running SDK).
Simply select and check the org.eclipse.equinox.http.jetty bundle and
then click on "Add Required Bundles".
> org.osgi.service.cm
> org.osgi.service.http
These are OSGi services provided by org.eclipse.osgi.services bundle.
Following the steps above you should get the following output in the
console view.
----------------
osgi> 11.09.2008 14:24:53 org.mortbay.http.HttpServer doStart
INFO: Version Jetty/5.1.x
11.09.2008 14:24:53 org.mortbay.util.Container start
INFO: Started
org.eclipse.equinox.http.jetty.internal.Servlet25Handler@15b9e68
11.09.2008 14:24:53 org.mortbay.util.Container start
INFO: Started HttpContext[/,/]
11.09.2008 14:24:53 org.mortbay.http.SocketListener start
INFO: Started SocketListener on 0.0.0.0:80
11.09.2008 14:24:53 org.mortbay.util.Container start
INFO: Started org.mortbay.http.HttpServer@12558d6
ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.4.0.v20080605-1900
Fragments=8
1 ACTIVE org.eclipse.osgi.services_3.1.200.v20071203
2 ACTIVE org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
3 ACTIVE org.mortbay.jetty_5.1.14.v200806031611
4 ACTIVE javax.servlet_2.4.0.v200806031604
6 ACTIVE org.eclipse.equinox.http.jetty_1.1.0.v20080425
7 ACTIVE org.apache.commons.logging_1.0.4.v20080605-1930
8 RESOLVED org.eclipse.equinox.transforms.hook_1.0.0.v20080610
Master=0
11 ACTIVE org.eclipse.equinox.common_3.4.0.v20080421-2006
13 ACTIVE org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
14 ACTIVE org.eclipse.equinox.registry_3.4.0.v20080516-0950
osgi>
----------------
Bundles evolve to the bundle list in 3.4 is now:
org.eclipse.osgi_3.4.0.v20080605-1900
org.eclipse.osgi.services_3.1.200.v20071203
javax.servlet_2.4.0.v200806031604
org.eclipse.equinox.http.servlet_1.0.100.v20080427-0830
org.mortbay.jetty_5.1.14.v200806031611
org.eclipse.equinox.http.jetty_1.1.0.v20080425
org.apache.commons.logging_1.0.4.v20080605-1930
org.eclipse.equinox.transforms.hook_1.0.0.v20080610
org.eclipse.equinox.common_3.4.0.v20080421-2006
org.eclipse.equinox.http.registry_1.0.100.v20080427-0830
org.eclipse.equinox.registry_3.4.0.v20080516-0950
-Gunnar
--
Gunnar Wagenknecht
gunnar@wagenknecht.org
http://wagenknecht.org/
|
|
|
Re: Equinox/Jetty Works Out-of-the-Box? Not [message #117317 is a reply to message #117290] |
Thu, 11 September 2008 16:56 |
Geoffry Roberts Messages: 71 Registered: July 2009 |
Member |
|
|
Gunnar,
Thanks for your response.
Gunnar Wagenknecht wrote:
> Geoffry Roberts schrieb:
>> According to the literature, the file jettyhttp-anon.psf contains the
>> bundles required to run the jetty servlet container inside equnox.
> Do you have a link to the file? It seems that it's outdated. All bundles
This is the page the link was on:
http://www.eclipse.org/equinox/server/http_in_equinox.php
Here's the link to the psf file in question:
http://www.eclipse.org/equinox/server/downloads/jettyhttp-an on.psf
It does appear the page is a bit out of date. I had put my faith in the
phrase: '..."import" a team project set with everything needed...'.
Another thing that threw me was the statement near the bottom of the page:
"Select the bundles listed above and your application" The bundle:
org.eclipse.osgi.services is not on the list and, as I stated earlier,
running the diag command indicates that the problem is the lack of
org.osgi.service.cm and org.osgi.service.http. At this point, one begins
to get steered down the wrong path. Apparently, the eclipse team has,
perhaps, repackaged some functionality under another name.
Understandable, but a tripping point for the uninformed.
The up shot is, now that I have the missing piece, all is well, and I can
proceed.
Once again thanks.
|
|
|
Re: Equinox/Jetty Works Out-of-the-Box? Not [message #117340 is a reply to message #117317] |
Thu, 11 September 2008 17:43 |
Simon Kaegi Messages: 381 Registered: July 2009 |
Senior Member |
|
|
Apologies. I should mark that page out of date until I get a chance to
update it.
"Geoffry Roberts" <geoff.roberts@qinetiq-na.com> wrote in message
news:e05cc64ed0b5ace405a0ea244f24462b$1@www.eclipse.org...
> Gunnar,
>
> Thanks for your response.
>
> Gunnar Wagenknecht wrote:
>
>
>> Geoffry Roberts schrieb:
>>> According to the literature, the file jettyhttp-anon.psf contains the
>>> bundles required to run the jetty servlet container inside equnox.
>
>> Do you have a link to the file? It seems that it's outdated. All bundles
>
> This is the page the link was on:
>
> http://www.eclipse.org/equinox/server/http_in_equinox.php
>
> Here's the link to the psf file in question:
>
> http://www.eclipse.org/equinox/server/downloads/jettyhttp-an on.psf
>
> It does appear the page is a bit out of date. I had put my faith in the
> phrase: '..."import" a team project set with everything needed...'.
> Another thing that threw me was the statement near the bottom of the page:
> "Select the bundles listed above and your application" The bundle:
> org.eclipse.osgi.services is not on the list and, as I stated earlier,
> running the diag command indicates that the problem is the lack of
> org.osgi.service.cm and org.osgi.service.http. At this point, one begins
> to get steered down the wrong path. Apparently, the eclipse team has,
> perhaps, repackaged some functionality under another name.
> Understandable, but a tripping point for the uninformed.
>
> The up shot is, now that I have the missing piece, all is well, and I can
> proceed.
>
> Once again thanks.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03027 seconds