Problems running spring sample in 0.9-RC2

Hi I'm new to Jsecurity and have had a few problems running the spring sample.
I've got it working now so I thought I should mention this in case it helps others:

1) in webroot/index.jsp I think the redirection should be relative (to s/login) rather than absolute to "/s/login")

2) I'm running tomcat 5.5 and was initially having problems due to a missing el-api.jar. First of all I added this (to ivy.xml) but that resulted in a no such method exception calling pageContext.getELContext() [in javax.servlet.jsp.PageContex] from javax.servelet.jsp.jstl.core.LoopTagSupport.exposeVariables().
Downgrading the jstl version dependency in ivy.xml from 1.2 to 1.1.2 fixed this (and meant I didn't need el-api.jar anymore either)
This in fact seems to be a problem in the upstream maven repository - servlet.jstl 1.2 has a dependence on servlet.jsp 2.0 whereas the above mentionned method only exists from jsp 2.1 [OT - who should one contact about this type of problem ie who is responsible for maven metadata for sun apis?]
Tomcat 5.5 has jsp 2.0 whereas 6.0 has 2.1 so you probably won't see this problem with tomcat 6

3) There seems to be a mixup of logging libraries in resources/jsecurity.jnlp.jsp - it references slf4j-api.jar but this is not in the ivy sample dependencies nor is it copied by build.xml. I replaced this reference with commons-logging.jar (which is copied) and that fixed it.

Other than that it looks very nice though more doc and examples would be help.

Martin Fuzzey

Re: Problems running spring sample in 0.9-RC2

Hi Martin,

Thanks very much for catching this. I'll update things to ensure this works more smoothly for 0.9 final.

Thanks!

Les