Skip to main content



      Home
Home » Eclipse Projects » Equinox » Starting http service
Starting http service [message #68564] Thu, 15 June 2006 08:22 Go to next message
Eclipse UserFriend
Just joined the news group so I thought I would start off with a
beginners question:

Trying to get the Knopflerfish HTTP console bundle in my configuration.
It all seems to go well apart from that there seems to be no HTTP server
started (there is no port opened). Turned on all traces including adding
a few traces in the http-console code to verify that it is started and
everything is looking just great.

I have tried setting org.osgi.service.http.port to 8080 both as a VM
argument and in the environment without any visible difference.

Is there anything special I need to do to get the embedded server to start?
Re: Starting http service [message #68573 is a reply to message #68564] Thu, 15 June 2006 13:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi Johan,

Eclipse doesn't come bundled with an "Http Service" so I'm guessing that
you might need to install it. You can download the 3.2RC7 drop of
"org.eclipse.equinox.http" here.
http://download.eclipse.org/eclipse/equinox/drops/S-3.2RC7-2 00606021317/index.php

If that's not it then launch equinox with "-console" and post the results
of an "ss".

Hope this helps.
-Simon
Re: Starting http service [message #68583 is a reply to message #68573] Fri, 16 June 2006 05:48 Go to previous message
Eclipse UserFriend
I had all the bundles in there, but to create a reasonable ss output to
post here, I just cleared out my plugin list and started all over. I
also checked "Clear the configuration area before launching" and
suddenly I got the service going. Don't know what I did wrong...

In case it can save anyone some trouble, here's my ss output

0 ACTIVE system.bundle_3.2.0.v20060510
1 ACTIVE org.apache.xerces_2.8.0.v200604170430
2 ACTIVE org.eclipse.core.contenttype_3.2.0.v20060511
3 ACTIVE org.eclipse.core.jobs_3.2.0.v20060511
4 ACTIVE org.eclipse.core.runtime_3.2.0.v20060511
5 RESOLVED
org.eclipse.core.runtime.compatibility.registry_3.2.0.v20060 426
Master=9
6 ACTIVE org.eclipse.equinox.common_3.2.0.v20060512
7 ACTIVE org.eclipse.equinox.http_1.0.0.v20060426
8 ACTIVE org.eclipse.equinox.preferences_3.2.0.v20060511
9 ACTIVE org.eclipse.equinox.registry_3.2.0.v20060511
Fragments=5
10 ACTIVE org.eclipse.equinox.servlet.api_1.0.0.v20060206
11 ACTIVE org.eclipse.help.appserver_3.1.100.v20060510b
12 ACTIVE org.eclipse.osgi.services_3.1.100.v20060511
13 ACTIVE org.knopflerfish.httpconsole_1.0.0

Also, I had to patch http-console to get the content type to be set
correctly, but now it seems to working fine.

thanks

/Johan

Simon Kaegi wrote:
> Hi Johan,
>
> Eclipse doesn't come bundled with an "Http Service" so I'm guessing that
> you might need to install it. You can download the 3.2RC7 drop of
> "org.eclipse.equinox.http" here.
> http://download.eclipse.org/eclipse/equinox/drops/S-3.2RC7-2 00606021317/index.php
>
>
> If that's not it then launch equinox with "-console" and post the
> results of an "ss".
>
> Hope this helps.
> -Simon
>
Previous Topic:Third Party Libraries
Next Topic:ServerSide Eclipse ContractWork
Goto Forum:
  


Current Time: Thu May 08 01:30:58 EDT 2025

Powered by FUDForum. Page generated in 0.05378 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top