You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Andreas Boeyer <AB...@yahoo.de> on 2003/06/16 23:29:10 UTC
build.xml
Hello,
I had to change to line in build.xml in order to run jetty with the command:
ant -emacs run-workbench
line 17
befor: <include name="lib/org.mortbay.jetty-jdk1.2.jar"/>
after: <include name="lib/org.mortbay.jetty.jar"/>
The filename changed!
and
line 303
befor:<java classname="org.mortbay.jetty.Server" fork="true" maxmemory="128MB"
after: <java classname="org.mortbay.jetty.Server" fork="true"
I understand the first one but why did I get an error with maxmemory??
The java VM didn't start.
The error was:
Invalid maximum heap size: -Xmx128MB
Could not create the Java virtual machine.
Java Result: 1
Andreas
Re: build.xml
Posted by Jan Mikkelsen <jm...@adslhome.dk>.
Hi Andreas
The syntax is incorrect, it should have been -Xmx128M.
So if you think (or know) the server needs more heap memory than the
default maximum heap size of 64Mb you might want to try with:
java classname="org.mortbay.jetty.Server" fork="true" maxmemory="128M"
regards, Jan
On Mon, 16 Jun 2003 23:29:10 +0200
Andreas Boeyer <AB...@yahoo.de> wrote:
> Hello,
> I had to change to line in build.xml in order to run jetty with the command:
> ant -emacs run-workbench
>
> line 17
> befor: <include name="lib/org.mortbay.jetty-jdk1.2.jar"/>
> after: <include name="lib/org.mortbay.jetty.jar"/>
>
> The filename changed!
>
> and
>
> line 303
> befor:<java classname="org.mortbay.jetty.Server" fork="true" maxmemory="128MB"
> after: <java classname="org.mortbay.jetty.Server" fork="true"
>
> I understand the first one but why did I get an error with maxmemory??
>
> The java VM didn't start.
> The error was:
> Invalid maximum heap size: -Xmx128MB
> Could not create the Java virtual machine.
> Java Result: 1
>
> Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org