2010/6/30 Tomislav Petrović <t.petro...@inet.hr>: > Pid said on 30.6.2010 13:06: >> >> On 30/06/2010 11:59, Tomislav Petrović wrote: >>> >>> <Context path="/some_webapp" docBase="/some_webapp" debug="0" >>> reloadable="true" crossContext="true"> >>> <ResourceLink global="jdbc/SomeDB" name="jdbc/SomeDB" >>> type="javax.sql.DataSource" /> >>> <ResourceLink global="jdbc/SomeDB2" name="jdbc/SomeDB2" >>> type="javax.sql.DataSource" /> >> >> If these are the actual values then it's a miracle it's working at all. > > Only app name/paths and jdbs names have been changed to dummy values. > >> >> Instead of defining it there, remove the debug, path and docBase >> attributes and put it in >> >> some_webapp/META-INF/context.xml >> >> >> Tomcat will work out the rest automatically. > (...) > > And do you really think this would solve my initial problem, or....? >
As I mentioned in https://issues.apache.org/bugzilla/show_bug.cgi?id=49488#c2 having double slash in a path is unusual. >>> <Context path="/some_webapp" docBase="/some_webapp" probably should be <Context path="/some_webapp" docBase="some_webapp" but it would be much better to place this context definition in a separate file, as was already mentioned. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org