Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] various problems with embedded jetty (in web app)

Hi Jan,
Nice, it corrects the problem of hot deployment of jsps and the jsp-config from the web.xml
Could it be integrated in the RC1 (or an RC2) so people using range version of jetty can get it? Actually the latest version seems to be RC1 in the maven-metadata file, so if I don't explicit that I want the 8.1.0-SNAPSHOT I can't get it.

Also do you have some clue on the difference of the memory load in RAM between windows and linux?
However, it has maybe nothing do with jetty...

Kind regards,
Eugen

2011/12/22 Jan Bartel <janb@xxxxxxxxxxx>
Fix checked in to trunk. I've also pushed a new snapshot distribution here:
https://oss.sonatype.org/content/groups/jetty/org/eclipse/jetty/jetty-distribution/8.1.0-SNAPSHOT/

Please select and download the snapshot with the most recent date on
it and try it out - the jsp config should now be working.

Jan

On 22 December 2011 16:08, Jan Bartel <janb@xxxxxxxxxxx> wrote:
> Ooops. The jsp problem is a bug in jetty-8's handling of the
> jsp-config element. Specifically, we're not returning it for the new
> ServletContext.getJspConfigDescriptor() method, which jasper in
> jetty-8 relies on.
>
> I've opened this bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=367383
>
> Should have a fix for you shortly.
>
> Jan
>
> On 22 December 2011 08:50, Eugen Cepoi <cepoi.eugen@xxxxxxxxx> wrote:
>> Hi all,
>>
>> I have a couple of problems and need your help and some recommendations on
>> embedding jetty in a web app.
>> I don't want to use maven to run it (no jetty:run) and I also don't want to
>> use the start jar provided. As I want the war to be self sufficient.
>> To do so I have, implemented 2 classes for embedding jetty:
>>                     - one is the "production" server main class, that will
>> be moved to the root of the war,
>>                     - the other is an implementation with hot deploy enabled
>> to run during development (from eclipse for example).
>> And configured a pom for maven to produce the executable war (I use shade
>> plugin to build it and choose only the needed artifacts to be copied at the
>> root and deleted them from the WEB-INF/lib).
>>
>> Most of the things work fine except :
>>                     - If I use jetty 8 the jsp-config in web.xml doesn't
>> seem to be recognised, if I go back to jetty 7 and servlet 2.5 it's ok.
>> However I would like to use jetty 8... am I missing something? I am using
>> glassfishs implementations.
>>
>>                     - Second problem. When I am using my development
>> implementation of the server I have nullpointerexception in
>> JstlBaseTLV.validate after a hot deploy of a jsp. If I look at the code, I
>> can see that the initParameters map is null. Do you have any clue on how I
>> could solve this problem? This one is pretty annoying...
>>
>>                     - Last problem, when I am running the server on debian
>> linux the app takes twice as much memory as in windows xp... does someone
>> already had this kind of problem?
>>
>> I am joining to the mail an extract of the pom and the two simplified server
>> classes.
>> Thank you for your help.
>>
>> Kind regards,
>> Eugen
>>
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>>
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top