tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: Mystery migrating from tomcat 6 to 7
Date Tue, 06 Nov 2012 19:13:41 GMT
2012/11/2 Fred Toth <>:
> Hi,
> 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>

1. Are any symlinks that you are using within it readable? (There is
some reason why you are using allowLinking="true"...)

2. Have you seen the "Migration guide"?

3. Maybe you can try with some simple web application that also uses Struts?

4. Configure an AccessLogValve in your web application. Does those 404
responses come from your web application?

Best regards,
Konstantin Kolinko

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message