You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rahul <ia...@yahoo.com> on 2010/07/01 00:04:04 UTC

Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

Dear Users,

We are trying to upgrade the Tomcat version from existing
4.1.31 to the latest available release 6.0.26. In the
process, I did the following changes – 

1. Downloaded the Tomcat 6.0.26 basic distribution file -
apache-tomcat-6.0.26.zip from the website.
2. Unbundled it and deployed the web application on my
workstation – Windows XP SP2 - first.
3. Ran the Tomcat and the application worked without any
trouble. 
4. Now, tried to test the same in UNIX (As the productive
environment is UNIX) – the version and details of the
system is as given in the subject line - , by copying the
distribution and the source code with ANT build.
5. Built and deployed the application in the UNIX itself. 
6. Ran the application and observed that it did not work
properly. The details are as explained below- 


First Page - The index page comes fine where some menu
items are displayed.
Second Page - After clicking on "Work List Details" it
loads the second page that displays all the search criteria
- perfectly.
Third Page - After selecting the criteria, the user click
on "Search" button and there is a page opens with "404 -
Page is unavailable". However, on clicking the back button
of the IE, the search result appears. 

Attached are the log files extracts. For Windows log -
windowsLog.log and for UNIX it is UnixLog.log. 

Apparently, this particular information goes missing from
the log on pressing "Search" button while running in UNIX.
Its only after clicking browser's "back" button that the
following appears in the log and the page gets displayed as
well. There is absolutely no error/exception that is visible
in any of the logs. **NOTE - these logs extracts are from
Catalina.bat/Catalina.sh output. Also attached is the screen
short for page cannot be displayed message. 

{ Information Message | 2010-06-30 11:46:49.479 |
Thread[http-8080-1,5,main] | 
org.apache.jsp.Jsp.WorkOrderList_jsp} JspServlet.service()
start - URI=/workbench/Jsp/WorkOrderList.jsp
{ SQL Statement | 2010-06-30 11:46:49.479 |
Thread[http-8080-1,5,main] | 
com.salmonllc.sql.DBStatement} executeQuery() SELECT
WEB_USER.USER_ID,WEB_USER.DISABLED,WEB_USER_ROLE.ROLE_ID,WEB_ROLE_COMP_ACS_LVLS.APPLICATION_ID,WEB_ROLE_COMP_ACS_LVLS.SCREEN_ID,WEB_ROLE_COMP_ACS_LVLS.COMPONENT_ID,WEB_ROLE_COMP_ACS_LVLS.ROLE_ID 
FROM WEB_USER,WEB_USER_ROLE,WEB_ROLE_COMP_ACS_LVLS 
WHERE (WEB_USER.USER_ID=WEB_USER_ROLE.USER_ID AND
WEB_USER_ROLE.ROLE_ID=WEB_ROLE_COMP_ACS_LVLS.ROLE_ID) AND
(WEB_USER.USER_ID='MSDOMAIN\rrahul' AND
WEB_USER.DISABLED='N' AND
WEB_ROLE_COMP_ACS_LVLS.SCREEN_ID='work_order_list')
{ Debug | 2010-06-30 11:46:49.494 |
Thread[http-8080-1,5,main] | 
com.salmonllc.jsp.tags.DataSourceTag} Returning SKIP_BODY {
Information Message | 2010-06-30 11:46:49.557 |
Thread[http-8080-1,5,main] | 
org.apache.jsp.Jsp.WorkOrderList_jsp} JspServlet.service()
end - URI=/workbench/Jsp/WorkOrderList.jsp Time=78
Init=false


Please assist me in figuring out what is going on or what
am I doing wrong. Please reply me on: iamrahulus@yahoo.com
or/and rahul.rahul@eb-services.com.au



Thanks and Regards,
Rahul
EB-Services (SP-Ausnet) EAI Team
Mobile: +61 413650106
Phone: +61 3 96068387


      


      

RE: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: rahul [mailto:iamrahulus@yahoo.com]
> Subject: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc -
> Web application unable to execute properly
> 
> 5. Built and deployed the application in the UNIX itself.

If the application is pure Java, that step was unnecessary.  What happens if you take the .war file (or .class files) from the Solaris box and run them on Windows?  Does the app misbehave there as well?

Likewise, what happens if you take what's running on Windows and deploy it on Solaris?  Does it run properly?

Also, post your server.xml for Tomcat 6.0.26; lots of things changed between 4.1 and 6.0, and if any config items were copied over verbatim, that might create problems.

> Third Page - After selecting the criteria, the user click
> on "Search" button and there is a page opens with "404 -
> Page is unavailable". However, on clicking the back button
> of the IE, the search result appears.

Turn on Tomcat's access logging and see what's coming in.

> Attached are the log files extracts.

Nope; the mailing list strips almost all attachments.  Post them inline, or put them in some public location on the web.

> Please assist me in figuring out what is going on or what
> am I doing wrong.

Case problems?  Windows is not case-sensitive, Solaris is.

> Please reply me on: iamrahulus@yahoo.com
> or/and rahul.rahul@eb-services.com.au

No, replies should go only to the mailing list, not to individuals.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.