This isn’t specific to eclipse but thought I could find some help here. These could be fairly basic questions since I’m fairly new to Tomcat and web side JSP work – mainly EJB/back-end before.
First off I’ve configured a MyEclipse web project and a simple login.jsp as per the JAAS standards. Using MemoryRealm. Tomcat comes up fine and I tested my web app JSP’s – seem to display fine.
First Issue:
1. Going to my welcome.jsp the login.jsp properly displays and I can login the first time, then it takes me to the real welcome.jsp. So login is working in some form with j_security_check.
Next time I hit login.jsp form and attempt to login I get j_security_check not available error. Granted I haven’t logged out so not sure what’s happening here.
Second question:
Once “logged in” how do I interact with the Tomcat base security to determine username etc?
Third:
Trying to start Tomcat 5 from within Eclilpse I get the error: “A configuration error occurred during startup. Please verify the preference field with the prompt : err: No such file or directory. Error[2] in connect call! Socket transport failed to init. Transport dt_socket failed to initialize, rc=-1”
Last one isn’t a big issue since I can simply run it from the command line and then “REDEPLOY” my web application whenver.
Thanks in advance.
/Jimmy