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 39333] New: - FileNotFound Exception on pseudo network drive
Date Tue, 18 Apr 2006 07:10:49 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=39333>.
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=39333

           Summary: FileNotFound Exception on pseudo network drive
           Product: Tomcat 5
           Version: 5.5.15
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: yashdeep@gmail.com


I am trying to access a file which is on a mapped drive. The drive is on the 
same machine which has Tomcat, but is mapped over the network as if it is an 
external drive. This fails with a FileNotFound exception.
Even if the drive is created with a subst command, to point to a local share, 
it fails with the same error.
This occurs only with Windows 2003 server, Windows 2000 server works fine with 
the same configuration.
The Java version being used is 1.4.2_10
This is the stack trace I get.

java.io.FileNotFoundException: H:\22244.pdf (The system cannot find the path 
specified)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:106)
	at java.io.FileInputStream.<init>(FileInputStream.java:66)
	at com.abc.FilePadObject.setContentAsStream(FilePadObject.java:101)
	at com.abc.FilePadObject.setAttributes(FilePadObject.java:86)
	at com.abc.FilePadObject.<init>(FilePadObject.java:45)
	at com.abc.FilePadFrontController.processPageRequest
(FilePadFrontController.java:59)
	at com.abc.SFIDServiceHandler.execute(SFIDServiceHandler.java:32)
	at com.abc.GenericServiceHandler.processRequest
(GenericServiceHandler.java:55)
	at com.abc.AccessManager.processRequest(AccessManager.java:87)
	at com.abc.AccessManager.executeRequest(AccessManager.java:58)
	at com.abc.ServiceHandlerServlet.doPost(ServiceHandlerServlet.java:48)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:173)
	at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:213)
	at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:178)
	at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:126)
	at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:105)
	at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:107)
	at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:148)
	at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:856)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:744)
	at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
(PoolTcpEndpoint.java:527)
	at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
(LeaderFollowerWorkerThread.java:80)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:684)
	at java.lang.Thread.run(Thread.java:534)

-- 
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