Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » How to use Eclipses embedded AppServer
How to use Eclipses embedded AppServer [message #474842] Fri, 21 November 2008 17:24 Go to next message
Andrew Boyd is currently offline Andrew BoydFriend
Messages: 25
Registered: July 2009
Junior Member
I have a war file that currently runs on an external app server. I would
like to run it on Eclipses’ (our RCP) embedded app server.

I’m not sure of the following:
1) How do I package it in the plug-in? Can I just stick the war in
it? Is there a certain dir structure?
2) What changes do I need to make to the embedded app server? Do I
need to change the web.xml?

Any pointers would be greatly appreciated.

Thanks for your time,

Andrew
Re: How to use Eclipses embedded AppServer [message #474852 is a reply to message #474842] Fri, 21 November 2008 22:32 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Can you clarify what you are wanting to do. Are you looking to create an
application which simultaneously has the Eclipse help system and your
war file running on the same port or are you just looking to create an
RCP application which can also host your web application?


Andrew Boyd wrote:
> I have a war file that currently runs on an external app server. I
> would like to run it on Eclipses� (our RCP) embedded app server.
> I�m not sure of the following: 1) How do I package it in the
> plug-in? Can I just stick the war in it? Is there a certain dir
> structure? 2) What changes do I need to make to the embedded app
> server? Do I need to change the web.xml?
> Any pointers would be greatly appreciated.
> Thanks for your time,
> Andrew
>
>
Re: How to use Eclipses embedded AppServer [message #474884 is a reply to message #474852] Mon, 24 November 2008 16:02 Go to previous messageGo to next message
Andrew Boyd is currently offline Andrew BoydFriend
Messages: 25
Registered: July 2009
Junior Member
Chris Goldthorpe wrote:

> Can you clarify what you are wanting to do. Are you looking to create an
> application which simultaneously has the Eclipse help system and your
> war file running on the same port or are you just looking to create an
> RCP application which can also host your web application?


I am trying to have an RCP that can have several webapps running on the
same port with different contexts that uses the internal appserver. I am
using the 3.4 Eclipse build.
Re: How to use Eclipses embedded AppServer [message #474885 is a reply to message #474884] Tue, 25 November 2008 18:43 Go to previous messageGo to next message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
While this seems like an obvious thing to want to do but I'm not sure
that the Equinox web server supports this. The help system is launched
in org.eclipse.help.internal.server.WebappManager.start(String) and it
uses JettyConfigurator.start() to start the server. I don't believe
there is any API to start two contexts on the same port, or add a second
context to an existing server instance. This has been requested before
and I thought there was a bug already open but I didn't see one when I
did a quick search.

Andrew Boyd wrote:
> Chris Goldthorpe wrote:
>
>> Can you clarify what you are wanting to do. Are you looking to create
>> an application which simultaneously has the Eclipse help system and
>> your war file running on the same port or are you just looking to
>> create an RCP application which can also host your web application?
>
>
> I am trying to have an RCP that can have several webapps running on the
> same port with different contexts that uses the internal appserver. I
> am using the 3.4 Eclipse build.
>
Re: How to use Eclipses embedded AppServer [message #474887 is a reply to message #474885] Mon, 01 December 2008 16:17 Go to previous message
Andrew Boyd is currently offline Andrew BoydFriend
Messages: 25
Registered: July 2009
Junior Member
Chis,
I think the bug# https://bugs.eclipse.org/bugs/show_bug.cgi?id=204465
addresses this issue.
Re: How to use Eclipses embedded AppServer [message #622237 is a reply to message #474842] Fri, 21 November 2008 22:32 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
Can you clarify what you are wanting to do. Are you looking to create an
application which simultaneously has the Eclipse help system and your
war file running on the same port or are you just looking to create an
RCP application which can also host your web application?


Andrew Boyd wrote:
> I have a war file that currently runs on an external app server. I
> would like to run it on Eclipses� (our RCP) embedded app server.
> I�m not sure of the following: 1) How do I package it in the
> plug-in? Can I just stick the war in it? Is there a certain dir
> structure? 2) What changes do I need to make to the embedded app
> server? Do I need to change the web.xml?
> Any pointers would be greatly appreciated.
> Thanks for your time,
> Andrew
>
>
Re: How to use Eclipses embedded AppServer [message #622615 is a reply to message #474852] Mon, 24 November 2008 16:02 Go to previous message
Andrew Boyd is currently offline Andrew BoydFriend
Messages: 25
Registered: July 2009
Junior Member
Chris Goldthorpe wrote:

> Can you clarify what you are wanting to do. Are you looking to create an
> application which simultaneously has the Eclipse help system and your
> war file running on the same port or are you just looking to create an
> RCP application which can also host your web application?


I am trying to have an RCP that can have several webapps running on the
same port with different contexts that uses the internal appserver. I am
using the 3.4 Eclipse build.
Re: How to use Eclipses embedded AppServer [message #622616 is a reply to message #474884] Tue, 25 November 2008 18:43 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
While this seems like an obvious thing to want to do but I'm not sure
that the Equinox web server supports this. The help system is launched
in org.eclipse.help.internal.server.WebappManager.start(String) and it
uses JettyConfigurator.start() to start the server. I don't believe
there is any API to start two contexts on the same port, or add a second
context to an existing server instance. This has been requested before
and I thought there was a bug already open but I didn't see one when I
did a quick search.

Andrew Boyd wrote:
> Chris Goldthorpe wrote:
>
>> Can you clarify what you are wanting to do. Are you looking to create
>> an application which simultaneously has the Eclipse help system and
>> your war file running on the same port or are you just looking to
>> create an RCP application which can also host your web application?
>
>
> I am trying to have an RCP that can have several webapps running on the
> same port with different contexts that uses the internal appserver. I
> am using the 3.4 Eclipse build.
>
Re: How to use Eclipses embedded AppServer [message #622618 is a reply to message #474885] Mon, 01 December 2008 16:17 Go to previous message
Andrew Boyd is currently offline Andrew BoydFriend
Messages: 25
Registered: July 2009
Junior Member
Chis,
I think the bug# https://bugs.eclipse.org/bugs/show_bug.cgi?id=204465
addresses this issue.
Previous Topic:User Assistance Tips and Tricks
Next Topic:How to get Intro page formatted like Overview one
Goto Forum:
  


Current Time: Fri Mar 29 06:01:53 GMT 2024

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

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

Back to the top