-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fred,
On 11/2/12 3:27 PM, Fred Toth wrote: > I've got a struts2/spring app that's been running under tomcat 6 > with no problems. > > I migrated it to 7 and I've hit a strange brick wall. On startup, > the logs show the app deploying, absolutely normally with no errors > at all. > > However, when I try to hit any URL within the app's context, I get > "not found (404)". Absolutely nothing in the logs. > > I'm deploying by creating "data.xml" in conf/Catalina/localhost (in > both 6 an 7). The app itself is an expanded application on the file > system (i.e. not a .war file). > > Thus, the URLs should be "/data/whatever", but somehow it appears > that though the app deployed, the context is somehow wrong or > broken. > > Also, the manager app lists the application normally, shows it as > running, shows it at the correct context, etc. > > Anybody seen this? For reference, here's the content of data.xml, > pretty simple: > > <?xml version='1.0' encoding='utf-8'?> <Context > docBase="/mnt/data_arch/DATA" allowLinking="true" >> > </Context> Something similar just happened to me a few minutes ago and it looks like I didn't wait for the app to fully-deploy. I wasn't getting 404s, though: I was getting long wait times for ultimately blank responses. Are you sure the app completed deployment? There may be DNS resolution or entropy-collection delays when starting-up. Can you paste the whole catalina.out you have after you launch Tomcat? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCUIowACgkQ9CaO5/Lv0PBTowCeOojUpfud072CrPrKz5ZcNL5M bSkAnRpfIxicYa26lqcQ/bp8H8ldY4Nd =qTJo -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org