Mac OS X war file failing.

Need help? Post your questions here.

Moderator: moderators

Mac OS X war file failing.

Postby tgunr » Wed Feb 09, 2011 7:16 pm

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.
tgunr
 
Posts: 1
Joined: Wed Feb 09, 2011 1:56 pm

Re: Mac OS X war file failing.

Postby ace518 » Wed Feb 22, 2012 7:27 am

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
ace518
 
Posts: 13
Joined: Mon Apr 04, 2011 3:32 pm

Re: Mac OS X war file failing.

Postby bushman4 » Wed Feb 22, 2012 8:24 pm

Install Tomcat 6... Subsonic is not currently supported on Tomcat 7.

Glenn
Glenn Sullivan
Subsonic 6.1.6 (Unraid Docker)
90 regular Subsonic Users

Library as of 2024-10-28:
4,527 artists
19,996 albums
282,151 songs
10201.40 GB
41,583 hours
User avatar
bushman4
 
Posts: 875
Joined: Thu Dec 02, 2010 1:47 pm
Location: Massachusetts, USA


Return to Help

Who is online

Users browsing this forum: No registered users and 12 guests