On 06/12/2011 18:20, Jacob Champlin wrote: > Is anyone else having trouble getting 7.0.23 to start up? > > I am trying to migrate from 7.0.22 to 7.0.23 and Tomcat hangs on: > > INFO: Starting Servlet Engine: Apache Tomcat/7.0.23 > > 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. > > 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='1.0' encoding='utf-8'?> > <Server port="8005" shutdown="SHUTDOWN"> > <Service name="Catalina"> > <Connector port="8009" protocol="AJP/1.3" > tomcatAuthentication="false" /> > <Engine name="Catalina" defaultHost="localhost"> > <Host name="localhost" appBase="webapps"> > <Context path="/company" > docBase="/home/jacobc/workspace/company/web" reloadable="false" > allowLinking="true" processTlds="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="org.apache.catalina.session.StandardManager" pathname="" /> > <Resource > name="jdbc/company" auth="Container" > type="javax.sql.DataSource" > maxActive="10" maxIdle="1" maxWait="120000" > username="webapp" password="****" > driverClassName="org.postgresql.Driver" > url="jdbc:postgresql://widow:5432/company" > validationQuery="SELECT 1 + 1" > /> > </Context> > </Host> > </Engine> > </Service> > </Server> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > -- [key:62590808]
signature.asc
Description: OpenPGP digital signature