Please send us your whole web.xml file...

-----Original Message-----
From: Stefano Rossato [mailto:[EMAIL PROTECTED]]
Sent: 11 July 2002 14:26
To: [EMAIL PROTECTED]
Subject: RE: Login in web application




I need to protect all web applications pages

in server.xml the database connection work well

 <Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
              driverName="org.postgresql.Driver"
         connectionURL="jdbc:postgresql://host.domain.it/selector?user=xxxxx;
        password=xxxxxx" userTable="utenti" userNameCol="login"
        serCredCol="password" userRoleTable="utenti_livelli"
 roleNameCol="livello"/>

----------------------------------------------

this section of ma web.xml

 <login-config>
         <auth-method>FORM</auth-method>
         <form-login-config>
                 <form-login-page>

 http://www.archiviofoto.it:8080/selector/form_login.html
                 </form-login-page>
                 <form-error-page>

 http://www.archiviofoto.it:8080/selector/error_login.html
                 </form-error-page>
         </form-login-config>
 </login-config>

 cause thi error on tomcat4 startup

Apache Tomcat/4.0.4
ERROR reading java.io.ByteArrayInputStream@62e85f93
At Line 26 /web-app/login-config/


who have a idea off possible causes

Stefano Rossato

-------------------------------------------------------

-- 
BiBiCom s.r.l
Via Benassi, 14
42100 Reggio emilia
Tel 0522308949 Fax 0522383150


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

**** DISCLAIMER **** 
"This e-mail and any attachments thereto may contain information 
which is confidential and/or protected by intellectual property 
rights and are intended for the sole use of the recipient(s) named above. 
Any use of the information contained herein (including, but not limited to, 
total or partial reproduction, communication or distribution in any form) 
by persons other than the designated recipient(s) is prohibited. 
If you have received this e-mail in error, please notify the sender either 
by telephone or by e-mail and delete the material from any computer. 
Thank you for your cooperation."


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to