Acrobat File Not Found After Printing Web Page

Here is my problem:
I am trying to print a web page from our intranet but once the process is complete, a log file opens saying:
"The system cannot find the file" and then it lists the file I just tried to create.
The page is basic HTML with a small amount of Javascript.  Disabling the Javascript had the same problem.
The page is about 30 pages long.  Only printing the first page had the same problem.
Printing to PDF on an external site had the same problem.
I tried the same process in Office and ran into the same problem.
Here is what I am doing:
I am opening the web page in the browser.  I go to File > Print.  I select "Adobe PDF" as my printer.  I do not make any edits to the settings.
Here is my environment:
Adobe Acrobat 9 Standard
Windows XP SP3.
Tried it both in Firefox 3.6 & IE 7.
"Acrotray.exe" is running in the background.
Acrobat is completely updated.
Is it a setting issue?  Possibly a software conflict issue?
Thanks,
-B

Thanks for the reply!
Here are answers to your questions:
No, I cannot print to PDF from other applications.
I do have have the checkboxes to request filename and open in Acrobat selected.
I do not get an error from Distiller during the process of creating a PDF.  It isn't until it is completely done that the log file pops up that simply says, "The system cannot find the file" and lists the file location (i.e. c:\users and settings\desktop...).
Beyond that log file, it looks like everything is running fine.
Let me know if any other information that will help.

Similar Messages

  • File not found: Label (variation label page giving error)

    Please bear with me as I have to explain. 
    I have a publishing site with variations.
    English (source)  
    Spanish (target)  
    The site was working fine since the beginning it was created a few months ago. But today something happened to the top navigation in Spanish site. The option in "Navigation" under "Site Settings" selected was "Show current site navigation"
    but it started showing all other links which are not part of it.  
    I then changed it to "Show parent site navigation" upon which it showed correct links based on parent site. So I tried to change it back to "Show current site navigation" but still it showed those incorrect links and not the actual site
    navigation.  
    I thought let's restart IIS which I did and viola it almost solved the problem. Now I could see current site navigation but there was one link missing which I added a couple of days ago.
    I tried to investigate as to what happened exactly and tried to access "Variation Labels" page in site setting but got error "File not found: Label"  
    It turns out somehow there is a field called "Label" in Variations list which is hidden or may be somehow its name got changed. I found out using SharePoint Manager 2013. I could access both English and Spanish site variation settings page by going
    to the page directly and passing their ID but: 
    1. Why did it happen? I mean why all of a sudden SharePoint would do this? Or is it one of those SharePoint things which you cannot explain and this is how it does? 
    2. If let's say somehow "Label" field got deleted then how can I put it back or how to find the new name of this field if it got changed somehow? 
    3. How do I fix Variation Labels page?
    Because of this problem I am also facing another issue and that is there is a page in Spanish in which I have added custom web part that use resource files. It was working fine but after this issue it is showing error that it is not able to find resource files
    when they are actually there and are present all the time.

    what he did he went to List setting directly and compare it with freshly created list in different farm.
    as he mentioned: 
    "by going to _layouts/ListEdit.aspx?List={GUID of Variation Labels list} and compared the field names with the freshly created site collection on a separate VM with variations"
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • File not found after restart

    Hello,
    We have a web application that reads in a .ini file. This works great. But, when we have to restart tomcat (for example after the database has been restarted) sometimes tomcat throws a file not found exception for that file. The only way to get rid of that exception is removing the deployed diurectory of the web application and start tomcat again so it deploys the the application again. The .ini file doesn't leave its place and is always there.
    Kind regards,
    Martijn

    Hi,
    MPRyan1173 wrote:
    Wouldn't it have timeout reset with a server restart and computer restart? 
    yes, Application scope resets on coldfusion server or computer restart.

  • JSP file not found. server.xml/web.xml problem?

    Hi there,
    I have a login.jsp that accepts username and password. Once login is approve, it calls main.jsp file as follows using <jsp:forwards>:
    if (login != null){
    out.println("Login Successful!");
    session.setAttribute("sessionUsername", username);
    session.setAttribute("sessionPassword", password);
    out.println("session started!");%>
    <jsp:forward page="main.jsp" />
    Problem is that the server returns "file not found", when I'm sure the main.jsp is right there! I suspect there is some configuration problem with the Tomcat, but I donno what. Do I need to edit the server.xml or web.xml, coz I didn't?

    please check that the jsp file to which you are forwarding the request exist at the same location where forwarding jsp exists.

  • [SOLVED] GRUB 2 - "error: file not found" after Clonezilla Restore

    Hello,
    I backed up my Arch Install which is one root partition covering the entire SDD with Clonezilla, to play around with Gentoo and FreeBSD on my Laptop.
    Now I restored the image and when GRUB 2 loads I see "error: file not found" three times for a short momemt before I'm in the GRUB 2 menu.
    When I boot my I also see these 3 messages (probably the once from the early loading process) and "Loading Linux ck kernel...." "Loading initrafms...." "Press any key to continue..." When I wait for a short time or press enter it boots like expected (fsck message appears for a short time since I'm using quite boot and I'm in KDM after that).
    Grub loading...
    error: file not found
    error: file not found
    error: file not found
    Loading Linux ck kernel...
    Loading initramfs...
    Press any key to continue...
    I did not have this when I  backed it up. It booted into the menu and when I booted the menu entry it would go black to show me the fsck message and seconds later I was in KDM.
    I tried $ sudo grub-mkconfig but it did not change anything.
    This is my current /boot/grub/grub.cfg
    # DO NOT EDIT THIS FILE
    # It is automatically generated by grub-mkconfig using templates
    # from /etc/grub.d and settings from /etc/default/grub
    ### BEGIN /etc/grub.d/00_header ###
    insmod part_gpt
    insmod part_msdos
    if [ -s $prefix/grubenv ]; then
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    if [ "${prev_saved_entry}" ]; then
    set saved_entry="${prev_saved_entry}"
    save_env saved_entry
    set prev_saved_entry=
    save_env prev_saved_entry
    set boot_once=true
    fi
    function savedefault {
    if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
    fi
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=en_US
    insmod gettext
    fi
    terminal_input console
    terminal_output gfxterm
    set timeout=5
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/10_linux ###
    menuentry 'Arch GNU/Linux, with Linux ck kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux ck kernel ...'
    linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-ck.img
    menuentry 'Arch GNU/Linux, with Linux ck kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux ck kernel ...'
    linux /boot/vmlinuz-linux-ck root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-ck-fallback.img
    menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux.img
    menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-a93fa938-f74f-477d-9573-678340bb2940' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 a93fa938-f74f-477d-9573-678340bb2940
    else
    search --no-floppy --fs-uuid --set=root a93fa938-f74f-477d-9573-678340bb2940
    fi
    echo 'Loading Linux core repo kernel ...'
    linux /boot/vmlinuz-linux root=/dev/sda1 elevator=noop ro quiet
    echo 'Loading initial ramdisk ...'
    initrd /boot/initramfs-linux-fallback.img
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/40_custom ###
    # This file provides an easy way to add custom menu entries. Simply type the
    # menu entries you want to add after this comment. Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    Anyone has a clue what files it is looking for? And why it doesn't boot straight away, when there is nothing that keeps it from booting up normal anyway?
    Last edited by blackout23 (2013-03-21 16:16:59)

    the.ridikulus.rat wrote:Upgrade to grub 2.00, that will give info on which file is actually missing. And then recreate /boot/grub/grub.cfg and check whether that error is gone.
    I think I'm already on Grub 2.0.0 otherwise I wouldn't have this cryptic menu configuration file.
    local/grub-bios 2.00-1
    GNU GRand Unified Bootloader - i386 PC BIOS Modules
    local/grub-common 2.00-1
    GNU GRand Unified Bootloader - Utilities and Common Files

  • Error 15: file not found after comp tune X install

    downloaded comptuneX on mid 2010 27in imac to enlarge my bootcamp partition with windows 7.  Now when trying to boot into windows I get,
    Error: file not found...then pressing any key takes me to a RED SCREEN labeled at the top grub4dos, with a menu of options which don't work to do anything I understand.  Can someone please help?
    Thanks

    downloaded comptuneX on mid 2010 27in imac to enlarge my bootcamp partition with windows 7.  Now when trying to boot into windows I get,
    Error: file not found...then pressing any key takes me to a RED SCREEN labeled at the top grub4dos, with a menu of options which don't work to do anything I understand.  Can someone please help?
    Thanks

  • File not found after importing from external hard drive

    I have been importing music from an external hard drive into my Itunes account.  Some of the songs transfer fine, but some of them show up in Itunes as being imported, but when I go to listen to them I get a file not found message because the original file cannot be found.  If I have the hard drive plugged in there is no problem, but without it I get that message. 
    Any advice?  I"d really like to get all music set up in Itunes.

    Search Amazon - Davie Pogue I believe has released the missing manual for Leopard - it is a good general reference Liz Castro did a great book on iPhoto 05 but has not done one for '08 as of now
    The iPhoto Help section is very helpful
    Reading this forum will teach you a lot about iPhoto
    If you have not taken the iPhoto tutorials yet you should - http://www.apple.com/support/iphoto/
    Make mistakes and fix them - that's the way I do it
    LN

  • Files not found after migration to new Mac

    Hi,
    On my old Mac, under Snow Leopard, my installation was complete and everything worked fine.
    Then, when I bought a new Mac (with Mountain Lion installed) I had to use Migration Assistant to restore my Time Machine Backup, which included my Logic Pro installation.
    Now when I try to use Logic Pro I often get these "Audio file ... not found!" messages (see example).
    How can I fix this?
    Many thanks!

    Thanks for the link! Instead of un-installing and re-installing everything, I noticed that in GarageBand (which I normally don't use) there was an update/additional download available. After doing it I noticed that this had fixed nearly all missing-audio-file-problems in Logic Pro: when checking for missing instruments by creating a new instruments project everything was complete again on 2 of our 4 Macs (pre 2012 models) -- on the other 2 Macs (late 2012 models) only the following 3 ( ! ) files are missing:
    /Library/Application Support/GarageBand/Instrument Library/Sampler/Sampler Files/...
    .../Seventies Kit/DC Tit Hat 08.aif
          (of EXS24 Instrument "Seventies Kit.exs")
    .../Liverpool Bass/IL Btl Bass bomb 08.aif
          (of EXS24 Instrument "Liverpool Bass.exs")
    .../Steinway Grand Piano/Steinway Pedal V1/Stw ped v1 024.AIF
          (of EXS24 Instrument "Steinway Piano.exs")
    So we copied the 3 missing files into the same directories on the 2 newer Macs, but it seems Logic doesn't "see" them and therefore still says that they are missing:
    How can I help Logic to find these files?

  • Where can the log file be found after printing to the PDF printer?

    Cannot locate the log file after printing to the Adobe PDF printer.  The box was unchecked for delete log file after successful print.  Running Adobe Acrobat X Standard (v10.0.0) on a windows 2008 R2 server.

    There is usually no log file when the conversion succeeds. Only in certain cases are their warning or information messages, usually of little interest.

  • Firefox closes after printing web pages.

    Firefox 12.0 is my browser. Up-to-date. After printing a web page, Firefox closes. Doesn't happy with other printing i.e. Word docs. Virus/malware protection enabled and up-to-date. I don't see any setting that would be asking Firefox to close when finished, so what could be causing this?

    Wow, that's incredibly inconvenient.
    To be clear: Firefox is shutting down completely without displaying any error message? When you restart Firefox, does it work or do you get the error that Firefox is already running? Does Firefox suggest resuming your previous session or resume it automatically (i.e., Firefox recognizes that it crashed)?
    Usually the first thing to try when printing misbehaves is to reset the various settings Firefox saves for your printer. You can do that in the about:config preferences editor with a lot of right-clicking.
    A little more info here: http://kb.mozillazine.org/Problems_printing_web_pages#Reset_printer
    Does that make any difference?

  • FCP rendering file "not found" after rendering

    hello,
    It is very strange... It has never been happen to me before. After I render projects 30 mins HD project (it took me a few hrs) and right after the rendering, this message pops up... "Not Found" then all the supposed to be rendered region is still in red..... I have no idea what to do.. I trashed preferences and al... but I had no luck...

    Yes,
    I solve the problem after I created a new sequence and saved the project as different setting.
    thanx;)

  • "ipod cannot update - file not found" after getting new ipod

    i had my ipod replaced today at the apple store because of a bad HD. Seems like the one they gave me was brand new...anyway after following the restore/charge directions, i went to go plug it into my dock and Itunes is telling me it can't update the ipod because the file is missing. i definitely have the latest update installer, and i even tested playlist syncs with the new ipod and it definitely updates songs/playlists, but after that it gives me the error message about not being able to update.
    i ran the last updater, and it says my ipod is up to date.
    what's going wrong? i must have done something wrong.

    or not....i spoke too soon!
    it's doing it AGAIN. after it started updating after restoring all was well, it tried to add my whole library which won't fit.
    when it add's a "library selection" instead automatically, it fills up my ipod so that the photos won't update.
    then when i re-mount the ipod, it gives me the same old error message again about missing the file required for updating!?!?!?
    i wish my preference to "manually add songs" instead of syncing the library would save in Itunes when i restore my Ipod. it's making it impossible for me to get things working properly after restoring....

  • File not found after socket transfer

    I have code written to upload a file to the server. the file uploads fine when i dont specify the dir. It uploads to the server current dir, but when i try to upload it to directory "tmp/uniqueDir/filename" that i create in my code i get filnotfound exception. can someone please help me figure out why?
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.Socket;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class ServerUtil {
         String tmpDir;
         String fileName;
         Process proc;
         Runtime runtime = Runtime.getRuntime();
         public static final int BUFFER_SIZE = 1024 * 50;
         private byte[] buffer;
         public ServerUtil() {
              // TODO Auto-generated constructor stub
         public void generateTmpDir(){
              java.util.Date d = new java.util.Date();
              long off = (long) Math.random();
              GregorianCalendar todaysDate=new GregorianCalendar();
              int hour,mins,secs;
              hour=todaysDate.get(Calendar.HOUR);
              mins = todaysDate.get(Calendar.MINUTE);
              secs = todaysDate.get(Calendar.SECOND);
              String SECS = java.lang.Integer.toString(secs);
              String HOUR = java.lang.Integer.toString(hour);
              String MINS = java.lang.Integer.toString(mins);
              String time = HOUR + MINS + SECS;
              /** Unique String Name **/
              String RANDOM_OFFSET = new String ();
              RANDOM_OFFSET =time + d.hashCode() + RANDOM_OFFSET.hashCode()+ off;
              setTmpDir(RANDOM_OFFSET);
              try {
                   proc = runtime.exec("mkdir tmp/" + getTmpDir() );
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public void uploadFile(Socket socket, BufferedReader rd){
              buffer = new byte[BUFFER_SIZE];
              System.out.println("accepted Socket");
              try {
              BufferedInputStream in =
                   new BufferedInputStream(socket.getInputStream());
              setFileName(rd.readLine());
              System.out.println(fileName);
              BufferedOutputStream out =
                   new BufferedOutputStream(new FileOutputStream("tmp/" + getTmpDir() +"/" + getFileName()));
              int len = 0;
              while ((len = in.read(buffer)) > 0) {
                   out.write(buffer, 0, len);
                   System.out.print("#");
              in.close();
              out.flush();
              out.close();
              socket.close();
              System.out.println("\nDone!");
              catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
          * @return the tmpDir
         public String getTmpDir() {
              return tmpDir;
          * @param tmpDir the tmpDir to set
         public void setTmpDir(String tmpDir) {
              this.tmpDir = tmpDir;
          * @return the fileName
         public String getFileName() {
              return fileName;
          * @param fileName the fileName to set
         public void setFileName(String fileName) {
              this.fileName = fileName;
    }this is the error im getting:
    java.io.FileNotFoundException: tmp/0859124333356700/fileName (A file or directory in the path name does not exist.)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:153)
    at EpkgArchiveServerUtil.uploadFile(ServerUtil.java:93)
    at ServerThreads.run(ServerThreads.java:38)

    You mean this code?proc = runtime.exec("mkdir tmp/" + getTmpDir() );Does it run with the same working directory as your Java code? And why don't you wait until it finishes? And more to the point, why don't you just use the java.io.File method that will make a directory for you instead of doing a clumsy thing like that?

  • File Not Found after soket transfer

    I have code written to upload a file to the server. the file uploads fine when i dont specify the dir. It uploads to the server current dir, but when i try to upload it to directory "tmp/uniqueDir/filename" that i create in my code i get filnotfound exception. can someone please help me figure out why?
    import java.io.BufferedInputStream;
    import java.io.BufferedOutputStream;
    import java.io.BufferedReader;
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.Socket;
    import java.util.Calendar;
    import java.util.GregorianCalendar;
    public class ServerUtil {
         String tmpDir;
         String fileName;
         Process proc;
         Runtime runtime = Runtime.getRuntime();
         public static final int BUFFER_SIZE = 1024 * 50;
         private byte[] buffer;
         public ServerUtil() {
              // TODO Auto-generated constructor stub
         public void generateTmpDir(){
              java.util.Date d = new java.util.Date();
              long off = (long) Math.random();
              GregorianCalendar todaysDate=new GregorianCalendar();
              int hour,mins,secs;
              hour=todaysDate.get(Calendar.HOUR);
              mins = todaysDate.get(Calendar.MINUTE);
              secs = todaysDate.get(Calendar.SECOND);
              String SECS = java.lang.Integer.toString(secs);
              String HOUR = java.lang.Integer.toString(hour);
              String MINS = java.lang.Integer.toString(mins);
              String time = HOUR + MINS + SECS;
              /** Unique String Name **/
              String RANDOM_OFFSET = new String ();
              RANDOM_OFFSET =time + d.hashCode() + RANDOM_OFFSET.hashCode()+ off;
              setTmpDir(RANDOM_OFFSET);
              try {
                   proc = runtime.exec("mkdir tmp/" + getTmpDir() );
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public void uploadFile(Socket socket, BufferedReader rd){
              buffer = new byte[BUFFER_SIZE];
              System.out.println("accepted Socket");
              try {
              BufferedInputStream in =
                   new BufferedInputStream(socket.getInputStream());
              setFileName(rd.readLine());
              System.out.println(fileName);
              BufferedOutputStream out =
                   new BufferedOutputStream(new FileOutputStream("tmp/" + getTmpDir() +"/" + getFileName()));
              int len = 0;
              while ((len = in.read(buffer)) > 0) {
                   out.write(buffer, 0, len);
                   System.out.print("#");
              in.close();
              out.flush();
              out.close();
              socket.close();
              System.out.println("\nDone!");
              catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
          * @return the tmpDir
         public String getTmpDir() {
              return tmpDir;
          * @param tmpDir the tmpDir to set
         public void setTmpDir(String tmpDir) {
              this.tmpDir = tmpDir;
          * @return the fileName
         public String getFileName() {
              return fileName;
          * @param fileName the fileName to set
         public void setFileName(String fileName) {
              this.fileName = fileName;
    }this is the error im getting:
    java.io.FileNotFoundException: tmp/0859124333356700/fileName (A file or directory in the path name does not exist.)
    at java.io.FileOutputStream.open(Native Method)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:201)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:153)
    at EpkgArchiveServerUtil.uploadFile(ServerUtil.java:93)
    at ServerThreads.run(ServerThreads.java:38)

    You need to create the directory, not just calculate its name.
    Don't use BufferedReader for this: either use DataInputStream.readLine() or use a protocol that doesn't require newlines. Using a buffer when you also use another input from the same socket will cause the buffer to 'steal' data from the other input.

  • Process.conf file not found after installing Sun One Portal Server 6.0

    This extract is from the Sun One Portal Server development guide for logging error or logs in log file. This says that to generate the log, entry should be done to enable logging in process.conf file. I could not find any such file after installing Sun One Portal Server 6.0.
    Any help will be appreciated...
    Reporting Errors to the Robot Log File
    When problems occur, robot application functions should return an appropriate response status code (such as REQ_ABORTED), and they should also log an error inthe error log file.
    To use the error-logging functionality, you must include the file log.h in thesdk/robot/include/libcs directory. After you have ensured that log.h exists in the correct place, you can use the cslog_error macro to report errors. The prototype is in the following format:
    cslog_error(int n, int loglevel, char* errorMessage)
    The first parameter is not currently used (may be used in the future) You can pass
    this as any integer.
    The second parameter is the log level. When the log level is less than or equal to the log level setting in the file process.conf, the error message is written in the robot.log.

    Since removing the log settings from magnus.conf failed to fix the problem, the log settings are probably not the source of the problem.
    Did anything else - e.g. ColdFusion configuration changes - occur at about the same time you changed the log settings?

Maybe you are looking for