Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » same osgi application in differnt tomcat contexts
same osgi application in differnt tomcat contexts [message #107769] Wed, 09 April 2008 08:24 Go to next message
Eclipse UserFriend
Originally posted by: christian.wiedemann.key-tec.de

Hi,
i want to use the same osgi equinox application in the same tomcat in
differnt tomcat context. Each customer should get his own application with
differnt configuration.
So the question is. is there allways the same osgi framework in the
background or for each tomcat context an own osgi framework? Or how to deal
with this point?

thanks
Christian
Re: same osgi application in differnt tomcat contexts [message #107811 is a reply to message #107769] Wed, 09 April 2008 15:36 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Christian,
If you're using the servletbridge then each webapp gets its own "private"
instance of Equinox so there is no sharing across frameworks.
There is early talk at the OSGi association about providing something along
the lines of application level scoping however nothing concrete yet.
For now, I'd suggest working with a framework instance per customer/context.

HTH
-Simon

"Christian Wiedemann" <christian.wiedemann@key-tec.de> wrote in message
news:fthug4$nj6$1@build.eclipse.org...
> Hi,
> i want to use the same osgi equinox application in the same tomcat in
> differnt tomcat context. Each customer should get his own application with
> differnt configuration.
> So the question is. is there allways the same osgi framework in the
> background or for each tomcat context an own osgi framework? Or how to
> deal with this point?
>
> thanks
> Christian
>
>
Re: same osgi application in differnt tomcat contexts [message #107823 is a reply to message #107811] Wed, 09 April 2008 16:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: christian.wiedemann.key-tec.de

Hi,

thanks fort he answer. Yes i use the servlet bridge. how can i access each
equinox framework from console (or somehow else).

"ss" lists all bundles once. an bundle with the same version is just shown
once. So how can i control(start/stop) an bundle in an framework?



thanks a lot

Christian

"Simon Kaegi" <simon_kaegi@ca.ibm.com> schrieb im Newsbeitrag
news:ftinqe$ko7$1@build.eclipse.org...
> Hi Christian,
> If you're using the servletbridge then each webapp gets its own "private"
> instance of Equinox so there is no sharing across frameworks.
> There is early talk at the OSGi association about providing something
> along the lines of application level scoping however nothing concrete yet.
> For now, I'd suggest working with a framework instance per
> customer/context.
>
> HTH
> -Simon
>
> "Christian Wiedemann" <christian.wiedemann@key-tec.de> wrote in message
> news:fthug4$nj6$1@build.eclipse.org...
>> Hi,
>> i want to use the same osgi equinox application in the same tomcat in
>> differnt tomcat context. Each customer should get his own application
>> with differnt configuration.
>> So the question is. is there allways the same osgi framework in the
>> background or for each tomcat context an own osgi framework? Or how to
>> deal with this point?
>>
>> thanks
>> Christian
>>
>>
>
>
Re: same osgi application in differnt tomcat contexts [message #107834 is a reply to message #107823] Wed, 09 April 2008 18:26 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
The consoles are also independent. By default the console work of
stdin/stdout.
If you want to use the console with more than one instance of Equinox
started use a different port eg. "-console 777" for each instance.

-Simon

"Christian Wiedemann" <christian.wiedemann@key-tec.de> wrote in message
news:ftir20$nh2$1@build.eclipse.org...
> Hi,
>
> thanks fort he answer. Yes i use the servlet bridge. how can i access each
> equinox framework from console (or somehow else).
>
> "ss" lists all bundles once. an bundle with the same version is just shown
> once. So how can i control(start/stop) an bundle in an framework?
>
>
>
> thanks a lot
>
> Christian
>
> "Simon Kaegi" <simon_kaegi@ca.ibm.com> schrieb im Newsbeitrag
> news:ftinqe$ko7$1@build.eclipse.org...
>> Hi Christian,
>> If you're using the servletbridge then each webapp gets its own "private"
>> instance of Equinox so there is no sharing across frameworks.
>> There is early talk at the OSGi association about providing something
>> along the lines of application level scoping however nothing concrete
>> yet.
>> For now, I'd suggest working with a framework instance per
>> customer/context.
>>
>> HTH
>> -Simon
>>
>> "Christian Wiedemann" <christian.wiedemann@key-tec.de> wrote in message
>> news:fthug4$nj6$1@build.eclipse.org...
>>> Hi,
>>> i want to use the same osgi equinox application in the same tomcat in
>>> differnt tomcat context. Each customer should get his own application
>>> with differnt configuration.
>>> So the question is. is there allways the same osgi framework in the
>>> background or for each tomcat context an own osgi framework? Or how to
>>> deal with this point?
>>>
>>> thanks
>>> Christian
>>>
>>>
>>
>>
>
>
Previous Topic:Equinox base Application/Applet
Next Topic:Deploying Bridge.war on Tomcat
Goto Forum:
  


Current Time: Thu Apr 25 19:29:20 GMT 2024

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

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

Back to the top