hi,
I want to use SlideRealm to authenticate users rather than have catalina
do authentication.
Where exactly in the server.xml file do i need to put the following line
<Realm className="wrappers.catalina.SlideRealm" /> .
Right now there is no context defined for the slide web application in the
server.xml file. Do i need to create
a context element under localhost for the slide webapplication and use the
SlideRealm for that context.
thanks,
rajkumar
-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 10:29 AM
To: [EMAIL PROTECTED]
Subject: Re: Enlist error when using JDBCDescriptor store for Sybase
> hi dirk,
> I did some debugging on this problem.I found the exception occurs at
> public void start(Xid xid, int flags) method when the
> connection.setAutoCommit(false) is called in the JDBCDescriptorStore class
.
> An SQLException is raised with the error message set Update command is
not
> allowed
> in a multi-statement transaction .It looks like the setAutoCommit(false)
> should not be called
> explicitly by the programmer when dealing with a global transaction
> managed by an external
> transcation manager as it is implicitly set to false by the DataSource
> before returning the connection object.
> I commented out the setAutoCommit(false) part in the start method of the
> JDBCDescriptorStore and the base data was loaded successfully.
Good.
Am I right to assume that some DBs would start in auto-commit true ?
Maybe we can isolate the call to setAutoCommit(false) in a separate
try/catch, and ignore an exception being thrown there ?
Remy