File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes OutOfMemoryError starting Jetty server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "OutOfMemoryError starting Jetty server" Watch "OutOfMemoryError starting Jetty server" New topic

OutOfMemoryError starting Jetty server

Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 445

Hello Ranchers,

I am trying to deploy a web application using the Jetty server. The application builds fine using Maven and I start the Jetty server and try to log in I get a OutOfMemoryError. The logs do not have anything at all. Any suggestions?

This is the environment I am on.

Windows 7
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Client VM (build 17.1-b03, mixed mode, sharing)
Maven 2.0.9

The stack trace is as below:-

I have set up MAVEN_OPTS as a system environmental variable as:-

Googled and I had tried increasing the MaxPermSize to no avail. This particular error occurs only for my local installation.

Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 445

This is the stack trace I get:-

I agree. Here's the link:
subject: OutOfMemoryError starting Jetty server
jQuery in Action, 3rd edition