tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33453] - Jasper should recompile JSP files whose datestamps change in either direction (not just newer)
Date Wed, 16 Nov 2005 14:42:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33453>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33453





------- Additional Comments From fabien.toral@c-s.fr  2005-11-16 15:42 -------
(In reply to comment #28)
> Created an attachment (id=16599)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16599&action=view) [edit]
> rebuilt jasper-compiler.jar
> 
> Here is a rebuilt jasper-compiler.jar that incorporates my proposed patch.  For
> anyone who needs a fix and doesn't want to download, patch, and rebuild.

Hello Jonathan,

i've tried tu use your jasper-compiler.jar into TC 5.5.12, because we have a
problem to make Tomcat reload and compile modified JSPs on fly, but an exception
is thrown when Jasper try to compile the JSP.

i haven't try to patch an rebuilt yet.

Here is the root cause of the stack trace, it seem like an import from an
Eclipse library :

java.lang.NoSuchMethodError:
org.eclipse.jdt.internal.compiler.env.NameEnvironmentAnswer.<init>(Lorg/eclipse/jdt/internal/compiler/env/IBinaryType;)V
	org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:214)
	org.apache.jasper.compiler.JDTCompiler$1.findType(JDTCompiler.java:183)
	org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.askForType(LookupEnvironment.java:119)
	org.eclipse.jdt.internal.compiler.lookup.PackageBinding.getTypeOrPackage(PackageBinding.java:178)
	org.eclipse.jdt.internal.compiler.lookup.Scope.getPackage(Scope.java:2111)
	org.eclipse.jdt.internal.compiler.ast.QualifiedTypeReference.getTypeBinding(QualifiedTypeReference.java:62)
	org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveType(TypeReference.java:141)
	org.eclipse.jdt.internal.compiler.ast.TypeReference.resolveSuperType(TypeReference.java:104)
	org.eclipse.jdt.internal.compiler.lookup.ClassScope.findSupertype(ClassScope.java:1088)
	org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectSuperclass(ClassScope.java:755)
	org.eclipse.jdt.internal.compiler.lookup.ClassScope.connectTypeHierarchy(ClassScope.java:927)
	org.eclipse.jdt.internal.compiler.lookup.CompilationUnitScope.connectTypeHierarchy(CompilationUnitScope.java:254)
	org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.completeTypeBindings(LookupEnvironment.java:195)
	org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:301)
	org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:315)
	org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:387)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:557)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message