Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Crazy Windows/Version Issues

I'm guessing that you have jsp pages that are mapped in web.xml with <jsp-file> elements? If so, then that issue was fixed in jetty-7.5.2 that just went out last week.  There were a couple other jsp issues also fixed in that release, so please try with jetty-7.5.2 and let us know if you still have problems.


On 11 October 2011 01:18, Evan Ruff <evan.ruff@xxxxxxxxxxxxxxxxxxxx> wrote:
Hey guys,

So I'm a new Jetty user, so forgive me if I'm just missing something. I'm trying to install/configure Jetty in a Windows Server 2008 environment (client requirement, ugh.) I'm managed to get everything work great, except I had to use Jetty 7.4.5, as I was getting really really odd errors when attempting to use 7.5.1. I did not try 8.x, as the webapp works properly under 7.4.x in a linux environment.

So, I've attached my install script that I have created to distribute to the client's IT department. I followed the steps exactly for both attempts, the only difference being the version of Jetty. 

The big gotcha is when trying to actually run my webapp, as the welcome page loads fine under both versions. When using 7.5.1, when I go to any JSP page (they're all trivial, nothing fancy other than java.util.Date logic) I either get a Jasper no-jdk exception:

org.apache.jasper.JasperException: java.err.nojdk 

or multiple errors describing that all the Jasper or servlet classes do not exist (package javax.servlet does not exist ... ) (see attached).

The only difference between the two installs in the Jetty version. I assume that it has something to do with the loading of the JDK or other assorted Java libs. Perhaps I'm inadvertently loading everything twice, as the 7.5.1 is honoring an environment var or something?

In any case, I'd like to get this ironed out so I can move between the jetty versions. 

Any help or explanation is appreciated!



jetty-users mailing list

Back to the top