Stopping Automator "Run Applescript" if file not found.

Hi all,
I'm creating a folder action that, when a file is added to the folder, will search the folder to see if the file is of a certain type (by the extension) and then run an Applescript that will open the file in the appropriate program. The problem is that not all files that go into the folder are of the correct type. Is there any way to tell Automator or Applescript to stop if no file is found (essentially "input" should be empty)?
Thanks,
Stuart

Thank you for a helpful answer. I recently wrote an Automator application that opens several web pages in tabs and checks my email. It is set to run at login. Using a modification of your code and a line I pick up elsewhere I was able to make the Automator application end when I press command+. keys.
Perhaps you can answer a different question for me. I am new to Automator but catching on quickly. I am not very good at AppleScript however. I have three automator-based workflows saved as applications. One needs to run every day and then trigger one of the other two depending upon the day or date.
The branching seems to work OK but once the appropriate workflow starts to run I get an error. I think it is -1708. Any help you can provide would be appreciated.
2 Gig G5   Mac OS X (10.4.7)  

Similar Messages

  • How can I stop Firefox from opening (to "File Not Found") when opening my Opera browser?

    Ever since I installed Opera 10.61 on my new computer (Windows 7 Ultimate operating system), whenever I open Opera, Firefox opens one second later with the following error message:
    '''File not found '''
    Firefox can't find the file at /C:/Users/Nasheed/AppData/Local/Opera/Opera/temporary_downloads/client-en.xml.
    * Check the file name for capitalization or other typing errors.
    * Check to see if the file was moved, renamed or deleted.
    TRY AGAIN.
    <nowiki>****************************************************</nowiki><br />
    This happens EVERY TIME I OPEN THE OPERA BROWSER. How can I stop this from happening? I'm stumped.
    [EXTRA INFO - I was unable to enable Firefox to access my previous profile on the new computer (despite putting the old profile in the appropriate Mozilla Firefox folder. So, there are now two profiles in that location.
    After reading the answer to another forum member's question, I attempted to resolve the problem using Profile Manager, but I was unable to locate the Profile Manager. The Windows "Search" feature is not enabled on my new computer (nor can it be enabled from the Customize Start Menu options).]

    Thank you for your response, Cor-el.
    I had Opera set as my default browser since this began happening. I changed my default browser back to Firefox mainly because having Firefox open one or two seconds every time I open Opera was/is such a nuisance.
    I believe this problem began because I attempted to manually transfer the files from my old computer to the new one (via the backed up files in my external drive). I was unfamiliar with Windows 7 when I did this. Microsoft changed the file set up from what I had been used to in Windows XP. I used XP for six years before being exposed to Windows 7 (I never had Vista).
    I'm almost sure this problem has something to do with where I placed the application data when I was trying to reestablish the program set up on the new computer.

  • Can anyone tell me how to fix this error I am receiving: LabView: File not found. VI "Mobile Display.vi" was stopped at unknown " " at a call to "Mobile Display.vi"?

    Can someone help me please? I am receiving this error everytime I attempt to execute my application:
    LabView: File not found. The file might have been moved or deleted, or the file path might be incorrectly formated for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    VI "Mobile Display.vi" was stopped at unknown " " at a call to "Mobile Display.vi"
    Attachments:
    labview error.jpg ‏176 KB

    We cannot help without additional information:
    Are you running your code
    ...in the development system?
    ...as a standalone application?
    ...deployed to an embedded target?
    If it is a built application, do you explicitly include dynamically called VIs in the build specification?
    Who wrote the program? Do you have access to the code?
    How is this VI called? Is there sufficient error handling?
    Do you manipulate paths as strings or as proper path datatypes with the strip path/build path primitives etc.?
    Is it running on the same OS used to develop it ...
    LabVIEW Champion . Do more with less code and in less time .

  • [solved] 'ERROR: file not found:' when running 'mkinitcpio -p linux'

    $ sudo mkinitcpio -p linux
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
    ==> Starting build: 3.13.5-1-ARCH
    -> Running build hook: [systemd]
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    -> Running build hook: [autodetect]
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating cat initcpio image: /boot/initramfs-linux.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
    -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
    ==> Starting build: 3.13.5-1-ARCH
    -> Running build hook: [systemd]
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    ==> ERROR: file not found: `'
    -> Running build hook: [modconf]
    -> Running build hook: [block]
    ==> WARNING: Possibly missing firmware for module: aic94xx
    ==> WARNING: Possibly missing firmware for module: smsmdtv
    -> Running build hook: [filesystems]
    -> Running build hook: [keyboard]
    -> Running build hook: [fsck]
    -> Running build hook: [consolefont]
    -> Running build hook: [keymap]
    ==> Generating module dependencies
    ==> Creating cat initcpio image: /boot/initramfs-linux-fallback.img
    ==> WARNING: errors were encountered during the build. The image may not be complete.
    Things seems to work, but I'm a bit worried.
    It has just started. PS/2 atkbd stuff went fine.
    journalctl shows
    Feb 26 22:36:09 localhost systemd-udevd[62]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[63]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
    Feb 26 22:36:09 localhost systemd-udevd[64]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[65]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export -
    Feb 26 22:36:09 localhost kernel: sda: sda1 sda2 sda3 sda4
    Feb 26 22:36:09 localhost kernel: sd 0:0:0:0: [sda] Attached SCSI disk
    Feb 26 22:36:09 localhost systemd-udevd[66]: failed to execute '/usr/lib/udev/ata_id' 'ata_id --export /de
    Feb 26 22:36:09 localhost systemd-udevd[67]: failed to execute '/usr/lib/udev/scsi_id' 'scsi_id --export
    I'm using [testing] but I don't know if it matters.
    What should I post?
    Last edited by karol (2014-03-15 15:03:56)

    The systemd build hook looks like this:
    build() {
    local rules unit
    # from base
    add_binary /bin/mount
    add_binary /usr/bin/kmod /usr/bin/modprobe
    # systemd
    add_binary /usr/lib/systemd/systemd /init
    add_binary /usr/bin/systemd-tmpfiles
    # generate sysroot.mount and sysroot-usr.mount
    add_file "/usr/lib/systemd/system-generators/systemd-fstab-generator"
    # udev rules and systemd units
    map add_udev_rule "$rules" \
    50-udev-default.rules \
    60-persistent-storage.rules \
    64-btrfs.rules \
    80-drivers.rules \
    99-systemd.rules \
    map add_systemd_unit \
    ctrl-alt-del.target \
    initrd-cleanup.service \
    initrd-fs.target \
    initrd-parse-etc.service \
    initrd-root-fs.target \
    initrd-switch-root.service \
    initrd-switch-root.target \
    initrd-udevadm-cleanup-db.service \
    initrd.target \
    kmod-static-nodes.service \
    sockets.target \
    [email protected] \
    systemd-journald.service \
    systemd-tmpfiles-setup-dev.service \
    systemd-udev-trigger.service \
    systemd-udevd-control.socket \
    systemd-udevd-kernel.socket \
    systemd-udevd.service
    add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
    # libdbus needs the passwd info of the root user
    # TODO: make sure this is no longer necessary when systemctl moves to sd-bus
    add_file "/etc/nsswitch.conf"
    add_file "/etc/passwd"
    add_binary "$(readlink -f /usr/lib/libnss_files.so)"
    # udev wants /etc/group since it doesn't launch with --resolve-names=never
    add_file "/etc/group"
    Do all of those files exist on your sytemd? I'm not running testing nor systemd in my initrd, so I can't do much checking.
    Edit: You're not the only one. Bug report: https://bugs.archlinux.org/task/39059
    Last edited by Scimmia (2014-02-27 06:59:55)

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

  • Quicktime gets a file not found error in running of set up.  tried downloading twice

    Quicktime gets a file not found error in running of set up.  tried downloading twice

    Hi Spex,
    I can import the VI Logger task OK (from another PC running VI Logger 2.0), but I can't run the task.  I've attached the file.  The "1 channel" task runs OK.  The "x-probe" task starts, takes 1 or 2 data points, then hangs for a few seconds, then pops up the "file not found" error. The data acquisition taks run OK, so I don't think they're the problem.
    This file I've attached includes 2 good data tasks ("1 channel" and xprobe"), 1 good VI Logger task ("1 channel"), and my non-working VI Logger task ("x-probe", which works fine on the PC it was exported from).
    I have also tried exporting the non-working VI Logger task on its own, and it still imports OK, but still doesn't run, and gives the same error.
    Thanks,
    Jake
    Attachments:
    configData1.zip ‏353 KB

  • "file not found" error in VI Logger when running an imported VI Logger task

    I'm having trouble getting all of my imported tasks to run in VI Logger.
    I'm using VI Logger 2.0, with an SCXI-1100.  The data acquisition tasks I import run fine.  One of the VI Logger tasks I've imported runs OK, but the other one gives an error:
    "Engine Error!
    Error Code = 7
    LabView: File not found.  The file may have been moved or deleted, or the file path might be incorrectly formatted for the OS."
    If I create a new VI Logger task, the new task works OK.  And my 1st VI Logger task to be imported works OK.  So I know my setup mostly works.  But our company has never been able to figure out importing tasks very well, so I'm looking for help.
    Question 1: What file is LabView looking for?  I've checked my Export path and database path, and they are identical in both the working task and the non-working task.
    Question 2: Where else might I look for the difference between the 2 VI Logger tasks?  Neither task uses any weird characters in the name, both have analog input channels and calculated channels.  And I've mixed and matched the data acquisition tasks with no change (the good VI Logger task will run with either data task, the bad VI Logger task won't run with either data task), so I'm pretty sure the problem is in the VI Logger task, and not the data task.  I've also tried importing the 2nd task on its own, as a separate import function, but that gave the same error.
    Thanks for the help in advance,
    Jake

    Hi Spex,
    I can import the VI Logger task OK (from another PC running VI Logger 2.0), but I can't run the task.  I've attached the file.  The "1 channel" task runs OK.  The "x-probe" task starts, takes 1 or 2 data points, then hangs for a few seconds, then pops up the "file not found" error. The data acquisition taks run OK, so I don't think they're the problem.
    This file I've attached includes 2 good data tasks ("1 channel" and xprobe"), 1 good VI Logger task ("1 channel"), and my non-working VI Logger task ("x-probe", which works fine on the PC it was exported from).
    I have also tried exporting the non-working VI Logger task on its own, and it still imports OK, but still doesn't run, and gives the same error.
    Thanks,
    Jake
    Attachments:
    configData1.zip ‏353 KB

  • File not found error on some computers running the same program

    Dim pList As System.Diagnostics.Process
    retval = 0
    PTRName = "F:\myprogram.exe"
    If My.Computer.FileSystem.FileExists(PTRName) Then
    System.Disgnostics.Process.Start(PTRName)
    pList = System.Diagnostics.Process.GetProcesses
    For each proc As System.Diagnostice.Process in pList
    If proc.ProcessName = "myprogram" Then
    retval = proc.Id
    Exit For
    End If
    Next
    If retval > 0 then
    'continue
    Else
    'error message
    End If
    End If
    PTRName = "F:\myprogram.exe"
    If My.Computer.FileSystem.FileExists(PTRName) Then
    Retval = Shell(PTRName,4)
    If Retval > 0 Then
    'Continue
    Else
    'Error message
    End If
    End IF
    I have created a program which:
    opens a file
    reads the records and massages the records
    writes the records to a new file
    Launches a program that uses the resultant file.
    The program was written on Windows xp MCE using Visual Studio 10. The resulting program works fine.
    I places The executable and the input file onto a flashdrive, and then tested it on other machines.
    Two of the machines are both Win 7 Pro 64bit with .Net 4. On one machine it works great. On the other I get a "File not found" error when starting the second process. This is the failing code:
    The problem is with the Shell command. When I rewrite it as:
    it works on both machines
    So my question is: Why does exactly the same code (The same flashdrive was used on both machines) work on one machine and not the other (when both machenes appear to be at the same level)?
    In both cases I verify the file exists in the correct place before I try to start it.
    Any help would be appreciated.
    Thanks in advance
       John 

    The use of F is just an example. I use:
    OutputPath = My.Application.Info.DirectoryPath 'Where app is run from (root)
        'Make sure the path ends in \
        If VB.Right(OutputPath, 1) <> "\" Then
          OutputPath = OutputPath & "\"
        End If
    to get the correct information.
    Then
      PTRName = OutputPath & "myprogram.exe"
    BTW "myprogram.exe" is not the correct name it is just an example.
    Sorry if this caused confusion
    However all of this is not the point. If:
     My.Computer.FileSystem.FileExists(PTRName)
    is true then the file is in the right place. Therefore:
    Retval = Shell(PTRName,4)
    must also work. However it does not on some machines.
    Is the problem in .Net, VB or VS because it is not in my code. 
    I have also used a routine similar to you (in VB6) to find a particular volume, but used the volume label. That worked better in my case.
    John

  • Error running exe to write to exel file: Error 7 New file not found

    Hello!I have this problem, i've looked everywhere and i still can't solve it. It would be great if anyone can help me.
    I built an application that writes an array to a spreadsheet file.
    Everything works fine in Labview 7.1 , i can build the exe file, but
    when i try to run it it doesn't work (it doesn't do anything although
    in Labview works perfecty well)and i have this error:
    <<Error 7 occurred at New File; Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or
    deleted, or the file path might be incorrectly formatted for the
    operating system. For example, use \ as path separators on Windows, :
    on Mac OS, and / on UNIX.>>
    I've attached the vi file and the exe file.
    Thank you
    Attachments:
    app.zip ‏167 KB

    You've made a very, very common mistake and one discussed in numerous postings. When running in development mode and using the Current VI's Path, the path to a VI would be something like c:\folder\example.vi. When built, it becomes c:\folder\app.exe\example.vi. An extra strip path is required. Look at this, this, and this.

  • HTTP 404 File not Found running a page created with the wizard

    Hi all,
    I created a page "tabular form" with the wizard to delete and update records in a table.
    All pages of the application are ok. Only this page, when refresh after click on the "delete" or "submit" button send the message "HTTP 404 - File not found".
    OS - Windows XP
    DB - 10.1.0.4
    HTMLDB 2.0
    any idea?
    thanks in advance.

    Hi Scott,
    this is the error.log
    [Fri Oct 06 11:39:41 2006] [error] [client 10.20.101.243] [ecid: 1160127581:10.20.101.243:3860:2904:21,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-404
    wwv_flow.accept: SIGNATURE (parameter names) MISMATCH
    VARIABLES IN FORM NOT IN PROCEDURE: F51,F52,F53,F54,F55,F56,F57,F58,F59
    NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
    This is my first application with htmldb and i don't understand where is the error because i don't added parameter after the wizard creation. I just created the page and run. If this page start the first time when is called from another page, why after refresh fail?
    thanks, Fabio

  • Run-time error 53 File not found (makes BI Publisher quite unuseable!)

    Upgraded to BIP v 10.1.3.3.2
    Open a template with the template builder
    Load a source XML file
    Proceed to choose Insert-> Field....
    Microsoft message pops up:
    Microsoft Visual Basic
    Run-time error '53':
    File Not Found.
    This error, according to Microsoft and other technical sources SHOULD actually tell you what the file is that isn't found, however when run through the template builder, it never tells you any file name, just the above error message!
    I saw one other post on this forum about this problem, and it was related to the Java Home, so I went to TOOLS-> OPTIONS and my java home there is:
    C:\Program Files\Java\jre1.5.0_12
    So this should be high enough JRE version.
    ANy suggestions? What file or *.DLL can it not find? We have many people at a client (and me!) that have this issue.
    -Greg

    Pradeep,
    I am not trying to utilize the desktop template builder to log onto BIP enterprise.
    I am using it in an E-business suite environment, not a standalone BIP enterprise reporting environment. I simply use it right now to develop templates when I have valid XML to work with.
    Many other features are working, but any features that seem to be new such as repeating group, conditional region, conditional format, the insert field palet, among others.
    ANY feature that requires a .net service to be kicked off works only 10% of the time.

  • Cannot delete file error -43 file not found

    I cannot find and/or delete a file. The error is -43 file not found. It prevents me form making a backup with carbon copy.
    The file was in applications / illustrator / legal / strangecharacters.html (now in trash) and size 112kb.
    I am the admin of the machine on OSX 10.4.8
    I have read & write permissions
    Owner og the file is system.
    I cannot change the filename: Unexpected error code -43!
    I cannot change owner: Unexpected error code 213!
    I cannot drag the file out of the containing folder i.e. legal (i get grayed stop icon instead of the expected green plug icon at the mouse pointer).
    I can drag the legal folder around i.e. to the trash.
    I can not delete the folder and its contents with empty or secure emtpy trash.
    I tried:
    Repairing privileges. Nothing to repair, all is well.
    Rebuilding Locate Database but got 'cannot find the file code-43' while the folder was still in its original location: applications / illustrator /
    I logged out and back as admin and different user.
    I restarted.
    I tried to delete the file via Terminal with rm and with command below as suggested by apple technote. The result is not as desired:
    % chflags -R nouchg /Users/macuser/.Trash/Legal\ 22-06-59/Tie\314\202\314\201ng\ Vie\314\202\314\243t.html
    chflags: /Users/macuser/.Trash/Legal 22-06-59/Tiếng Việt.html: No such file or directory
    I started up from a different volume and tried the above.
    Anyone?

    as in my previous post, i found that part of my hard drive directory was corrupt. .ie. short version: there was a discrepancy between what the directory knew to be on the disk and what the finder showed me...
    so i did a startup in single mode (command-s) and type fsck -fy at the prompt to do a disk repair. took aout three runs and 20 minutes but after that i got the desired message: disk appears to be ok. i typed reboot which restarted the machine. i then ran disk utillity repair privileges.
    everything now is fine.
    note: working with bluetooth keyboard and mouse in single mode worked on my G5 (not sure though if this applies to all models), also fans make a lot of noise, like your machine is about to take off... dont worry)
    hope this helps
    G5dual   Mac OS X (10.4.5)  

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

  • New weblogs file not found

    Hello. I just set up weblogs for the first time. I enabled weblogs in server admin and chose a theme. I left the default folder for storing files as it was, but I can't access weblogs from the web. I have several sites on my server. I have tried all of them in each of these ways - http://domainname.com/weblog, http://www.domainname.com/weblog and I have even tried using my ip address instead of my domain names. Every time, I get error 404 file not found. Does anyone know what might be going on here? Thanks in advance.

    Ok i may have a fix for the vanishing entries broken server and such ..
    What 10.4.6 messes a LOAD with is actually our good ole posix files ..
    Most of my files inside /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/<USERNAME>/ were set back to root:admin ...
    Charming isnt it ? Of course there are NO Ways (POSIX) the process can access these .. so you have to modify a few things .
    First : Stop application server and webservices.
    Second : make sure permissions inside /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/<USERNAME>/ will list as follow :
    1626760 drwxr-xr-x 12 appserve appserve 408 Jun 18 04:14 .
    631548 drwxrwx--- 17 appserve appserve 578 Jun 18 04:02 ..
    1626761 -rw-r--r-- 1 appserve appserve 65 Jun 18 04:02 authorization.properties
    1626762 -rw-r--r-- 1 appserve appserve 1029 Jun 18 04:00 blacklist.filters
    1626763 -rw-r--r-- 1 appserve appserve 1611 Jun 18 04:02 blog.properties
    1626764 -rw-r--r-- 1 appserve appserve 138 Jun 18 04:00 contextloader.properties
    1626765 -rw-r--r-- 1 appserve appserve 543 Jun 18 04:01 emoticons.properties
    1626766 -rw-r--r-- 1 appserve appserve 593 Jun 18 04:00 flavor.properties
    1626767 -rw-r--r-- 1 appserve appserve 97 Jun 18 04:01 macros.properties
    1626768 -rw-r--r-- 1 appserve appserve 709 Jun 18 04:00 plugin.properties
    1626769 -rw-r--r-- 1 appserve appserve 192 Jun 18 04:00 referer.properties
    1626770 -rw-r--r-- 1 appserve appserve 117 Jun 18 04:00 showmemore.properties
    if they dont run the following sudo ed commands .
    chown appserver:appserveradm /Library/Tomcat/blojsom_root/webapps/ROOT/WEB-INF/<Username>
    Thrid : look up in your /Library/Application Support/Weblogs/ your entries may have been modified as well ..
    run the following sudoed :
    su
    <password>
    cd /Library/Application Support/Weblogs
    ls -Cauil
    if you get root somewhere your entries will be unusable . hence you have again to change the owners .
    chown -R appserver:appserveradm /Library/Application\ Support/Weblogs/
    ls -Cauil shall now give you the following ...
    631548 drwxrwx--- 17 appserve appserve 578B Jun 18 04:21 ./
    631542 drwxrwx--- 10 appserve appserve 340B Jun 18 04:21 ../
    1626605 -rw-rw---- 1 bertrand appserve 6K Jun 18 03:54 .DS_Store
    1626760 drwxr-xr-x 12 appserve appserve 408B Jun 18 04:14 <USERS>/
    631613 -rw-rw---- 1 appserve appserve 363B Jun 18 04:00 blojsom.properties
    631549 drwxrwx--- 12 appserve appserve 408B Jun 18 04:00 bootstrap/
    631594 drwxrwx--- 4 appserve appserve 136B Jun 18 02:06 classes/
    631597 drwxrwx--- 13 appserve appserve 442B Jun 18 04:02 default/
    631615 -rw-rw---- 1 appserve appserve 228B Jun 18 04:00 dispatcher.properties
    631575 drwxrwx--- 20 appserve appserve 680B Jun 18 04:00 lib/
    1626559 -rw-rw---- 1 root appserve 116B Jun 18 04:00 plugin-admin-edit-users.properties
    631617 -rw-rw---- 1 appserve appserve 270B Jun 18 04:00 plugin-admin-upload.properties
    631618 -rw-rw---- 1 appserve appserve 2K Jun 18 04:00 plugin.properties
    631560 drwxrwx--- 16 appserve appserve 544B Jun 18 02:06 templates/
    631611 -rw-rw---- 1 appserve appserve 1K Jun 18 04:00 velocity.properties
    631612 -rw-rw---- 1 appserve appserve 5K Jun 18 04:00 web.xml
    631614 -rw-rw---- 1 appserve appserve 185B Jun 18 01:14 xmlrpc.properties
    Fourth restart the application server service and web service ..
    Enjoy the fix .
    Mac os X server 10.4.6   Mac OS X (10.4.6)  

  • 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

Maybe you are looking for