Applescript "Finder got an error: Can't make document file"

I can get the file contents if I use choose file but if I do it this way, I get the error:
error "Finder got an error: Can’t make document file ... to file
Code:
tell application "Finder"
          set theFolder to (choose folder with prompt "Select the start folder")
          set file_list to every file of theFolder
          repeat with myfile in file_list
      log (name of myfile as string)
      set fileContents to read myfile
      set fileText to paragraphs of (fileContents)
      repeat with nextLine in fileText
          if length of nextLine is greater than 0 then
              log nextLine
          end if
      end repeat
          end repeat
end tell

Changing
set fileContents to read myfile
to
set fileContents to read (myfile as alias)
sorted it!

Similar Messages

  • Finder got an error: Can't get item 1 of {document file "foo" ...}

    I have a lot of files in Corel Painter 8's RIFF format. I want to write a script that opens a file and somehow forces Corel Painter 8 to save the file as a GIF. GUI scripting may be some help with the latter; now I am concentrating on finding RIFF files and opening them in Corel Painter 8.
    I have a script that does a depth-first search of the folders starting at some root folder, using the Finder application to do the file-system stuff. It creates a list with
    set docs to every document file of pages_folder whose file type = "RIFF"
    as it loops through folders it adds to the list like this:
    set more_documents to every document file of a_folder whose file type = "RIFF"
    set docs to docs & more_documents
    My naîve mental model is that docs is a list of document-file objects. Next I have a loop that attempts to strip out files for which a GIF file already exists (and is no older than the RIFF document). This works by deleting non-matching items like so:
    if not isgifneeded then
    set docs to items 1 thru (i - 1) of docs & items (i + 1) thru (length of docs) of docs
    end if
    Finally it tries to open one of the files in Corel Painter 8 using the Finder:
    open item 1 of docs using "Corel Painter 8"
    This does not work. I get an error message
    Finder got an error: Can't get item 1 of {document file "bar" of folder "foo" of folder "blah" of folder "pdc" of folder "Users" of startup disk, ... }."
    It lists all of the files. (The error message appears in a sheet that extends off the bottom of the screen!) They are identified in the message as document-file objects. The curly braces are, I believe, the AppleScript notation for a list. I expect to be able to obtain the first element of a list with ‘item 1 of xs’. My assumption is that the Finder’s open command would expect a document file object, or at least would be able to cope with being asked to open a document. What am I missing here?
    PowerBook 12" without mini-DVI   Mac OS X (10.4.7)  

    Hi Damian and welcome to Apple Discussions!
    One suggestion: try
    tell application "Finder" to open item 1 of docs
    (without 'using "Corel Painter 8"')
    As far as the Finder is concerned, "Corel Painter 8" is just a string of characters. And telling the Finder to open a file is just the same as double-clicking it: the Finder knows which app to use - as long as these are native Corel Painter 8 docs.
    Hope this helps,
    H

  • "iCal got an error: Can't Make id of event of calendar 4 into type referen

    Hello everyone. i am completely new to MAC's and very new to scripting. Thanks in advance for any help.
    I am tying to run an Apple Script that is called Scheduled Delivery.
    I'm running 10.4.10 and have the most recent version of the script.
    Basically what happens is I type up and email, add in the email address and save it to my drafts folder. The Scheduled Deliver script, when run, finds all the emails in my drafts folder and uses iCal to schedule a time to mail them (which is a specific time I enter)
    Here is my process I go through-
    I run the apple script by double clicking on the Scheduled deliver Icon, which was in my appications/MailScript folder. It brings up a new window with all my saved drafts. I select the draft I want to schedule a specific time to deliver. This is great.
    When I click on the lower right button "Update Schedule" I get an error message...
    "iCal got an error: Can't Make id of event of calendar 4 into type reference. (-1700)"
    I cannot figure this out. I've tried testing it anyway. I can close the Scheduled Deliver window but the "Done" button is always grey out. It seems to place an event in iCal but no message ever gets sent.
    Any help is greatly appreciated.
    Thanks

    Anyone? Any help is greatly appreciated.

  • Error "Can't make every file of ... into type alias list" - please help!

    Hi
    I am trying to adapt a script that uses Max (an audio conversion tool) to convert files in a folder to another format. The original script which I found on a forum asked the user to choose the folder with the files in which need to be converted, but I want to specify the folder in the script so that it can be automated. So I changed the line:
    set sourceFolder to choose folder
    to
    set sourceFolder to "Macintosh HD:Users:nick:Desktop:test:"
    However I then get the error (this is the only line in the script I changed and the original script works fine):
    error "Can’t make every file of "Macintosh HD:Users:nick:Desktop:test:" whose name extension = "m4a" into type alias list." number -1700 from every file of "Macintosh HD:Users:nick:Desktop:test:" whose name extension = "m4a" to «class alst»
    Could someone let me know why I am getting this error and how I can sort it. The full script is below.
    Thanks
    Nick
    tell application "Max" to activate
    tell application "Finder"
    set sourceFolder to "Macintosh HD:Users:nick:Desktop:test:"
    set theFiles to (every file of sourceFolder) as alias list
    repeat with aFile in theFiles
    tell application "Max"
    convert aFile
    end tell
    delay 1
    tell application "System Events"
    tell process "Max"
    click button "Convert" of tool bar of window "File Conversion"
    set encoderOpen to true
    repeat while encoderOpen is true
    try
    window "Encoder"
    on error
    set encoderOpen to false
    end try
    end repeat
    end tell
    end tell
    end repeat
    end tell

    nick_harambee wrote:
    set sourceFolder to "Macintosh HD:Users:nick:Desktop:test:"
    This saves a string (Macin...) under the variable sourceFolder. You then try and use sourceFolder as an alias which doesn't work. To fix the situation try saving sourceFolder as an actual alias in itself. For example...
    set sourceFolder to folder "Macintosh HD:Users:nick:Desktop:test:"
    or perhaps
    set sourceFolder to "Macintosh HD:Users:nick:Desktop:test:" as alias
    Either of those should correct your problem.
    When using "(choose folder)" you get an alias returned which is why the original script worked fine.

  • Web-Disk on OSX 10.9 Give me this error: "Finder got an error: Network file permission error."

    Previously I was using OSX 10.8 and Web Disk was working great.
    Since I upgraded to OSX 10.9 Web Disk Dont Attach to my compputer and give me this ERROR:
    FInder got an error: Network file permission error.
    When I got this ERROR first time I searched GOOGLE and found this link: http://cammodude.blogspot.no/
    And I did:
    To force all connections to be SMB1:
    Open A terminal window
    paste in the following line followed by the return key(should be all on one line): 
    echo "[default]" >> ~/Library/Preferences/nsmb.conf; echo "smb_neg=smb1_only" >> ~/Library/Preferences/nsmb.conf
    What the command does:
    Creates a file called nsmb.conf  in your  home directory at the path ~/Library/Preferences/nsmb.conf.
    Adds directives to force SMB connections to use the SMB1 protocol.  This is slower but stable.
    Then I could use Web Disk on OSX 10.9 after executing this command in Terminal.
    But now I restarted my Macbook and now Im NOT able to connect to Web Disk and get the same ERROR.
    FInder got an error: Network file permission error
    After trying 100 times it attaches 1 time but then show this ERROR:
    Can't get <<class cdis>> "my.server.com/2078" of application "Finder".
    If this happen then I can see the files in Finder and see the Contents and Size of files but if I open a PHP file in BBEdit then it shows BLANK.. But actually it is NOT blank.
    Now Im stuck How can I solve this? All help is highly appericated..
    Thank you so much...

    Hi,
    Make sure to chmod the app, something like this :
    chmod -Rf 777  secure_site_WebDisk.app
    (in my case the CPanel provided the app for my OSx version.)

  • Finder got an error. Application not running (-600)

    I have a LaunchAgent that calls a shell script, at login.  The shell script runs and determines the users AD container and then will runn the correct applescript application depending on the AD Container.    The applescript applications simply mount up the users network volumes, runs a few do shell scripts and then exits.
    It works and has been working for quite some time, under 10.5.x, 10.6.x, 10.7.x and even 10.8.x.  But I have started getting a few users who are getting a rather odd message in the logs that the script creates and I can't really find anything on the error message.
    "Finder got an error.  Application not running (-600)"
    If I log the user in and run the following at the command line:
    launchctl unload name.of.plist 
    It will unload the launchagent.
    If I type this at the commane line:
    launchctl load name.of.plist
    It works perfectly.  No errors.
    I can manually run the shell script it calls and that works fine.
    I can also manually double click the apps and those run fine. 
    I've changed the permissions, I've recopied, re-imaged, but I can not figure out why the script won't sometimes and gives me that error message.
    Has anyone seen this error message before and what I can try to do to fix it?
    Thank you in advanced.

    This sounds like a typical race condition, and it's impossible to solve without seeing the script.
    The issue is that your script is targetting some application that isn't available. Ordinarily AppleScript will launch an application if it's not already running, but during launch it's possible that your script is trying to target an application before it can be launched (because the user's envirnment is still loading).
    So you need to look at the script to see what it's doing, and what apps it's targeting. The fix might be as simple as adding a few delays to allow the system to finish logging in, but t's hard to say without more data.

  • Finder got an error: Network file permissions error.

    I'm currently getting this issue.
    Finder got an error: Network file permissions error.
    I had some auto mounting of network drives, and most of the related posts directed me to afp and smb2. Now I have disabled it and no network drives are being mounted. I still get the error!
    Where could the issue be?

    using applescript that runs on boot I was using.
    mount volume "smb://username:password@hubble/GENERAL/DESIGN"
    mount volume "afp://username:[email protected]/StudioD"

  • System Events got an error: Can't get current configuration of service?

    I'm trying to connect/disconnect services through apple script, here is the error I'm getting for "Ethernet" "AirPort" (these services are configured in services tab)
    I am able to manualy On/Off these services without supplying admin password, therefore it might not be privilages issue.
    *Error message:*
    *System Events got an error: Can’t get current configuration of service id "099F7D16-4F3A-4D49-9111-A4DF0A645378" of network preferences.*
    Scipt used:
    tell application "System Events"
    tell network preferences
    tell current location
    get the name of every service
    set myService to service "AirPort"
    if exists myService then
    --get service properties of myService
    set isConnected to connected of current configuration of myService
    if isConnected then
    disconnect myService
    repeat while (get connected of current configuration of myService)
    delay 1
    end repeat
    end if
    connect myService
    end if
    end tell
    end tell
    end tell

    Hi Damian and welcome to Apple Discussions!
    One suggestion: try
    tell application "Finder" to open item 1 of docs
    (without 'using "Corel Painter 8"')
    As far as the Finder is concerned, "Corel Painter 8" is just a string of characters. And telling the Finder to open a file is just the same as double-clicking it: the Finder knows which app to use - as long as these are native Corel Painter 8 docs.
    Hope this helps,
    H

  • I tried to sync my Macbook Pro photos in iPhoto with my iPod Touch.  I have done this numerous times, but today I got an error message saying the required file cannot be found.  At the same time all of my photos on my iPod vanished.  Can anyone help me?

    I tried to sync my Macbook Pro photos in iPhoto with my iPod Touch.  I have done this numerous times, but today I got an error message saying the required file cannot be found.  At the same time all of my photos on my iPod vanished.  Can anyone help me?

    Try deleting the photo cache from your computer and then re-try the photo sync - the location of the cache, and how to delete it, is on this page http://support.apple.com/kb/TS1314

  • I just tried to update Firefox to version 9.0.1. It got to 13% extracting, then I got an error message, Cannot Open Output File. Can you please help me?

    I just tried to update Firefox to version 9.0.1. It got to 13% extracting, then I got the error message, Cannot Open Output File.

    The file could be downloaded incorrectly. Could you redownload it again from [http://getfirefox.com http://getfirefox.com]?

  • I can not make document over two times

    Hello.
    When I use the code generated by xmlclassgen_v1_0_0_2, I can not
    make document over two times in same class. I modified sample
    code(TestWidl.java) that I got from OTN
    (xmlclassgen_v1_0_0_2.zip) to check this problem. I modified it
    like below. The only modification is that I made XML data two
    times. The first call was success, but the second call was
    failed. The result of my test program was below:
    How can I avoid this error? Would you please help me?
    *** Result ****
    <
    ?xml version = '1.0' encoding = 'ASCII'?>
    <!DOCTYPE WIDL SYSTEM
    "file:/D:/usrs/ikeda/java/myprojects/XML_test1/WIDL_dtd.txt">
    <WIDL NAME="WIDL1" VERSION="1.0">
    <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
    OUTPUT="File"/>
    <BINDING NAME="Binding1" TYPE="Input">
    <REGION NAME="Region1" START="Start" EN
    D="End"/>
    <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
    USAGE="Internal" VALUE="value"/>
    <CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Ser
    vice1" TYPE="Success"/>
    <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
    USAGE="Header"/>
    </BINDING>
    <BINDING NAME="Binding2" TYPE="Output">
    <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
    <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
    USAGE="Function" MASK="mask"/>
    </BIN
    DING>
    </WIDL>
    oracle.xml.parser.XMLDOMException: Node doesn't belong to the
    current document
    oracle.xml.parser.XMLDOMException: Node doesn't belong to the
    current document
    at oracle.xml.parser.XMLNode.checkDocument(Compiled
    Code)
    at oracle.xml.parser.XMLNode.appendChild(Compiled Code)
    at oracle.xml.parser.XMLDocument.appendChild(Compiled
    Code)
    at oracle.xml.parser.XMLNode.appendChild(Compiled Code)
    at oracle.xml.classgen.CGDocument.<init>(Compiled Code)
    at XML_test1.WIDL.<init>(Compiled Code)
    at XML_test1.TestWidl.test(Compiled Code)
    at XML_test1.TestWidl.main(TestWidl.java:11)
    The sample code that I modified was below:
    import oracle.xml.classgen.*;
    import oracle.xml.parser.*;
    public class TestWidl
    public static void main (String args[])
    test(); // I modified
    test(); //I modified
    static void test(){
    try
    WIDL w1 = new WIDL();
    DTD dtd = w1.getDTDNode();
    w1.setNAME("WIDL1");
    w1.setVERSION(WIDL.VERSION_1_0);
    SERVICE s1 = new SERVICE("Service1", "Service_URL");
    s1.setINPUT("File");
    s1.setOUTPUT("File");
    BINDING b1 = new BINDING("Binding1");
    b1.setTYPE(BINDING.TYPE_INPUT);
    BINDING b2 = new BINDING("Binding2");
    b2.setTYPE(BINDING.TYPE_OUTPUT);
    VARIABLE v1 = new VARIABLE("Variable1",
    VARIABLE.NULLOK_FALSE);
    v1.setTYPE(VARIABLE.TYPE_STRING);
    v1.setUSAGE(VARIABLE.USAGE_INTERNAL);
    v1.setVALUE("value");
    VARIABLE v2 = new VARIABLE("Variable2",
    VARIABLE.NULLOK_TRUE);
    v2.setTYPE(VARIABLE.TYPE_STRING1);
    v2.setUSAGE(VARIABLE.USAGE_HEADER);
    VARIABLE v3 = new VARIABLE("Variable3",
    VARIABLE.NULLOK_FALSE);
    v3.setTYPE(VARIABLE.TYPE_STRING2);
    v3.setUSAGE(VARIABLE.USAGE_FUNCTION);
    v3.setMASK("mask");
    CONDITION c1 = new CONDITION("CRef1", "CMatch1");
    c1.setSERVICE("Service1");
    c1.setTYPE(CONDITION.TYPE_SUCCESS);
    CONDITION c2 = new CONDITION("CRef2", "CMatch2");
    c2.setTYPE(CONDITION.TYPE_RETRY);
    CONDITION c3 = new CONDITION("CRef3", "CMatch3");
    c3.setSERVICE("Service3");
    c3.setTYPE(CONDITION.TYPE_FAILURE);
    REGION r1 = new REGION("Region1", "Start", "End");
    b1.addNode(r1);
    b1.addNode(v1);
    b1.addNode(c1);
    b1.addNode(v2);
    b2.addNode(c2);
    b2.addNode(v3);
    w1.addNode(s1);
    w1.addNode(b1);
    w1.addNode(b2);
    //w1.validateContent();
    w1.print(System.out);
    catch (Exception e)
    System.out.println(e.toString());
    e.printStackTrace();
    null

    Satoshi Ikeda (guest) wrote:
    : Hello.
    : When I use the code generated by xmlclassgen_v1_0_0_2, I can
    not
    : make document over two times in same class. I modified sample
    : code(TestWidl.java) that I got from OTN
    : (xmlclassgen_v1_0_0_2.zip) to check this problem. I modified
    it
    : like below. The only modification is that I made XML data two
    : times. The first call was success, but the second call was
    : failed. The result of my test program was below:
    : How can I avoid this error? Would you please help me?
    : *** Result ****
    : <
    : ?xml version = '1.0' encoding = 'ASCII'?>
    : <!DOCTYPE WIDL SYSTEM
    : "file:/D:/usrs/ikeda/java/myprojects/XML_test1/WIDL_dtd.txt">
    : <WIDL NAME="WIDL1" VERSION="1.0">
    : <SERVICE NAME="Service1" URL="Service_URL" INPUT="File"
    : OUTPUT="File"/>
    : <BINDING NAME="Binding1" TYPE="Input">
    : <REGION NAME="Region1" START="Start" EN
    : D="End"/>
    : <VARIABLE NAME="Variable1" NULLOK="False" TYPE="String"
    : USAGE="Internal" VALUE="value"/>
    : <CONDITION REF="CRef1" MATCH="CMatch1" SERVICE="Ser
    : vice1" TYPE="Success"/>
    : <VARIABLE NAME="Variable2" NULLOK="True" TYPE="String1"
    : USAGE="Header"/>
    : </BINDING>
    : <BINDING NAME="Binding2" TYPE="Output">
    : <CONDITION REF="CRef2" MATCH="CMatch2" TYPE="Retry"/>
    : <VARIABLE NAME="Variable3" NULLOK="False" TYPE="String2"
    : USAGE="Function" MASK="mask"/>
    : </BIN
    : DING>
    : </WIDL>
    : oracle.xml.parser.XMLDOMException: Node doesn't belong to the
    : current document
    : oracle.xml.parser.XMLDOMException: Node doesn't belong to the
    : current document
    : at oracle.xml.parser.XMLNode.checkDocument(Compiled
    : Code)
    : at oracle.xml.parser.XMLNode.appendChild(Compiled Code)
    : at oracle.xml.parser.XMLDocument.appendChild(Compiled
    : Code)
    : at oracle.xml.parser.XMLNode.appendChild(Compiled Code)
    : at oracle.xml.classgen.CGDocument.<init>(Compiled Code)
    : at XML_test1.WIDL.<init>(Compiled Code)
    : at XML_test1.TestWidl.test(Compiled Code)
    : at XML_test1.TestWidl.main(TestWidl.java:11)
    : The sample code that I modified was below:
    : import oracle.xml.classgen.*;
    : import oracle.xml.parser.*;
    : public class TestWidl
    : public static void main (String args[])
    : test(); // I modified
    : test(); //I modified
    : static void test(){
    : try
    : WIDL w1 = new WIDL();
    : DTD dtd = w1.getDTDNode();
    : w1.setNAME("WIDL1");
    : w1.setVERSION(WIDL.VERSION_1_0);
    : SERVICE s1 = new SERVICE("Service1", "Service_URL");
    : s1.setINPUT("File");
    : s1.setOUTPUT("File");
    : BINDING b1 = new BINDING("Binding1");
    : b1.setTYPE(BINDING.TYPE_INPUT);
    : BINDING b2 = new BINDING("Binding2");
    : b2.setTYPE(BINDING.TYPE_OUTPUT);
    : VARIABLE v1 = new VARIABLE("Variable1",
    : VARIABLE.NULLOK_FALSE);
    : v1.setTYPE(VARIABLE.TYPE_STRING);
    : v1.setUSAGE(VARIABLE.USAGE_INTERNAL);
    : v1.setVALUE("value");
    : VARIABLE v2 = new VARIABLE("Variable2",
    : VARIABLE.NULLOK_TRUE);
    : v2.setTYPE(VARIABLE.TYPE_STRING1);
    : v2.setUSAGE(VARIABLE.USAGE_HEADER);
    : VARIABLE v3 = new VARIABLE("Variable3",
    : VARIABLE.NULLOK_FALSE);
    : v3.setTYPE(VARIABLE.TYPE_STRING2);
    : v3.setUSAGE(VARIABLE.USAGE_FUNCTION);
    : v3.setMASK("mask");
    : CONDITION c1 = new CONDITION("CRef1", "CMatch1");
    : c1.setSERVICE("Service1");
    : c1.setTYPE(CONDITION.TYPE_SUCCESS);
    : CONDITION c2 = new CONDITION("CRef2", "CMatch2");
    : c2.setTYPE(CONDITION.TYPE_RETRY);
    : CONDITION c3 = new CONDITION("CRef3", "CMatch3");
    : c3.setSERVICE("Service3");
    : c3.setTYPE(CONDITION.TYPE_FAILURE);
    : REGION r1 = new REGION("Region1", "Start", "End");
    : b1.addNode(r1);
    : b1.addNode(v1);
    : b1.addNode(c1);
    : b1.addNode(v2);
    : b2.addNode(c2);
    : b2.addNode(v3);
    : w1.addNode(s1);
    : w1.addNode(b1);
    : w1.addNode(b2);
    : //w1.validateContent();
    : w1.print(System.out);
    : catch (Exception e)
    : System.out.println(e.toString());
    : e.printStackTrace();
    Move
    WIDL w1 = new WIDL();
    out of test() and modify it as
    public class TestWidl
    static WIDL w1 = new WIDL(); ...
    and this will work.
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • AIR 16.0 Error: can't open -non_global_symbols_no_strip_list file: ......aot/lib/local_nostrip.arm-air.txt

    When package app with the new AIR 16.0 build 245 and ANE, the following error occur.
    ld: Error: can't open -non_global_symbols_no_strip_list file: ......aot/lib/local_nostrip.arm-air.txt

    Hi DigiCrafts,
    It seems you are doing something wrong at your end. I have used the swf and ane provided by you and I am able to create an ipa. For your reference I am pasting the command I Used.
    ~/archive_air_16.0_with_asc2_drm_sdk/bin/adt -package -target ipa-app-store -provisioning-profile <abcd.mobileprovision> -storetype pkcs12 -keystore <abcd.p12> -storepass <password> Temp.ipa app.xml ShipSim.swf -extdir /Users/abhisek/Downloads/ane-error/bin/

  • What's the fix for this error: Can't create the file "feed.xml."

    I try to publish my site from iWeb but I get an error which is below.
    Publish Error
    Can’t create the file “feed.xml.” The disk may be damaged or full, or you may not have sufficient access privileges.
    Anyone know the fix?

    Whether 'feed.xml' is the first file it is trying to upload, indicating a general failure to connect, or whether it's choked at that particular point would be the question. It would be worth your getting an FTP program if you don't already have one - Cyberduck is free - and checking whether any files at all have been uploaded.
    Is this the first time you've tried to publish or are you updating an existing site? If it's the first you should check carefully that your settings are correct, in particular the 'path' which varies between different hosts and may be blank or may be something like 'public.html' or 'htdocs' - this would lead to the actual webspace which may not be the root level as you access the FTP server.
    You could also try publishing to a local folder - create a special folder somewhere and specify it when setting iWeb to do this, check the contents are OK, then upload the contents of the folder (not the folder itself) using Cyberduck.

  • How can i make a file a .jar again?

    Ive opened a minecraft.jar with Archive Utillity so i can change pictures but ow can i make a file a .jar again?

    You have not said what your target size is nor how many photos you have or how large on screen. Nor what version of Pages you are using. Nor whether it is just for looking at on screen or you require a good print.
    Reducing file size is a combination of things that can be done with no loss of quality:
    1. Crop and reduce resolution of images in a 3rd party application, Preview will do.
    and those that will reduce quality
    2. Menu > File > Reduce File Size
    3. Menu > Share > Export > PDF > Good (Good is not very good unfortunately)
    Use vector (drawing) pdfs in place of bitmap (photo) images can save considerable size. Preparing photos in other programs also allows you to control the image quality of jpegs and tricks like slightly blurring them prior to saving.
    Pages is not very efficient in this regard and there are limits to what you can do. Lots of images, covering a lot of the page does add up to a bigger file whatever you do.
    Peter

  • Server0 not starting; ERROR = Can't open property file

    Hi,
    I have installed SAP EP 6.0 and it was working fine till yesterday.
    But now when I am trying to open the Portal (http://hostname:50000/irj) it says Page cannot be displayed.
    Also when I try to login to Visual Admin I get this error message:-
    Unable to lookup connection Default http://sbdep:8101/msgserver/text/logon returned empty list of connection parameters
    I restarted the EP instance (not rebooted) and the JC00 and SCS01 have started normally,but portal is till not UP.
    Have found the following details in the logs:-
    dev_jcontrol :-
    [Thr 47609482135840] *** ERROR => Can't open property file [/usr/sap/EPD/JC00/SDM/program/config/sdm_jstartup.properties] [jstartxx_mt. 1952]
    [Thr 47609482135840] *** ERROR => JStartupReadArgumentsEx: can't enumerate nodes [/usr/sap/EPD/JC00/j2ee/cluster/instance.properties:/usr/sap/EPD/JC00/SDM/program/config/sdm_jstartup.properties] (rc = -1) [jstartxx_mt. 524]
    Kindly suggest where cud be the issue and how do I proceed.
    Rgds,
    Abhijeet

    Hi,
    - I think firstly, you need to ensure following files is restored or available as per location
    1. instance.properties file
    2. sdm_jstartup.properties file
    and restart instance
    - check if any profile changes
    Regards,
    Vincent

Maybe you are looking for

  • Wire Hanger out of the Headphone jack?

    Think this will give my iPhone at least 1 or 2 bars? Maybe I should wrap it in aluminum foil...that won't take away from the looks at all, will it? I will say, I have one heck of a iPod sitting here

  • Sign on page to these forums

    #1 I went to http://forums.verizon.com/ #2 I clicked on Sign On. #3 I was sent a URL starting with HTTP, then a URL starting with HTTPS, and then a URL Starting with HTTP. I am just wondering... Is this happening for anyone else? Please and thanks. P

  • Adding a number to a number?

    Hi all I am trying to get a number (entered from a display dialog) , say 12345 to add 1 to it's self giving the number 12346, then have the number 12346 have one added to it giving the number 12347 and so on, this is to be done 35 times, including th

  • Hard Error 'Preferred Delivery date can't be kept"

    Managers are having to change the required on date, because the leadtime coming from a catalog, is being added to the date the shopping cart is created.  If the manager does not approve the car the same day. The system forces a change to the required

  • Bookmarks not recorded

    When I open a book using Adobe Digital Editions and if I want to access the bookmarks I have created during the previous session it fails.When I click on the bookmark button the name of the previous bookmarks are displayed duriing less than one secon