Re: [OT] Reinstall with 302 error

2012-02-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ben,

On 2/2/12 5:06 PM, Benjamin Madore wrote:
 Thanks all, That's what was happening. There was a very
 all-encompassing try-catch that redirected everything to the home
 page, so that any login error would cause it to fall into an
 infinite loop. Once I pulled that out I was able to trace down a
 database connection error; I could see where it was failing where
 before one problem was hiding another.

I'll bet the redirects would be faster if you were using BonCode.

Just kidding Bilal ;)

- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8sA6kACgkQ9CaO5/Lv0PCmugCZAbhYYtDV5qcukW1mgkeIxUPs
Q6MAn2Z7mGnU2GGIc/s/7xcImeJtkqEi
=0nXn
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Reinstall with 302 error

2012-02-02 Thread Benjamin Madore

-Original Message-
From: Bilal S [mailto:bilal.so...@gmail.com] 
Sent: Saturday, January 28, 2012 10:09 AM
To: Tomcat Users List
Subject: Re: Reinstall with 302 error

It would not be unusual for a page to redirect to itself.
Have you tried an alternate connection mechanisms. Http proxy or BonCode (
http://tomcatiis.riaforge.org)?
Does it behave the same?

If this app works unmodified in Mac OSX, it should work in Windows.



On Wed, Jan 25, 2012 at 5:08 PM, Benjamin Madore bc...@pitt.edu wrote:

 Hi all,

I have inherited a two web applications written several
 years ago. Since the server, which had been installed just before I
 arrived,
 was rebuilt last month we have not been able to log in to the application.
 We had continued to update Tomcat and Java before the rebuild so it was
 running the latest versions at the time on Windows 2008.



 Previously we had been using IIS to redirect the site, however we
installed
 the Tomcat Connector.



 We use an SSL cert that has been installed in IIS.



 The index.jsp page loads fine, but other jsp pages in the site give an
 error. Other sites have no problem, and I am able to view jsp pages with
or
 without https.



 One web app (the eli2117 and 2121 folders) won't load at all after the
 login
 page, and the other (dataSearch) appears normal, it will reload the login
 page (related to a bug in the application, login was always flaky on it
 unless you were logged into an instance of the former application).



 Other pages (the test directory) load fine.



 The eli app uses response.sendRedirect(home.jsp); in the login
process;
 but it appears to me that even login.jsp is not being recognized from the
 form submit.



 We have a test server running Tomcat 6 and MacOS 10.4 where the
application
 works fine. I understand there is a big difference between the two, but
the
 budget for upgrades is thin around here. As I said before, it ran in the
 current environment prior to the rebuild.



 I would appreciate any hints on where to go from here on fixing the
 problem.



 Attached are log snippets.



 Thanks,

 Ben Madore



 Research Programmer, Linguistics Dpt.

 University of Pittsburgh, Cathedral of Learning



 136.142.248.135 - - [24/Jan/2012:14:02:12 -0500] GET /eli2121/ HTTP/1.1
 200 6501

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] POST /eli2121/login.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -



 107.9.135.86 - - [25/Jan/2012:00:37:31 -0500] GET
 /eli2117/course.jsp?action=submitfile_type_id=1 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86

Re: Reinstall with 302 error

2012-01-31 Thread Pid
On 30/01/2012 16:34, Bilal S wrote:
 On Sat, Jan 28, 2012 at 11:24 AM, Pid p...@pidster.com wrote:
 
 On 28/01/2012 15:08, Bilal S wrote:
 It would not be unusual for a page to redirect to itself.
 Have you tried an alternate connection mechanisms. Http proxy or BonCode
 (
 http://tomcatiis.riaforge.org)?

 Really, is that relevant here?

 Please don't top-post.  Please reply below each relevant point in the
 previous message.

 ==
 Highly relevant as per post:
 
 Extract from post:
 
 Extract start ===
 
 Previously we had been using IIS to redirect the site, however we installed
 the Tomcat Connector.
 
 === Extract End

It is not good practice to suggest investing time in installing an
alternative without first understanding what the problem with the
current configuration is.


p


 Thus, we need to understand whether things were working with the old
 connection mechanism.
 Also substantiated by working on MacOSx no Apache webserver was mentioned,
 thus high likely hood that the connection was direct to tomcat.
 
 Ben,
 what happens when you connect to Tomcat webport directly, i.e. port 8080?
 
 
 
 


 


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


Re: Reinstall with 302 error

2012-01-30 Thread Luciano Andress Martini
http://www.checkupdown.com/status/E302.html
Maybe this will help you.


2012/1/28, Pid p...@pidster.com:
 On 28/01/2012 15:08, Bilal S wrote:
 It would not be unusual for a page to redirect to itself.
 Have you tried an alternate connection mechanisms. Http proxy or BonCode (
 http://tomcatiis.riaforge.org)?

 Really, is that relevant here?

 Please don't top-post.  Please reply below each relevant point in the
 previous message.


 Does it behave the same?

 If this app works unmodified in Mac OSX, it should work in Windows.

 On Wed, Jan 25, 2012 at 5:08 PM, Benjamin Madore bc...@pitt.edu wrote:

 Hi all,

I have inherited a two web applications written several
 years ago. Since the server, which had been installed just before I
 arrived,
 was rebuilt last month we have not been able to log in to the
 application.
 We had continued to update Tomcat and Java before the rebuild so it was
 running the latest versions at the time on Windows 2008.

 Previously we had been using IIS to redirect the site, however we
 installed
 the Tomcat Connector.

 Which versions of Tomcat and the connector are you using?


 We use an SSL cert that has been installed in IIS.

 The index.jsp page loads fine, but other jsp pages in the site give an
 error. Other sites have no problem, and I am able to view jsp pages with
 or
 without https.

 What is the error - be precise please.


 One web app (the eli2117 and 2121 folders) won't load at all after the
 login
 page, and the other (dataSearch) appears normal, it will reload the login
 page (related to a bug in the application, login was always flaky on it
 unless you were logged into an instance of the former application).

 What does won't load mean, in detail, please?  An error?


 Other pages (the test directory) load fine.

 The eli app uses response.sendRedirect(home.jsp); in the login
 process;
 but it appears to me that even login.jsp is not being recognized from the
 form submit.

 Where is login.jsp?  How are you accessing it?  What kind of
 authentication is configured?


 We have a test server running Tomcat 6 and MacOS 10.4 where the
 application
 works fine. I understand there is a big difference between the two, but
 the
 budget for upgrades is thin around here. As I said before, it ran in the
 current environment prior to the rebuild.

 I would appreciate any hints on where to go from here on fixing the
 problem.

 Attached are log snippets.

 Attachments get eaten by the list.  Please paste log contents inline.


 p


 Thanks,

 Ben Madore



 Research Programmer, Linguistics Dpt.

 University of Pittsburgh, Cathedral of Learning



 136.142.248.135 - - [24/Jan/2012:14:02:12 -0500] GET /eli2121/ HTTP/1.1
 200 6501

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] POST /eli2121/login.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -



 107.9.135.86 - - [25/Jan/2012:00:37:31 -0500] GET
 /eli2117/course.jsp?action=submitfile_type_id=1 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - 

Re: Reinstall with 302 error

2012-01-30 Thread Pid
On 30/01/2012 11:47, Luciano Andress Martini wrote:
 http://www.checkupdown.com/status/E302.html
 Maybe this will help you.

Luciano, please put replies *below* the previous comment you're replying
to.  As I asked the other poster to do in the message you replied to.


p

 2012/1/28, Pid p...@pidster.com:
 On 28/01/2012 15:08, Bilal S wrote:
 It would not be unusual for a page to redirect to itself.
 Have you tried an alternate connection mechanisms. Http proxy or BonCode (
 http://tomcatiis.riaforge.org)?

 Really, is that relevant here?

 Please don't top-post.  Please reply below each relevant point in the
 previous message.


 Does it behave the same?

 If this app works unmodified in Mac OSX, it should work in Windows.

 On Wed, Jan 25, 2012 at 5:08 PM, Benjamin Madore bc...@pitt.edu wrote:

 Hi all,

I have inherited a two web applications written several
 years ago. Since the server, which had been installed just before I
 arrived,
 was rebuilt last month we have not been able to log in to the
 application.
 We had continued to update Tomcat and Java before the rebuild so it was
 running the latest versions at the time on Windows 2008.

 Previously we had been using IIS to redirect the site, however we
 installed
 the Tomcat Connector.

 Which versions of Tomcat and the connector are you using?


 We use an SSL cert that has been installed in IIS.

 The index.jsp page loads fine, but other jsp pages in the site give an
 error. Other sites have no problem, and I am able to view jsp pages with
 or
 without https.

 What is the error - be precise please.


 One web app (the eli2117 and 2121 folders) won't load at all after the
 login
 page, and the other (dataSearch) appears normal, it will reload the login
 page (related to a bug in the application, login was always flaky on it
 unless you were logged into an instance of the former application).

 What does won't load mean, in detail, please?  An error?


 Other pages (the test directory) load fine.

 The eli app uses response.sendRedirect(home.jsp); in the login
 process;
 but it appears to me that even login.jsp is not being recognized from the
 form submit.

 Where is login.jsp?  How are you accessing it?  What kind of
 authentication is configured?


 We have a test server running Tomcat 6 and MacOS 10.4 where the
 application
 works fine. I understand there is a big difference between the two, but
 the
 budget for upgrades is thin around here. As I said before, it ran in the
 current environment prior to the rebuild.

 I would appreciate any hints on where to go from here on fixing the
 problem.

 Attached are log snippets.

 Attachments get eaten by the list.  Please paste log contents inline.


 p


 Thanks,

 Ben Madore



 Research Programmer, Linguistics Dpt.

 University of Pittsburgh, Cathedral of Learning



 136.142.248.135 - - [24/Jan/2012:14:02:12 -0500] GET /eli2121/ HTTP/1.1
 200 6501

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] POST /eli2121/login.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -



 107.9.135.86 - - [25/Jan/2012:00:37:31 -0500] GET
 /eli2117/course.jsp?action=submitfile_type_id=1 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 

Re: [OT] Reinstall with 302 error (and about top-posting)

2012-01-30 Thread André Warnier

Luciano (and others),

The following example is occasionally used in mailing lists to *mock* and *discourage* 
top-posting:


A: Because it messes up the order in which people normally read text.

Q: Why is top-posting such a bad thing?

A: Top-posting.

Q: What is the most annoying thing in e-mail?



On the other hand, inline-posting preserves the logical order of the replies and is 
consistent with the Western reading direction from top to bottom.

Like this :

Q: What is the most annoying thing in e-mail?

A: Top-posting.

Q: Why is top-posting such a bad thing?

A: Because it messes up the order in which people normally read text.
...

Inline posting is more work for the poster : you need to scroll down the message, 
possibly remove the parts that are irrelevant, leave the parts to which you are answering, 
and write your answer *below* the relevant part.

But it allows someone else to follow the conversation, which top-posting does 
not.

Use top-posting for your personal mail if you want, but /not/ in this forum.  
It is annoying.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Reinstall with 302 error

2012-01-30 Thread Bilal S
On Sat, Jan 28, 2012 at 11:24 AM, Pid p...@pidster.com wrote:

 On 28/01/2012 15:08, Bilal S wrote:
  It would not be unusual for a page to redirect to itself.
  Have you tried an alternate connection mechanisms. Http proxy or BonCode
 (
  http://tomcatiis.riaforge.org)?

 Really, is that relevant here?

 Please don't top-post.  Please reply below each relevant point in the
 previous message.

 ==
Highly relevant as per post:

Extract from post:

Extract start ===

Previously we had been using IIS to redirect the site, however we installed
the Tomcat Connector.

=== Extract End

Thus, we need to understand whether things were working with the old
connection mechanism.
Also substantiated by working on MacOSx no Apache webserver was mentioned,
thus high likely hood that the connection was direct to tomcat.

Ben,
what happens when you connect to Tomcat webport directly, i.e. port 8080?








Re: Reinstall with 302 error

2012-01-28 Thread Bilal S
It would not be unusual for a page to redirect to itself.
Have you tried an alternate connection mechanisms. Http proxy or BonCode (
http://tomcatiis.riaforge.org)?
Does it behave the same?

If this app works unmodified in Mac OSX, it should work in Windows.



On Wed, Jan 25, 2012 at 5:08 PM, Benjamin Madore bc...@pitt.edu wrote:

 Hi all,

I have inherited a two web applications written several
 years ago. Since the server, which had been installed just before I
 arrived,
 was rebuilt last month we have not been able to log in to the application.
 We had continued to update Tomcat and Java before the rebuild so it was
 running the latest versions at the time on Windows 2008.



 Previously we had been using IIS to redirect the site, however we installed
 the Tomcat Connector.



 We use an SSL cert that has been installed in IIS.



 The index.jsp page loads fine, but other jsp pages in the site give an
 error. Other sites have no problem, and I am able to view jsp pages with or
 without https.



 One web app (the eli2117 and 2121 folders) won't load at all after the
 login
 page, and the other (dataSearch) appears normal, it will reload the login
 page (related to a bug in the application, login was always flaky on it
 unless you were logged into an instance of the former application).



 Other pages (the test directory) load fine.



 The eli app uses response.sendRedirect(home.jsp); in the login process;
 but it appears to me that even login.jsp is not being recognized from the
 form submit.



 We have a test server running Tomcat 6 and MacOS 10.4 where the application
 works fine. I understand there is a big difference between the two, but the
 budget for upgrades is thin around here. As I said before, it ran in the
 current environment prior to the rebuild.



 I would appreciate any hints on where to go from here on fixing the
 problem.



 Attached are log snippets.



 Thanks,

 Ben Madore



 Research Programmer, Linguistics Dpt.

 University of Pittsburgh, Cathedral of Learning



 136.142.248.135 - - [24/Jan/2012:14:02:12 -0500] GET /eli2121/ HTTP/1.1
 200 6501

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] POST /eli2121/login.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -



 107.9.135.86 - - [25/Jan/2012:00:37:31 -0500] GET
 /eli2117/course.jsp?action=submitfile_type_id=1 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - 

Re: Reinstall with 302 error

2012-01-28 Thread Pid
On 28/01/2012 15:08, Bilal S wrote:
 It would not be unusual for a page to redirect to itself.
 Have you tried an alternate connection mechanisms. Http proxy or BonCode (
 http://tomcatiis.riaforge.org)?

Really, is that relevant here?

Please don't top-post.  Please reply below each relevant point in the
previous message.


 Does it behave the same?

 If this app works unmodified in Mac OSX, it should work in Windows.
 
 On Wed, Jan 25, 2012 at 5:08 PM, Benjamin Madore bc...@pitt.edu wrote:
 
 Hi all,

I have inherited a two web applications written several
 years ago. Since the server, which had been installed just before I
 arrived,
 was rebuilt last month we have not been able to log in to the application.
 We had continued to update Tomcat and Java before the rebuild so it was
 running the latest versions at the time on Windows 2008.

 Previously we had been using IIS to redirect the site, however we installed
 the Tomcat Connector.

Which versions of Tomcat and the connector are you using?


 We use an SSL cert that has been installed in IIS.

 The index.jsp page loads fine, but other jsp pages in the site give an
 error. Other sites have no problem, and I am able to view jsp pages with or
 without https.

What is the error - be precise please.


 One web app (the eli2117 and 2121 folders) won't load at all after the
 login
 page, and the other (dataSearch) appears normal, it will reload the login
 page (related to a bug in the application, login was always flaky on it
 unless you were logged into an instance of the former application).

What does won't load mean, in detail, please?  An error?


 Other pages (the test directory) load fine.

 The eli app uses response.sendRedirect(home.jsp); in the login process;
 but it appears to me that even login.jsp is not being recognized from the
 form submit.

Where is login.jsp?  How are you accessing it?  What kind of
authentication is configured?


 We have a test server running Tomcat 6 and MacOS 10.4 where the application
 works fine. I understand there is a big difference between the two, but the
 budget for upgrades is thin around here. As I said before, it ran in the
 current environment prior to the rebuild.

 I would appreciate any hints on where to go from here on fixing the
 problem.

 Attached are log snippets.

Attachments get eaten by the list.  Please paste log contents inline.


p


 Thanks,

 Ben Madore



 Research Programmer, Linguistics Dpt.

 University of Pittsburgh, Cathedral of Learning



 136.142.248.135 - - [24/Jan/2012:14:02:12 -0500] GET /eli2121/ HTTP/1.1
 200 6501

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] POST /eli2121/login.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -

 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
 HTTP/1.1 302 -



 107.9.135.86 - - [25/Jan/2012:00:37:31 -0500] GET
 /eli2117/course.jsp?action=submitfile_type_id=1 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
 HTTP/1.1 302 -

 107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET 

Reinstall with 302 error

2012-01-25 Thread Benjamin Madore
Hi all,

I have inherited a two web applications written several
years ago. Since the server, which had been installed just before I arrived,
was rebuilt last month we have not been able to log in to the application.
We had continued to update Tomcat and Java before the rebuild so it was
running the latest versions at the time on Windows 2008.

 

Previously we had been using IIS to redirect the site, however we installed
the Tomcat Connector.

 

We use an SSL cert that has been installed in IIS.

 

The index.jsp page loads fine, but other jsp pages in the site give an
error. Other sites have no problem, and I am able to view jsp pages with or
without https.

 

One web app (the eli2117 and 2121 folders) won't load at all after the login
page, and the other (dataSearch) appears normal, it will reload the login
page (related to a bug in the application, login was always flaky on it
unless you were logged into an instance of the former application).

 

Other pages (the test directory) load fine.

 

The eli app uses response.sendRedirect(home.jsp); in the login process;
but it appears to me that even login.jsp is not being recognized from the
form submit.

 

We have a test server running Tomcat 6 and MacOS 10.4 where the application
works fine. I understand there is a big difference between the two, but the
budget for upgrades is thin around here. As I said before, it ran in the
current environment prior to the rebuild.

 

I would appreciate any hints on where to go from here on fixing the problem.

 

Attached are log snippets.

 

Thanks,

Ben Madore

 

Research Programmer, Linguistics Dpt.

University of Pittsburgh, Cathedral of Learning

 

136.142.248.135 - - [24/Jan/2012:14:02:12 -0500] GET /eli2121/ HTTP/1.1
200 6501

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] POST /eli2121/login.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] GET /eli2121/home.jsp
HTTP/1.1 302 -

 

107.9.135.86 - - [25/Jan/2012:00:37:31 -0500] GET
/eli2117/course.jsp?action=submitfile_type_id=1 HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - - [25/Jan/2012:00:37:32 -0500] GET /eli2117/home.jsp
HTTP/1.1 302 -

107.9.135.86 - -