Hi,
Well, let me post at least the last bit (the whole thing is noisy and
long). See below for the indication of a normal startup. In particular,
my app finishes startup with "initialized Struts-Spring integration
successfully" and tomcat indicates it's done with "Server startup in
7487 ms".
Also, no amount of waiting changes behavior. Again, when I get my 404
errors, I get nothing in catalina.out, as if to say tomcat isn't even
seeing the request as an error.
(Note also that I'm running on port 80 temporarily while debugging.)
Thanks,
Fred
14:31:04,643 INFO StrutsSpringObjectFactory:42 - ... initialized
Struts-Spring integration successfully
Nov 2, 2012 2:31:05 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/local/aapg/archive-server/apache-tomcat-7.0.32/webapps/manager
Nov 2, 2012 2:31:05 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/local/aapg/archive-server/apache-tomcat-7.0.32/webapps/examples
Nov 2, 2012 2:31:05 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/local/aapg/archive-server/apache-tomcat-7.0.32/webapps/host-manager
Nov 2, 2012 2:31:05 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/local/aapg/archive-server/apache-tomcat-7.0.32/webapps/docs
Nov 2, 2012 2:31:05 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory
/usr/local/aapg/archive-server/apache-tomcat-7.0.32/webapps/ROOT
Nov 2, 2012 2:31:05 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-80"]
Nov 2, 2012 2:31:05 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 2, 2012 2:31:05 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7487 ms
On 11/2/2012 3:44 PM, Christopher Schultz wrote:
-----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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org