Hi,
We have build our server on top of
tomcat. It has been working fine on 5.5.23 and now we decided to move to 6.0.23.
We installed 6.0.23, made changes in server.xml and tested HTTPS - example/docs etc apps seem to be working fine. Then, we stopped tomcat, removed tomcat applications, copied our apps from 5.5 and made necessary changes in server.xml, context.xml and web.xml at conf, added context files for various apps in conf/Catalina/localhost/ and updated lib folder to include jars for our server.
Now, when we run, it does not load login page for the server (every resource is protected and requires a successful login). Browser gets the page, but when it goes to get the css, js, gifs and other files referenced from the login page, it throws up errors like returned data 'text/xml' is not 'text/css' etc (error console of firefox is filled with errors). When I looked at the access log file('common' format), it showed same response length for all request.
>sample from Tomcat 6.0.32 access log (here 'byte sent' is always 15906)
same 15906 for all other requests here
127.0.0.1 - - [04/May/2011:17:59:52 +0530] "GET /plat/tag/plat/titlebarlib.js HTTP/1.1" 200 15906
127.0.0.1 - - [04/May/2011:17:59:52 +0530] "GET /plat/plat.js HTTP/1.1" 200 15906
127.0.0.1 - - [04/May/2011:17:59:52 +0530] "GET /plat/tag/input/buttonlib.js HTTP/1.1" 200 15906
127.0.0.1 - - [04/May/2011:17:59:52 +0530] "GET /plat/tag/misc/msgboxlib.js HTTP/1.1" 200 15906
same 15906 for all other requests here
>Compare that with Tomcat 5.5.23 access log (here byte sent is proper)
other requests with proper 'byte sent' information
127.0.0.1 - - [04/May/2011:11:55:24 +0530] "GET /plat/tag/plat/titlebarlib.js HTTP/1.1" 200 643
127.0.0.1 - - [04/May/2011:11:55:24 +0530] "GET /plat/plat.js HTTP/1.1" 200 75268
127.0.0.1 - - [04/May/2011:11:55:24 +0530] "GET /plat/tag/input/buttonlib.js HTTP/1.1" 200 527
127.0.0.1 - - [04/May/2011:11:55:24 +0530] "GET /plat/tag/misc/msgboxlib.js HTTP/1.1" 200 752
other requests with proper 'byte sent' information
Additional information:
OS = Windows 2000 Server
JAVA = 1.6.0_24
Authentication/Authorization = JAAS
Any help is greatly appreciated.
thanks & regards,
-Geet