On 07/31/2013 09:49 AM, Loyall, David wrote:
> Can't we change libtomcat6-java and libtomcat7-java to keep those jars in 
> /usr/share/tomcat6/ and /usr/share/tomcat7/ instead of /usr/share/java/ ?
> 
> Having tomcat6 and tomcat7 on the same machine is a very common use case for 
> Java developers.  And eschewing The Eclipse Way in favor of The Debian Way is 
> a very common use case for long time Debian users. :)
> 
> Cheers, thanks,
> --Dave
> 
> p.s. When the second tomcat is installed, the service will fail to start 
> because port 8080 is in use by the first one.  I vote to leave that behavior 
> as-is.  (Java devs will not see this as a problem.)  We only need to ensure 
> that 'failing to start the service' doesn't result in 'failing to finish 
> package installation'.  (We're probably already safe on that?)

Hi David,

It would be nice to have both co-installable.  What we'd need to do is
analyze and (potentially) update the reverse depends of libtomcat6-java
and libtomcat7-java to know about those new locations, which would take
a fair amount of coordination.  Also, please see the earlier post today
regarding the plans to remove tomcat6 from the jessie release.

For tomcat6:

$ reverse-depends libtomcat6-java
Reverse-Recommends
==================
* libspring-context-java

Reverse-Depends
===============
* libjetty-extra-java
* libjglobus-ssl-proxies-tomcat-java
* libtomcat-maven-plugin-java
* libtomcatjss-java [amd64 armel armhf i386 ia64 mips mipsel powerpc
s390x sparc]
* red5-server
* tomcat6-common                        (of course we can ignore this)

$ reverse-depends -b libtomcat6-java
Reverse-Build-Depends-Indep
===========================
* javahelp2
* libjboss-remoting-java
* libspring-java
* mule
* red5
* tiles

Reverse-Build-Depends
=====================
* jetty
* jglobus
* libjamon-java
* lucene-solr
* mojarra
* tomcatjss

And for tomcat7:

$ reverse-depends libtomcat7-java
Reverse-Recommends
==================
* libmina2-java

Reverse-Depends
===============
* eclipse-platform-data
* libjetty8-extra-java
* tomcat7-common

$ reverse-depends -b libtomcat7-java
Reverse-Build-Depends-Indep
===========================
* mina2

Reverse-Build-Depends
=====================
* eclipse
* jetty8

Cheers,
tony

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to