Andrea, You need to upgrade to jetty-9.2.3 if you want to use a jre but do runtime jsp compilation OR as a workaround, enable the jstl module.
The reason is this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=443262 It seems that another side effect of the jasper engine not being initialized correctly when no tlds are found in any META-INF/ location is that the compiler is not initialized correctly either. cheers Jan On 16 September 2014 23:03, Joakim Erdfelt <[email protected]> wrote: > You'll want to fix your environment (as in your OS environment) before you > attempt to start / run java. > > 1) get rid of the --lib and -Djava.home hacks, those are both improper. > 2) set the following in your environment. > > $ export JAVA_HOME=/var/jdk1.7.0_51 > $ export PATH=$JAVA_HOME/bin:$PATH > > 3) now start jetty normally. > > $ cd /var/jwww/myapp > $ java -jar /var/jetty_9.2.1/start.jar > > Note: the setting of your environment AND the execution of jetty should be > in the same process. > > You seem to be using a manually installed java, so you'll want to make sure > these steps all occur together for your upstart scenario. > Either that, or use the java packaged by ubuntu and update-alternatives to > set the java default that you want to use. > > > -- > Joakim Erdfelt <[email protected]> > webtide.com - intalio.com/jetty > Expert advice, services and support from from the Jetty & CometD experts > eclipse.org/jetty - cometd.org > > On Tue, Sep 16, 2014 at 5:54 AM, Andrea Cappelli <[email protected]> > wrote: >> >> >> >> 2014-09-16 14:16 GMT+02:00 Andrea Cappelli <[email protected]>: >>> >>> >>> >>> 2014-09-16 12:19 GMT+02:00 Jan Bartel <[email protected]>: >>>> >>>> Hi Andrea, >>>> >>>> I haven't seen that particular error before, however in order to >>>> really properly initialize the apache jsp engine, you need to enable >>>> the annotations module. Try doing that and see if it makes a >>>> difference. >>> >>> >>> Hi Jan, >>> thanks for your reply >> >> >> I made some other test and seems that adding >> >> --lib=/var//jdk1.7.0_51/lib/tools.jar to classpath solve the problem..... >> >> Any idea? >> -- >> Andrea Cappelli >> >> _______________________________________________ >> jetty-users mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/jetty-users > > > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe from > this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users -- Jan Bartel <[email protected]> www.webtide.com 'Expert Jetty/CometD developer,production,operations advice' _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
