Bug#341777: Support Mysql for WebApps deployed to Tomcat

2005-12-06 Thread Kalle Kivimaa
Arnaud Vandyck [EMAIL PROTECTED] writes:
 I'm not sure it's the responsability of JSPWiki to add symlinks in the
 tomcat5 directory tree.

Well, it does so already :) It has to register itself as a webapp and
it has to add a policy file.

-- 
* Sufficiently advanced magic is indistinguishable from technology (T.P)  *
*   PGP public key available @ http://www.iki.fi/killer   *


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#341777: Support Mysql for WebApps deployed to Tomcat

2005-12-05 Thread Wolfgang Baer

tags 341777 + wontfix
thanks


Hi Andreas,

Andreas Schildbach wrote:

Package: tomcat5
Severity: wishlist

If I have both packages tomcat5 and libmysql-java installed, I'd like to 
have the Connector/J driver availble for web applications installed into 
Tomcat, just as if I had copied the driver to common/lib. Why don't you 
symlink from /usr/share/tomcat5/common/lib/mysql.jar to 
/usr/share/java/mysql.jar?


You would have a dangling symlink if libmysql-java is not installed
or removed after some time. Also if you need stuff in your webapps you
should put it in or link it from the webapps libs/classes directory to
get it picked up. This is also some kind of security problem as
common/lib is trusted.

Another point is where would you draw the line ? If linking libmysql-java
why not also jdbc for postgresql, sapdb, hsqldb ... you can add almost every
library to this list.

Regards,
Wolfgang


___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers


Bug#341777: Support Mysql for WebApps deployed to Tomcat

2005-12-02 Thread Andreas Schildbach

Package: tomcat5
Severity: wishlist

If I have both packages tomcat5 and libmysql-java installed, I'd like to 
have the Connector/J driver availble for web applications installed into 
Tomcat, just as if I had copied the driver to common/lib. Why don't you 
symlink from /usr/share/tomcat5/common/lib/mysql.jar to 
/usr/share/java/mysql.jar?



___
pkg-java-maintainers mailing list
pkg-java-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers