--- Begin Message ---
Subject: |
java-tomcat: Make it the full package |
Date: |
Sun, 5 May 2019 00:34:50 +0200 |
The current java-tomcat package is only building the jar-files and uses
Tomcat only as a servlet-api package. This patch series changes it to
the "real" package with a bin, conf, ... directory.
If you have a CATALINA_BASE, i.e. a Tomcat instance directory with
conf, log, webapps, you can start Tomcat like that:
CATALINA_BASE=/home/bjoern/guix/tmp/catalina-home
/gnu/store/q5dqsiiwb665jfb6ckcfpw3ijgm4gyh7-java-tomcat-8.5.40/bin/startup.sh
And then navigate to http://localhost:8080/ to view your new site.
The standard Tomcat installation copies the commons-daemon.jar and the
java-ecj.jar. We better use symlinks to the input package. But these
would be overridden by a repacking phase: Thus, we need to modify the
ant-build-system, placing this series into the staging branch.
What's finally outstanding is a tomcat-service.
Björn
pgp0qw82D9Eof.pgp
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#35570] java-tomcat: Make it the full package |
Date: |
Sun, 13 Oct 2019 22:58:31 +0200 |
On Sun, 5 May 2019 00:34:50 +0200
Björn Höfling <address@hidden> wrote:
> The current java-tomcat package is only building the jar-files and
> uses Tomcat only as a servlet-api package. This patch series changes
> it to the "real" package with a bin, conf, ... directory.
>
> If you have a CATALINA_BASE, i.e. a Tomcat instance directory with
> conf, log, webapps, you can start Tomcat like that:
>
> CATALINA_BASE=/home/bjoern/guix/tmp/catalina-home
> /gnu/store/q5dqsiiwb665jfb6ckcfpw3ijgm4gyh7-java-tomcat-8.5.40/bin/startup.sh
>
> And then navigate to http://localhost:8080/ to view your new site.
>
> The standard Tomcat installation copies the commons-daemon.jar and the
> java-ecj.jar. We better use symlinks to the input package. But these
> would be overridden by a repacking phase: Thus, we need to modify the
> ant-build-system, placing this series into the staging branch.
>
> What's finally outstanding is a tomcat-service.
>
> Björn
Pushed to staging as
d99e7ee0f2bbe4abe08552afaa9821036da2a760
with an update to the latest 8.5.x Tomcat.
Thanks to Gábor for reviewing.
I will continue with getting Tomcat9 in (which needs some more/updated
dependencies) and I plan to write a service for Tomcat, if time admits
me to do so.
Björn
pgpWbDJDqVA0x.pgp
Description: OpenPGP digital signature
--- End Message ---