Hi all,

I'm trying to increase the sizes of the heap and of the max perm by passing
the options with the values (in catalina.sh)

JAVA_OPTS="$JAVA_OPTS -Xmx=100m -XX:MaxPermSize=350m -Dfile.encoding=UTF-8"

but the VM cannot be created and from the catalina.out file I get this
printout:

Invalid maximum heap size: -Xmx=100m
Could not create the Java virtual machine.

The Tomcat home page can be accessed (port number 8080), but the home page
of my application gives the following error:

“localhost” refused the connection.

Likely causes of the problem are

    * the service http-alt isn't started.
      Try to start it using the Services Configuration Tool in System >
Control Centre, or

    * the port number 8080 is wrong.

Any hints/suggestions about this are much appreciated.

My OS is Debian Linux.

Thanks!

Dan

Reply via email to