Bug#341777: Support Mysql for WebApps deployed to Tomcat

Arnaud Vandyck avdyk at debian.org
Tue Dec 6 10:08:18 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kalle Kivimaa wrote:
> Andreas Schildbach <andreas at schildbach.de> writes:
> 
>>I'm afraid I don't know about the packaging policy. I can only say that 
>>the webapp can't know what database the server-admin or deployer is 
>>going to use, especially since in the Realm case he's got the option of 
>>an in-memory or file-based realm, requiring no database at all. If you 
> 
> If a webapp wants to use a DB, it is up to the maintainer of that
> webapp package to decide which DB's s/he is going to support. I'd
> guess that I would simply link all those JDBC libraries which are in
> main (actually, I probably need to do this when JSPWiki 2.4 comes
> out), but some other maintainers might take a different approach. But,
> still, this is not a Tomcat5 problem.

I'm not sure it's the responsability of JSPWiki to add symlinks in the
tomcat5 directory tree.

Maybe we can add a little script in tomcat5 to let an administrator add
a symlink if the package is installed, but what does happen if the
package is removed (libmysql-java or libpg-java or else)?

The idea of adding three or four "one line package" will be rejected by
ftp-masters as Kalle already said.

Maybe an explanation in the README file with a link to
http://tomcat.apache.org/tomcat-5.0-doc/jndi-datasource-examples-howto.html
can help.

Also, note that the configuration of tomcat5 should be done by an
administrator, not a usual user. An administrator should know about the
symlink to common/libs and has the right to do that.

Cheers,

- --
  .''`.
 : :' :rnaud
 `. `'
   `-
Java Trap: http://www.gnu.org/philosophy/java-trap.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDlWMS4vzFZu62tMIRAqnwAJ4gVHf3r3fcyXHeNw+elstpLvWkVgCgpVtW
+7CnMuum9134/zIRVDvYhzE=
=lxEN
-----END PGP SIGNATURE-----




More information about the pkg-java-maintainers mailing list