Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Jetty server hook for configuration(I want to configure the jetty server embedded in our scout server)
Jetty server hook for configuration [message #1385703] Tue, 10 June 2014 14:49 Go to next message
Serano Colameo is currently offline Serano ColameoFriend
Messages: 5
Registered: October 2012
Junior Member
Hi Scout Community,

I want to configure jetty in our scout server project.

The idea is to have just one web.xml (targer of our ear is WebSphere).

Mainly we need to do something like this:

Server server = new Server(8085);
WebAppContext webContext = new WebAppContext();

Any suggestions where to put the above code in scout server?

Re: Jetty server hook for configuration [message #1385940 is a reply to message #1385703] Thu, 12 June 2014 11:42 Go to previous message
Andreas Hoegger is currently offline Andreas HoeggerFriend
Messages: 186
Registered: February 2010
Senior Member
Hi Serano,

I do not understand the need to start a second server from a server application. Nevertheless I assume the server should be started exactly once on start of the scout server. In this case the place to put the code is
[your fully qualified app name].server.ServerApplication.start(IApplicationContext)

Probably a good way is to configure jetty to take your web.xml (Framework Jetty OSGi).


Previous Topic:Column Filter in TablePages when table is scrolled
Next Topic:Indicating in execStore() that the form is not stored.
Goto Forum:

Current Time: Tue May 26 18:35:57 GMT 2020

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

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

Back to the top