tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Lankovic <tomcat_user_...@yahoo.com>
Subject What Happen HERE?
Date Thu, 20 Jun 2002 20:58:00 GMT
When startup tomcat this message appears

Starting service Tomcat-Standalone
Apache Tomcat/4.0.3
ERROR reading java.io.ByteArrayInputStream@5bdc50
At Line 21 /web-app/security-constraint/

Starting service Tomcat-Apache
Apache Tomcat/4.0.3

I've been trying to protect a directory with memory
realms, here is mi web.xml, thanks for any help`

web.xml

<web-app>
<display-name>Libreria PDF</display-name>
<description>Developed by Fred Lankovich
</description>
<session-config>
   <session-timeout>30</session-timeout>
</session-config>
<security-constraint>
   <web-resource-collection>
       <web-resource-name>Libreria
PDF</web-resource-name>
       <url-pattern>admin/*</url-pattern>
   </web-resource-collection>
   <auth-constraint>
       <role-name>pdfuser</role-name>
   </auth-constraint>
</security-constraint>
<login-config>
  <auth-method>BASIC</auth-method>
  <real-name>Libreria PDF</realm-name>
</login-config>
</web-app>

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message