File Not Found error in Citrix Server

I have a client who is running an application through Citrix that uses Crystal Reports, and the application is erroring out when trying to load a report, ONLY when the user does not have anything mapped as their C:\ drive.
The default setup at this client was to have a P: drive as the main drive, and a Q: data drive for the users when they log into the Citrix box.
When the users were tried to launch the application with this setup, they got the following error:
System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
System.Exception: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   --- End of inner exception stack trace ---
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportClass.Load()
If we have a drive mapped to C:\ for the user, the issue goes away.  I've looked through the Crystal Reports engine code, and with an embedded report in a .NET application (as is the case here) Crystal Reports writes the embedded report out to the temp directory before reading it back in again.  The failure seems to be either with reading or writing that temporary file.
Anyone run into this before, or seen a solution?

Hi, Craig;
It sounds like you are running into this issue: [CitrixDrive|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333933383338%7D.do]
You do not say which version of Crystal Reports you are using, so the registry key may be different for whichever version you have.
Regards,
Jonathan

Similar Messages

  • Getting 'File not found' error while using server object model code

    Hi,
    I am using server object model code to pull list data in a console application. My machine has standalone installation of SP 2010. I am getting error 'File Not Found', however the same operation is working fine with client object model code.
    Code I am using:
    string strURL=http://servername/sites/sitename;
    SPSite siteObj=new SPSite (strURL); //getting error here.
    I have already checked the below,
    1. Framework being used is 3.5.
    2. I have proper access to site.
    3. Running visual studio as admin.
    Any help is much appreciated.
    thanks
    Tarique
    thanks and regards Tarique Aslam

    Hello Tarique ,
    Couple of pints need to check:
    1. User running the console application needs to have at least read permission to the SharePoint databases
    2. Set application by changing the "Platform target:" option on the "Build" to "Any CPU"
    Also refer this similar thread:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/2a419663-c6bc-4f6f-841b-75aeb9dd053d/spsite-file-not-found
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • File not found error on testing server [subject edited by moderator]

    The requested URL /www/first.php was not found on this server.  Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
    Using adobe dreamweaver with wamp server and getting this message while checking any file.Saved all file in ( c:wamp/www/ ) with php extention

    Have you checked to see if first.php file is in the www folder in WAMP?
    Have you aso tried:
    http://localhost/first.php
    or
    Create a folder in the 'www' folder named 'test' and then put the 'first.php' file in the 'test' folder:
    http://localhost/test/first.php
    Do any of those combinations work?

  • Quicktime would fail to write/export to server windows share with "Error -43: file not found" errors

    Summary:
    With the combination of Windows 7 and Quicktime 7.x, Quicktime would fail to write/export to server windows share with "Couldn't create output movie storage" and "Error -43: file not found" errors
    Steps to Reproduce:
    Trying to render to Quicktime files using network shared folders as a destination:
    Unable to open file. (-1610153459)
    The funny thing: it only happens when there are at least two shared folders mapped on the workstation, and the destination folder used for the rendered movie is not the first one.
    If we have only two mapped drives, F: and G: for example, and we try to render something to F:, everything works fine and no error is showed. But, when the destination is the G: drive, rendering never works, the error is showed, but a zero-byte file is created in F: (!!). ODD! If we remap F: drive with a different letter, but a letter BEFORE G:, the problem always happens. If we remap drive F: to any letter AFTER G:, making G: the first available network drive, rendering works. Also, simply unmapping F: and leaving G: as the only connected network folder makes render to work.
    We do not have a D: drive in our Windows 7 workstations, they are all C: only.
    It is a 100% reproducible problem. We tried with three different Active Directory networks and workstations. It has all of the features of a software bug.
    Any help would be appreciated.
    Cheers!
    Expected Results:
    Error -43: file not found
    Actual Results:
    The workaround seems to be to use the full path to the servers instead of the mapped mount point (ie //server/z/... instead of Z:/...
    Regression:
    All versions of quicktime 7 in combination with windows 7 client and more than one smb share point mapped in a letter.
    Notes:
    All software that uses quicktime movie exports showed this error.

    Not sure what file your are referencing?  Thanks for your suggestion, however, it's not relavant.
    It renders fine if you render to either the UNC path or the first mapped drive.
    i.e. If you have two mapped drives G: and H:
    they both point to \\fileserver\share1\folder
    If you render to H: it will fail, if you render to G: it works!  Same path, same user, same permissions.
    The only difference is H comes after G, so it fails... BUG.  If it was to do with anything else, underscores, permissions etc, it would fail on both.

  • File not found error when tried to open Document ID settings page

    Hi
    when i open sitesettings>site collection administratin >Document
    ID settings
    it shows
    file not found error
    adil

    Hi,
    first we need to figure out the error. change the web.config so that you can see the error on browser
    1) Obtain the complete call stack instead of the default error page:
    <SafeMode MaxControls="200" CallStack="false"/>
    to
    <SChangeafeMode MaxControls="200" CallStack="true"/>
    2) CustomeErrors mode value (in the system.web section) is set to Off:
    <customErrors mode="On">
    to
    <customErrors mode="Off">
    Change these value in "c:\inetpub\wssroot"  CA dirctory web.config and
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\web.config .
    now again try to do the action. you will get the error on screen.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • FILE not found error: j2ee/home/applib/applications-mapping.xml (No such fi

    Hi EveryBody
    i have my applications-mapping.xml file already in the applib directory, but when i try to conect to a remote ejb i had this error[b]
    FILE not found error: j2ee/home/applib/applications-mapping.xml (No such file or directory)
    can anyone help??

    gday
    Is the error on the client or server?
    What role in the application does applications-mapping.xml fulfill?
    How are you loading the file in?
    -steve-

  • File not found error (no error number or file identified)

    Hi,
    I am getting a file not found error when trying to render a project. The message box does not identify which file is not found nor is there an error message number. I by trial and error tracked the file to a video connected to the PAL_Projector Menu. It is the PAL_Projector.m2v file. I reconnected it but it still gives a file not found error on render. Any suggestions and why do we get these ridiculous error messages in this day and age. The message should identify the file and how to fix the problem.
    Regards
    Richard

    gday
    Is the error on the client or server?
    What role in the application does applications-mapping.xml fulfill?
    How are you loading the file in?
    -steve-

  • File Not Found Error on Fresh MX7 Installation

    After spending days getting CFMX 7.0.2 installed on a CentOS5.3 (production) server running Apache 2.2.3 and WHM/cPanel 11, by religiously following Bill Mitchell's lifesaving guide, CF is up and running but I cannot access the administrator or anything else in user public_html directories.
    If I place a simple foo bar test file in the /usr/local/apache/htdocs/testfile.cfm directory, I can call it at http://[IPaddress]/testfile.cfm and it parses properly.
    However, if I place the same file at /home/cfusion/public_html/testfile.cfm and call it at http://[IPaddress]/~cfusion/testfile.cfm, I get a CF-generated 404 "File Not Found" error.
    cfusion is a cPanel account I created via WHM prior to installing ColdFusion as a repository for my CFIDE directory.
    If I place a symlink for /usr/local/apache/htdocs/CFIDE -> /home/cfusion/public_html/CFIDE:"File Not Found". If I cp -R my CFIDE into htdocs: "File Not Found." These files are physically there. I can easily verify that of course. But CF is still saying File Not Found. In fact, if I disconnect Apache - JRun, Apache finds the files all by itself no problem. They are definitely there.
    I thought this might be a permissions issue, but all my .cfm files are nobody:root 775.
    Here's what I'm seeing in the exception.log:
    coldfusion.runtime.TemplateNotFoundException: File not found: /~cfusion/filetest.cfm
        at coldfusion.filter.PathFilter.invoke(PathFilter.java:83)
        at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
        at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
        at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
        at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
        at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
        at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
        at coldfusion.CfmServlet.service(CfmServlet.java:107)
        at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
        at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
        at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
        at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
        at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
        at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
        at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
        at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
        at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    I guess maybe I need to know where the config for webroots is set from the CF/JRun perspective? I'm a decent hand with web server admin stuff, but despite being a CF dev for 10 years, CF admin stuff is still a bit over my head. Any help would be GREATLY appreciated. I'm at my wit's end!

    Thanks Mack. I set verbose to true in my httpd.conf, restarted Apache, restarted CF, but I can't see any difference in the logging. Errors seem the same, and no additional info.
    The Apache error_log file is filled with cryptic stuff that looks like it's referencing JRun. Does any of this mean anything to you? Is there another log file I should be looking at?
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  filtering / (/usr/local/apache/htdocs/) HOST=null
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  filterRequest:   no match
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_service: r is 0x9d1aa98, server is 0x99df290, virtual 1
    [Thu Aug 06 00:06:52 2009] [notice] jrApache[8608: 15070]  jrun_service: no handler, return DECLINED
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]  jrun_trans: r is 0x9d169d8, server is 0x99df290, virtual 1
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]     HOST: <null>
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]  filtering /whm-server-status (/usr/local/apache/htdocs/whm-server-status) HOST=null
    [Thu Aug 06 01:10:01 2009] [notice] jrApache[8548: 18910]  filterRequest:   no match
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: r is 0x9e5b930, server is 0x99df290, virtual 1
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]     HOST: <null>
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  filtering / (/usr/local/apache/htdocs/) HOST=null
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  filterRequest:   no match
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_trans: sub-request so DECLINED
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_service: r is 0x9e5b930, server is 0x99df290, virtual 1
    [Thu Aug 06 00:11:53 2009] [notice] jrApache[8518: 55474]  jrun_service: no handler, return DECLINED
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]  jrun_trans: r is 0x9f96cc8, server is 0x99df290, virtual 1
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]     HOST: <null>
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]  filtering /whm-server-status (/usr/local/apache/htdocs/whm-server-status) HOST=null
    [Thu Aug 06 00:15:01 2009] [notice] jrApache[8519: 59314]  filterRequest:   no match

  • File not found error after log on to ADF application

    Hi
    I just took over an ADF application, after clicking on log in button, in the application_log, there is always a login.jspx -- file not found error message, the directory is not even exist. somehow the application had 'registered ' an directory for the login page, common\skin\login.jspx, the actural log in page is under common\login.jspx.
    there is a loginfilter.java created and has a entry in web.xml. the login Filter has let httpServerRequest object to know that the login file directory is ..\common\login.jspx
    so why the app server would be looking at the wrong directory? how should I do to correct it?
    Thanks in advance.

    Hi
    I just took over an ADF application, after clicking on log in button, in the application_log, there is always a login.jspx -- file not found error message, the directory is not even exist. somehow the application had 'registered ' an directory for the login page, common\skin\login.jspx, the actural log in page is under common\login.jspx.
    there is a loginfilter.java created and has a entry in web.xml. the login Filter has let httpServerRequest object to know that the login file directory is ..\common\login.jspx
    so why the app server would be looking at the wrong directory? how should I do to correct it?
    Thanks in advance.

  • File not found error after database migration

    Hi experts
    I recently decided to create a test environment for SharePoint 2010 production server but after
     attach the content database  using power shell successfully I get “ file not found “ error when I try to login the top site collection
    I think it’s because of customized master page in production site which I don’t know how to apply them to my new environment.I even tried to copy the master pages from cataloge throught  SPD but it didnt work.
    Any assistance would be greatly appreciated

    HI Shahin,please try to access the site by below and let me know the result.please check the below link that gives more idea on the issue
    _/_layouts/settings.aspx
    /_layouts/viewlsts.aspx
    /default.aspx
    http://expertsharepoint.blogspot.de/2014/01/sharepoint-default-page-not-loading-by.html
    Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • File Not Found Error running JSP demos

    I'm not sure what is going on, but it appears that every time I try to run a jsp, the server looks in the document root where it errors out with a file not found error. I've seen others with this type of problem but I haven't seen a solution. Anyone have any ideas?
    Thanks.

    1: Double check the port number that your Tomcat Server is using. (TOMCAT_HOME/conf/server.xml).
    2: check you IP. This is not the 'localhost' IP (not sure if it is LAN or real IP). So it may change dynamically.
    3: Check for Firewalls. Also, since you are not using localhost, you will have to make sure you traverse all the firewalls built around your system. If you have a router (home), windows XP, or some other firewall, make sure the appropriate ports are opened. If you are behind a corporate firewall, or your ISP closes ports... your kinda out of luck until you find a way to cheat around them.
    2: Try just using just "/ValidateUser.jsp" as long as it is one the same domain as the Form. This will make it less likely to break, should your IP change.

  • Apache plug-in prob : when trying to access '/weblogic/' URL , "404 : file not found" error is shown

    On : Apache 2.0 , Weblogic 7.0, Win 2000
    I installed the Apache plug-in for as described in WL docs, but when I try to
    access a URL /weblogic/ ( supposed to be configured automatically ) on apache,
    I get '404 : file not found' error.
    As per the docs, I did following config in Apache:
    1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory to the
    APACHE_HOME\modules directory
    2. Added to httpd.conf :
    LoadModule weblogic_module modules/mod_wl_20.so
    3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
    -t '
    4. Restarted WL & Apache.
    Now, the weblogic documentation says,
    "Test the Apache plug-in by opening a browser and setting the URL to the Apache
    Server + "/weblogic/", which should bring up the default WebLogic Server HTML
    page, welcome file, or default servlet, as defined for the default Web Application
    on WebLogic Server. For example:
    http://myApacheserver.com/weblogic/".
    For my server, 'http://localhost/weblogic/' - I get a "404 : file not found" error.
    What other configuration is needed ? Do I have to specify '/weblogic/' name anywhere
    else in Apache configuration file ?
    Any pointers will be appreciated.
    Thanks,
    S

    Forgot to mention , I've also added following configuration in httpd.conf :
    LoadModule weblogic_module modules\mod_wl_20.so
    <IfModule mod_weblogic.c>
    WebLogicHost localhost
    WebLogicPort 7501
    </IfModule>
    <Location /weblogic>
    SetHandler weblogic-handler
    PathTrim /weblogic
    </Location>
    "S" <[email protected]> wrote:
    >
    On : Apache 2.0 , Weblogic 7.0, Win 2000
    I installed the Apache plug-in for as described in WL docs, but when
    I try to
    access a URL /weblogic/ ( supposed to be configured automatically ) on
    apache,
    I get '404 : file not found' error.
    As per the docs, I did following config in Apache:
    1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory
    to the
    APACHE_HOME\modules directory
    2. Added to httpd.conf :
    LoadModule weblogic_module modules/mod_wl_20.so
    3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
    -t '
    4. Restarted WL & Apache.
    Now, the weblogic documentation says,
    "Test the Apache plug-in by opening a browser and setting the URL to
    the Apache
    Server + "/weblogic/", which should bring up the default WebLogic Server
    HTML
    page, welcome file, or default servlet, as defined for the default Web
    Application
    on WebLogic Server. For example:
    http://myApacheserver.com/weblogic/".
    For my server, 'http://localhost/weblogic/' - I get a "404 : file not
    found" error.
    What other configuration is needed ? Do I have to specify '/weblogic/'
    name anywhere
    else in Apache configuration file ?
    Any pointers will be appreciated.
    Thanks,
    S

  • When I call VI on Linux from Teststand on Windows using TCP/IP I get "file not found error".any sugeestions?

    I am trying to execute a VI running on Linux from Teststand running on windows 2000 prof ,both running on two different machines.I used TCP/IP for the interface using the following steps on Labview VI:tools>options>VIserver>TCP/IP and gave the ip address of both the machines.When I gave the file path as c:\home\test.vi in Edit labview Vi call window(the Vi in linux is stored in /home/test.vi)and also in remote vi path:/home/test.vi,I get a file not found error.The teststand version is 3.0 and labview is 7.0.Any idea why this is happening and any solutions?

    priya guru,
    Here is a knowledge base that addresses your question: �How do I call test VIs that reside on a non-Windows platform from TestStand?�
    You also need to set TCP/IP Access found in Tools->Options->'VI Server: TCP/IP Access'. Make sure that you list the IP address in the Access List to allow TCP/IP access to that machine. Finally you need to specify which VIs are accessible to remote applications. Open up Tools->Options->'VI Server: Exported VIs' and provide paths to the VIs you wish to be remotely accessible.
    I have attached an example VI that demonstrates VI Server in action. Please post back if you are still having problems. Good luck!
    Cr
    aig H.
    National Instruments
    Attachments:
    Remote_Run_--_VI_Server.zip ‏88 KB

  • ADS-error: com.adobe.ProcessingError: File not found error wr(200101).

    hi.
    When i run report "FP_TEST_00" the message "ADS-error: com.adobe.ProcessingError: File not found error wr(200101)." is appear.
    What wrong?
    regards
    Denis

    hello
    server.0.log is contains:
    #1.5#0030482F2F6000610000001B00000F2400042DC1D654F8A4#1176210454659#/System/Server#com.adobe/AdobeDocumentServices#com.adobe.AdobeDocumentServices#ADSUSER#300#SAP J2EE Engine JTA Transaction : [93bffffff9cffffff9200031]#server02_CEM_154901650#Guest#72c01b60e76411dbb9900030482f2f60#SAPEngine_Application_Thread[impl:3]_30##0#0#Error#1#com.adobe.AdobeDocumentServices#Plain###Processing exception during a "Render" operation.
    Request start time: Tue Apr 10 19:07:34 GMT+06:00 2007
    com.adobe.ProcessingError: No <Render><Output><XDC> specified
         at com.adobe.Render.execute(Unknown Source)
         at com.adobe.BaseADSRequest.doWork(Unknown Source)
         at com.adobe.AdobeDocumentServicesWorker.execute(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.processRequest(Unknown Source)
         at com.adobe.AdobeDocumentServicesEJB.rpData(Unknown Source)
         at com.adobe.AdobeDocumentServicesLocalLocalObjectImpl0.rpData(AdobeDocumentServicesLocalLocalObjectImpl0.java:120)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.services.webservices.runtime.EJBImplementationContainer.invokeMethod(EJBImplementationContainer.java:126)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:157)
         at com.sap.engine.services.webservices.runtime.RuntimeProcessor.process(RuntimeProcessor.java:79)
         at com.sap.engine.services.webservices.runtime.servlet.ServletDispatcherImpl.doPost(ServletDispatcherImpl.java:92)
         at SoapServlet.doPost(SoapServlet.java:51)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:159)
    : Trans(Tue Apr 10 19:07:34 GMT+06:00 2007)#

  • 404 File not Found error trying servlet under https

    Hi,
    This is the first time that I've had to work with SSL. I have a servlet that worked fine under regular http. I had to implement SSL and run my site over https. When I try to access my servlet under HTTPS, I get the 404 File not found error. Is there something that I need to setup for servlets to run under SSL in apache or server.xml? or Do I need to modify my JSP and Servlet code?
    I call my servlet from my JSP on the action method of the form like such:
    * JSP call to servlet
    <form action="https://www.benefitserver.com:8081/FDFServlet" method="post">
    * Servlet code
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.net.ssl.*;
    import java.io.*;
    import java.util.*;
    import com.yoursummit.benefitserver.*;
    import com.adobe.fdf.*;
    import com.adobe.fdf.exceptions.*;
    public class FDFServlet extends HttpServlet
    private static final String CONTENT_TYPE = "text/html";
    private String fileout = "";
    //Initialize global variables
    public void init() throws ServletException
    System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.internal.www.protocol");
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    doPost( request, response);
    //Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String planID = request.getParameter("planID");
    String empID = request.getParameter("empID");
    HttpSession session = request.getSession();
              try {
                   FDFDoc outputFDF = null;
                   /* Create a new FDF. */
                   outputFDF = new FDFDoc();
    // Set the form fields with values from the database
    if ( planID.equalsIgnoreCase("31") )
    formDeltaPopulation formDP = new formDeltaPopulation();
    fileout = formDP.populateDeltaForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("29") )
    formUnicarePopulation formUC = new formUnicarePopulation();
    fileout = formUC.populateUnicareForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("30") || planID.equalsIgnoreCase("32") || planID.equalsIgnoreCase("33") || planID.equalsIgnoreCase("34") || planID.equalsIgnoreCase("35"))
    formSunLifePopulation formSL = new formSunLifePopulation();
    fileout = formSL.populateSunLifeForm( outputFDF, planID, empID, request );
    response.sendRedirect(com.yoursummit.utils.urlRewrite.getServletURL(request,"emp_main.jsp?empID=" + empID));
    } catch(FDFException fdfe) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(fdfe.toString());
    fdfe.printStackTrace(out);
    IOException e = new IOException ( fdfe.getMessage() );
    throw e;
    catch(IOException ioe) {
         /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(ioe.toString());
    ioe.printStackTrace(out);
    throw ioe;
    catch(Exception e) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught tomcatDB exception");
    out.println(e.toString());
    e.printStackTrace(out);
    IOException ioe = new IOException ( e.getMessage() );
    throw ioe;
    //Clean up resources
    public void destroy()
    }

    I have been told that there is problem with my configuration of Tomcat. I have followed the documentation found at
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
    and it doesn't work. I have been working on this for a week now and can't seem to get it to work. Can someone please take a look at it and tell me what I am doing wrong? THANKS!
    I get "HTTP 404 - File not Found" with the URL https://www.benefitserver.com/FDFServlet
    I get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" with the URL https://www.benefitserver.com/servlet/FDFServlet
    I've looked at the log files for Apache and I don't see any errors listed. No errors logged in the Tomcat log file either.
    * httpd.conf
    ## Include line for mod_jk.so (Jakarta-Tomcat installation)
    #Include /usr/home/summimps/usr/local/jakarta/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    JkWorkersFile /usr/home/summimps/usr/tomcat4.1.24/conf/worker.properties
    JkLogFile /usr/home/summimps/var/log/mod_jk.log
    JkLogLevel info
    #JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    #JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    #JkRequestLogFormat "%w %V %T"
    JkMount /*.jsp benefitserver
    JkMount /solarc/*.jsp benefitserver
    JkMount /servlet/* ajp13
    JkMount /solarc/servlet/* ajp13
    # Should mod_jk send SSL information to Tomcat (default is On)
    #JkExtractSSL On
    # What is the indicator for SSL (default is HTTPS)
    JkHTTPSIndicator HTTPS
    # What is the indicator for SSL session (default is SSL_SESSION_ID)
    JkSESSIONIndicator SSL_SESSION_ID
    # What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
    JkCIPHERIndicator SSL_CIPHER
    # What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
    JkCERTSIndicator SSL_CLIENT_CERT
    <Directory />
    AllowOverride None
    </Directory>
    <Directory "/usr/tomcat4.1.24/webapps/ROOT">
      Options Indexes
      <IfDefine SSL>
        SSLRequireSSL
        SSLOptions +StdEnvVars +ExportCertData +StrictRequire
        SSLVerifyClient require
        SSLVerifyDepth 1
      </IfDefine>
    </Directory>
    <VirtualHost benefitserver.com www.benefitserver.com>
    SSLRequireSSL
    ServerName benefitserver.com
    ServerAdmin [email protected]
    DocumentRoot /usr/local/etc/httpd/htdocs/benefitserver
    TransferLog /usr/local/etc/httpd/logs/bsAccess_log
    ErrorLog /usr/local/etc/httpd/logs/bsError_log
    </VirtualHost>
    * server.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Server className="org.apache.catalina.core.StandardServer" debug="0" port="8006" shutdown="SHUTDOWN">
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
      <GlobalNamingResources>
      </GlobalNamingResources>
      <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    redirectPort="8443" bufferSize="2048" port="8081" connectionTimeout="20000" scheme="https" enableLookups="true" secure="true" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" debug="0" disableUploadTimeout="true" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="100" useURIValidationHack="false" connectionLinger="-1" compression="off">
          <Factory className="org.apache.catalina.net.SSLServerSocketFactory" keystoreFile="//.keystore" keystoreType="JKS" algorithm="SunX509" clientAuth="false" protocol="TLS"/>
        </Connector>
        <Engine className="org.apache.catalina.core.StandardEngine" mapperClass="org.apache.catalina.core.StandardEngineMapper" debug="0" defaultHost="localhost" name="Standalone">
          <Host className="org.apache.catalina.core.StandardHost" appBase="webapps" liveDeploy="true" mapperClass="org.apache.catalina.core.StandardHostMapper" autoDeploy="true" configClass="org.apache.catalina.startup.ContextConfig" errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" debug="9" deployXML="true" contextClass="org.apache.catalina.core.StandardContext" unpackWARs="true" name="localhost">
            <Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Welcome to Tomcat" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="/usr/tomcat4.1.24/webapps/ROOT" cookies="true" path="" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
              <Environment name="uploadUrl" override="true" type="java.lang.String" description="URL to display uploaded file in Benefit Server" value="http://www.benefitserver.com:8081/bsup"/>
              <Environment name="exportPath" override="true" type="java.lang.String" description="Export Path for Benefit Server Export Utility" value="/usr/tomcat4.1.24/webapps/ROOT/bsex"/>
              <Environment name="uploadPath" override="true" type="java.lang.String" description="Upload Path for Benefit Server" value="/usr/tomcat4.1.24/webapps/ROOT/bsup/"/>
              <Environment name="tempPath" override="true" type="java.lang.String" description="Temporary Directory for File Upload in Benefit Server - Developm" value="/usr/home/summimps/tmp/benefitserver"/>
              <Resource name="BS_Data" type="javax.sql.DataSource" scope="Shareable"/>
              <ResourceParams name="BS_Mail">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>localhost</value>
                </parameter>
              </ResourceParams>
              <ResourceParams name="BS_Data">
                <parameter>
                  <name>url</name>
                  <value>jdbc:mysql://localhost/BS_Data</value>
                </parameter>
                <parameter>
                  <name>password</name>
                  <value>kdsusa1350</value>
                </parameter>
                <parameter>
                  <name>maxActive</name>
                  <value>50</value>
                </parameter>
                <parameter>
                  <name>maxWait</name>
                  <value>5000</value>
                </parameter>
                <parameter>
                  <name>driverClassName</name>
                  <value>com.mysql.jdbc.Driver</value>
                </parameter>
                <parameter>
                  <name>username</name>
                  <value>summimps</value>
                </parameter>
                <parameter>
                  <name>maxIdle</name>
                  <value>5</value>
                </parameter>
              </ResourceParams>
            </Context>
            <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_log." directory="logs" timestamp="true" suffix=".txt"/>
          </Host>
          <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="catalina_log." directory="logs" timestamp="true" suffix=".txt"/>
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase" validate="true"/>
        </Engine>
      </Service>
    </Server>
    * web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
           <servlet>
                 <servlet-name>FDFServlet</servlet-name>
                 <servlet-class>FDFServlet</servlet-class>
           </servlet>
           <servlet-mapping>
                <servlet-name>FDFServlet</servlet-name>
                <url-pattern>/FDFServlet</url-pattern>
           </servlet-mapping>
    </web-app>

Maybe you are looking for