cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira">
Subject Re: CmdLine not honouring web.xml parameters?
Date Fri, 21 Feb 2003 10:11:23 GMT

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 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>
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:
For additional commands, e-mail:

View raw message