-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Thobias,

On 10/23/13 6:50 PM, Thobias Bergqvist wrote:
> Hi!
> 
> I'm trying to solve this problem and would like some pointers: 1)
> Distribute my webapps as debian packages 2) base the debian
> packages on tomcat7 3) produce the packages with a maven plugin.
> 
> The part I need help with is how to create the debian package (2). 
> I'd like to mimic the behaviour of the tomcat7 package, that is to
> have a system installation running as a service with a dedicated
> user. Furthermore I'd like to be able to install several of my
> webapps on the same system, separated from each other.
> 
> I have two applications: foo-1.0-1.deb bar-1.0-1.deb with
> associated init scripts: /etc/init.d/foo /etc/init.d/bar
> 
> Configuration, logging and other common stuff should be uniqe for
> the two applications. But both of them should use a single
> tomcat7-common installation.
> 
> The applications will only contain one root webapp, so I'd like to
> be able to request them at: http://localhost:8080/ 
> http://localhost:8090/ There is no need for /foo or /bar since they
> are on different ports.
> 
> Now, I've had a look at tomcat7_7.0.42-1_all.deb and most of the
> stuff is what I expect. but I cannot say I get it all. So my
> question is how to do this the proper way? Is there any good
> how-tos, examples of guidelines I've missed? Seems like most
> tutorials deal with installing tomcat7 or deploying multiple
> webapps in one installation. I'm sure this is basic stuff for you
> guys, so please help me out :)

Honestly, most of us around here recommend running for the hills when
a package-managed version of Tomcat is in use. Someone around here
might know about Debian packaging, but I think your best bet would be
to head over to a Debian-specific forum. Your question has almost
nothing to do with Tomcat itself: Tomcat is just the thing you happen
to be using as a dependency.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSaRHIAAoJEBzwKT+lPKRYTgQQAIV8yCmXEnDft61egqTbgtLu
HtpW3h4PbfwDNhCeaCak29euoKaZbg1ACRYe1HgzcMxDX0THnY2TloxNMnkyyyFK
zYf4sa37X0/3YaNvvLIbwY66Mq9Syb8MLGY/LqW4ldZvhadKKXR9vPcFrcotYTgT
YTqt2QO9WJwBH0fnOsk/ln/qQHAsczaK1gewux11CnppJNWssGJACRalBwB+YIh/
G0yibQnEpvcc5+29ZZYrhNeuDgzXWA1MgB2KLlkQTz4JUiA1uCUr9an3FvjCEFwE
tyvWzr71IDNnuPbyJFi4+Sdfp4NQU2cakym97zgoEPJfpdcCfuo9+o3Wn/UBFAMw
MZ7rTfz3GlG9t8W9HpT5MUOX6iaQWaKVnrn3eJ5CTJycUxtz3vJKYdmLWLKsGchS
JEFH4DLn8kumJ09+APZwsa06cwi6OV5GVnCSy1C3Df6SwveKo2FWErPeNIDkhE1E
L3PatWXDuv0W3SCFnnbsf88UCjE4auYx05DOiFREOP/A6BVX51WymjQ8yOq0UF73
1zHap8hWPf/RW2YwYW6GGkoYiMnfu2QlJTvKUoSeJBOL/bwrzUUYKEerYAjcJni2
Pa8vr9pIEJRy38INbj6zaoKxZrLK9PYXGLHaZHCDww8920DW5YmlCh+ZacN/mJ7w
kjPGMHoVW3bgKBYsZ7UU
=u/Jq
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to