Skip to main content



      Home
Home » Eclipse Projects » Equinox » Equinox on a servlet
Equinox on a servlet [message #91805] Mon, 09 July 2007 10:47 Go to next message
Eclipse UserFriend
Originally posted by: sebastian.kriese.de.ibm.com

Hi,

i try to run an equinox runtime within WebSphere Application Server.

I followed the equinox tutorial and i created a WAR file including my
bundles. I deployed this file and all my bundles started (i want to run
a microbroker within the application server).

Now i want to integrate knopflerfish http-console for advanced managing
functionality (starting/stopping bundles) but it does not work.

So what are the tasks to integrate this in my WAR archive? And how can i
access this http-console?


Many thanks in advance!!!
Re: Equinox on a servlet [message #91823 is a reply to message #91805] Mon, 09 July 2007 12:58 Go to previous message
Eclipse UserFriend
Hi Sebastian,

"Sebastian Kriese" <sebastian.kriese@de.ibm.com> wrote in message
news:f6thq6$cku$1@build.eclipse.org...
> Hi,
>
> i try to run an equinox runtime within WebSphere Application Server.
>
> I followed the equinox tutorial and i created a WAR file including my
> bundles. I deployed this file and all my bundles started (i want to run a
> microbroker within the application server).
>
> Now i want to integrate knopflerfish http-console for advanced managing
> functionality (starting/stopping bundles) but it does not work.
>

"advanced managing" ;) -- the regular osgi console is a lot more powerful,
if a little less attractive.

Can you give a bit more info here.
First, are you seeing the kconsole bundle starting correctly in the regular
console?
Which version of the bundle are you using?

I ask because I know the version maintained at KF uses absolute URLs and
depend on an Http Service that registers resources at the root.
In a servlet container you're generally operating in a context so it might
take a little work to get the console working under the servletbridge.
A few years ago I made some changes to use relative URLs however i don't
believe they are incorporated in the KF release and the changes are not
formally maintained.
The right way to do this would be to chase this down and get the KF guys to
correct this.

An wasy workaround is to install the bridge webapp in the "root" context or
using the embedded Jetty Http Service that's included in 3.3 until you're
comfortable looking at making the changes yourself in the KF console.

--

> So what are the tasks to integrate this in my WAR archive? And how can i
> access this http-console?
Adding any bundle should just be a matter of dropping it in the plugins
folder and either start it manually in the console or add an entry in your
config.ini to start it automatically.

HTH
-Simon
Previous Topic:Bundle-NativeCode and LD_LIBRARY_PATH
Next Topic:Best practices for dependency management
Goto Forum:
  


Current Time: Sat Jul 26 03:05:56 EDT 2025

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

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

Back to the top