Program with Mail Rule script
I am trying to develop a Mail run script and I am running into problems. The Rule is being trigger because I have a change my color rule action and a script action. The color changes but the script does not appear to trigger at all. His is the script.
using terms from application "Mail"
on perform mail action with messages theMessages
tell application "Finder" to set pathToAttachments to (path to desktop folder as string)
tell application "Mail"
repeat with theMessage in theMessages
set theText to content of theMessage
if theMessage's mail attachments is not {} then
repeat with theAttachment in theMessage's mail attachments
set theFileName to pathToAttachments & theAttachment's name
try
save theAttachment in theFileName
on error errnum
end try
tell application "Preview" to open file theFileName
tell application "Finder" to delete file theFileName
end repeat
end if
end repeat
end tell
end perform mail action with messages
end using terms from
tell application "Mail"
set myMessages to selection
tell me to perform mail action with messages myMessages
end tell
Notice the tell block at the end. If I uncomment that, select a mail message and execute that in a script editor, all is fine.
With that block commented out and try to execute it using the *Apply Rules* nothing seems to happens. Even if I put a Beep statement inside the "on perform mail action with messages theMessages" block, That does not even sound off.
Anyone see why this would execute as a rule?
Camelot wrote:
The logic of whether to invoke the rule is not within the script.
You tell Mail.app to run the script when certain conditions are met (e.g. sender address, recipient address, or one of several other conditions). Once Mail.app has decided the messages matches the conditions it calls your script.
I realize that is the theory behind mail.app, but it has been my experience with Rule settings that they do NOT run "automagically" when conditions in them are met.
This is clearly illustrated by a number of cases I have where by simply "adding a rule," any rule, that says anything, and then clicking the resulting "apply" button (which only is available when you add or subtract a rule), all the existing rule(s) are processed and mail is sorted according to those rules which had previously been sitting in the inbox. (In my case they are a bunch of "junk" filters).
There is either some bug in mail's triggering mechanism, or some inherently "different" mechanism in use when "auto triggered" vs when "applied." In either case, there is no documentation about it.
Similar Messages
-
I am trying to set up a mail rule that triggers an Applescript. The Applescript will open all attachments with Preview in this case. I know the rule is being triggered because I have two actions for the rule, run the Applescript and Make a sound, and I hear the sound.
Here is the script:
using terms from application "Mail"
on perform mail action with messages theMessages
tell application "Finder" to set pathToAttachments to (path to desktop folder as string)
tell application "Mail"
repeat with theMessage in theMessages
set theText to content of theMessage
if theMessage's mail attachments is not {} then
repeat with theAttachment in theMessage's mail attachments
set theFileName to pathToAttachments & (theMessage's id as string) & space & theAttachment's name
try
save theAttachment in theFileName
on error errnum
end try
tell application "Preview" to open theFileName
tell application "Finder" to delete theFileName
end repeat
end if
end repeat
end tell
end perform mail action with messages
end using terms from
(* tell application "Mail"
set myMessages to selection
tell me to perform mail action with messages myMessages
end tell
If I comment out the stub at the bottom, and run the script, it runs perfectly all the time.
If I select the e-mail in question and trigger using *Apply Rules*, the script runs some of the time.
I have yet to get the script to trigger on newly arriving e-mails.
The rule is checked and I haven't found a +Apply Rules to Incoming Emails+ check box. I thought that happen automatically. Anyone have any ideas on what is going wrong or further ways I could debug it?Testing your script, I found that, in the few cases where it didn't work well, I could have it work properly with the following modification:
*tell application "Preview" to open theFileName*
*delay 1*
*tell application "Finder" to delete theFileName*
It should also be possible to replace *delay 1* with something better, like *repeat while … end repeat*.
Hope it can help. -
Cant send mail via applescript with mail rule
I created a script that would work as follows:
I send myself an email. The mail rule opens up an apple script that will take a picture using the isight camera and then email it back to me. It works fine in script editor. When i run it via mail.app it takes the picture but it wont email it back to me.
Here is my script:
do shell script "~/Documents/EmailScripts/isightcapture ~/Documents/EmailScripts/snap.jpg"
tell application "Mail"
set addrVar to "[email protected]"
set subjectvar to "Macbook Pic"
tell application "Finder"
set the target_file to alias "Macintosh HD:Users:ak406:Documents:EmailScripts:snap.jpg"
set bodyvar to "Picture from Macbook"
end tell
set composeMessage to (make new outgoing message)
tell composeMessage
make new recipient at beginning of to recipients with properties {address:addrVar}
set the subject to subjectvar
set the content to bodyvar
tell content
make new attachment with properties {file name:target_file} at after the last word of the last paragraph
end tell
end tell
send composeMessage
end tell
Thanks for the help.Hi ak406
Just tested your script here, less the do shell script part and it worked perfectly from my mail app.
Budgie -
Email with Mail Rules applied are automatically marked as read
I am using Mail in Mac OS X 10.5 with Gmail IMAP, and any email I receive that has a mail rule applied to it (such as, if person x emails me move email to this folder) is automatically marked as read (i.e., doesn't show up as a new message). Any email that comes into the Inbox, however, is marked as new.
The mail folder I am testing this with does not have the "mark email as read" rule applied to it, yet it keeps marking any email that goes through this rule as read. Also, no new mail sound plays after receiving these emails. In Tiger, even when an email was automatically marked as read by mail rules, it made the new mail sound.
I don't know if this is a Mac OS X Mail issue or a Gmail IMAP issue, but it's frustrating as all edit: I guess he-double-hockey sticks is a four letter word]. Is anyone having this issue and does anyone have a solution?
Message was edited by: thenotoriousxisFor me, it never counted it as new. It would just appear.
I deleted the Mail preference file and that seemed to fix some things, even though it did require me to re-setup Mail almost entirely. This morning, though, I got an email from my girlfriend that did not filter at all, even though the email address she sent from is in a rule. Might be an isolated incident, though. -
I've set up a number of rules to deal with spam, and they all work fine except for one particular spam offender.
Each time I set up a rule to move mail from this source into trash and it seems to work. The next day I've find another message from these people (some organisation that mails out deals from supermarkets et cetera) and the rule I set up has disappeared. I've no idea why this happens, and why it's only with messages from this particular address.
I'd be really happy to hear from anyone who might have a solution to this.
Thanks,
ChidiI think I figured this out.
Initially, one of my rules would include the action "Mark as read" and then "Move to Exchange Trash" (move to Exchange Deleted Items). In this case, it would move it but not mark it as read. Also, after creating the rule, when I viewed it the Delete action was listed before the Mark Read action.
As others suggested in this thread:
https://discussions.apple.com/message/11651385#11651385
I created two rules. I did this by duplicating the existing rule. I modified the original rule to only mark as read and I modified the second rule to only delete it (and stop processing rules).
In that thread, someone suggested separating the rules becuase of a possible timing issue. That did not work for me.
I viewed the Rules plist (~/Library/Mail/V2/MailData/SyncedRules.plist). When I check the rule to mark as read, it still have the move to trash action. In the Mail rule preferences, I could not see the action, but it was still in the plist.
The simple fix is this:
1. Use two rules
2. Make sure the Mark as Read rule is created from scratch
3. Convert the old rule to only delete it (or move to Exchange Trash)
4. Make sure the Mark as Read rule is above the delete rule -
Can Mail integrate accounts from previous program with Mail's accounts?
I had several accounts in Thunderbird & when they were imported into Mail, they were all put into an Imported folder. Is there any way to integrate the old accounts with the new accounts created by Mail so that I don’t have recreate the subfolders for each account?
Also, if I look at Sent mail for the imported accounts, it shows who they were from (me) but not who they were written to. Is there any way to change the settings so that there’s a column which shows who the email was sent to?
TIA,
ElllenI haven't seen a way to do that on my MBP, iMac or iDevices...it seems to be all or nothing with Mail.
There are times it would certainly be nice to not have all loading down the InBox. -
[SOLVED] automatic usb-backup with udev-rules + script
I would like to have my usb-harddrive automatically start a backup as soon as it is plugged in. And finally a bell is supposed to ring.
I've created an udev-rule and a backup-script as shown below.
However, instead of creating /dev/backup-drive first something strange is happening:
The bell rings 3 times, followed by the backup, followed by a 4th ring.
What's going on?
Here's may udev-rule:
## /etc/udev/rules.d/95-backup.rules
SUBSYSTEMS=="usb", ATTRS {serial}=="100", SYMLINK=="backup-drive", RUN+="/usr/local/bin/backup-thumb.sh"
fstab:
/dev/backup-drive /media/backup ext3 rw,user 0 0
and my script:
#!/bin/bash
sleep 10
rsync -vrtolgh --exclude '/.VirtualBox/' --delete /home/myhome /media/backup-drive
aplay /usr/share/sounds/phone.wav
Last edited by mehldutt (2007-07-03 20:28:27)The syntax of your udev rule is all wrong - for example after SYMLINK you should use "+=" or ":=". "==" is for comparing to some value.
I think in rsync command line you want -H not -h (help) option. Also -v (verbose) is useless since you'll never see the output.
Another thing which will prevent running rsync properly is /media/backup-drive while you use /media/backup in fstab.
I suggest that you first try running rsync command from the command line "manually" and try if it works at all. After you'll make it work try the below suggestions.
Another problem: what makes the backup drive mounted under /media/backup directory when you plug it into usb slot ? Are you doing it somehow "manually" in the 10 second period after plugging ? Do you use automounter of some kind ?
If you intend to use ext3 as the backup drive filesystem you should also add sync command after rsync to make sure no data stays in RAM cache.
I think you need to read udev manpage first.
I can also advice you to read my udev rules for automounting usb devices (it's for any type of filesystem and any number of partitions):
KERNEL=="sd[b-z]", NAME:="%k", SYMLINK+="usbhd-%k", GROUP:="users", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[b-z][0-9]", SYMLINK+="usbhd-%k", GROUP:="users", NAME:="%k"
ACTION=="add", KERNEL=="sd[b-z][0-9]", RUN+="/bin/mkdir -p /media/usbhd-%k"
ACTION=="add", KERNEL=="sd[b-z][0-9]", RUN+="/bin/ln -s /media/usbhd-%k /mnt/usbhd-%k"
ACTION=="add", KERNEL=="sd[b-z][0-9]", PROGRAM=="/lib/udev/vol_id -t %N", RESULT=="vfat", RUN+="/bin/mount -t vfat -o rw,noauto,flush,dirsync,noexec,nodev,noatime,dmask=000,fmask=111 /dev/%k /media/
usbhd-%k", OPTIONS="last_rule"
ACTION=="add", KERNEL=="sd[b-z][0-9]", RUN+="/bin/mount -t auto -o rw,noauto,async,dirsync,noexec,nodev,noatime /dev/%k /media/usbhd-%k", OPTIONS="last_rule"
ACTION=="remove", KERNEL=="sd[b-z][0-9]", RUN+="/bin/rm -f /mnt/usbhd-%k"
ACTION=="remove", KERNEL=="sd[b-z][0-9]", RUN+="/bin/umount -l /media/usbhd-%k"
ACTION=="remove", KERNEL=="sd[b-z][0-9]", RUN+="/bin/rmdir /media/usbhd-%k", OPTIONS="last_rule"
I think it could be simplified and modified for your backup device like this:
SUBSYSTEMS=="usb", ATTRS(idVendor)=="XXXX", ATTRS(idProduct)=="YYYY", KERNEL=="sd[a-z]", NAME:="%k", SYMLINK:="backupdevice", OPTIONS="last_rule"
SUBSYSTEMS=="usb", ATTRS(idVendor)=="XXXX", ATTRS(idProduct)=="YYYY", ACTION=="add", KERNEL=="sd[a-z]1", SYMLINK:="backuppartition", GROUP:="users", NAME:="%k"
SUBSYSTEMS=="usb", ATTRS(idVendor)=="XXXX", ATTRS(idProduct)=="YYYY", ACTION=="add", KERNEL=="sd[a-z]1", RUN+="/bin/mount -t auto -o rw,noauto,async,dirsync,noexec,nodev,noatime /dev/%k /media/backup-drive"
SUBSYSTEMS=="usb", ATTRS(idVendor)=="XXXX", ATTRS(idProduct)=="YYYY", ACTION=="add", KERNEL=="sd[a-z]1", RUN+="/usr/local/bin/backup-thumb.sh", OPTIONS="last_rule"
SUBSYSTEMS=="usb", ATTRS(idVendor)=="XXXX", ATTRS(idProduct)=="YYYY", ACTION=="remove", KERNEL=="sd[a-z]1", RUN+="/bin/umount -l /media/backup-drive", OPTIONS="last_rule"
assuming that you have a single partition backup drive formatted as ext3 (or at least it's the first partition).
Also another assumption is that idVendor and idProduct are unique to your backup drive. If not you should add some extra ATTRS parameters that will ensure this combination is unique.
The directory /media/backup-drive must already exist (remove your fstab line - it's not needed in this case because mount command is run directly from the udev rule).
Replace all XXXX and YYYY with the values from lsusb for your backup device - plug it in, run lsusb and copy values which look like XXXX:YYYY near to the name of your backup device.
Anyway, you can play with different options and try to modify it yourself. The automounting rules work for me very well for some time (including flush option). The backup rules you need to test yourself :-)
Last edited by lanrat (2007-05-05 17:20:51) -
Problam Syncro Mail program with mail server
Hi,
I'm using OS X 10.6.8 on a Mac Mini and using MAC Mail over an IMAP connection.
For some reason MAC Mail has not copyed messages from mail account (I think).
I saw the Inbox messages and I controlled it was all OK Offline.
The day after I decided to cancel mails from server and then, when I started MAC MAIL all the messages desappeared.
I tried to use a recovery program but it founds only 30 messages so I can't manage if MAC MAIL had really copyed the messages or not.
Someone can help me recovering the files or understanding what happened?
Thanks and sorry for my English, I hope you can understand my problem (ridiculous?)I wrote to the server administrator, but it seems they don'care about it, the answer was once the messages are deleted they cannot be recovered
So: I deleted the messages, it'my fault ...
But the real question is: if the messages were on my MAC and after a second they weren't any more (bad english!), what really happened?
They are still on my MAC or I loose them definitely?
Thank you -
Getting a script to work in Mail rules
I have a script that works fine in Script Editor or as a stand alone script. I would like to get it to work from within Mail rules but for some reason it doesn't want to. I have tried placing hte script within the brackets of
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
and
end perform mail action with messages
end using terms from
which I was thought to believe enabled script to work with Mail rules. If aynone has any ideas how to resolve this I would love to hear from them.
My script is as follows.
tell application "Mail"
set the_message to item 1 of (get selection)
set theSubject to the subject of the_message
if theSubject is "Nouvelle Réservation" then
set the_message to item 1 of (get selection)
set message_text to content of the_message as string
set nom to paragraph 8 of message_text
set prenom_script to paragraph 9 of message_text
set spectacle_script to paragraph 2 of message_text
set date_script to paragraph 3 of message_text
set node_placesscript to paragraph 5 of message_text
end if
end tell
tell application "FileMaker Pro Advanced"
activate
open file "xxx:Users:yyy:Documents:zzz:fichiers fp7:Import reservations script.fp7"
try
delete every record
end try
set newRecord to create record -- store the result as 'newRecord'
tell newRecord -- now target that new record
set cell "nom_script" to nom
set cell "prenom_script" to prenom_script
set cell "spectacle_script" to spectacle_script
set cell "date_script" to date_script
set cell "node_placesscript" to node_placesscript
do script "whole import process into «•_reservations»"
end tell
end tellHello
You need to tell application "Mail" to do its tasks. Also your original if clause is closed too soon.
So a possible fix would be as follows :
--SCRIPT1
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
my initFilemaker()
tell application "Mail" -- # required
repeat with oneMessage in theMessages
set theSubject to the subject of oneMessage
if theSubject is "Nouvelle Réservation" then -- # should enclose the rest of this iteration
set message_text to content of oneMessage
set nom to paragraph 8 of message_text
set prenom_script to paragraph 9 of message_text
set spectacle_script to paragraph 2 of message_text
set date_script to paragraph 3 of message_text
set node_placesscript to paragraph 5 of message_text
tell application "FileMaker Pro Advanced"
set newRecord to create record -- store the result as 'newRecord'
tell newRecord -- now target that new record
set cell "nom_script" to nom
set cell "prenom_script" to prenom_script
set cell "spectacle_script" to spectacle_script
set cell "date_script" to date_script
set cell "node_placesscript" to node_placesscript
do script "whole import process into «•_reservations»"
end tell
end tell
end if
end repeat
end tell
end perform mail action with messages
end using terms from
on initFilemaker()
tell application "FileMaker Pro Advanced"
open file "xxx:Users:yyy:Documents:zzz:fichiers fp7:Import reservations script.fp7"
try
delete every record
end try
end tell
end initFilemaker
--END OF SCRIPT1
Or, since I'm not comfortable with nested tell structure (tell FMP in tell Mail), I'd write something like this (with other minor changes to my preferences) :
--SCRIPT1a
using terms from application "Mail"
on perform mail action with messages theMessages for rule theRule
my fmpclearrecords()
tell application "Mail"
repeat with m in theMessages
set m to m's contents
if m's subject = "Nouvelle Réservation" then
my fmpnewrecord(m's content)
end if
end repeat
end tell
end perform mail action with messages
end using terms from
on fmpclearrecords()
set a to "xxx:Users:yyy:Documents:zzz:fichiers fp7:Import reservations script.fp7" as alias
tell application "FileMaker Pro Advanced"
open a
try
delete records
end try
end tell
end fmpclearrecords
on fmpnewrecord(t)
tell application "FileMaker Pro Advanced"
tell (create new record)
set cell "nom_script" to t's paragraph 8
set cell "prenom_script" to t's paragraph 9
set cell "spectacle_script" to t's paragraph 2
set cell "date_script" to t's paragraph 3
set cell "node_placesscript" to t's paragraph 5
end tell
do script "whole import process into «•_reservations»"
end tell
end fmpnewrecord
--END OF SCRIPT1a
Not tested, for I don't have FMP for OSX.
But I see no specific reason for the above to fail except for the case that certain threading issue of script run via Mail rule interferes.
*If it still fails, check console log for specific errors.
Good luck,
H
EDIT: The object referencing in FMP seems incomplete though it might work in current form.
It would be better to specifiy complete reference such as :
-- delete records
tell application "FMP"
tell document 1
tell database 1
tell current layout
delete records
end tell
end tell
end tell
end tell
-- create new record
tell application "FMP"
tell document 1
tell database 1
tell current layout
tell (create new record)
-- omitted
end tell
end tell
end tell
end tell
end tell
--etc
Message was edited by: Hiroto -
Starting Java Program with a bash Shell script
Hi !
I know this is a Linux query but I am putting it on this site to get different answers.
I want to start my Java program with a shell script. Can anybody give me a proper script to start my Java program?
I am using RH Linux 7.3 and JDK 1.4.
Can I start the Java program without starting the terminal? Just like the Sun One Studio4 'runide.sh' script.
Please help.
Bye Niteenassuming you have your PATH and CLASSPATH variables set correctly, your script should look like this:
#!/bin/bash
cd <project_dir>
java <class> &
example:
#!/bin/bash
cd ~/projects
java project1.main_package.MainClass &
of course you could add some more elaborated stuff like compiling files before running the program, etc.
if you dont like terminals, try running "nautilus" (it's like Windows Explorer). i never use nautilus (especially for running scripts), so i cant guarantee it will work, although i dont see why it shouldnt... -
Mail rule no longer works - how 2 debug?
i have a mail rule which takes an attachment & sends it on to an fba for further processing (via a do shell call) then moves the mail to a done folder.
my shell script works perfectly when invoked from the cli, but doesn't seem to even get called from the mail rule (which used to work under tiger)
and since "perform mail action with messages" doesn't allow interaction, i can't salt my script with display dialogs to debug...
so where does mail rule output go? is there an error log somewhere? console shows nothing...on a hunch i added a delay right after i saved the attachment...that fixed it.
but i still don't have a way of seeing what's going on in a mail rule script. -
Mail Rules don't work in Mavericks
It seems with the update to 10.9 Mavericks Mail rules no longer work. My email address was harvested by spamers and I have been using rules to weed throught the 100's of emails that I receive each day.
Russian Brides, Vigra, Learn a new language get moved into the trash when delievered. Now nothing happens.
I just tried to write a new rule and when I clicked the Prefs pannel I got the spinning cursor. After waiting for some time I did a force quit only to find that Mail was not responding.
Anyone have any ideas? I did not see any major changes with Mail and Mavericks so I'm not sure why it's been effected.
MDYou might condider using an Applescript with Mail Rules.
Here's one that I use (Use whitelist to not move to spam):
(Just edit to your junk or whitelist)
Note: The Applescripit must be saved to: ~/Library/Application Scripts/com.apple.mail/
The rule:
The AppleScript:
using terms from application "Mail"
on perform mail action with messages theMessages
tell application "Mail"
repeat with theMessage in theMessages
set theSender to (sender of theMessage)
set theReplyto to (reply to of theMessage)
set theSubject to (subject of theMessage)
set theHeader to (all headers of theMessage)
set theContent to (source of theMessage as string)
set theAccount to (account of mailbox of theMessage)
if my blacklist(theSender, theReplyto, theSubject, theHeader, theContent) ¬
and not my whitelist(theSender, theHeader) then
my moveToJunkFolder(theMessage, theAccount)
end if
end repeat
end tell
end perform mail action with messages
end using terms from
on blacklist(f, r, s, h, c)
if h contains "X-YahooFilteredBulk" or ¬
h contains "Received-SPF: fail" or ¬
h contains "Received-SPF: softfail" or ¬
h contains "Received-SPF: error" or ¬
h contains "Received-SPF: permerror" or ¬
h contains "Received-SPF: temperror" or ¬
h contains "streamsendbouncer@" or ¬
s contains "[Bulk]" or ¬
f contains "Vigra.candianmeds.com" or ¬
f contains "[email protected]" or ¬
f contains ".cz" or ¬
r contains ".ma" then
return true
end if
end blacklist
on whitelist(f, h)
if f contains "aicpa" or ¬
f contains "eWeek.com" or ¬
h contains "from macbook-air.local" then
return true
else
return false
end if
end whitelist
on moveToJunkFolder(m, a)
tell application "Mail"
try
set the read status of m to true
set the junk mail status of m to true
set theAccount to (account of mailbox of m)
set mailbox of m to (mailbox "Junk" of a) -- Move to "Junk"
end try
end tell
end moveToJunkFolder -
Mail rules no longer work.
Having trouble with Mail rules that I have used in the past - they no longer work. Any ideas? Running 10.4.10
Yes, the same thing has happened to me.
But I'd like to avoid having to set up the the rules again (if I trashing the com.apple.mail.plist. I have a lot of rules, and it would take some time to set them up again. Does anyone know of other options? -
Something weird ... as of midnight January 11 (moving to January 12) all my rules disappeared from Mail, to be replaced by a single rule for Apple events. The rules are still in the plist file ... it is just that Mail 6.2 doesn't see them. I use Spamsieve and everything was working qhen I went to bed last night .
I'm not sure what I have to restore from Time Machine ...
Thanks
Stephensounds like the preference file with mail rules got corrupted. you can delete that file and start adding the rules from scratch. quit mail and delete the files MessageRules.plist and MessageRules.plist.backup from homedirectory/library/mail.
Start mail and start making the rules again. -
How to creat Mail Rule with a script
i can writ a script and runing is ok, but can't applied to mail rule !?
Strangely, Mountain Lion requires that all Mail scripts reside in this location:
~/Library/Application Scripts/com.apple.mail/
Put it there.
Maybe you are looking for
-
How to fix the Draggable element at its new location after every drag
Hi All, I was trying something new with implementing the "Drag & Drop" control in UI5 . The whole functionality involved putting all the items in the list and ,making them draggable. After the user drags and drops the item to a new location , it beco
-
Capture no longer working on HDV camera with HDV setting - only with NTSC.
I have a Canon HV10 HDV camcorder. It was working fine with HDV 1080i60 settings in Easy Setup last week. Now FCP wont see this camera with these settings or HDV 1080i60 Firewire Basic. It will only see it with standard NTSC DV set. I have been doing
-
Limit Number for Rows in BW Query Result
Hello Experts, I am creating a query to be consumed by a web service. Therefore, I want to restrict the number of rows the query can display. Does anyone know a way to limit the result set to display only say FIRST 100 rows of data? I have lo
-
Delete all filters at once?
Hey guys, quick question- is there a way to delete all the filters that I have applied to the clips in my timeline all at once instead of opening every clip and manually deleting them?
-
i'm trying to execute the simpleconnection.java, and the messag error is diplayed: Exception = oracle.ifs.common.IfsException: IFS-20102: Unable to start service (IfsDefault) oracle.ifs.common.IfsException: IFS-20010: Unable to get service configurat