lars wright

Greenhorn
+ Follow
since Oct 19, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by lars wright

I'm having trouble integrating the most basic of spring security examples into an app i've cloned off git and gotten to work ... here are the relevant files:

build.gradle



WEB-INF/web.xml


WEB-INF/spring/app-config.xml


WEB-INF/spring/mvc-config.xml



WEB-INF/spring/spring-security.xml



The error i get is:


if i simply blindly add:


I get the folloowing error:




If i remove all spring security related stuff, the app works fine. Any thoughts? Thanks in advance.
11 years ago
Ok I feel stupid,

i was typing cataling jdpa start instead of catalina jpda start ... trying to figure out how to delete this topic.
13 years ago
Hi Everyone,

I realize i'm likely doing something stupid, but i cant find examples of this happening to anyone else on google.

I've followed the instructions for remote debugging tomcat with eclipse found at:

http://confluence.sakaiproject.org/display/BOOT/Debugging+Tomcat+Remotely+Using+Eclipse

everything makes sense, but when i enter "catalina jdpa start" it spits out the standard usage message:

C:\apache-tomcat-6\apache-tomcat-6.0.29\bin>catalina jdpa start
Using CATALINA_BASE: "C:\apache-tomcat-6\apache-tomcat-6.0.29"
Using CATALINA_HOME: "C:\apache-tomcat-6\apache-tomcat-6.0.29"
Using CATALINA_TMPDIR: "C:\apache-tomcat-6\apache-tomcat-6.0.29\temp"
Using JRE_HOME: "C:\glassfishv3\jdk"
Using CLASSPATH: "C:\apache-tomcat-6\apache-tomcat-6.0.29\bin\bootstrap.jar"
Usage: catalina ( commands ... )
commands:
debug Start Catalina in a debugger
debug -security Debug Catalina with a security manager
jpda start Start Catalina under JPDA debugger
run Start Catalina in the current window
run -security Start in the current window with security manager
start Start Catalina in a separate window
start -security Start in a separate window with security manager
stop Stop Catalina
version What version of tomcat are you running?


"catalina run", "catalina debug", etc all work fine.

I tried installing the EE JDK and pointing JAVA_HOME to that, but still the same issue.

My OS is windows 7, but I just tried on Windows XP as well and same thing!

Am I completely missing something very simple?
13 years ago