Error on Running Perl CGI on Tomcat

2005-05-20 Thread Robert Kerry
I know this has been asked for millions of time, but I searched google
for the entire day but did not get an answer, instead I found millions
of ppl who have the same problem as I am. The problem is simple:
1. The same code runs well on command line
2. When Running on Tomcat, the html file gives such error:
Software error:
Can't connect to MySQL database: Can't create TCP/IP socket (10106)
3. OS is Windows XP
4. I am pretty sure that Tomcat, Perl interpreter, MySQL runs well seperately.

I don't know what to do and since it is a joint question of 3
softwares, I'm gonna
send it to the three maillist and see finally if anybody could give
correct answers to it. Thanks

Regards,
Robert.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Very basic question about running perl cgi on tomcat

2005-04-24 Thread Robert Kerry
I changed the web.xml file and the .jar suffix as required, and create
a new directory WEB-INF/cgi/ under webapps/ directory, I put my
first.pl into that directory, and try to visit it using
http://localhost:8080/cgi/first.pl but it doesn't work. I've also
tried /cgi-bin/first.pl and something else, always give me HTTP 404
file not found error. What should I do? Thank you.

Robert.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]