tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: 403 error starting tomcat 7.0.22 application on windows 7
Date Sun, 13 Nov 2011 15:15:25 GMT
On 13/11/2011 09:31, basilk@obninsk.com wrote:
>>> Hi.
>>>
>>> I  updated winXp to win7 and cannot start my tomcat 7.0.22
>>> web-application.
>>> The tomcat returns 403 error. When i run manager application
>>> everything is ok.
>>
>> The manager app is ok, or running the manager app fixes your other app?
>>
>> The manager itself runs ok but starting my app from the manager list
>> still results in 403 error.
>>
>>> What seems to be my problem?
>>
>> Problem: you haven't told us anything useful.
>>
>>> Thanks.
>>
>> 403 is HTTP Forbidden, it means that Auth has failed. What Auth do you
>> have configured?
>>
>> No  Auth have been configured, because i just copy my app to the
>> webapps directory from
>> the old operating system, where my app was running without any Auth
>> configuration.
> 
> What else has changed?
> 
> Operating system have been changed from WinXp pro to Win7 pro. That's all.
> 
> Do you still have the old server.xml file?
> 
> No. I've installed Tomcat 7.0.22.
> 
> Can you paste the application web.xml file (inline) into your reply?
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>         xmlns="http://java.sun.com/xml/ns/javaee"
>         xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
>         xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
>         version="2.5">
>  <display-name>WEB query</display-name>
>  <description></description>
>  <error-page>
>    <error-code>404</error-code>
>    <location>/includes/error404.jsp</location>
>  </error-page>
>  <error-page>
>    <error-code>500</error-code>
>    <location>/includes/error500.jsp</location>
>  </error-page>
>  <servlet>
>    <description></description>
>    <display-name>reportcmnt</display-name>
>    <servlet-name>reportcmnt</servlet-name>
>    <jsp-file>/jsp/reportcmnt.jsp</jsp-file>
>  </servlet>
>  <servlet-mapping>
>    <servlet-name>reportcmnt</servlet-name>
>    <url-pattern>/reportcmnt</url-pattern>
>  </servlet-mapping>
> </web-app>
> 
> Remove usernames/passwords if present.

What is in the WEB-INF/lib and WEB-INF/classes directory?

Does the application deploy correctly?

Is there anything in the logs?

Do you have an access log configured, if so, what does it show?

What user account is Tomcat running under?


p






-- 

[key:62590808]


Mime
View raw message