You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by ju...@jpmorgan.com on 2002/03/01 17:41:11 UTC

JDBC Relam, Tomcat 4.0.1, JDK1.3.1_02, Sybase issues?

Hello,

I am using Tomcat 4.0.1,  JDK1.3.1_02, Sybase for user authenication, when
I start Transmit I receive the following error from the jdbc driver

java.sql.SQLException: JZ001: User name property 'user_dbo:password=pass_dbo' too long. Maximum length is 30.

In the server.xml I have

 <Realm  className="org.apache.catalina.realm.JDBCRealm" debug="99"
  driverName="com.sybase.jdbc2.jdbc.SybDriver"  digest="SHA"
  connectionURL="
jdbc:sybase:Tds:server:port/dbname?user=user_dbo;password=pass_dbo"
       userTable="realmUsers" userNameCol="user_name" userCredCol="
user_pswd"
         userRoleTable="realmRoles" roleNameCol="role_name" />


I have done some searches on this but found little - any ideas?

Thanks
Julie.



This communication is for informational purposes only.  It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>