tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Tomcat 7.0.23 won't start
Date Tue, 06 Dec 2011 20:08:25 GMT
On 06/12/2011 18:20, Jacob Champlin wrote:
> Is anyone else having trouble getting 7.0.23 to start up?
>=20
> I am trying to migrate from 7.0.22 to 7.0.23 and Tomcat hangs on:
>=20
> INFO: Starting Servlet Engine: Apache Tomcat/7.0.23
>=20
> If I use the default server.xml it starts up, but if I use our custom
> server.xml it doesn't (See Below).  We have been using the same config
> since the 7.0 release, so I am not sure what is going on.  There are no=

> errors thrown, it just hangs.
>=20
> OS: openSuSE 11.4
> Java: 1.7.0_01 (64 bit)

Add a Realm definition or wait until 7.0.24.  There's a bug in 7.0.23.


> <?xml version=3D'1.0' encoding=3D'utf-8'?>
> <Server port=3D"8005" shutdown=3D"SHUTDOWN">
>   <Service name=3D"Catalina">
>     <Connector port=3D"8009" protocol=3D"AJP/1.3"
> tomcatAuthentication=3D"false" />
>     <Engine name=3D"Catalina" defaultHost=3D"localhost">
>       <Host name=3D"localhost" appBase=3D"webapps">
>         <Context path=3D"/company"
> docBase=3D"/home/jacobc/workspace/company/web" reloadable=3D"false"
> allowLinking=3D"true" processTlds=3D"false">

I'm wincing as I ask: is there a particular reason that you're defining
the Context in server.xml - it's been strongly recommended to not do
that for quite a while.


p

>           <Manager
> className=3D"org.apache.catalina.session.StandardManager" pathname=3D""=
 />
>           <Resource
>             name=3D"jdbc/company" auth=3D"Container"
> type=3D"javax.sql.DataSource"
>             maxActive=3D"10" maxIdle=3D"1" maxWait=3D"120000"
>             username=3D"webapp" password=3D"****"
> driverClassName=3D"org.postgresql.Driver"
>                 url=3D"jdbc:postgresql://widow:5432/company"
> validationQuery=3D"SELECT 1 + 1"
>       />
>     </Context>
>       </Host>
>     </Engine>
>   </Service>
> </Server>
>=20
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>=20


--=20

[key:62590808]


Mime
View raw message