[jetty-users] i-jetty fails to download war file

2014-09-23 Thread erin . odenweller
I've installed i-jetty successfully on a Nexus5, and in a Nexus5 emulator. I can download the sample hello.war and verify that the i-jetty installation is good. I've followed through the docs to create a very simple downloadable webapp - quite literally right now just a variation on the "hello"

Re: [jetty-users] My redirects are looping.

2014-09-23 Thread Jan Bartel
Hi Andrew, Can you describe exactly what you're trying to achieve, ie what's the problem you're trying to solve? Getting that sorted will help determine which tools you use to do it. Jan On 24 September 2014 10:03, Andrew Penhorwood wrote: > I have this context > > > "http://www.eclipse.org/j

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread David Kowis
On 09/23/2014 04:54 PM, Joakim Erdfelt wrote: > Incidentally, if you are going to use embedded fully, with no external > dependencies, why are you using annotation scanning at runtime? > Compute it at build-time and use the precomputed information at runtime. > > Might want to look into the quic

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread David Kowis
On 09/23/2014 04:52 PM, Joakim Erdfelt wrote: > Here ya go > > https://github.com/joakime/valve2/commit/62eeab9e328be37dfc09d48803e1a8d7d59c442c This is extremely handy, thanks! I would need to run multiple local servers, as that's part of the problem I'm needing to prototype out, so I'll expa

[jetty-users] My redirects are looping.

2014-09-23 Thread Andrew Penhorwood
I have this context *http://www.eclipse.org/jetty/configure_9_0.dtd ">//sites/wordmissions/www/etc/webdefault.xml www.wordmissions.org * I setup this MovedContextHan

Re: [jetty-users] Embedded Jetty + Logging - cannot log to file

2014-09-23 Thread Joakim Erdfelt
Typo... This: slf4j-api.jar- the actual log4j api jar Should be: slf4j-api.jar- the actual slf4j api jar -- Joakim Erdfelt webtide.com - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jett

Re: [jetty-users] Embedded Jetty + Logging - cannot log to file

2014-09-23 Thread Joakim Erdfelt
Ooof. OK - slf4j-jdk14 is for making slf4j output/emit jdk14 logging events. - mexp.jar is also an emitter of slf4j logging events (this is now an slf4j binding conflict) - jetty doesn't use log4j, it uses its own StdErrLog (emit to System.err), or Slf4jLog (if slf4j is present,

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread Joakim Erdfelt
Incidentally, if you are going to use embedded fully, with no external dependencies, why are you using annotation scanning at runtime? Compute it at build-time and use the precomputed information at runtime. Might want to look into the quickstart stuff in Jetty 9. -- Joakim Erdfelt webtide.com

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread Joakim Erdfelt
Here ya go https://github.com/joakime/valve2/commit/62eeab9e328be37dfc09d48803e1a8d7d59c442c -- Joakim Erdfelt webtide.com - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue, Sep 23, 2014

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread David Kowis
On 09/23/2014 04:21 PM, David Kowis wrote: > On 09/23/2014 04:05 PM, Joakim Erdfelt wrote: >> So I took your project, cloned it, made no changes, built it, ran it, >> and I do not get your error. >> >> http://pastebin.com/0Lnca9Bn > > Yep, running as a standalone war file in jetty always worked, t

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread David Kowis
On 09/23/2014 04:05 PM, Joakim Erdfelt wrote: > So I took your project, cloned it, made no changes, built it, ran it, > and I do not get your error. > > http://pastebin.com/0Lnca9Bn Yep, running as a standalone war file in jetty always worked, that's not broke at all. Try checking out the warDep

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread Joakim Erdfelt
Incidentally, you should fix your slf4j setup, its mangled right now, attempting to log to multiple outputs. -- Joakim Erdfelt webtide.com - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty - cometd.org On Tue

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread Joakim Erdfelt
So I took your project, cloned it, made no changes, built it, ran it, and I do not get your error. http://pastebin.com/0Lnca9Bn -- Joakim Erdfelt webtide.com - intalio.com/jetty Expert advice, services and support from from the Jetty & CometD experts eclipse.org/jetty

[jetty-users] Embedded Jetty + Logging - cannot log to file

2014-09-23 Thread Dunn, Barclay
Hello list, I'm using embedded Jetty and I want my application to log to a file. I am okay with Jetty logging its output to stdout. I have a log4j.xml config file that is clearly being imported but the app isn't heeding the instructions in log4j.xml. Here's my embedded-Jetty runner (abridged):

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread David Kowis
On 09/23/2014 02:39 PM, Joakim Erdfelt wrote: > A few things. > You seem to be grasping at straws in your code. Sadly, this is somewhat true, I have a few questions regarding the suggestions. > > First, you'll need a proper set of WebAppContext configurations > (declared all of them, in the corr

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread Joakim Erdfelt
A few things. You seem to be grasping at straws in your code. First, you'll need a proper set of WebAppContext configurations (declared all of them, in the correct order) Example: https://github.com/jetty-project/embedded-servlet-3.1/blob/master/src/test/java/org/eclipse/jetty/demo/EmbedMe.java#L2

Re: [jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread David Kowis
On 09/23/2014 12:58 PM, David Kowis wrote: > I found this thread: > http://dev.eclipse.org/mhonarc/lists/jetty-users/msg04587.html I found a couple more things: http://www.eclipse.org/jetty/documentation/current/jetty-classloading.html So now I've got an additional commit: a44cb9a9a5437fd1eee60d6

[jetty-users] Having trouble using Embedded Jetty and WebApplicationInitializer with a WarFile deployment

2014-09-23 Thread David Kowis
I found this thread: http://dev.eclipse.org/mhonarc/lists/jetty-users/msg04587.html It gets me part of the way there, but I'm not deploying using a directory, I'm deploying using an existing war file. Jetty Version: 9.2.3.v20140905 I tried setting: (note this is Scala, but it doesn't really mat

Re: [jetty-users] https best practices

2014-09-23 Thread Marcos Cano
thaks for the quick response, im also curious about SPDY protocol can you point me what tutorial/instructions you followed? On Tue, Sep 23, 2014 at 11:18 AM, Paul Houle wrote: > I think it is up to you. > > I recently set up a Jetty server with a security certificate and using the > SPDY protoco

Re: [jetty-users] https best practices

2014-09-23 Thread Paul Houle
I think it is up to you. I recently set up a Jetty server with a security certificate and using the SPDY protocol, which is an extension to https; this was not much more work than a plain https installation and it seemed to me that the https setup for Jetty was about the same in complexity as Ap

[jetty-users] https best practices

2014-09-23 Thread Marcos Cano
hello curretnly im running my web service inside jetty 9.0.2.v20130417. and apache as a reverse proxy. ( what\ are the best practices that will let me run https in my whole site? will it be better if I configure https inside Jetty? or if i configure it in apache?

Re: [jetty-users] 302 Redirect loop prevents user from reaching login success page

2014-09-23 Thread Joakim Erdfelt
That chunk of code is for compensating for a very specific use case. One where the request path matches the declared contextPath exactly, is not a root context, and you don't allow null pathInfo values. See: http://download.eclipse.org/jetty/stable-9/apidocs/org/eclipse/jetty/server/handler/Conte

Re: [jetty-users] 302 Redirect loop prevents user from reaching login success page

2014-09-23 Thread Dunn, Barclay
Hi list, In my situation the issue arose because of cookies and the fact that for our testing env's fully qualified domain name includes a ".cluster". To expedite issues I have /etc/resolve.conf file that allows the browser to include searches in the cluster when resolving domain names, but - a

Re: [jetty-users] time out

2014-09-23 Thread Oscar Jorge Pérez Pérez
Hi Andrea, Yes, I will take a look to it. Thanks 2014-09-23 16:36 GMT+02:00 Andrea Cappelli : > > > 2014-09-23 16:21 GMT+02:00 Oscar Jorge Pérez Pérez >: > >> yes, I will try to take a detailed look to any instance parameter. >> > > If you use ELB I'll start from this service. AFAIK recen

Re: [jetty-users] time out

2014-09-23 Thread Andrea Cappelli
2014-09-23 16:21 GMT+02:00 Oscar Jorge Pérez Pérez : > yes, I will try to take a detailed look to any instance parameter. > If you use ELB I'll start from this service. AFAIK recently Amazon introduced the capbility of configure timeout for this service insice admin console (before you have t

Re: [jetty-users] time out

2014-09-23 Thread Oscar Jorge Pérez Pérez
yes, I will try to take a detailed look to any instance parameter. Thanks 2014-09-23 16:09 GMT+02:00 Joakim Erdfelt : > With Amazon you have to be aware of the timeouts that Amazon's own network > services also apply to your webapp. > This is outside of Jetty, and cannot be configured by Jetty.

Re: [jetty-users] time out

2014-09-23 Thread Joakim Erdfelt
With Amazon you have to be aware of the timeouts that Amazon's own network services also apply to your webapp. This is outside of Jetty, and cannot be configured by Jetty. Look into consoles at Amazon that you have, there will be a few timeouts parameters that you should adjust to suit your needs p

Re: [jetty-users] time out

2014-09-23 Thread Oscar Jorge Pérez Pérez
Thanks for both responses, Linux I am using is from Amazon (Amazon Linux AMI release 2013), maybe is some default timeout value of those instances. Best regards Oscar J. Perez 2014-09-23 15:23 GMT+02:00 Michael Dykman : > Try hitting your application with curl or some other command line tool

[jetty-users] moved resource

2014-09-23 Thread Andrew Penhorwood
I am using Jetty 9.2.3. I have a number of domains that I want to redirect to the www version. For example: wordmissions.org towww.wordmissions.org But I also want to redirect these domains to the www.wordmissions.org domain too. *.wordmissions.com *.wordmissions.net I read this page: h

Re: [jetty-users] time out

2014-09-23 Thread Michael Dykman
Try hitting your application with curl or some other command line tool where you can control the client time out. I think that will indicate that Jetty is not the problem. It is likely a Chrome policy for remote servers. On 23 Sep 2014 09:06, "Jesse McConnell" wrote: > I would recommend running

Re: [jetty-users] time out

2014-09-23 Thread Jesse McConnell
I would recommend running a recent version, 9.2.3v20140905 being the most recent. Asking for support related to a release candidate from a year and a half ago is unlikely to garner much of a response. :) cheers, Jesse -- jesse mcconnell jesse.mcconn...@gmail.com On Tue, Sep 23, 2014 at 6:02 AM,

[jetty-users] time out

2014-09-23 Thread Oscar Jorge Pérez Pérez
Hello, I am using jetty-distribution-9.0.0.RC2 and I have a doubt regarding it. Configuration is almost default provided. Currently I deploy that distribution in Linux and Windows environment. Locally is Windows and is working fine (I am using Jersey 1.2). Problem is: In my local windows one requ

Re: [jetty-users] jetty native memory leak

2014-09-23 Thread dhiraj prajapati
Hi, The problem seems to be solved after upgrading jetty to version 9.2 Thanks, Dhiraj Prajapati On 24 Jun 2014 16:37, "Simone Bordet" wrote: > Hi, > > On Tue, Jun 24, 2014 at 12:52 PM, dhiraj prajapati > wrote: > > Hi, > > I used jstack to take the thread dumps. > > PFA the thread dumps taken