Problem registering a directive on Tomcat using Eclipse on Ubuntu

Asked

Viewed 72 times

1

Good morning

I’m having trouble putting this directive -Dorg.apache.el.parser.COERCE_TO_ZERO=false in the VM arguments of Tomcat 7, it does not save settings.

I already gave permission in the folder but still the problem continues.

I saved the Eclipse and Tomcat in the briefcase opt.

Thank you

1 answer

2


Add this directive to the variable JAVA_OPTS, open a terminal and enter:

export JAVA_OPTS="- Dorg.apache.el.parser.COERCE_TO_ZERO=false"
  • Man, I couldn’t find it inside the briefcase bin that file.

  • A question beginner, I put at the end of the file?

  • When you speak up the file would be the catalina.sh?

  • @Macario1983 Not the file /etc/default/tomcat7.

  • Dude I didn’t install the tomcat 7 via terminal, I even installed but could not direct via Eclipse what folder the server is allocated to

  • 1

    Then try through the export. Type in the terminal:export JAVA_OPTS="- Dorg.apache.el.parser.COERCE_TO_ZERO=false"

  • 1

    I did it and it was expensive, I just think it’s weird because I can’t record via Eclipse

Show 2 more comments

Browser other questions tagged

You are not signed in. Login or sign up in order to post.