There was a thread on this "http://www.nabble.com/Context-starts-twice-t1351694.html". But my configuration is a bit different.
this is my configuration: server.xml doesn't have context definition. context.xml is empty except this line <WatchedResource>WEB-INF/web.xml</WatchedResource> under $CATALINA_HOME/Catalina/localhost, I defined a context xml file, trip.xml <?xml version='1.0' encoding='utf-8'?> <Context docBase="d:/dev/trip/main/build" path="/trip"> <Resource name="jdbc/trip" auth="Container" .......... </Context> In my web.xml, I have the following entry, <servlet> <servlet-name>dummy</servlet-name> <servlet-class>com.trip.view.DummyServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> When DummyServlet starts, it init twice. Any help is appreciated. -- View this message in context: http://www.nabble.com/Context-started-twice-tf3664516.html#a10239122 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]