Julie - Try using an ampersand (&). This should be resolved in the URL.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 05 March 2002 10:00 To: [EMAIL PROTECTED] Subject: Realm not recognising user and password property Hello I'm stuck with a JDBC Realm problem. In the server.xml I have included <Context path="/assistant" docBase="assistant" debug="0" reloadable="true"> <Logger className="org.apache.catalina.logger.FileLogger" prefix=" assistantLog" suffix=".txt" timestamp="true"/> <Environment name="maxExemptions" type="java.lang.Integer" value="15"/> <Parameter name="context.param.name" value="context.param.value" override ="false"/> <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" driverName="com.sybase.jdbc2.jdbc.SybDriver" digest="SHA" connectionURL=" jdbc:sybase:Tds:host_name:port/dbname?user=***;password=***" userTable ="realmUsers" userNameCol="user_name" userCredCol="user_pswd" userRoleTable ="realmRoles" roleNameCol="role_name"/> </Context> Unfortunately, Tomcat will not start with this in the server.xml. It states the user name property is too long. I have experimented with various characters between the user=**;password=** e.g. ,:/ to no avail, but the same error message was returned, suggesting that Tomcat is not recognising the split character between the user and password property. Any ideas welcome, this problem is holding me back, as I need to provide user security before I can develop the rest of the application. Configuration jdk: 1.3.1_02 Tomcat: 4.0.1 Sybase: 11.9.2 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: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
