You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "JimH@Nucleus.com" <ji...@nucleus.com> on 2003/01/16 18:58:55 UTC

Apache 2.0.43 and Mod_jk (where is a compatible pre-compiled mod_jk for this version of apache)?

Is there a precompiled mod_jk for Apache 2_0_43?

or better yet where can I get the source for mod_jk that will compile the
module for Apache 2_0_43

I get this error:

httpd
httpd: module "mod_jk.c" is not compatible with this version of Apache
(found 20020628, need 20020903).
Please contact the vendor for the correct version.


Thanks




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Simulating a browser session

Posted by Will Hartung <wi...@msoft.com>.
> From: "Brandon Cruz" <bc...@norvax.com>
> Sent: Thursday, January 16, 2003 10:23 AM
> Subject: Simulating a browser session


> Does anyone have familiarity with using JAVA to simulate a browser session
> and navigate multiple pages in a https based web application, storing
> session cookies, doing form posts, etc.?

Whenever wierd stuff like this starts happening, I've found that it's really
helpful to have some kind of "man in the middle" processes to watch what's
coming and going over the wire, like packet sniffers, or a logging proxy,
etc. Anything that you can stick between a "working" browser and the actual
application that can give insight to the comings and goings of the requests,
and what's in the headers.

Of course, then I realized that your going over SSL, which kind of makes
that difficult to do.

Any chance you can run over HTTP within a controlled environment?

While it's nice to apply standards, and assume that things SHOULD work, they
don't really help when what should work doesn't, and then it's all reverse
engineering.

I can't really give specifics, as a lot of it is platform dependent, and
I've done a bunch of one off hacks and what not in the past.

But, the most basic tool, if you can get this out of the SSL environment,
would be to use a packet sniffer to watch a "working" transaction. These can
reveal a lot of subtle details in these cases.

Regards,

Will Hartung
(willh@msoft.com)




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Simulating a browser session

Posted by Will Sargent <wi...@yahoo.com>.
You could try using the HTTPClient library:
http://www.innovation.ch/java/HTTPClient/

or you can try using HTTPUnit: http://httpunit.sourceforge.net/

Will.

> -----Original Message-----
> From: Jason Pyeron [mailto:jason@pyeron.com]
> Sent: Thursday, January 16, 2003 10:30 AM
> To: bcruz@norvax.com
> Subject: Re: Simulating a browser session
>
>
> Brandon,
>
> 9 times out of 10 it is my cookie, or ssl, or other non-complient
> logic in
> my code, but otherwise, this may be you, ...
>
> 1 times out of 10 when I have trouble interacting with a
> webapplication, it is caused by the useragent setting i pass.
>
> My steps to diagnose my problems are:
>
> 1: Try to work with the web app in internet explorer 5.5
> 2: trace interactions with site using cURL acting as IE5.5
> 3: trace interactions with site using cURL acting as the suspect agent
>
> my favorite usage is:
>  curl -viLsA 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0;
> .NET CLR 1.0.3705)' url
>
> -F for form values
> -b & -c for cookies
> -k for ssl issues
> -u for user auth
> -o for output file ( i like the screen better )
>
>
>
> On Thu, 16 Jan 2003, Brandon Cruz wrote:
>
>
> Does anyone have familiarity with using JAVA to simulate a browser session
> and navigate multiple pages in a https based web application, storing
> session cookies, doing form posts, etc.?
>
> We are trying to do an https post, but the application is acting as if the
> parameters are never passed.
>
> We have done the exact same thing before at another website with no
> problems.
>
> The only difference is that the one that does not work is using session
> cookies, although we are able to successfully get and set the cookies.
>
> In both situations, the web application we are trying to navigate is ASP
> based.
>
> We are trying to integrate one of our partners applications to ours and
> could really use any information, web pages to reference, anything.  We're
> out of ideas.
>
> Thanks in advance and sorry for the off topic post, please reply to me
> directly.
>
> Brandon
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.






--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Simulating a browser session

Posted by Will Hartung <wi...@msoft.com>.
> From: "Brandon Cruz" <bc...@norvax.com>
> Sent: Thursday, January 16, 2003 11:52 AM
> Subject: RE: Simulating a browser session


> Thanks for the info.  What exactly is this cURL program?  Is it something
I
> can run from a linux command line or a program I can download?  Anyway, I
> really appreciate the info!

It's like wget, a command line http client.

Another thing to look at is perhaps tweaking the log files on the host (for
apache, that would be access.log) to try and get request information out of
it.

But, either way, get the request details nailed down and the rest falls in
place.

Regards,

Will Hartung
(willh@msoft.com)




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Simulating a browser session

Posted by Jason Pyeron <ja...@pyeron.com>.
cURL can be obtained from http://curl.haxx.se/

for windows, cygwin, linux, etc.

-jason

On Thu, 16 Jan 2003, Brandon Cruz wrote:

Jason,

Thanks for the info.  What exactly is this cURL program?  Is it something I
can run from a linux command line or a program I can download?  Anyway, I
really appreciate the info!

Brandon

-----Original Message-----
From: Jason Pyeron [mailto:jason@pyeron.com]
Sent: Thursday, January 16, 2003 12:30 PM
To: bcruz@norvax.com
Subject: Re: Simulating a browser session


Brandon,

9 times out of 10 it is my cookie, or ssl, or other non-complient logic in
my code, but otherwise, this may be you, ...

1 times out of 10 when I have trouble interacting with a
webapplication, it is caused by the useragent setting i pass.

My steps to diagnose my problems are:

1: Try to work with the web app in internet explorer 5.5
2: trace interactions with site using cURL acting as IE5.5
3: trace interactions with site using cURL acting as the suspect agent

my favorite usage is:
 curl -viLsA 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR
1.0.3705)' url

-F for form values
-b & -c for cookies
-k for ssl issues
-u for user auth
-o for output file ( i like the screen better )



On Thu, 16 Jan 2003, Brandon Cruz wrote:


Does anyone have familiarity with using JAVA to simulate a browser session
and navigate multiple pages in a https based web application, storing
session cookies, doing form posts, etc.?

We are trying to do an https post, but the application is acting as if the
parameters are never passed.

We have done the exact same thing before at another website with no
problems.

The only difference is that the one that does not work is using session
cookies, although we are able to successfully get and set the cookies.

In both situations, the web application we are trying to navigate is ASP
based.

We are trying to integrate one of our partners applications to ours and
could really use any information, web pages to reference, anything.  We're
out of ideas.

Thanks in advance and sorry for the off topic post, please reply to me
directly.

Brandon



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.






--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Simulating a browser session

Posted by Michael Della Bitta <mi...@dkv.columbia.edu>.
Brandon:

curl is a command line utility similar to wget (which you probably 
already have). it's available for download on sourceforge.net.

Michael Della Bitta
Columbia University


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Simulating a browser session

Posted by Brandon Cruz <bc...@norvax.com>.
Jason,

Thanks for the info.  What exactly is this cURL program?  Is it something I
can run from a linux command line or a program I can download?  Anyway, I
really appreciate the info!

Brandon

-----Original Message-----
From: Jason Pyeron [mailto:jason@pyeron.com]
Sent: Thursday, January 16, 2003 12:30 PM
To: bcruz@norvax.com
Subject: Re: Simulating a browser session


Brandon,

9 times out of 10 it is my cookie, or ssl, or other non-complient logic in
my code, but otherwise, this may be you, ...

1 times out of 10 when I have trouble interacting with a
webapplication, it is caused by the useragent setting i pass.

My steps to diagnose my problems are:

1: Try to work with the web app in internet explorer 5.5
2: trace interactions with site using cURL acting as IE5.5
3: trace interactions with site using cURL acting as the suspect agent

my favorite usage is:
 curl -viLsA 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR
1.0.3705)' url

-F for form values
-b & -c for cookies
-k for ssl issues
-u for user auth
-o for output file ( i like the screen better )



On Thu, 16 Jan 2003, Brandon Cruz wrote:


Does anyone have familiarity with using JAVA to simulate a browser session
and navigate multiple pages in a https based web application, storing
session cookies, doing form posts, etc.?

We are trying to do an https post, but the application is acting as if the
parameters are never passed.

We have done the exact same thing before at another website with no
problems.

The only difference is that the one that does not work is using session
cookies, although we are able to successfully get and set the cookies.

In both situations, the web application we are trying to navigate is ASP
based.

We are trying to integrate one of our partners applications to ours and
could really use any information, web pages to reference, anything.  We're
out of ideas.

Thanks in advance and sorry for the off topic post, please reply to me
directly.

Brandon



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and
notify the sender immediately.  Any other use of the email by you
is prohibited.






--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Simulating a browser session

Posted by Jason Pyeron <ja...@pyeron.com>.
Brandon,

9 times out of 10 it is my cookie, or ssl, or other non-complient logic in 
my code, but otherwise, this may be you, ...

1 times out of 10 when I have trouble interacting with a 
webapplication, it is caused by the useragent setting i pass.

My steps to diagnose my problems are:

1: Try to work with the web app in internet explorer 5.5 
2: trace interactions with site using cURL acting as IE5.5
3: trace interactions with site using cURL acting as the suspect agent

my favorite usage is:
 curl -viLsA 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; .NET CLR 1.0.3705)' url

-F for form values
-b & -c for cookies
-k for ssl issues
-u for user auth
-o for output file ( i like the screen better )



On Thu, 16 Jan 2003, Brandon Cruz wrote:


Does anyone have familiarity with using JAVA to simulate a browser session
and navigate multiple pages in a https based web application, storing
session cookies, doing form posts, etc.?

We are trying to do an https post, but the application is acting as if the
parameters are never passed.

We have done the exact same thing before at another website with no
problems.

The only difference is that the one that does not work is using session
cookies, although we are able to successfully get and set the cookies.

In both situations, the web application we are trying to navigate is ASP
based.

We are trying to integrate one of our partners applications to ours and
could really use any information, web pages to reference, anything.  We're
out of ideas.

Thanks in advance and sorry for the off topic post, please reply to me
directly.

Brandon



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                   http://www.pyerotechnics.com   -
- Owner & Lead                  Pyerotechnics Development, Inc. -
- +1 410 808 6646 (c)           500 West University Parkway #1S -
- +1 410 467 2266 (f)           Baltimore, Maryland  21210-3253 -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise private information. If you
have received it in error, purge the message from your system and 
notify the sender immediately.  Any other use of the email by you 
is prohibited.






--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Simulating a browser session

Posted by Brandon Cruz <bc...@norvax.com>.
Does anyone have familiarity with using JAVA to simulate a browser session
and navigate multiple pages in a https based web application, storing
session cookies, doing form posts, etc.?

We are trying to do an https post, but the application is acting as if the
parameters are never passed.

We have done the exact same thing before at another website with no
problems.

The only difference is that the one that does not work is using session
cookies, although we are able to successfully get and set the cookies.

In both situations, the web application we are trying to navigate is ASP
based.

We are trying to integrate one of our partners applications to ours and
could really use any information, web pages to reference, anything.  We're
out of ideas.

Thanks in advance and sorry for the off topic post, please reply to me
directly.

Brandon



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Apache 2.0.43 and Mod_jk (where is a compatible pre-compiled mod_jk for this version of apache)?

Posted by Lajos Moczar <lm...@galatea.com>.
Jim -

Did you try 
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.2/bin/?

There are some for 2.0.43 there.

Lajos


JimH@Nucleus.com wrote:
> Is there a precompiled mod_jk for Apache 2_0_43?
> 
> or better yet where can I get the source for mod_jk that will compile the
> module for Apache 2_0_43
> 
> I get this error:
> 
> httpd
> httpd: module "mod_jk.c" is not compatible with this version of Apache
> (found 20020628, need 20020903).
> Please contact the vendor for the correct version.
> 
> 
> Thanks
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 


-- 



                    Lajos Moczar
       ----------------------------------------
     Open Source Support, Consulting and Training

                    _      _____
                   / \         /
                  /___\      /
                 /     \   /____

      http://www.galatea.com -- powered by AzSSL


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>