Re: Exception Both the UrlPattern and value attribute were set for the WebServlet annotation on class ...
Hi. Thanks for the answer. But i didn't quite catch, what i should do? Eclipse refused to start Tomcat. I don't have any annotations i my application. Basil. From: Violeta Georgieva Sent: Monday, April 04, 2016 10:30 AM To: Tomcat Users List Subject: Re: Exception Both the UrlPattern and value attribute were set for the WebServlet annotation on class ... Hi, 2016-04-04 9:53 GMT+03:00 basilk : Hi. I try to start tomcat 8.0.33 in debug mode under Eclipse Mars.2. I get the following errors: SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/isogdquery]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/isogdquery]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) ... 6 more Caused by: java.lang.IllegalArgumentException: Both the UrlPattern and value attribute were set for the WebServlet annotation on class [test.org.apache.catalina.startup.DuplicateMappingParamFilter] at org.apache.catalina.startup.ContextConfig.processAnnotationWebFilter(ContextConfig.java:2426) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2057) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1940) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1147) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 6 more This exception means that the filter with class test.org.apache.catalina.startup.DuplicateMappingParamFilter has wrong annotation i.e. the @WebFilter annotation is used with both "value" and "urlPatterns" which is wrong. If this filter is the one from Tomcat tests sources it is stated clearly in the javadoc that this class is used for testing wrong annotations. About the message itself, it needs some rewording because the problem is not with @WebServlet but with @WebFilter. I'll fix that. Regards, Violeta When i start tomcat as service in Windows everything is ok. What seems to be a problem? Thank you. Basil. --- Это сообщение проверено на вирусы антивирусом Avast. https://www.avast.com/antivirus --- Это сообщение проверено на вирусы антивирусом Avast. https://www.avast.com/antivirus - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Exception Both the UrlPattern and value attribute were set for the WebServlet annotation on class ...
Hi. I try to start tomcat 8.0.33 in debug mode under Eclipse Mars.2. I get the following errors: SEVERE: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/isogdquery]] at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/isogdquery]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153) ... 6 more Caused by: java.lang.IllegalArgumentException: Both the UrlPattern and value attribute were set for the WebServlet annotation on class [test.org.apache.catalina.startup.DuplicateMappingParamFilter] at org.apache.catalina.startup.ContextConfig.processAnnotationWebFilter(ContextConfig.java:2426) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2057) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1940) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.processAnnotationsWebResource(ContextConfig.java:1934) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1147) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) ... 6 more When i start tomcat as service in Windows everything is ok. What seems to be a problem? Thank you. Basil. --- Это сообщение проверено на вирусы антивирусом Avast. https://www.avast.com/antivirus
Re: Cannot redirect to html
I’ve got a file, containg html and locating in relative directory. When i return it in a jsp page using out.write(file>), then everything is ok. But when i return it using response.sendRedirect(file>), i’ve got a 404 error. What seems to be a problem? Please, help. Unless you provide: - the URL used to access the JSP - the full path to that JSP on the file system - the relative path you are trying to use no-one here is going to be able to help you. Mark Mark. You are absolutely right. No one can help because the problem is my misunderstanding the jsp code. Now i found out what was the root of the problem. Thank you for your time. basil. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Cannot redirect to html
Hi. I’ve got a file, containg html and locating in relative directory. When i return it in a jsp page using out.write(), then everything is ok. But when i return it using response.sendRedirect(), i’ve got a 404 error. What seems to be a problem? Please, help. Thanks.
Re: 403 error starting tomcat 7.0.22 application on windows 7
When i have changed url for my app from http://localhost... to http://127.0.0.1... the 403 error has gone. -Исходное сообщение- From: Tim Watts Sent: Monday, November 14, 2011 7:35 PM To: Tomcat Users List Subject: Re: 403 error starting tomcat 7.0.22 application on windows 7 On Mon, 2011-11-14 at 09:56 +0400, bas...@obninsk.com wrote: -Исходное сообщение- From: Tim Watts Sent: Monday, November 14, 2011 9:09 AM To: Tomcat Users List Subject: Re: 403 error starting tomcat 7.0.22 application on windows 7 On Mon, 2011-11-14 at 08:17 +0400, bas...@obninsk.com wrote: > > Can you paste the application web.xml file (inline) into your reply? > > > > > > 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"> > > WEB query > > > > > >404 > >/includes/error404.jsp > > > > > >500 > >/includes/error500.jsp > > > > > > > >reportcmnt > >reportcmnt > >/jsp/reportcmnt.jsp > > > > > >reportcmnt > >/reportcmnt > > > > > > > Do you have an access log configured, if so, what does it show? > > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:09:50:32 +0300] "GET /query HTTP/1.1" > 302 > 125 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, > like > Gecko) Chrome/15.0.874.120 Safari/535.2" > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:09:50:32 +0300] "GET /query/ HTTP/1.1" > 403 > 964 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, > like > Gecko) Chrome/15.0.874.120 Safari/535.2" > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:11:40:54 +0300] "GET /query HTTP/1.1" > 302 > 125 > "http://localhost:8082/manager/html;jsessionid=4D76EA53493CA915B556DB02D1D9932E?org.apache.catalina.filters.CSRF_NONCE=95AB554C225507BE146FBA41E2BF3A97"; > "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like > Gecko) > Chrome/15.0.874.120 Safari/535.2" > 0:0:0:0:0:0:0:1 - - [13/Nov/2011:11:40:54 +0300] "GET /query/ HTTP/1.1" > 403 > 964 > "http://localhost:8082/manager/html;jsessionid=4D76EA53493CA915B556DB02D1D9932E?org.apache.catalina.filters.CSRF_NONCE=95AB554C225507BE146FBA41E2BF3A97"; > "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like > Gecko) > Chrome/15.0.874.120 Safari/535.2" > What user account is Tomcat running under? A: local system account. It has full access to the application's folders and files. > > OK, you're getting a 403 on http://localhost:8082/query/ but your web.xml only shows a mapping for /reportcmnt and no welcome file declarations. What happens if you use /query/reportcmnt instead? A: 403 error again. Is there perhaps an index.html that would have redirected to /query/reportcmnt? A: My index.html contains WEB query location="jsp/app.jsp" Q: What version of Tomcat were you using prior to the win7 migration? A: Tomcat 7.0.22. I've just installed Tomcat 7.0.22 on WinXP, then copied my app from Win7 to the WinXp webapps folder and run my app. It works fine. So (xp,tc7)=OK but (win7,tc7)=403 for 'query' but not 'manager'. Presumably on XP you're also running Tomcat as a service under the local system account? Just for grins, have you tried stopping the service then running Tomcat from a command shell (e.g. {tc-home}\bin \startup.bat) on win7 under your user account and see if you still get the 403? Just guessing here but is it possible your web app files have security constraints attached to them that aren't being resolved on win7 but are on xp? Are there any conditions in your app logic that would return a 403? Perhaps it can't access a service from win7 but can from xp? Licensing? Also, looks like you've done some tweaking on server.xml (e.g. different server port). Can you paste in this file as well? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: 403 error starting tomcat 7.0.22 application on windows 7
catalina.policy? // These permissions apply to javac grant codeBase "file:${java.home}/lib/-" { permission java.security.AllPermission; }; // These permissions apply to all shared system extensions grant codeBase "file:${java.home}/jre/lib/ext/-" { permission java.security.AllPermission; }; // These permissions apply to javac when ${java.home] points at $JAVA_HOME/jre grant codeBase "file:${java.home}/../lib/-" { permission java.security.AllPermission; }; // These permissions apply to all shared system extensions when // ${java.home} points at $JAVA_HOME/jre grant codeBase "file:${java.home}/lib/ext/-" { permission java.security.AllPermission; }; // == CATALINA CODE PERMISSIONS === // These permissions apply to the daemon code grant codeBase "file:${catalina.home}/bin/commons-daemon.jar" { permission java.security.AllPermission; }; // These permissions apply to the logging API // Note: If tomcat-juli.jar is in ${catalina.base} and not in ${catalina.home}, // update this section accordingly. // grant codeBase "file:${catalina.base}/bin/tomcat-juli.jar" {..} grant codeBase "file:${catalina.home}/bin/tomcat-juli.jar" { permission java.io.FilePermission "${java.home}${file.separator}lib${file.separator}logging.properties", "read"; permission java.io.FilePermission "${catalina.base}${file.separator}conf${file.separator}logging.properties", "read"; permission java.io.FilePermission "${catalina.base}${file.separator}logs", "read, write"; permission java.io.FilePermission "${catalina.base}${file.separator}logs${file.separator}*", "read, write"; permission java.lang.RuntimePermission "shutdownHooks"; permission java.lang.RuntimePermission "getClassLoader"; permission java.lang.RuntimePermission "setContextClassLoader"; permission java.util.logging.LoggingPermission "control"; permission java.util.PropertyPermission "java.util.logging.config.class", "read"; permission java.util.PropertyPermission "java.util.logging.config.file", "read"; permission java.util.PropertyPermission "catalina.base", "read"; // Note: To enable per context logging configuration, permit read access to // the appropriate file. Be sure that the logging configuration is // secure before enabling such access. // E.g. for the examples web application (uncomment and unwrap // the following to be on a single line): // permission java.io.FilePermission "${catalina.base}${file.separator} // webapps${file.separator}examples${file.separator}WEB-INF // ${file.separator}classes${file.separator}logging.properties", "read"; }; // These permissions apply to the server startup code grant codeBase "file:${catalina.home}/bin/bootstrap.jar" { permission java.security.AllPermission; }; // These permissions apply to the servlet API classes // and those that are shared across all class loaders // located in the "lib" directory grant codeBase "file:${catalina.home}/lib/-" { permission java.security.AllPermission; }; // If using a per instance lib directory, i.e. ${catalina.base}/lib, // then the following permission will need to be uncommented // grant codeBase "file:${catalina.base}/lib/-" { // permission java.security.AllPermission; // }; // == WEB APPLICATION PERMISSIONS = // These permissions are granted by default to all web applications // In addition, a web application will be given a read FilePermission // and JndiPermission for all files and directories in its document root. grant { // Required for JNDI lookup of named JDBC DataSource's and // javamail named MimePart DataSource used to send mail permission java.util.PropertyPermission "java.home", "read"; permission java.util.PropertyPermission "java.naming.*", "read"; permission java.util.PropertyPermission "javax.sql.*", "read"; // OS Specific properties to allow read access permission java.util.PropertyPermission "os.name", "read"; permission java.util.PropertyPermission "os.version", "read"; permission java.util.PropertyPermission "os.arch", "read"; permission java.util.PropertyPermission "file.separator", "read"; permission java.util.PropertyPermission "path.separator", "read"; permission java.util.PropertyPermission "line.separator", "read"; // JVM properties to allow read access permission java.util.PropertyPermission "java.version", "read"; permission java.util.PropertyPermission "java.vendor", "read"; permission java.util.PropertyPermission "java.vendor.url", "read"; permission java.util.PropertyPermission "java.class.version", "read"; permission java.util.PropertyPermission "java.specification.version", "read"; permission java.util.PropertyPermission "java.specification.vendor", "read
Re: 403 error starting tomcat 7.0.22 application on windows 7
-Исходное сообщение- From: Tim Watts Sent: Monday, November 14, 2011 9:09 AM To: Tomcat Users List Subject: Re: 403 error starting tomcat 7.0.22 application on windows 7 On Mon, 2011-11-14 at 08:17 +0400, bas...@obninsk.com wrote: > Can you paste the application web.xml file (inline) into your reply? > > > 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"> > WEB query > > >404 >/includes/error404.jsp > > >500 >/includes/error500.jsp > > > >reportcmnt >reportcmnt >/jsp/reportcmnt.jsp > > >reportcmnt >/reportcmnt > > > Do you have an access log configured, if so, what does it show? 0:0:0:0:0:0:0:1 - - [13/Nov/2011:09:50:32 +0300] "GET /query HTTP/1.1" 302 125 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2" 0:0:0:0:0:0:0:1 - - [13/Nov/2011:09:50:32 +0300] "GET /query/ HTTP/1.1" 403 964 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2" 0:0:0:0:0:0:0:1 - - [13/Nov/2011:11:40:54 +0300] "GET /query HTTP/1.1" 302 125 "http://localhost:8082/manager/html;jsessionid=4D76EA53493CA915B556DB02D1D9932E?org.apache.catalina.filters.CSRF_NONCE=95AB554C225507BE146FBA41E2BF3A97"; "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2" 0:0:0:0:0:0:0:1 - - [13/Nov/2011:11:40:54 +0300] "GET /query/ HTTP/1.1" 403 964 "http://localhost:8082/manager/html;jsessionid=4D76EA53493CA915B556DB02D1D9932E?org.apache.catalina.filters.CSRF_NONCE=95AB554C225507BE146FBA41E2BF3A97"; "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.120 Safari/535.2" What user account is Tomcat running under? A: local system account. It has full access to the application's folders and files. OK, you're getting a 403 on http://localhost:8082/query/ but your web.xml only shows a mapping for /reportcmnt and no welcome file declarations. What happens if you use /query/reportcmnt instead? A: 403 error again. Is there perhaps an index.html that would have redirected to /query/reportcmnt? A: My index.html contains WEB query location="jsp/app.jsp" Q: What version of Tomcat were you using prior to the win7 migration? A: Tomcat 7.0.22. I've just installed Tomcat 7.0.22 on WinXP, then copied my app from Win7 to the WinXp webapps folder and run my app. It works fine. If you were using a pre-Tomcat7 version you may be butting up against 7's stricter servlet compliance. You should explicitly declare a welcome file in web.xml. Why? - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: 403 error starting tomcat 7.0.22 application on windows 7
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? 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"> WEB query 404 /includes/error404.jsp 500 /includes/error500.jsp reportcmnt reportcmnt /jsp/reportcmnt.jsp reportcmnt /reportcmnt Remove usernames/passwords if present. What is in the WEB-INF/lib and WEB-INF/classes directory? WEB-INF/lib contains com4j.jar ojdbc6.jar orai18n.jar orgkvsutils_2_0.jar serializer.jar SmartInspect.jar xalan.jar xercesImpl.jar xml-apis.jar WEB-INF/classes doesn't exxists. Does the application deploy correctly? Yes. Is there anything in the logs? catalina.2011-11-13.log: ноя 13, 2011 9:50:06 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Embarcadero\RAD Studio\7.0\bin;C:\Users\Public\Documents\RAD Studio\7.0\Bpl;C:\app\basil\product\11.2.0\client_1;C:\app\basil\product\11.2.0\client_1\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;y:\Program Files\Microsoft SQL Server\100\Tools\Binn\;y:\Program Files\Microsoft SQL Server\100\Tools\Binn\;y:\Program Files\Microsoft SQL Server\100\DTS\Binn\;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;y:\Program Files\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\QuickTime\QTSystem\;;. ноя 13, 2011 9:50:07 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8082"] ноя 13, 2011 9:50:07 AM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] ноя 13, 2011 9:50:07 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1927 ms ноя 13, 2011 9:50:07 AM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina ноя 13, 2011 9:50:07 AM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.22 ноя 13, 2011 9:50:07 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs ноя 13, 2011 9:50:07 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory loader ноя 13, 2011 9:50:08 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory manager ноя 13, 2011 9:50:08 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory query ноя 13, 2011 9:50:09 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory ROOT ноя 13, 2011 9:50:09 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8082"] ноя 13, 2011 9:50:09 AM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["ajp-bio-8009"] ноя 13, 2011 9:50:09 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 2089 ms manager.2011-11-13.log ноя 13, 2011 11:40:51 AM org.apache.catalina.core.ApplicationContext log INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,ho
Re: 403 error starting tomcat 7.0.22 application on windows 7
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? 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"> WEB query 404 /includes/error404.jsp 500 /includes/error500.jsp reportcmnt reportcmnt /jsp/reportcmnt.jsp reportcmnt /reportcmnt Remove usernames/passwords if present. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: 403 error starting tomcat 7.0.22 application on windows 7
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. p - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
403 error starting tomcat 7.0.22 application on windows 7
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. What seems to be my problem? Thanks.