Upayavira,

Thanks for your response.  Specifying the database connection parameters
within the esql does work.  However, I would like to bring this to the
attention of the cocoon team so that this important feature can be provided.
I'll hang if you're going to send in a patch.  Otherwise I will have a go at
that.

Regards,

Richard


----- Original Message -----
From: "Upayavira" <[EMAIL PROTECTED]>
To: "Richard In Public" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, February 21, 2003 10:11 AM
Subject: Re: CmdLine not honouring web.xml parameters?


> Richard,
>
> I have spent some time pouring over the code of the command line
interface. The
> parameters that Tomcat gets from web.xml need to be provided to the
command
> line interface as command line parameters. However, I do not recall an
option to
> force-load classes, which would be required for JDBC drivers.
>
> It shouldn't be too hard to do - just copy some code over from the
CocoonServlet
> to the Main.java. I'll see if I can come up with a patch this weekend.
>
> As I've not been able to get JDBC to work very well myself, I may not be
able to
> test it very well, though.
>
> As a short term solution, you can specify the dburl, driver, user and
password
> using   <esql:driver>, <esql:dburl>,  <esql:username> and <esql:password>
within
> your <esql:connection>. This will avoid the reference in web.xml. It
looses your
> connection pooling, but it should work.
>
> Hope that helps.
>
> Regards, Upayavira
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to