Equinox/Jetty Works Out-of-the-Box? Not [message #117261] |
Wed, 10 September 2008 13:53  |
Eclipse User |
|
|
|
All,
"[Suggested] If you're using Eclipse it might be far simpler to "import" a
team project set with everything needed. "
According to the literature, the file jettyhttp-anon.psf contains the
bundles required to run the jetty servlet container inside equnox.
javax.servlet
org.apache.commons.logging
org.eclipse.equinox.http.jetty
org.eclipse.equinox.http.registry
org.mortbay.jetty
org.eclipse.equinox.http.servlet
I am running eclipse Ganymede and all the above bundles are present in the
distribution so one might assume I'm good to go. However, the following
two bundles are not a part of my set up when I run the diag command on the
above
org.osgi.service.cm
org.osgi.service.http
I'm looking for the best way to include them. As yet, I can find no
proper update site. Instead, I find a download
org.osgi.compendium-1.2.0-project.zip that appears to have the missing
bits but does not appear to be setup for eclipse.
Before I head down the road of creating bundles I'd like to ask:
1. I there an update site for these?
2. Am I simply missing something?
For good measure, the results of running diag is included below.
osgi> diag 7221
initial@reference :file:plugins/org.eclipse.equinox.http.jetty_1.1.0.v20080425 .jar/
[7221]
Direct constraints which are unresolved:
Missing imported package org.eclipse.equinox.http.servlet_1.0.0.
Missing imported package org.osgi.service.cm_1.2.0.
Leaf constraints in the dependency chain which are unresolved:
initial@reference :file:plugins/org.eclipse.equinox.http.servlet_1.0.100.v2008 0427-0830.jar/
[7307]
Missing imported package org.osgi.service.http_1.2.0.
|
|
|
|
Re: Equinox/Jetty Works Out-of-the-Box? Not [message #117317 is a reply to message #117290] |
Thu, 11 September 2008 12:56   |
Eclipse User |
|
|
|
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 13:43  |
Eclipse User |
|
|
|
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.06295 seconds