Skip to main content



      Home
Home » Eclipse Projects » Equinox » Configure Jetty from an external file
Configure Jetty from an external file [message #89252] Fri, 01 June 2007 08:45 Go to next message
Eclipse UserFriend
Originally posted by: fireresq.embarqmail.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have an OSGi server running and would like to hand it over to my
system admin to deploy to a test server(machine). He asked me where the
jetty configuration file was located. I could not answer him because I
coded all of the configuration in the code. where do I put an external
jetty configuration file so it will be read by my code and my system
admin can configure it without going into the code?

does any one have a sample jetty configuration file?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGYBT7yHA2ZZVyicQRAuT3AJ9ahIAvyeeI7dhVHbenFtx5tat1FQCg gO+b
9g8gcFNrF5DpGP/R0gujBoE=
=P7O7
-----END PGP SIGNATURE-----
Re: Configure Jetty from an external file [message #89343 is a reply to message #89252] Fri, 01 June 2007 10:22 Go to previous message
Eclipse UserFriend
Hi Mark,

It sounds like you've been running using the embedded Jetty Http Service.
If you wanted to parameterize your use of the JettyConfigurator with an
external file you would have to write code to do that yourself.
Alternately, you could use config.ini and define system properties to
provide configuration. You do this by prefixing each of the properties in
JettyConfigurator with "org.eclipse.equinox.http.jetty."
e.g. org.eclipse.equinox.http.jetty.https.enabled=true

Another arguably better approach for the environment you're describing would
be to use the Servletbridge with whatever app servers your sys admin is
already used to running. The Servletbridge provides a different way to
launch so other than having to be repackage your stuff in a WAR file your
application should be portable to this approach.

-Simon

"Mark Russell" <fireresq@embarqmail.com> wrote in message
news:f3p4b7$e1k$1@build.eclipse.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have an OSGi server running and would like to hand it over to my
> system admin to deploy to a test server(machine). He asked me where the
> jetty configuration file was located. I could not answer him because I
> coded all of the configuration in the code. where do I put an external
> jetty configuration file so it will be read by my code and my system
> admin can configure it without going into the code?
>
> does any one have a sample jetty configuration file?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Cygwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGYBT7yHA2ZZVyicQRAuT3AJ9ahIAvyeeI7dhVHbenFtx5tat1FQCg gO+b
> 9g8gcFNrF5DpGP/R0gujBoE=
> =P7O7
> -----END PGP SIGNATURE-----
Previous Topic:jsp's are re-compiled after every tomcat restart?
Next Topic:Exception during processing of http post
Goto Forum:
  


Current Time: Tue Jul 22 14:49:33 EDT 2025

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

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

Back to the top