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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to