On 03/12/10 16:09, Marvin Addison wrote:
Run -> Debug Configuration -> Remote Java Application -> cas-project
Standard (Socket Attach) -> localhost (8000, 8080, 8009)
The ports might be wrong or I have to define something in tomcat...
You have to set java arguments to create a socket listener in the
running jvm. I believe you should be able to adapt the instructions
at
https://www.middleware.vt.edu/doku.php?id=middleware:java#java_remote_debugging
to your needs.
M
Ok I've edited the MAVEN_OPTS and added
"-Xdebug -Xrunjdwp:server=y,transport=dt_socket,address=8000,suspend=y"
I'm able to connect from eclipse and build cas.
What I do in then copy the war file in the eclipse/tomcat webapps and the
cas in running.
How do I add the breakpoint? You mean at the end of
public interface CredentialsToPrincipalResolver {
}
in cas-server-core/src/main/java/org/jasig/cas/authentication/principal ?
Giannis
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user