Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2004 14:17:41 +0200
From:      "Conrad Burger" <conrad.burger@swistgroup.com>
To:        <ports@freebsd.org>
Subject:   RE: Tomcat 4.1.29 -  Start then shuts down
Message-ID:  <DEC925D2FB9081448C3D6EC26E85868C013EF75F@steinmail.swistgroup.com>

next in thread | raw e-mail | index | archive | help
************************************************************
Click here to view our e-mail legal notice:
http://www.swistgroup.com/email.htm or call: +27 21 888 7920
************************************************************

Hi=20

Got tomcat to continue running by forcing it to start up last. =
(STARTUP_ORDER =3D
zzz)
Had to modify the pkg-plist for this to work.=20
(I have to create a package, coz it's the easiest way to deploy the =
app.)

Would it be possible to modify the Makefile + pkg-plist and use =
PLIST_SUB to
merge in the
specified startup prefix ?  =20


Cheers=20
Conrad=20

> -----Original Message-----
> From: Angelo Turetta [mailto:aturetta@commit.it]=20
> Sent: 19 February 2004 02:30 PM
> To: ports@freebsd.org
> Cc: Conrad Burger
> Subject: Re: Tomcat 4.1.29 - Start then shuts down
>=20
>=20
> ----- Original Message -----=20
> From: "Conrad Burger" <conrad.burger@swistgroup.com>
> Sent: Thursday, February 19, 2004 9:15 AM
>=20
> > When the system boots, it shows that tomcat is started.
> > But when I do a sockstat or ps I can find the java processes. After=20
> > reading the tomcat log files, it looks as if tomcat starts=20
> up and 3-5=20
> > seconds later shuts down again. When I manually start=20
> tomcat it works=20
> > with out any further problems.
> >
> > Has any one ever seen this behaviour ?
>=20
> This is very similar to the behaviour shown after installing=20
> Tomcat from a package instead than from ports, before a patch=20
> that was commited just before 5.2-RELEASE.
>=20
> If that is your case, you will see files/dirs in=20
> /usr/local/jakarta-tomcat4.1 (or wherever else if you didn't=20
> install with default paths) owned by the user you installed=20
> the package as. That whole tree must be owned by www:www (eg:=20
> chown -R www:www /usr/local/jakarta-tomcat4.1).
>=20
> If I remember correct, some files are missing from the=20
> package too, so I'd advise pkg_remove and reinstall from=20
> recently cvsup-ed ports (write me in private mail if you=20
> would like to download a prebuilt package).
>=20
> Ciao,
> Angelo Turetta
>=20
>=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DEC925D2FB9081448C3D6EC26E85868C013EF75F>