logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache migration 1.3. -> 2.2
Author
gladson



Joined: 20 Sep 2010
Posts: 6

PostPosted: Mon 11 Oct '10 16:28    Post subject: Apache migration 1.3. -> 2.2 Reply with quote

In our project we have two apache/tomcat instances. In each the apache and tomcat are interacting using mod_jk. We had been using apache 1.3.27 and migrated to 2.2.11. Earlier there was a problem that all of the servlets were considered as the directories under web-root and it was resolved by using jkMountCopy All.

Now we are facing another issue which is as below.

We generate a temp xml on instance 1 of apache/tomcat (say server1), we then submit our request to process to second apache/tomcat (say server2) instance.

On this server2, we make use of url down of temp xml generated on server1 but instead of actual xml, we get following xml back (here we use apache's utility class FileUtils to look up and download a url and save in a file):

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://post.smlogin.ibb.ubstest.net/SmMakeCookie.ccc?GTSESSION=QUERY&amp;PERSIST=0&amp;TARGET=-SM-http%3a%2f%2fxldn2112dap%2eldn%2eswissbank%2ecom%3a18960%2fCDE%2ftemp%2fCDE%20Research%20XML_16">here</a>.</p>
<hr>
<address>Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8i mod_jk/1.2.28 mod_perl/2.0.4 Perl/v5.8.8 Server at <a href="mailto:DL-CDE-Developer@ubs.com">xldn2112dap.ldn.swissbank.com</a> Port 18960</address>
</body></html>

The url used to access above is http://xldn2112dap.ldn.swissbank.com:18960/CDE/temp/CDE%20Research%20XML_16

Opening this is in IE gives correct document.

I have used jkMountCopy All as well but the problem is not resolved.

Could you please help me resolve this problem?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Tue 16 Nov '10 12:09    Post subject: Reply with quote

What is about is in your access log and error log from apache (httpd)?
Back to top


Reply to topic   Topic: Apache migration 1.3. -> 2.2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache