Re: tomcat does not like cmdline args of wget?

2005-06-15 Thread Shiro Amada
First I won;t like to say thx for reply my mail. Sorry for didn't tell my OS, I am using Windows OS SP2, and then now I doing java servlet, the problem is I can connect with my MS Access database. I already attact my java file, u can have the look. The coding don't have problem, because that co

Re: tomcat does not like cmdline args of wget?

2005-06-15 Thread Holger Klawitter
> Why, not? It is always a good idea to start testing the simple things ;) Never mind, I would even been happier to say 'doh' at this point and hence seeing the problem solved :-) > You could google for problems with wget authentication. Maybe others > have found similar problems. I'll check th

Re: tomcat does not like cmdline args of wget?

2005-06-14 Thread Christoph Kutzinski
Holger Klawitter wrote: Christoph Kutzinski wrote: wget --http-user=theUser --http-passwd=thePass http://theHost/someURL vs. wget http://theUser:[EMAIL PROTECTED]/someURL with BASIC auth Or are you really literally writing wget http://theUser:[EMAIL PROTECTED]/someURL of course not :-)

Re: tomcat does not like cmdline args of wget?

2005-06-14 Thread Holger Klawitter
Christoph Kutzinski wrote: >wget --http-user=theUser --http-passwd=thePass http://theHost/someURL > vs. >wget http://theUser:[EMAIL PROTECTED]/someURL > with BASIC auth > Or are you really literally writing > wget http://theUser:[EMAIL PROTECTED]/someURL of course not :-) There was no shell esc

Re: tomcat does not like cmdline args of wget?

2005-06-14 Thread Christoph Kutzinski
Are there any special chars in theUser and/or thePass that could possibly escaped in the URL and/or by the shell? E.g. Umlauts, Whitespace, %, ... Or are you really literally writing wget http://theUser:[EMAIL PROTECTED]/someURL ? Holger Klawitter wrote: QM wrote: On Mon, Jun 13, 2005 at 11

Re: tomcat does not like cmdline args of wget?

2005-06-14 Thread Mario Ivankovits
Holger Klawitter wrote: There is one indeed interesting difference, both requests end up with a different (each one is reproducable) auth string: Sorry, didnt follow the conversion and thus it might be complete wrong what comes into my mind, but: Do you have some special character in your pas

Re: tomcat does not like cmdline args of wget?

2005-06-14 Thread Holger Klawitter
QM wrote: > On Mon, Jun 13, 2005 at 11:04:03AM +0200, Holger Klawitter wrote: > : what might be the reasion that > : wget http://theUser:[EMAIL PROTECTED]/someURL > : is working, whereas > : wget --http-user=theUser --http-passwd=thePass http://theHost/someURL > : yields "Authorization failed"

Re: tomcat does not like cmdline args of wget?

2005-06-13 Thread Tim Funk
Works for me. (Using wget 1.9.1) Using tomcat 5.0.X. I don't have a tomcat 5.5.X readily available to quickly test this case. -Tim Holger Klawitter wrote: Hi there, what might be the reasion that wget http://theUser:[EMAIL PROTECTED]/someURL is working, whereas wget --http-user=theUse

Re: tomcat does not like cmdline args of wget?

2005-06-13 Thread QM
On Mon, Jun 13, 2005 at 11:04:03AM +0200, Holger Klawitter wrote: : what might be the reasion that : wget http://theUser:[EMAIL PROTECTED]/someURL : is working, whereas : wget --http-user=theUser --http-passwd=thePass http://theHost/someURL : yields "Authorization failed" (401)? (I also tried -

tomcat does not like cmdline args of wget?

2005-06-13 Thread Holger Klawitter
Hi there, what might be the reasion that wget http://theUser:[EMAIL PROTECTED]/someURL is working, whereas wget --http-user=theUser --http-passwd=thePass http://theHost/someURL yields "Authorization failed" (401)? (I also tried --cookies=on) (tomcat 5.5.9, wget 1.9.1, jdk 1.5.0_2) -- Wi