Page 1 of 1

Mac OS X war file failing.

PostPosted: Wed Feb 09, 2011 7:16 pm
by tgunr
I am trying to get subsonic running under macosx 10.6.6 with Tomcat and although the deployed war file executes for the most part most of the pages result in a "CSRF" error message showing the following line:

Code: Select all
/WEB-INF/jsp/userSettings.jsp(120,4) "${not command.new and not command.admin}" contains invalid expression(s): javax.el.ELException: The identifier [new] is not a valid Java identifier as required by section 1.19 of the EL specification (Identifier ::= Java language identifier). This check can be disabled by setting the system property org.apache.el.parser.SKIP_IDENTIFIER_CHECK to true.


I don't know too much about Java and can't find a way to get past this error. Some help would be greatly appreciated.

Re: Mac OS X war file failing.

PostPosted: Wed Feb 22, 2012 7:27 am
by ace518
viewtopic.php?t=8701

not sure if this will help

2. ELException in userSettings.jsp
Tomcat 7 is stricter regarding property names in EL expressions. All property names must be valid Java identifiers, but userSettings.jsp contains command.new references which aren't valid because "new" is a Java keyword.

Solution: Replace command.new with command['new'] in userSettings.jsp

Re: Mac OS X war file failing.

PostPosted: Wed Feb 22, 2012 8:24 pm
by bushman4
Install Tomcat 6... Subsonic is not currently supported on Tomcat 7.

Glenn