Re: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20
Add the map directory to tomcat. I used tomcat with apache and work well. Frans -Original Message- From: Bhootnath Singh [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Date: Monday, June 18, 2001 12:19 PM Subject: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20 Hi I am trying to configure Tomcat 3.2.1 with Apache 1.3.20 on Win NT sp 6 I have configure Tomcat successfully but when I try to connect it with apache the problem starts. When I type the URL http://localhost:80/MyApp in my browser it shows me the directory structure of my application. And at the same time I get an error in my error.log of apache which says: [error] [client 127.0.0.1] client denied by server configuration: c:/jakarta-tomcat-3.2.1/webapps/MyApp/meta-inf [error] [client 127.0.0.1] client denied by server configuration: c:/jakarta-tomcat-3.2.1/webapps/MyApp/web-inf what can be the cause of this problem . How do I get over it all my servlet classes are inside the directory MyApp/WEB-INF/classes/ all my jsp's are inside the directory MyApp/jsp Please help me out to solve my problem. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Re: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20
no idea about your initial problem, but in order to access the Login servlet at http://localhost/MyApp/Login you need to change the url-pattern to just Login (assuming the context is called MyApp).. well you don't _need_ to, since there are other ways of accessing the servlet.. On Thu, Jun 01, 2000 at 11:14:09AM -, Bhootnath Singh wrote: Yes I am able to request http://localhost/MyApp/jsp/Login.jsp .After entering the login values when I press enter a servlet is called the URL for which is http://localhost/MyApp/Login but it is not able to locate the servlet and gives a Not found error . I have made this entry in the web.xml servlet servlet-nameLogin/servlet-name servlet-classcom.base.login.web.Login/servlet-class /servlet servlet-mapping servlet-nameAgentLogin/servlet-name url-patternAgentLogin/url-pattern /servlet-mapping
RE: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20
I am sorry for having written the wrong servlet mapping the correct one is : servlet servlet-nameLogin/servlet-name servlet-classcom.base.login.web.Login/servlet-class /servlet servlet-mapping servlet-nameLogin/servlet-name url-patternLogin/url-pattern /servlet-mapping Bhootnath -Original Message- From: Daniel Koo [SMTP:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 12:13 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject:Re: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20 no idea about your initial problem, but in order to access the Login servlet at http://localhost/MyApp/Login you need to change the url-pattern to just Login (assuming the context is called MyApp).. well you don't _need_ to, since there are other ways of accessing the servlet.. On Thu, Jun 01, 2000 at 11:14:09AM -, Bhootnath Singh wrote: Yes I am able to request http://localhost/MyApp/jsp/Login.jsp .After entering the login values when I press enter a servlet is called the URL for which is http://localhost/MyApp/Login but it is not able to locate the servlet and gives a Not found error . I have made this entry in the web.xml servlet servlet-nameLogin/servlet-name servlet-classcom.base.login.web.Login/servlet-class /servlet servlet-mapping servlet-nameAgentLogin/servlet-name url-patternAgentLogin/url-pattern /servlet-mapping
Re: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20
are you able to request http://localhost/MyApp/jsp/myjsp.jsp? On Thu, 1 Jun 2000 20:45, you wrote: Hi I am trying to configure Tomcat 3.2.1 with Apache 1.3.20 on Win NT sp 6 I have configure Tomcat successfully but when I try to connect it with apache the problem starts. When I type the URL http://localhost:80/MyApp in my browser it shows me the directory structure of my application. And at the same time I get an error in my error.log of apache which says: [error] [client 127.0.0.1] client denied by server configuration: c:/jakarta-tomcat-3.2.1/webapps/MyApp/meta-inf [error] [client 127.0.0.1] client denied by server configuration: c:/jakarta-tomcat-3.2.1/webapps/MyApp/web-inf what can be the cause of this problem . How do I get over it all my servlet classes are inside the directory MyApp/WEB-INF/classes/ all my jsp's are inside the directory MyApp/jsp Please help me out to solve my problem.
RE: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20
Yes I am able to request http://localhost/MyApp/jsp/Login.jsp .After entering the login values when I press enter a servlet is called the URL for which is http://localhost/MyApp/Login but it is not able to locate the servlet and gives a Not found error . I have made this entry in the web.xml servlet servlet-nameLogin/servlet-name servlet-classcom.base.login.web.Login/servlet-class /servlet servlet-mapping servlet-nameAgentLogin/servlet-name url-patternAgentLogin/url-pattern /servlet-mapping The Login servlet class is present in the directory Web-Inf/classes/com/base/login/web. Plese help me out. Bhootnath -Original Message- From: Dmitri Colebatch [SMTP:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 11:08 AM To: [EMAIL PROTECTED] Subject:Re: URGENT: Problem's in configuring Tomcat 3.2.1 with Apache 1.3.20 are you able to request http://localhost/MyApp/jsp/myjsp.jsp? On Thu, 1 Jun 2000 20:45, you wrote: Hi I am trying to configure Tomcat 3.2.1 with Apache 1.3.20 on Win NT sp 6 I have configure Tomcat successfully but when I try to connect it with apache the problem starts. When I type the URL http://localhost:80/MyApp in my browser it shows me the directory structure of my application. And at the same time I get an error in my error.log of apache which says: [error] [client 127.0.0.1] client denied by server configuration: c:/jakarta-tomcat-3.2.1/webapps/MyApp/meta-inf [error] [client 127.0.0.1] client denied by server configuration: c:/jakarta-tomcat-3.2.1/webapps/MyApp/web-inf what can be the cause of this problem . How do I get over it all my servlet classes are inside the directory MyApp/WEB-INF/classes/ all my jsp's are inside the directory MyApp/jsp Please help me out to solve my problem.