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 28147] New: - JasperException for jsp files that are symbolic links
Date Fri, 02 Apr 2004 01:23:45 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=28147>.
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=28147

JasperException for jsp files that are symbolic links

           Summary: JasperException for jsp files that are symbolic links
           Product: Tomcat 5
           Version: 5.0.19
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: rickkw@yahoo.com


Hi,

I got the following exception when one of my JSP file in my webapp is actually a
symlink to a file in another directory location.  I verified that the symlink is
valid.  The file in question is chError.jsp.  Package name is
com.loudcloud.owm.shared.  Note that Jasper created extra directories
(/soft/lco/occ/channels/shared/rsrc) for chError.jsp.

generate
generate/jsp
generate/jsp/jsp.web.xml
generate/jsp/com
generate/jsp/com/loudcloud
generate/jsp/com/loudcloud/owm
generate/jsp/com/loudcloud/owm/shared
generate/jsp/com/loudcloud/owm/shared/error_jsp.java
generate/jsp/com/loudcloud/owm/shared/logout_jsp.java
generate/jsp/com/loudcloud/owm/shared/soft
generate/jsp/com/loudcloud/owm/shared/soft/lco
generate/jsp/com/loudcloud/owm/shared/soft/lco/occ
generate/jsp/com/loudcloud/owm/shared/soft/lco/occ/channels
generate/jsp/com/loudcloud/owm/shared/soft/lco/occ/channels/shared
generate/jsp/com/loudcloud/owm/shared/soft/lco/occ/channels/shared/rsrc
generate/jsp/com/loudcloud/owm/shared/soft/lco/occ/channels/shared/rsrc/chError_jsp.java


-----------------------------------------

  [jasper2] (jasper.JspC                         762 ) ERROR-the file
'/soft/lco/occ/channels/shared/rsrc/chError.jsp' generated the following general
exception:
  [jasper2] org.apache.jasper.JasperException: File
"/soft/lco/occ/channels/shared/rsrc/chError.jsp" not found
  [jasper2]     at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
  [jasper2]     at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404)
  [jasper2]     at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
  [jasper2]     at
org.apache.jasper.compiler.JspUtil.getInputStream(JspUtil.java:882)
  [jasper2]     at
org.apache.jasper.xmlparser.XercesEncodingDetector.getEncodingMethod(XercesEncodingDetector.java:160)
  [jasper2]     at
org.apache.jasper.xmlparser.XMLEncodingDetector.getEncoding(XMLEncodingDetector.java:98)
  [jasper2]     at
org.apache.jasper.compiler.ParserController.determineSyntaxAndEncoding(ParserController.java:351)
  [jasper2]     at
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:208)
  [jasper2]     at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:139)
  [jasper2]     at
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:237)
  [jasper2]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:456)
  [jasper2]     at org.apache.jasper.JspC.processFile(JspC.java:747)
  [jasper2]     at org.apache.jasper.JspC.execute(JspC.java:882)
  [jasper2]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [jasper2]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  [jasper2]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  [jasper2]     at java.lang.reflect.Method.invoke(Method.java:324)
  [jasper2]     at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:124)
  [jasper2]     at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
  [jasper2]     at org.apache.tools.ant.Task.perform(Task.java:364)
  [jasper2]     at org.apache.tools.ant.Target.execute(Target.java:301)
  [jasper2]     at org.apache.tools.ant.Target.performTasks(Target.java:328)
  [jasper2]     at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
  [jasper2]     at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
  [jasper2]     at org.apache.tools.ant.Main.runBuild(Main.java:632)
  [jasper2]     at org.apache.tools.ant.Main.startAnt(Main.java:183)
  [jasper2]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
  [jasper2]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

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


Mime
View raw message