DO NOT REPLY [Bug 51132] New: Semicolon
https://issues.apache.org/bugzilla/show_bug.cgi?id=51132 Summary: Semicolon Product: Tomcat 7 Version: 7.0.12 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: mmsss...@gmail.com Created an attachment (id=26941) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26941) nginx and tomcat's access log and some screenshots sometimes we use the nginx for load balancing. when send a GET request to http://127.0.0.1/g/..;/examples/ the nginx will not process "..;/" contained in the request URL,and forward the request to the real http server such as tomcat or resin. if the url contains semicolon ";" ,resin will show a message like that "The request contains an illegal URL.".but tomcat will ignore the semicolon,and response the resource that we requested. the problem is if nginx has a rule that just forward request URL which start with /g/ then the URL "/g/../examples/" would not be forwarded to tomcat; but the URL like this one "/g/..;/examples/" ,nginx will forward the request and tomcat will treat it as normal URL,then the examples will be accessed. we don't hope that the tomcat response the resource which is not allowed; the attachment contains the nginx and tomcat's log and some screenshot; -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51132] it would ignore the semicolon which contained in the request url
https://issues.apache.org/bugzilla/show_bug.cgi?id=51132 daniel changed: What|Removed |Added Summary|Semicolon |it would ignore the ||semicolon which contained ||in the request url -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51133] New: JSP init throw java.lang.NoClassDefFoundError: Lorg/apache/AnnotationProcessor;
https://issues.apache.org/bugzilla/show_bug.cgi?id=51133 Summary: JSP init throw java.lang.NoClassDefFoundError: Lorg/apache/AnnotationProcessor; Product: Tomcat 7 Version: 7.0.11 Platform: PC OS/Version: Windows Vista Status: NEW Severity: regression Priority: P2 Component: Catalina AssignedTo: dev@tomcat.apache.org ReportedBy: vasiliij.pup...@gmail.com Follow project works fine winth TC.6.xx but with TC.7.0.11 comes attached Error. mvn dependency:tree [INFO] [INFO] Building sHorty [INFO]task-segment: [dependency:tree] [INFO] [INFO] [dependency:tree {execution: default-cli}] [INFO] cc.co.llabor:Shorty:war:0.0.7-SNAPSHOT [INFO] +- commons-collections:commons-collections:jar:3.2.1:compile [INFO] +- net.sf.ehcache:ehcache-core:jar:2.3.2:compile [INFO] +- org.hibernate:hibernate:jar:3.2.1.ga:compile [INFO] | +- net.sf.ehcache:ehcache:jar:1.2.3:compile [INFO] | +- commons-logging:commons-logging:jar:1.0.4:compile [INFO] | +- asm:asm-attrs:jar:1.5.3:compile [INFO] | +- dom4j:dom4j:jar:1.6.1:compile [INFO] | +- antlr:antlr:jar:2.7.6:compile [INFO] | +- cglib:cglib:jar:2.1_3:compile [INFO] | \- asm:asm:jar:1.5.3:compile [INFO] +- javax.persistence:persistence-api:jar:1.0:compile [INFO] +- hibernate-annotations:hibernate-annotations:jar:3.3.0.GA:compile [INFO] +- org.hibernate:hibernate-commons-annotations:jar:3.3.0.GA:compile [INFO] +- org.hibernate:hibernate-core:jar:3.3.2.GA:compile [INFO] | \- org.slf4j:slf4j-api:jar:1.5.8:compile [INFO] +- jboss:javassist:jar:3.7.ga:compile [INFO] +- junit:junit:jar:3.8.1:compile [INFO] +- mysql:mysql-connector-java:jar:5.1.6:compile [INFO] +- org.apache.derby:derby:jar:10.6.1.0:test [INFO] +- hsqldb:hsqldb:jar:1.8.0.4:test [INFO] +- commons-logging:commons-logging-api:jar:1.1:compile [INFO] +- org.slf4j:slf4j-simple:jar:1.5.8:compile [INFO] +- javax.transaction:jta:jar:1.1:compile [INFO] \- org.apache.geronimo.specs:geronimo-servlet_2.5_spec:jar:1.2:provided [INFO] --- 302.JSP --- <%@page import="cc.co.llabor.shorty.Link"%> <% response.setStatus(301); String toGo = "http://www.example.com/"; ; try{ Link link = (Link)request.getAttribute("link" ); toGo = link.getUrl(); }catch(Throwable e){e.printStackTrace();} response.setHeader( "Location", toGo); response.setHeader( "Connection", "close" ); //response.sendRedirect("/"); response.getWriter().close(); %> LOG --- HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: Error instantiating servlet class jsp.index_jsp org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1714) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) java.lang.Thread.run(Thread.java:662) root cause java.lang.NoClassDefFoundError: Lorg/apache/AnnotationProcessor; java.lang.Class.getDeclaredFields0(Native Method) java.lang.Class.privateGetDeclaredFields(Class.java:2291) java.lang.Class.getDeclaredFields(Class.java:1743) org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:498) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:284) org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:322) org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1714) java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) java.lang.Thread.run(Thread.java:662) root cause java.lang.ClassNotFoundException: org.apache.AnnotationProcessor org.ap
DO NOT REPLY [Bug 51133] JSP init throw java.lang.NoClassDefFoundError: Lorg/apache/AnnotationProcessor;
https://issues.apache.org/bugzilla/show_bug.cgi?id=51133 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Comment #1 from Mark Thomas 2011-04-28 10:13:20 EDT --- If you precompile for Tomcat 6 it isn't going to work on Tomcat 7. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: External Docroot support for Tomcat
2011/4/28 Asha K S : > HI, > > We have a requirement of supporting two docroots i.e one of tomcat (webapps > folder) and also webservers webroot (Apache webservers htdocs folder) for > same context. > We found that there is no way to actually do it, Isn't "aliases" attribute on Context what is needed for you? [1] It is also possible map nested paths as separate web applications, by naming them as foo#bar - see Naming in [1]. [1] http://tomcat.apache.org/tomcat-7.0-doc/config/context.html > we have made some changes to Tomcat 7.0.8 source code and Connectors source > code so that when Tomcat resolves getRealPath it actually asks connector for > the RealPath(since the files are present in webservers webroot) .For this we > have added an extra command like GET_BODY_CHUNK when sent connector will ask > the webserver for the realpath and sends it to Tomcat server. > > We would like to make this contribution to Tomcat source code ,please let me > know what steps do I need to follow to submit the code and if I have to get > it reviewed by someone before doing this. Create an enhancement request in Bugzilla http://tomcat.apache.org/bugreport.html#Patches_and_enhancement_requests Best regards, Konstantin Kolinko - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
DO NOT REPLY [Bug 51135] New: [Windows installer] Autoselect 32-bit JRE on 64-bit systems if 64-bit one is not available
https://issues.apache.org/bugzilla/show_bug.cgi?id=51135 Summary: [Windows installer] Autoselect 32-bit JRE on 64-bit systems if 64-bit one is not available Product: Tomcat 7 Version: 7.0.12 Platform: PC OS/Version: Windows XP Status: NEW Severity: enhancement Priority: P2 Component: Packaging AssignedTo: dev@tomcat.apache.org ReportedBy: knst.koli...@gmail.com Enhance the Windows installer for Apache Tomcat when running on 64-bit Windows to search for both the 64-bit and 32-bit JVMs, and to select the 32-bit one if it is the only one installed in the system. Discussed in the "(Issue) Tomcat 7.0.12 silent install" thread on users@, http://marc.info/?t=13039302575&r=1&w=2 http://markmail.org/thread/zsgioxmwcog4jkfc -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org