Skip to main content



      Home
Home » Eclipse Projects » Equinox » Starting the server
Starting the server [message #88484] Mon, 21 May 2007 14:10 Go to next message
Eclipse UserFriend
Originally posted by: s0347354.sms.ed.ac.uk

Hey all,

I am trying to resurrect an old project but for some reason the jetty
server does not start as it used to. I am using the same launch
configuration as before except now, I can simply see "osgi>" come up in
black text within the console whilst before, it used to bring up "osgi>"
in red and eventually say something like "listening on port 80" then I
could access the various servlets declared in plugin.xml. Now this does
not occur. My project (that contains the various servlets, plugin.xml
etc) is set to start automatically along with

javax.servlet
org.apache.commons.logging
org.eclipse.equinox.http.jetty
org.eclipse.equinox.http.registry
org.eclipse.equinox.http.servlet
org.mortbay.jetty

They all start at the default start level of 4 (perhaps some things
might need starting before others!?).

I am confused as to how to get the Jetty server up and running again.
Can anyone see anything obvious or have any suggestions.

Thanks very much,

Seba
Re: Starting the server [message #88527 is a reply to message #88484] Mon, 21 May 2007 18:48 Go to previous messageGo to next message
Eclipse UserFriend
Looks ok. If you're not using RC1 you should try that.
What does "ss" show?
If everything looks started you might try walking through the Activator
start method in o.e.e.http.jetty.

HTH
-Simon

"EdAcc" <s0347354@sms.ed.ac.uk> wrote in message
news:f2snbe$l7f$1@build.eclipse.org...
> Hey all,
>
> I am trying to resurrect an old project but for some reason the jetty
> server does not start as it used to. I am using the same launch
> configuration as before except now, I can simply see "osgi>" come up in
> black text within the console whilst before, it used to bring up "osgi>"
> in red and eventually say something like "listening on port 80" then I
> could access the various servlets declared in plugin.xml. Now this does
> not occur. My project (that contains the various servlets, plugin.xml etc)
> is set to start automatically along with
>
> javax.servlet
> org.apache.commons.logging
> org.eclipse.equinox.http.jetty
> org.eclipse.equinox.http.registry
> org.eclipse.equinox.http.servlet
> org.mortbay.jetty
>
> They all start at the default start level of 4 (perhaps some things might
> need starting before others!?).
>
> I am confused as to how to get the Jetty server up and running again. Can
> anyone see anything obvious or have any suggestions.
>
> Thanks very much,
>
> Seba
Re: Starting the server [message #88650 is a reply to message #88527] Wed, 23 May 2007 07:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: s0347354.sms.ed.ac.uk

"ss" shows over 100 entries. What should I be looking to be
active/installed/resolved? My web application project is only
"resolved". org.eclipse.equinox.http.jetty_1.0.0.qualifier is also
"resolved". org.eclipse.equinox.http.servlet etc is "active". What
should I be looking to activate in order to start the jetty server, and
what order should this perhaps be done in? A few months back, the server
seemed to start automatically when i ran my launch configuration.

Thanks again.


Simon Kaegi wrote:
> Looks ok. If you're not using RC1 you should try that.
> What does "ss" show?
> If everything looks started you might try walking through the Activator
> start method in o.e.e.http.jetty.
>
> HTH
> -Simon
>
> "EdAcc" <s0347354@sms.ed.ac.uk> wrote in message
> news:f2snbe$l7f$1@build.eclipse.org...
>> Hey all,
>>
>> I am trying to resurrect an old project but for some reason the jetty
>> server does not start as it used to. I am using the same launch
>> configuration as before except now, I can simply see "osgi>" come up in
>> black text within the console whilst before, it used to bring up "osgi>"
>> in red and eventually say something like "listening on port 80" then I
>> could access the various servlets declared in plugin.xml. Now this does
>> not occur. My project (that contains the various servlets, plugin.xml etc)
>> is set to start automatically along with
>>
>> javax.servlet
>> org.apache.commons.logging
>> org.eclipse.equinox.http.jetty
>> org.eclipse.equinox.http.registry
>> org.eclipse.equinox.http.servlet
>> org.mortbay.jetty
>>
>> They all start at the default start level of 4 (perhaps some things might
>> need starting before others!?).
>>
>> I am confused as to how to get the Jetty server up and running again. Can
>> anyone see anything obvious or have any suggestions.
>>
>> Thanks very much,
>>
>> Seba
>
>
Re: Starting the server [message #88665 is a reply to message #88650] Wed, 23 May 2007 09:28 Go to previous message
Eclipse UserFriend
org.eclipse.equinox.http.jetty definitely needs to be started.
Normally you'd do this by either listing it as started in your launch
configuration or by explixitly adding it and starting it in your config.ini

Try starting it in the console e.g. start {bundle_id}
My bet is you'll see an exception that will help figure out what's going on.

If that doesn't help narrow down the problem attach the result of your "ss"

-Simon


"EdAcc" <s0347354@sms.ed.ac.uk> wrote in message
news:f3170a$qk7$1@build.eclipse.org...
> "ss" shows over 100 entries. What should I be looking to be
> active/installed/resolved? My web application project is only "resolved".
> org.eclipse.equinox.http.jetty_1.0.0.qualifier is also "resolved".
> org.eclipse.equinox.http.servlet etc is "active". What should I be looking
> to activate in order to start the jetty server, and what order should this
> perhaps be done in? A few months back, the server seemed to start
> automatically when i ran my launch configuration.
>
> Thanks again.
>
>
> Simon Kaegi wrote:
>> Looks ok. If you're not using RC1 you should try that.
>> What does "ss" show?
>> If everything looks started you might try walking through the Activator
>> start method in o.e.e.http.jetty.
>>
>> HTH
>> -Simon
>>
>> "EdAcc" <s0347354@sms.ed.ac.uk> wrote in message
>> news:f2snbe$l7f$1@build.eclipse.org...
>>> Hey all,
>>>
>>> I am trying to resurrect an old project but for some reason the jetty
>>> server does not start as it used to. I am using the same launch
>>> configuration as before except now, I can simply see "osgi>" come up in
>>> black text within the console whilst before, it used to bring up "osgi>"
>>> in red and eventually say something like "listening on port 80" then I
>>> could access the various servlets declared in plugin.xml. Now this does
>>> not occur. My project (that contains the various servlets, plugin.xml
>>> etc) is set to start automatically along with
>>>
>>> javax.servlet
>>> org.apache.commons.logging
>>> org.eclipse.equinox.http.jetty
>>> org.eclipse.equinox.http.registry
>>> org.eclipse.equinox.http.servlet
>>> org.mortbay.jetty
>>>
>>> They all start at the default start level of 4 (perhaps some things
>>> might need starting before others!?).
>>>
>>> I am confused as to how to get the Jetty server up and running again.
>>> Can anyone see anything obvious or have any suggestions.
>>>
>>> Thanks very much,
>>>
>>> Seba
>>
Previous Topic:Including resources by jsp include tag doesn't work!?
Next Topic:ProxyServlet finds registered servlet for invalid url!?
Goto Forum:
  


Current Time: Fri Sep 19 05:53:25 EDT 2025

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

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

Back to the top