• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Realm Tomcat: j_security_check can't understand my web.xml"form-login-page"

 
Shishir Sanghvi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i get this curious error-message when i try to logg a user : " form login page connection unvalid.
Request synthax unvalid"
And no one can access to my database
I checked my server.xml and web.xml and they look good(i think so). Can you tell me what you think about that: if the loggin is wrong i reach the error_loggin.jsp but if this is ok, Tomcat throws to me an error

Thanky a lot for any suggestion
friendly
Shishir
ps: sorry, can't put any html tag
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
post your code + web.xml file.
 
Shishir Sanghvi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Asher, thankx a lot for answering but i had to change my security because my physical model wasn't good for REALM.
Now, i decided to use a code like this to protect all my jsp
It worked during one day but now i have this error
----- Root Cause -----"getOutputStream()" has already been called for this response. at org.apache.coyote.tomcat4.CoyoteResponse.getWriter(CoyoteResponse.java:614). "Servlet.service()" for the servlet jsp has generated an exception
And now nobody can log-on!!!
I don't understand what did i wrong???
Thanks alot for any suggestion
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic