|
Re: getting started with eclipse server-side [message #56864 is a reply to message #56836] |
Sat, 14 January 2006 03:41 |
Eclipse User |
|
|
|
Originally posted by: skaegi.sympatico.ca
Thanks Jim,
My bad.
The missing update.configurator explains several unusual emails I've
received this week.
I've updated the bridge.war on the web site now.
--
With the update.configurator installed your problem should go away however
what you did should have worked.
From your description of the problem I suspect you're seeing a synch issue
between the config.ini in your webapp and the one in the servlet context
temp dir. You might try an "sp_redploy" as this will force a re-copy of the
contents of WEB-INF/platform before starting up again.
-Simon
"Jim D'Anjou" <danjou@us.ibm.com> wrote in message
news:028a2eac1a69b6bc4bc1b11e0724e2cb$1@www.eclipse.org...
> I am trying out the server-side package. I got it to work under Tomcat and
> tried out the various control URL's (sp_*). Very cool and fast!
>
> So I thought I would register my own "Hello World" servlet to see if it
> would work. The servlet is registered using the
> org.eclipse.equinox.servlet.ext.servlets
> extension point.
>
> When I start my server the bundle representing my servlet is not listed in
> the OSGI console.
>
> The jar'ed plugin has been deployed to the Equinox install directory:
> ..work\Catalina\localhost\bridge\platform\plugins
>
> I also requested that it be started in the config.ini
>
> And, of course, trying to run the servlet yield returns a 404
>
> The log did not indicate that it could not find the bundle to start (as it
> does with org.eclipse.update.configurator)
>
> Any suggestions, please?
>
> ---------------------------------------
> Also...
>
> org.eclipse.update.configurator was not included in the bridge.war. Any
> reason why not? I see that the config.ini is expecting it. Where I am
> going would involve lots of bundles and I would like this bundle to manage
> the installation.
>
> Thanks so much.
>
> Jim D'Anjou
>
>
>
>
|
|
|
|
|
Re: getting started with eclipse server-side [message #56995 is a reply to message #56968] |
Tue, 17 January 2006 14:17 |
Eclipse User |
|
|
|
Originally posted by: skaegi.sympatico.ca
> how do you get the osgi console running? Can you connect to a port opened
by the bridge servlet?
By default the console is connected on stdin/out of the main process.
e.g. if you launch from the shell you should see a ">osgi" at which point
you can run the various console commands
> When you try to change the config.ini the system property osgi.bundles is
already set and won't be resetted.
Yes you're right here. I originally viewed any changed to the actual webapp
as requiring a restart.
The redeploy interaction isn't sufficient in this case
e.g. To update config.ini you really need to remove the context temp dir (or
sp_redploy and then restart the server)
> I don't know whether the per instance configuration of the framework
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=105851)
> will correctly handle this.
Definitely;)
-Simon
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03870 seconds