You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Saminda Wijeratne <sa...@wso2.com> on 2009/04/27 13:27:24 UTC

Having tomcat as an OSGi bundle

Hi,

Is there an OSGI bundle available embedding tomcat? I want to start tomcat
inside an OSGI environment.

Thank you,
Saminda

Re: Having tomcat as an OSGi bundle

Posted by Mark Thomas <ma...@apache.org>.
jochen wrote:
> Will tomcat 7 support OSGI?

There are no plans for this I am aware of.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having tomcat as an OSGi bundle

Posted by jochen <so...@gmail.com>.
spring dm seems to be good at OSGI web container, but the integration with
tomcat is quite complicated and it took us long time on troubleshooting, it
was not easy way to work it out.
Will tomcat 7 support OSGI? any one can confirm this message? I heard
someone mentioned this.

On Tue, Apr 28, 2009 at 2:48 PM, Saminda Wijeratne <sa...@wso2.com>wrote:

> thanx Mark I will look at the dm server. I'm pressuming that the mail
> thread
> [1] is infact a dead end for the tomcat osgi bundle.
>
> Thank you,
> Saminda
>
> [1] http://marc.info/?l=tomcat-dev&m=120966097004938&w=2
>
> On Mon, Apr 27, 2009 at 5:59 PM, Mark Thomas <ma...@apache.org> wrote:
>
> > Saminda Wijeratne wrote:
> > > I saw a mail thread talking abt osgifying tomcat. but couldn't really
> > > determine at the end whether it worked out or not.
> >
> > Nothing happened in the Tomcat project.
> >
> > Try Googling for "dm Server"
> > (full disclosure: I work for Spring)
> >
> > Mark
> >
> > >
> > > On Mon, Apr 27, 2009 at 5:25 PM, Pid <p...@pidster.com> wrote:
> > >
> > >> Saminda Wijeratne wrote:
> > >>> Hi,
> > >>>
> > >>> Is there an OSGI bundle available embedding tomcat? I want to start
> > >> tomcat
> > >>> inside an OSGI environment.
> > >> Not that I've heard of.
> > >>
> > >> p
> > >>
> > >>
> > >>> Thank you,
> > >>> Saminda
> > >>>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > >> For additional commands, e-mail: users-help@tomcat.apache.org
> > >>
> > >>
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
>

Re: Having tomcat as an OSGi bundle

Posted by Mark Thomas <ma...@apache.org>.
Saminda Wijeratne wrote:
> thanx Mark I will look at the dm server. I'm pressuming that the mail thread
> [1] is infact a dead end for the tomcat osgi bundle.

I wouldn't call it a dead end. There was some agreement on possible ways
forward. However, no-one followed up and provided patches. The possibility still
exists to provide patches.

Mark

> 
> Thank you,
> Saminda
> 
> [1] http://marc.info/?l=tomcat-dev&m=120966097004938&w=2


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having tomcat as an OSGi bundle

Posted by Saminda Wijeratne <sa...@wso2.com>.
thanx Mark I will look at the dm server. I'm pressuming that the mail thread
[1] is infact a dead end for the tomcat osgi bundle.

Thank you,
Saminda

[1] http://marc.info/?l=tomcat-dev&m=120966097004938&w=2

On Mon, Apr 27, 2009 at 5:59 PM, Mark Thomas <ma...@apache.org> wrote:

> Saminda Wijeratne wrote:
> > I saw a mail thread talking abt osgifying tomcat. but couldn't really
> > determine at the end whether it worked out or not.
>
> Nothing happened in the Tomcat project.
>
> Try Googling for "dm Server"
> (full disclosure: I work for Spring)
>
> Mark
>
> >
> > On Mon, Apr 27, 2009 at 5:25 PM, Pid <p...@pidster.com> wrote:
> >
> >> Saminda Wijeratne wrote:
> >>> Hi,
> >>>
> >>> Is there an OSGI bundle available embedding tomcat? I want to start
> >> tomcat
> >>> inside an OSGI environment.
> >> Not that I've heard of.
> >>
> >> p
> >>
> >>
> >>> Thank you,
> >>> Saminda
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: Having tomcat as an OSGi bundle

Posted by Mark Thomas <ma...@apache.org>.
Saminda Wijeratne wrote:
> I saw a mail thread talking abt osgifying tomcat. but couldn't really
> determine at the end whether it worked out or not.

Nothing happened in the Tomcat project.

Try Googling for "dm Server"
(full disclosure: I work for Spring)

Mark

> 
> On Mon, Apr 27, 2009 at 5:25 PM, Pid <p...@pidster.com> wrote:
> 
>> Saminda Wijeratne wrote:
>>> Hi,
>>>
>>> Is there an OSGI bundle available embedding tomcat? I want to start
>> tomcat
>>> inside an OSGI environment.
>> Not that I've heard of.
>>
>> p
>>
>>
>>> Thank you,
>>> Saminda
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Having tomcat as an OSGi bundle

Posted by Saminda Wijeratne <sa...@wso2.com>.
I saw a mail thread talking abt osgifying tomcat. but couldn't really
determine at the end whether it worked out or not.

On Mon, Apr 27, 2009 at 5:25 PM, Pid <p...@pidster.com> wrote:

> Saminda Wijeratne wrote:
> > Hi,
> >
> > Is there an OSGI bundle available embedding tomcat? I want to start
> tomcat
> > inside an OSGI environment.
>
> Not that I've heard of.
>
> p
>
>
> > Thank you,
> > Saminda
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: web interface for tomcat service

Posted by Venky Vasant <ve...@yahoo.com>.
Actually not . i generally start/stop on windows services utility but wanted know if it can be done on web interface like tomcat manager .

Regards
Venkat




________________________________
From: Martin Gainty <mg...@hotmail.com>
To: Tomcat Users List <us...@tomcat.apache.org>
Sent: Monday, April 27, 2009 7:14:57 PM
Subject: RE: web interface for tomcat service


I'm assuming you want to start TC from within your IDE?

Eclipse IDE 
http://www.ibm.com/developerworks/library/os-ectom/

and Netbeans 
http://www.theserverside.com/discussions/thread.tss?thread_id=19934

Either option allows you to start TC within IDE

is this what your'e looking for?
Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité 
This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.






> Date: Mon, 27 Apr 2009 06:32:15 -0700
> From: venkatrch@yahoo.com
> Subject: web interface for tomcat service
> To: users@tomcat.apache.org
> 
> Is there a way i can start/stop tomcat service  through a web interface which is right now setup as a service .. 
> 
> Thanks
> Venkat
> 
> 
>      

_________________________________________________________________
Rediscover Hotmail®: Get e-mail storage that grows with you. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009


      

Re: web interface for tomcat service

Posted by S Arvind <ar...@gmail.com>.
Martin , Venkat is not aking about IDE , he is asking such as  webmin or
tomcat manager kind... so that he can restart the remote tomcat service..

-Arvind S

*
"Many of lifes failure are people who did not realize how close they were to
success when they gave up."
-Thomas Edison*


On Mon, Apr 27, 2009 at 7:14 PM, Martin Gainty <mg...@hotmail.com> wrote:

>
> I'm assuming you want to start TC from within your IDE?
>
> Eclipse IDE
> http://www.ibm.com/developerworks/library/os-ectom/
>
> and Netbeans
> http://www.theserverside.com/discussions/thread.tss?thread_id=19934
>
> Either option allows you to start TC within IDE
>
> is this what your'e looking for?
> Martin
> ______________________________________________
> Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note
> de déni et de confidentialité
> This message is confidential. If you should not be the intended receiver,
> then we ask politely to report. Each unauthorized forwarding or
> manufacturing of a copy is inadmissible. This message serves only for the
> exchange of information and has no legal binding effect. Due to the easy
> manipulation of emails we cannot take responsibility over the the contents.
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
> destinataire prévu, nous te demandons avec bonté que pour satisfaire
> informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
> de ceci est interdite. Ce message sert à l'information seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>
>
> > Date: Mon, 27 Apr 2009 06:32:15 -0700
> > From: venkatrch@yahoo.com
> > Subject: web interface for tomcat service
> > To: users@tomcat.apache.org
> >
> > Is there a way i can start/stop tomcat service  through a web interface
> which is right now setup as a service ..
> >
> > Thanks
> > Venkat
> >
> >
> >
>
> _________________________________________________________________
> Rediscover Hotmail®: Get e-mail storage that grows with you.
>
> http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009
>

RE: web interface for tomcat service

Posted by Martin Gainty <mg...@hotmail.com>.
I'm assuming you want to start TC from within your IDE?

Eclipse IDE 
http://www.ibm.com/developerworks/library/os-ectom/

and Netbeans 
http://www.theserverside.com/discussions/thread.tss?thread_id=19934

Either option allows you to start TC within IDE

is this what your'e looking for?
Martin 
______________________________________________ 
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité 
This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents.
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.






> Date: Mon, 27 Apr 2009 06:32:15 -0700
> From: venkatrch@yahoo.com
> Subject: web interface for tomcat service
> To: users@tomcat.apache.org
> 
> Is there a way i can start/stop tomcat service  through a web interface which is right now setup as a service .. 
> 
> Thanks
> Venkat
> 
> 
>       

_________________________________________________________________
Rediscover Hotmail®: Get e-mail storage that grows with you. 
http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009

Re: web interface for tomcat service

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Venky,

On 4/27/2009 10:12 AM, Venky Vasant wrote:
> Its windows.. the reasons are one of our deployment server is also
> some kind of network server where i cant login and depend on some one
> else to do this for me everytime i have restart.

You will need some other kind of server to manage Tomcat, then. Are you
running Apache httpd? If not, you'll want something like httpd (or even
a second Tomcat instance) that can react to your requests by re-starting
Tomcat for you.

A simple .bat written for Windows should be runnable through httpd, or
you could write all the nasty Java required to kill the running Tomcat
(basically, run bin/shutdown.bat) and then start Tomcat again
(bin/startup.bat). Don't forget to pause for a few seconds before you
restart Tomcat or odd things may happen.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkn102oACgkQ9CaO5/Lv0PD42gCguwgv0L5NO5xSFEK3mnTKdpRt
uawAnig70s66L5ATNLy9ZHHBXkyBqiQn
=F7Sg
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: web interface for tomcat service

Posted by Venky Vasant <ve...@yahoo.com>.
Its windows.. the reasons are one of our deployment server is also some kind of network server where i cant login and depend on some one else to do this for me everytime i have restart.   

Regards
Venkat


________________________________
From: André Warnier <aw...@ice-sa.com>
To: Tomcat Users List <us...@tomcat.apache.org>
Sent: Monday, April 27, 2009 7:32:26 PM
Subject: Re: web interface for tomcat service

Venky Vasant wrote:
> Is there a way i can start/stop tomcat service  through a web interface which is right now setup as a service .. 
Maybe.
Now if you were as kind as indicating which Tomcat you are talking about, under which kind of platform, you may get better answers.
Maybe also a word or two about why you want to be able to do that ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


      

Re: web interface for tomcat service

Posted by André Warnier <aw...@ice-sa.com>.
Venky Vasant wrote:
> Is there a way i can start/stop tomcat service  through a web interface which is right now setup as a service .. 
> 
Maybe.
Now if you were as kind as indicating which Tomcat you are talking 
about, under which kind of platform, you may get better answers.
Maybe also a word or two about why you want to be able to do that ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


web interface for tomcat service

Posted by Venky Vasant <ve...@yahoo.com>.
Is there a way i can start/stop tomcat service  through a web interface which is right now setup as a service .. 

Thanks
Venkat


      

Re: Having tomcat as an OSGi bundle

Posted by Pid <p...@pidster.com>.
Saminda Wijeratne wrote:
> Hi,
> 
> Is there an OSGI bundle available embedding tomcat? I want to start tomcat
> inside an OSGI environment.

Not that I've heard of.

p


> Thank you,
> Saminda
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org