Getting file not found exception in managed server

Hi,
Working on jdev 11.1.1.3.0, ADF BC with Rich faces.
I am downloading file from network file system, i am successfully download file in integrated weblogic server, the same application when i am trying to run with my managed server(DEV Server), i am getting error like
####<Aug 10, 2010 5:39:02 PM EDT> <Notice> <Stdout> <sunt2000-10.wfs.com> <wld1_ms1> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <21291a4e37aed913:-38a2f9a1:12a5d38d756:-8000-0000000000000275> <1281476342286> <BEA-000000> <downloadLetters file name*://bwi-wfp-v01/Apps/SCII/TEST/LOG/Cards/ONDEMAND/Xyz.doc*>
####<Aug 10, 2010 5:39:02 PM EDT> <Notice> <Stdout> <sunt2000-10.wfs.com> <wld1_ms1> <[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <21291a4e37aed913:-38a2f9a1:12a5d38d756:-8000-0000000000000276> <1281476342313> <BEA-000000> <<Aug 10, 2010 5:39:02 PM EDT> <Warning> <org.apache.myfaces.trinidadinternal.taglib.listener.FileDownloadActionListener> <BEA-000000> <
javax.el.ELException: java.io.FileNotFoundException: */bwi-wfp-v01/Apps/SCII/TEST/LOG/Cards/ONDEMAND/Xyz.doc* (No such file or directory)
at com.sun.el.parser.AstValue.invoke(AstValue.java:161)
my file location is://bwi-wfp-v01/Apps/SCII/TEST/LOG/Cards/ONDEMAND/Xyz.doc, i am getting the correct file location while reading in the managed bean, but the error is showing as /bwi-wfp-v01/Apps/SCII/TEST/LOG/Cards/ONDEMAND/Xyz.doc one / is missing, why it was happening in managed server.
Can any one help me, what is the issue here.

Thanks for your reply, Timo, and John, the same file downloading is working fine with my Integrated weblogic server, but the same application when i deployed in my DEV server i am getting the error.
Code which i am trying to download file is
public void downloadCardInserts(FacesContext facesContext,
OutputStream outputStream) throws FileNotFoundException,
IOException {
// Add event code here...
UploadedFile filename=(UploadedFile)browseFile.getValue();
String fname=filename.getFilename();
String fname1="//bwi-wfp-v01/Apps/SCII/TEST/LOG/Cards/RENEWAL/"+fname;
System.out.println("file name11111:"+fname1);
FileInputStream in = new FileInputStream(new File(fname1));
byte[] buffer = new byte[1024];
int bytes = in.read(buffer);
while (bytes >= 0) {
outputStream.write(buffer, 0, bytes);
bytes = in.read(buffer);
}

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 exception....in jboss

    how to access a .properties file in jboss web application....as when running the jsp code from jboss which in turn invokes the java class file which is using the .properties file we get the file not found exception with respect to the properties file though it is not posing any exceptions while executing the java code from the command line..please feel free to provide any useful answers.

    the jsp file has been used to create an object of the
    java file that contains the processing logic...Yes, and given all I know about good application design, this doesn't sound like something a JSP should be doing.
    absolutely fine on command line no hassels....An application server is not a command-line environment. It imposes a huge bunch of restrictions and implications.
    Did you try what I told you?

  • Java File not Found Exceptions and other errors?

    Hello experts, an issue on our Portal has caught my attention. Every time the J2EE Engine is restarted, a large amount of errors are written on our Trace files. When looking at the trace files, I see that most errors are Java IO File not Found Exceptions. For example:
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/system/database.1.log (No such file or directory (errno:2))
         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.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    #1.5 #0012799E98F6000F0000001800003A9E00044A5F2B9CCDEC#1207672520886#com.sap.engine.services.log_configurator.archive.ArchivingThread##com.sap.engine.services.log_configurator.archive.ArchivingThread######c3cfd920058911dd8ace0012799e98f6#SAPEngine_System_Thread[impl:5]_24##0#0#Error##Java###./log/system/server.1.log (No such file or directory (errno:2))
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/system/server.1.log (No such file or directory (errno:2))
         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.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    #1.5 #0012799E98F6000F0000001900003A9E00044A5F2B9CE7BC#1207672520893#com.sap.engine.services.log_configurator.archive.ArchivingThread##com.sap.engine.services.log_configurator.archive.ArchivingThread######c3cfd920058911dd8ace0012799e98f6#SAPEngine_System_Thread[impl:5]_24##0#0#Error##Java###./log/system/security.1.log (No such file or directory (errno:2))
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/system/security.1.log (No such file or directory (errno:2))
         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.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    #1.5 #0012799E98F6000F0000001D00003A9E00044A5F2BE5C172#1207672525667#com.sap.engine.services.log_configurator.archive.ArchivingThread##com.sap.engine.services.log_configurator.archive.ArchivingThread######c3cfd920058911dd8ace0012799e98f6#SAPEngine_System_Thread[impl:5]_24##0#0#Error##Java###./log/applications.1.log (No such file or directory (errno:2))
    [EXCEPTION]
    #1#java.io.FileNotFoundException: ./log/applications.1.log (No such file or directory (errno:2))
         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.sap.engine.services.log_configurator.archive.ArchivingThread.archiveTask(ArchivingThread.java:77)
         at com.sap.engine.services.log_configurator.archive.ArchivingThread.run(ArchivingThread.java:40)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    In summary, the system cannot find the files server.1.log, security.1.log, database.1.log and applications.1.log. I tried manually adding these files (I created them on my computer and left them empty) on the path written, but it did not work, for some reason they are deleted.
    Another error that is happening during restart of the engine is the following:
    #1.5 #0012799E98F6001B0000002000003A9E00044A5F2BCC28D7#1207672523990#com.sap.tc.logging##com.sap.tc.logging.APILogger.FileLog[setFormatter()]######c3c3f240058911dd9ed80012799e98f6#SAPEngine_System_Thread[impl:5]_10##0#0#Warning##Java###Attempting to change a formatter on active log ./log/system/httpaccess/responses.trc. reset() method must be called first.#1#java.lang.Exception: Attempting to change a formatter on active log ./log/system/httpaccess/responses.trc. reset() method must be called first.
         at com.sap.tc.logging.FileLog.setFormatter(FileLog.java:448)
         at com.sap.engine.services.log_configurator.admin.LogConfigurator.adjustConfiguration(LogConfigurator.java:795)
         at com.sap.engine.services.log_configurator.admin.LogConfigurator.applyConfiguration(LogConfigurator.java:1535)
         at com.sap.engine.services.log_configurator.LogConfiguratorContainer.prepareStart(LogConfiguratorContainer.java:545)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223)
         at com.sap.engine.services.deploy.server.application.StartTransaction.prepareLocal(StartTransaction.java:176)
         at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesLocal(ApplicationTransaction.java:365)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:132)
         at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesLocalAndWait(ParallelAdapter.java:250)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationLocalAndWait(DeployServiceImpl.java:4450)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationsInitially(DeployServiceImpl.java:2610)
         at com.sap.engine.services.deploy.server.DeployServiceImpl.clusterElementReady(DeployServiceImpl.java:2464)
         at com.sap.engine.services.deploy.server.ClusterServicesAdapter.containerStarted(ClusterServicesAdapter.java:42)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.processEvent(ContainerEventListenerWrapper.java:144)
         at com.sap.engine.core.service630.container.AdminContainerEventListenerWrapper.processEvent(AdminContainerEventListenerWrapper.java:19)
         at com.sap.engine.core.service630.container.ContainerEventListenerWrapper.run(ContainerEventListenerWrapper.java:102)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Any ideas?

    Nothing really seemed to work when trying to solve this problem, just suddenly it stopped appearing. It might have been our installation of SPS 15, since it was around that time that the error went away.

  • Javax.servlet.Filter, throw file not found exception

    I want to use a url which is not exists to let the filter run.
    In the method doFIlter(), if the URL is this one, I will return and do not run chain.doFilter
    Why throw FIle not found exception? Will the fileter check the url whether exist or not?

    I use the URL to let the filter run, but do not want to go to the URL.What should happen if someone requests the URL from the server ?
    Nothing is not possible.
    One possibilty is to send the HTTP Response Code 204 - No Content
    The server has fulfilled the request but does not need to return an entity-body, and might want to return updated metainformation. The response MAY include new or updated metainformation in the form of entity-headers, which if present SHOULD be associated with the requested variant.
    If the client is a user agent, it SHOULD NOT change its document view from that which caused the request to be sent. This response is primarily intended to allow input for actions to take place without causing a change to the user agent's active document view, although any new or updated metainformation SHOULD be applied to the document currently in the user agent's active view.
    The 204 response MUST NOT include a message-body, and thus is always terminated by the first empty line after the header fields.
    (RFC 2616 Fielding, et al.)

  • Get file not found error when I try to sync

    I get file not found error when I try to sync Iphone.

    SteveDVD,
    The use of the .WMV was because that was part of the Library .EM template. I would not anticipate problems with other formats, so long as they are supported and the same for all of your Menus in the Project.
    If you have done several Motion Menu Renderings, you might want to clear Encore's Media Cache, just in case it is still referencing previous Render files.
    And yes, the re-Importation should yield the same result as Linking/re-Linking.
    Unfortunately, I do not have CS4, so I can't test this for you. There do seem to be a few real Bugs in the various CS4 programs, and maybe this is one?
    That "File Not Found" rings a bell in my feeble brain. Seems that there was a post on that, but I do not remember it being related to Motion Menus. Maybe search will yield something of use.
    Good luck,
    Hunt

  • CTIOS 8.5(2) Agent Desktop fails to start - file not found exception

    I can run the CTIOS 8.0(1) Agent Desktop OK against my 8.5(2) system, but when I install 8.5(2) SR on the client machine (running XP SP3), the app will not start. (Actually trace shows it starts a little bit but debugging doesn't point out the problem).
    It pops up a Windows Message wanting to send a report to Microsoft (yeah, we know where that goes) and I can see it say something about a file not found exception.
    I uninstall CTIOS 8.5(2) and it works perfectly.
    Makes you wonder how this passed QC testing. I have tried on two different machines.
    Anyone have the workaround that establishes the file it's looking for?
    Regards,
    Geoff

    I still have my TAC case open but I also have a workaround that seems to work.  As Chad described above he had a machine that the 8.5.2 upgrade originally did not launch on but then magically started working on.  I also came across that case. Once I had one working machine I could upgrade it and downgrade successfully without issues.   Seeing that the 8.5.2 installer examines the system to be upgraded I figured it's checking the registry and/or the installation files. I then did the following:
    Working system
    1) Downgrade working 8.5.2 system to 8.0.1
    2) Export the Cisco Systems Inc key from this 8.0.1 system
    3) Copy the CTIOS Client and CTIOS Silent Monitor directories for the 8.0.1 system
    Non working System
    4) Stop the CTIOS Silent Monitor system
    5) Delete the Cisco System Inc key from the reg
    6) Import the Cisco Systems Inc key from the working system
    7) delete the existing CTIOS Client and CTIOS Silent Monitor directories
    8) Copy in the CTIOS Client and CTIOS Silent Monitor directories from the working system
    9) Run the 8.5.2 installer
    Reboot - and run the agent/supervisor desktop
    I did this on several test machines and it worked every time.  I have upgraded about 5-6 supervisors and they all say it's working fine as well.
    Carlos

  • CS5 opening file from file server through explorer gets file not found error

    Hi There,
    Has anyone come across an issue with CS5 where they open an ai file through Windows Explorer and gets an error file not found after CS5 has started? Opening through CS5's file > open option does not produce the same error and seems to only error when opening by double clicking on the ai file. Is this a possible issue with shellex open handler registry key?
    Any help would be greatly appreciated.

    Opening files directly from the server can produce errors and damage files. It is generally not advised.
    http://kb2.adobe.com/cps/327/327749.html

  • Home.uix file not found for Enterprise Manager 10g R1

    I installed Oracle 10 R1, Enterprise manager was not working. It was giving error
    404 file not found.
    I checked the error log, found that home.uix file was not found.
    So is there any source from net to get any uix missing files.
    or what else could b the solution.
    Thanks

    I found solution for this issue. When I started my WebLogic server, the PATH and CLASSPATH env variables contained paths leading to my E-Business Suite installation under the same user. All I had to do was unset these env variables and set them to default ones and start the WebLogic server.

  • 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

  • Why am I getting File not Found alert when I type into my browser?

    Why do I keep getting a File not Found alert when I type into my browser?
    I have been using firefox for about 4 yrs now with very few problems. The problem I am having is that when ever I go to type in anything into my browser I keep receiving this message:
    (Scroll down to see the rest)
    File not found
    Firefox can't find the file at jar:file:///C:/Program Files (x86)/Mozilla Firefox/omni.jar!/chrome/en-US/locale/browser-region/region.propertieschronic+fatigue+syndrome.
    I recently installed Firefox 5.0 and this keeps happening. It happened with the 4.0 version a couple of days ago but mostly it is the 5.0 version that I am having problems with. When ever I want to do a search I have to manually type in google.com. Is there a solution to fix this?

    The NuGet is a dll that was built with 4.0.0.0.  The easiest thing to fix problem is target you VS project to use Net 4.0.  You could get a new version of NuGet, but if you do make sure you rebuild your entire project.  The dependencies in
    the VS compiler doesn't always recognize updated libraries.  So I normally rename the bin folder in the project and then delete the bin folder.  VS will create a new bin folder and then rebuild all the source files.  If your project contains
    multiple projects then remember to delete the bin from all projects.
    jdweng

  • How to embed audio to my website using quicktime when I get "file not found

    hi,
    i've been trying to embed audio into my website all night and I get a file not found message even though I;ve checked 100 times and all files are where links say they should be..
    but even just linking to audio (mp4) files won't work...
    everything is o.k. with non-audio links on my website - only the mp4 audio can't be found.
    can anyone help me? or post the correct code?
    I've tried using these formats..
    <EMBED SRC="anymovie.mov" HEIGHT=176 WIDTH=136>
    <embed
    src="http://www.crossandthrone.com/.samples/qt/sample-reference2.mov"
    width="242" height="199" autoplay="false" loop="false"
    controller="true" bgcolor="#666666"
    pluginspage="http://www.apple.com/quicktime/"></embed>
    the pages that should play audio just have a quicktime file with a question mark on them
    help would be much appreciated!

    Start here:
    http://www.mediacollege.com/video/streaming/
    --Nancy O.
    Alt-Web Design & Publishing
    www.alt-web.com
    "subdued2u" <[email protected]> wrote in
    message
    news:gbg2th$r13$[email protected]..
    > Hello ,guys, i have a website,, and i would like to add
    upload vidoes on
    my
    > website i have tried but did not work can anyone please
    tell me how to
    embed my
    > videos in my website using dreamwever ?
    > thank so much
    >

  • How to use GarageBand at school and avoid getting 'File Not Found'

    Last year we used Audacity and this year we used GarageBand to create podcasts.
    We had students keeping their GarageBand project files on their USB sticks so that they could also work at home but many of them lost their work because they would get the message 'File Not Found'. The only work around we could come up with was to assign each student a computer and force them to only work on that computer and save their work in the GarageBand folder.
    Why is it not possible to use GarageBand projects across multiple computers by transferring with a USB? I even had them do drag and drop from the GarageBand folder to their USB instead of doing Save As but neither worked without errors.
    Sadly, many of these 160 students now have a negative opinion of Apple products and Apple software. I still like GarageBand, but it doesn't seem like a very good option for educational uses unless there is some sort of workaround that will allow my students to work on their projects on multiple computers.

    the only immediate thought is that you didn't format the USB drives for Mac OS. GB files require it, they won't work under other formats

  • I have 3.6 & am trying to upgrade to current version. When trying to update didn't work, I trashed 3.6 & tried new install. Keep getting "File not Found" page.

    Could not update from 3.6 (said I was not authorized). Tried trashing 3.6 and accompanying files and do a clean install of new version. When I click to download I am redirected to a Mozilla "File not found" page. From there I try clicking on Firefox and downloading the English(US) for OSX file and it directs me back to the same file not found page. I have tried this several times.

    Where are you trying to download Firefox from? You should be using [http://www.getfirefox.com www.getfirefox.com], the official Firefox Download site.

  • Before i did not have to type a full address for a website to come up, just a key word e.g. "Firefox" would take me to mozilla, "google" would take me to google... now I get "File not Found" and rather have to type a full URL address, why is this?

    File not found
    Firefox can't find the file at jar:file:///C:/Program Files/Mozilla Firefox/omni.jar!/chrome/en-GB/locale/browser-region/region.propertiesgoogle.

    Try this:
    http://www.groovypost.com/howto/how-to/change-firefox-4-address-bar-search-engine-provider/

Maybe you are looking for

  • How Can i get PLSQL Procedure out values in Shell Script?

    Hi, I need to use PLSQL Procedure out values in shell script by using that parameter i need to check and call the other procedure. Please can you guide me how can i? #!/bin/ksh # Function to call validation program SQL_PKG_CALL() echo "Inside SQL_PKG

  • Constant crashing with Flash CC in Windows 8.1

    Hello I am an avid Flash user who has worked in the program for roughly 10 years since before it was bought by Adobe and called Macromedia MX5. This most recent version of Flash CC is incredibly buggy with respect to the following areas.. I am consta

  • Is it possible to use Acrobat link tool to link to a directory?

    I am wondering if it is possible to use the Acrobat link tool (advanced editing) to link to a directory?

  • Security code comes up invalid when in fact it is very much valid

    Recently when trying to download apps it prompts me to sign in and view my billing info. All the information is correct including my security code. I have taken it out and put it back in and yet it still says my security code is invalid when it 100%

  • ORA-06540 ORA-06553 PLS-00123

    Hi: I'm having a problem with Oracle 9.0.1, I'm doing an export/import in my production database however I'm getting the errors 6540, 6553 an PLS-00123, it is sending the message that the program is too large, but it is not true, I did de import/expo