Command Line Force Logout

So quick background. I setup a rule in mail that if I get a message with text logout to run a applescript script that is this.
"tell application "loginwindow" to «event aevtrlgo»"
that should force logout however mail would keep freezing and it would skip logging out because of it.
I could kill loginwindow but then its not a proper logout and file vault doesn't re-encrypt my home directory so I can't do that.
Is there a force logout that does it right?
Thanks,
Andrew

Bill Scott wrote:
Another thing you can do is install fink's X-11 based firefox, and then presumably it will behave normally. This also has the advantage that you can have the normal firefox open for something else.
Let me see if this works, although I don't see Firefox listed under the files in FinkCommander. It might not be available for OS-X 10.4/Intel
http://pdb.finkproject.org/pdb/package.php/firefox
Will the 10.3 version work? "One never knows, do one?"
Message was edited by: nerowolfe
Message was edited by: nerowolfe

Similar Messages

  • Applescript via command line forces sleep

    Weird problem here....any time I try to run an applescript from the command line in Terminal the entire screen goes black and ultimately the computer goes to sleep (glowing light on the Macbook Pro).
    Anyone have any thoughts on what's causing this and how I can fix it?
    Thanks.

    Details on the script would be useful, but you'll probably get a better answer by closing this topic and reposting to the Applescript forum: http://discussions.apple.com/forum.jspa?forumID=724.

  • Using Unix Command Line to force logoff of other users

    Hello - I am the administrator for my family's Mac (OS X - 10.4.8). Four of us in the family share the system. Frequently, my family members forget to logoff. I would like to be able to force them off via the Unix command line. Can't I sign on as root and execute a "forced logoff" type of command?

    Thanks to Mihalis and Jarik for the additional info.
    I'm back now with a question. I have a user named "visitor" logged on. I issued a killall command which killed all the users processes except one. Using /Applications/Activity Monitor.app, I can see the process is "loginwindow" and it is owned by visitor.
    However,
    ps -u visitor
    reveals no running processes. Assuming I only had command-line access (no GUI to use Activity Monitor.app) and had multiple users logged in, how can I discover which loginwindow PID belongs to visitor?
    msq
    EDIT: I went ahead and sudo kill PID the loginwindow process owned by visitor and realized that
    ps -axj | grep visitor
    worked to reveal the loginwindow process owned by visitor. But when I logged visitor in (Fast User Switching) and ran sudo killall the Activity Monitor.app identifies the loginwindow as being owned by root but ps -axj | grep visitor shows the process belonging to visitor.
    Something weird in the depths of Leopard's UNIX land, but I think I can find my way around now.
    Thanks, everyone.
    Message was edited by: mistersquid

  • Force XServe to Boot From CD From Command-Line

    Hi,
    I've decided to erase and install a new copy of 10.5 server from my server cd. However, my KVM switch takes longer to connect than the white screen is shown at bootup. Is there a way i can use the command line to force the xserve to boot from the cd i've inserted?
    Thanks

    Or a DVD boot can be requested from the front panel of Xserve.
    Short version:
    "With the power off, hold in the system identifier button while you press the on/standby button.
    Continue to hold in the system identifier button until the top row of blue lights blinks sequentially."
    "Release the system identifier button, and then press it again repeatedly to turn on the light that corresponds to your chosen startup method:"
    When (only) the rightmost LED on the lower of the two horizontal rows of LEDs is lit, the optical drive is selected for bootstrap.
    When you get to (just) that LED, press and hold the button until the entire top row of LEDs is lit, then release the button, and off you go.
    See the owner's manual for the pictures and for more words.

  • 7410 booting directly to grub command line after forced restart?

    I'm running a 7410 (2x 100gb SSDs and 2x 500gb sata) with a j4400 containing 24 1tb drives. I attempted to create a pool and the bui hung so I went back to the SP and did a stop /SYS. After doing a start /SYS then starting the console, it goes through the bios startup, then initializes the external SAS card and after that immediately drops into the grub command line. There's no grub menu or anything, just the CL. Any idea how I can get back into the 7000 appliance software? As you can undoubtedly tell, I'm kind of a newbie so any help will be greatly appreciated!

    Not much documented and you must know your ak-nas-version
    findroot (system,0,a)
    bootfs system/boot/ak-nas-2009.04.10.5.0_1-1.20
    kernel$ /platform/i86pc/kernel/$ISADIR/unix -B ak_undo=true,zfs-bootfs=system/121,console=ttya,ttya-mode="9600,8,n,1,-"
    module$ /platform/i86pc/$ISADIR/boot_archive
    7xxx kernel$ /platform/i86pc/kernel/$ISADIR/unix -B ak_undo=true,zfs-bootfs=system/77,console=ttya,ttya-mode="9600,8,n,1,-"
    7110 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B ak_undo=true,zfs-bootfs=system/90,console=ttya,ttya-mode="9600,8,n,1,-"
    7410 kernel$ /platform/i86pc/kernel/$ISADIR/unix -B ak_undo=true,zfs-bootfs=system/121,console=ttya,ttya-mode="9600,8,n,1,-"

  • Force to used command line mouse settings ?!?

    Bravo for not including an option to disable mouse acceleration in the mouse settings. Had to used 2 command lines in the terminal.app to disable the so annoying and so not gaming friendly mouse acceleration... that thing is like dragging the mouse cursor in mud,
    I dont know how mac users can stand it, I guess people get used to it. I am sure its great for paint/draw/... because the mouse slows a lot when you dont move fast, but its totally worthless and sluggish in games.
    And Mac have better interface than windows right? I you want to convert people from the windows world to the mac world, put that setting in... different mouse movement is one of the first thing a windows user will notice when using a mac.
    Message was edited by: herbapou

    Here are the 2 command lines to disable mouse acceleration in case some people want to do it:
    1 - Open application then utility folder.
    2 - Select the terminal app
    3 - type the following lines:
    defaults write .GlobalPreferences com.apple.mouse.scaling -1
    defaults write .GlobalPreferences com.apple.trackpad.scaling -1
    4- Restart

  • Error Received When Trying To Create DSN From The Command Line

    All,
    Your help is greatly appreciated in advance. I am having trouble packaging Oracle 10G for a batch file deployment. Everything is done except for getting the DSN created which is causing me major problems. We am working with the Oracle 10G R2 10.2.0.1.0 Client on Windows XP Professional SP2. The Oracle database resides on a Windows 2000 Professional Server SP4 running Oracle 9i.
    Our Environment: I am creating two packages of the Oracle 10G client. The first is for a batch file distribution via LANDesk and the other package is for normal batch file install if someone from IT is installing this from a user's desk. Both scripts are really identical the only differences are how they are laid out. I only need help with the DSN creation as everything else is ready to go. I am going to focus on the Non-LANDesk batch file as once I fix this in one script the other one should also be fixed.
    The Problem: The batch script copies the neccesary files to the temporary directory. I then extract the setup files to the temp folder. I run a custom Oracle install using the RSP file from a recorded install. After the install is complete I copy the TNS Names file to the proper location. I then try to call a CMD file with the ODBC command seen below the main script.
    Script (May be easier to read if you download using link below):
    @ECHO ON
    ::This batch files installs Oracle 10G Release 2 Version 10.2.0.1.0 with a Custom Response File
    ::Installation is Interactive
    ::All files are extracted from the ZIP file via the 7-Zip command line tool
    ::The Net Configuration Assistant TNS Names File is copied to its proper location
    ::The CCR ODBC connection is created once the install is complete
    ::All folders used for installation are cleaned up-deleted
    @ECHO Setting Variables
    set NetworkPath=\\dc-landesk\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
    set DefaultPackagePath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD
    set ExtractionPath=C:\Temp_Oracle10G
    set TempInstallFromPath=C:\Temp_Oracle10G\SetupFiles
    set FileFolderCleanupPath=C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent
    @ECHO Creating Directories
    mkdir "C:\Program Files\LANDesk\LDClient\sdmcache\SoftwareForLDAgent\Oracle10G-R2-10.2.0.1.0\Non-LD"
    @ECHO Copying Files to DefaultPackagePath
    copy /Y "%NetworkPath%\7za.exe" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\CCR-ODBC.cmd" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\Oracle10GCustom.rsp" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\SetupFiles.zip" "%DefaultPackagePath%"
    copy /Y "%NetworkPath%\tnsnames.ora" "%DefaultPackagePath%"
    @ECHO Changing to Extraction Directory
    cd "%DefaultPackagePath%"
    @ECHO Extracting Files to path with no spaces
    "%DefaultPackagePath%\7za.exe" x SetupFiles.zip -o%ExtractionPath% -aoa
    @ECHO Please Open the "Task Manager" manager, Sort by "CPU" Descending
    @ECHO Watch Task Manager For Javaw.exe, press any key when the process Disappears
    @ECHO Install using Custom Response File
    "%TempInstallFromPath%\setup.exe" -responseFile "%DefaultPackagePath%\Oracle10GCustom.rsp" -force -silent -noconsole
    pause
    @ECHO Copying NETCA (Net Configuration Assistant) TNS Names File to proper Location in Oracle Product Directory
    copy /Y "%DefaultPackagePath%\tnsnames.ora" "C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN\tnsnames.ora"
    @ECHO Creating ODBC Connections Using Oracle Driver installed by this Batch File
    call "%DefaultPackagePath%\CCR-ODBC.cmd"
    @ECHO Waiting 20 seconds before proceeding
    ping -n 21 127.0.0.1 >NUL
    @ECHO Remove Temp Files and Folders created during Install
    rmdir /S /Q %ExtractionPath%
    del /Q "%DefaultPackagePath%\*.exe"
    del /Q "%DefaultPackagePath%\*.ora"
    del /Q "%DefaultPackagePath%\*.rsp"
    del /Q "%DefaultPackagePath%\*.reg"
    del /Q "%DefaultPackagePath%\*.zip"
    rmdir /S /Q %FileFolderCleanupPath%
    @ECHO The Oracle 10G installation has been Completed
    pause
    ODBC Script
    odbcconf.exe /a {CONFIGSYSDSN "Oracle in OraClient10g_home1" "DSN=CCR|Description=CCR_data|SERVER=BWB|Database=CCR"}
    As soon as the command is called I see the following error message appear.
    "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259"
    The really strange thing though is that if I let the main part of the script run (Not the ODBC call) and then immediately manually start the ODBC call script it works just fine. So, I don't really understand why the script can't add it itself. Or, I can go the Administrator Tools>Data Sources (ODBC)>and then add it manually which also works. I have tried just pasting the command directly in the main script, therefore, bypassing the call feature but it doesn't make a difference.
    Link (Zip with all scripts mentioned above): http://www.cbridegum.com/Fourms/Oracle/Files.zip
    Has anyone ever seen this kind of issue before? Does anyone have any idea on how to fix this? Any thoughts or suggestions would be great.
    Thanks so much for your help in advance,
    Clif Bridegum

    All,
    I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
    Thanks,
    Clif Bridegum

  • Need a command line switch to close Acrobat Catalog Index batch file

    I am looking for help with a command line switch.  I am VERY new to scheduling tasks and writing scripts.
    Our office created an Acrobat Catalog Index that needs to be updated on a regular basis.  I created a .bpdx file as follows:
    \\dept\SPDintelshare\Analysis\2nd Hand Transaction Logs\Secondhand Transaction Logs.pdx /rebuild
    This runs via Microsoft Task Scheduler from a .bat file as follows:
    "C:\Program Files\Adobe\Acrobat 9.0\Acrobat\Acrobat.exe" "C:\Documents and Settings\cutrone0999\Desktop\PawnIndex.bpdx"
    The batch runs just like it is supposed to, but it won't close when it is finished re-building.  I have tried using EXIT at the end of the .bat file and that doesn't work.  I also tried a force close for acrobat.exe and that doesn't work either.  The problem is that if I log off my computer the batch will run as scheduled and when I log back on in the morning the scheduled task shows 'running' and I have to end it.  Then I have to re-start my computer or I can't open any Adobe documents.
    If I leave my computer logged on, the batch runs as scheduled and when I log back on in the morning I have to close the dialog boxes showing the index re-ran and then close Adobe.
    I would appreciate any suggestions.  I have googled this every way I can think of and I'm not finding any results that are helpful.  Thank you in advance!
    Paula Cutrone
    Lead Crime Analyst
    Onondaga Crime Analysis Center
    Syracuse, NY

    Acrobat can be opened by a Windows batch process, but a Windows batch process can not trigger a batch process/Action within Acrobat.  It is possible with MacIntosh's Apple Script to open a PDF and run Acrobat JavaScript but not interact with Acrobat's Batch Processing or Acrobat's Actions. Note that opening a BPDX file is different than opening an Acrobat Seq file.
    The catalog/index scheduled update is not part of Acrobat "Batch Process" or "Action". The running of rebuilding of the catalog/index is controlled by the values within the  BPDX file. So if one opens the  BPDX file with Acrobat and a catalog/index is scheduled to be rebuilt or past the scheduled date and time, then the catalog/index build is submitted for precessing by Acrobat..
    Now the issue is how to close Acrobat after this processes has completed. Since Acrobat does not communicate with the Windows OS system, the Widows scheduled process has no way to know when this task has completed. Even though one can use JavaScript to test the status of a submitted Catalog/Index build/rebuild there is no communication of the submitted catalog job unless quired by Acrobat JavaScript. If you check the Acrobat JS API Reference you will see there are 2 possible results for a catalog/index rebuild, a completed rebuild and a termination with errors. One of these should require additional action.
    Further, a recent update to Acrobat JavaScript has added restrictions to using JavaScript to "closeDoc" method which may need to be addressed.
    It is also possible to open an FDF file and add/run JavaScirpts within a PDF, and again this is different than running a "Batch Process"/"Action" in Acrobat.

  • Unable to restart the Microsoft Software Protection Platform service from command line - Win81 MS Office 2013 SP1

    I'm unable to restart the Microsoft Software Protection Platform service on a Windows 8.1 laptop for MS Office 2013 SP1 (32-bit) using the following command:
    cscript ospp.vbs /osppsvcrestart (issued from C:\Program Files (x86)\Microsoft Office\Office15)
    When this is run, a window appears with the title ospp.vbs and the text "Error: The Software Protection Platform service is not installed"
    I verified that the service is installed in services.msc, and was able to manually stop and restart the SPP service in the Services console without issue.
    The command runs correctly when restarting the MS Office 2013 SPP on Windows 7 devices.
    Has anyone else seen this or have a solution for it?
    The reason that I am attempting to restart the service from the command line is because this command is part of a script to change the KMS server IP Address used by OSPP prior to software activation.
    The only other options that I have at this time is to ask the users to reboot, or manually force a reboot.  This is both time consuming and disruptive to the users.
    The Fix It tool to remove MS Office 2013 was run, and the MS Office 2013 software was successfully reinstalled after a reboot.  The software was successfully activated.  When the command was run, it produced the same exact error.

    Hi,
    I am able to reproduce this on my own machine, but in my case, I don't see the specific service running in the Services console. 
    I would like first confirm that whether you've the right service running on your Windows 8.1 system. The display name of this service should be "Office Software Protection Platform", service name is "osppsvc".
    You can also check this by going to below path where you should see the executable file (OSPPSVC.EXE) if the service is installed on your system (in my case, the folder is empty):
    C:\Program Files\Common Files\Microsoft Shared\OfficeSoftwareProtectionPlatform
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to change "open with" defaults via command line?!?

    folks,
    i know that if i get info on a file -- in this case, a filemaker 5.5 file -- i can choose the default "open with" settings and apply those settings to all files of that kind. see the attached image for what i mean.
    but how do i do that via the command line?
    thus far, here's what i've got: i know that i can open a document called "scrubbing shell.sh" on my desktop WITH either MS Word of TextEdit by calling:
    open -a textedit /Users/david/Desktop/scrubbing-shell.sh
    or
    open -a Microsoft\ Word /Users/david/Desktop/scrubbing-shell.sh
    no sweat. BUT....how do i set the defaults so that it ALWAYS opens with that app in the future when double-clicking via the GUI?
    many thanks, ya'll!
    david koff
    associate systems admin
    the j. paul getty trust
    dkoff AT getty DOT edu

    Hi David,
       OK, I investigated the new format and treatment. It appears that the first entry in the property list file that matches the file being opened wins. The Finder may still honor the new format; when I moved my old Panther file into Tiger it seemed to work. However, in other ways, the Finder doesn't recognize the old format, which is the format of the FileMaker entries you posted.
       The Finder puts all of the new format entries at the beginning of the property list file. If you change a preference that was controlled by an old format entry, the Finder won't edit that entry. What it will do is to create a new entry in the new format closer to the beginning of the file than any of the old-format entries. SInce the new entry comes first, the old one doesn't apply. If you then edit the preference and change it back to what it was before, the Finder will edit the new entry. Consider the following sequence of events and commands:
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    I change all GIF files to be opened by GraphicConverter instead of Preview, which is an old setting in the old format.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <      <dict>
    <         <key>LSHandlerContentType</key>
    <         <string>com.compuserve.gif</string>
    <         <key>LSHandlerRoleAll</key>
    <         <string>com.lemkesoft.graphicconverter</string>
    <      </dict>
    Then I change all the GIF files to be opened by Preview again.
    % plutil -convert xml1 ~/Library/Preferences/com.apple.LaunchServices.plist
    % cp ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy.plist
    404,409d403
    <       <dict>
    <          <key>LSHandlerContentType</key>
    <          <string>com.compuserve.gif</string>
    <          <key>LSHandlerRoleAll</key>
    <          <string>com.apple.preview</string>
    <       </dict>
    % diff --text ~/Library/Preferences/com.apple.LaunchServices.plist ~/Library/Preferences/com.apple.LaunchServices_copy2.plist
    408c408
    <          <string>com.apple.preview</string>
              <string>com.lemkesoft.graphicconverter</string>
       Note that I had to change the file to text after every change because the Finder converted the file to binary format every time it edited it. I didn't have to logout or reboot; the property list file change less than a second after the preference was set. I'm guessing that because you were just looking at the old-format entry, you missed the real changes to your property list file. Did it change from text to binary format? Try the command line tools that I used above.
       Note that this means that it matters where you put your entries in the property list file if you edit it.
    Gary
    ~~~~
       There are only 10 kinds of people in the world. Those
       who understand binary numbers and those who don't.

  • Error while running aiaconfig.sh - The command line argument(s) "weblogicConfig"

    Hi.
    We are Configuring PIP on AIA 11.1.1.7 after installing AIA PIP release. we we run ./aiaconfig.sh we are getting below error message,
    $./aiaconfig.sh
    Starting Oracle Universal Installer...
    Checking swap space: must be greater than 500 MB.   Actual 169130 MB    Passed
    Checking monitor: must be configured to display at least 256 colors.    Actual 16777216    Passed
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-11-20_04-11-10AM. Please wait ...adevaia                                                        @soa-odi-dev1:/u02/app/Oracle/Middleware/AIAHOME/bin$ [WARN ][jrockit] MaxPermSize=256m ignored: Not a valid opt                                                        ion for JRockit
    Log: /u01/app/oraInventory/logs/install2013-11-20_04-11-10AM.log
    The command line argument(s) "weblogicConfig" or the install mode specified is not valid.
    Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
    Usage:
    config.sh [-mode] [-options] [(<CommandLineVariable=Value>)*]
    Where mode include:
    [Mode is a mandatory parameter. Only one mode can be specified.]
         -silent For silent mode operations, the inputs can be a response file or a list of
                  command line variable value pairs.
    Where options include:
         -help, --help, --usage
                  Displays above usage.
         -invPtrLoc <inventory pointer file>
                  Launches the installer with a custom inventory location. The invPtrLoc
                  should point to a file which contains the following information.
                  inventory_loc=<inventory_location>
                  inst_group=<group_name>
         -response, -responseFile <response file>
                  Specifies the response file and path to use.
         -jreLoc <location>
                  Path where Java Runtime Environment is installed. OUI cannot be run without
                  it.
         -logLevel <level>
                  To filter log messages that have a lesser priority level than <level>.
                  Valid options are: severe, warning, info, config, fine, finer, finest,
                  basic, general, detailed, trace. The use of basic, general, detailed, trace
                  is deprecated.
         -debug  For getting the debug information from OUI.
         -force  Allowing silent mode installation into a non-empty directory.
         -printdiskusage
                  Log debug information for disk usage.
         -printmemory
                  Path where Java Runtime Environment is installed. OUI cannot be run without
                  it.
         -printtime
                  Log debug information for time usage.
         -waitforcompletion
                  For windows. setup.exe will wait for completion instead of spawning the
                  java engine and exiting.
         -noconsole
                  For suppressing display of messages to console. Console is not allocated.
         -ignoreSysPrereqs
                  For ignoring the results of the system pre-requisite checks.
         -executeSysPrereqs
                  Execute system pre-requisite checks and exit.
         -paramFile <location of file>
                  Specify location of oraparam.ini file to be used by OUI.
         -novalidation
                  Disables the validations, can be invoked along with GUI or silent mode.
         -nodefaultinput
                  Disables the default computation of values (pre-populating of values when
                  screen is loaded) in GUI install.
         -nocheckForUpdates
                  To disable all updates checking
         -updatesDir
                  To specify the directory where latest updates are downloaded. This could be
                  used in disconnected mode.
    Command Line Variables Usage:
              Command line variables are specified using <name=value>; for example:
                  [ session: | session:compName: | session:compName:version: ]variableName=" valueOfVariable"]
              Installer variables are specified using:
                  varName=value
                  Ex: ORACLE_HOME=<value>
              OUI Session variables are specified using:
                  session:varName=value
                  Ex: session:VARIABLE_NAME=<value>
              OUI Component variables are specified using:
                  session:compInternalName:[Version:]varName
                  Ex 1: session:oracle.comp1:1.0.1:varName=<value>
                  Ex 2: session:oracle.comp1:varName=<value>
                  The lookup order is compInternalName:Version:varName, then compInternalName:varName
    do anyone had any idea on this.
    Thanks a lot,
    RR.

    try checking relevant environment variables like the CLASSPATH.... a major source of failures in Windows is when in the classpath there is a path containing SPACES.... also enabling some "debug" or "verbose" flag (not sure how to do it) would provide more insight...

  • Issue while creating BPEL artifacts using BPEL command line tool

    All
    I am trying to create BPEL artificats for SQL server stored procedure for SQO Server 2005 using BPEL Command line tool.
    My demo.properties is
    ProductName=Microsoft SQL Server
    DriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
    ConnectionString=jdbc:sqlserver://10.10.20.2:1433;databaseName=dAP
    Username:apcdb
    Password:password1
    SchemaName:dev
    ProcedureName:spiSOATesting
    ServiceName:SQLServerSPService
    DatabaseConnection:MSSQLServer
    Destination:c:/temp/sqlprocedure
    and I have create a batch file called as generate.bat and it contains following information
    java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\jlib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts %1
    and when I try to run the command at BPEL PM Developer Prompt, I am getting Procedure not found, Can one please tell, what is the cause of this error. and how does this command line tool exactly work.
    Following is the output from command prompt.
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>D:\temp\sqlprocedure\generate.bat D:\temp\sqlprocedure\demo.properties
    D:\product\10.1.3.1\OracleAS_1\bpel\samples>java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar
    ;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\j
    lib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts D:\temp\sqlprocedure\demo.properties
    Procedure not found: dAP.spiSOATesting
    Thank you

    HI
      Pricing will be carried basing on the pricing
    procedure.
    Case1: Prices will be carried out automatically if
    necessary condition records are maintained for the
    condition type.
      For this you can go to Sales Order-> Item Conditions
    In the screen you can click on command button Analysis,
    which gives you the list of condition types associated
    to the pricing procedure. By clicking on the condition
    type you can know the action that has taken place.
    Case2: Manually forcing prices for Items.
      To do this, you have to populate ORDER_CONDITIONS_IN &
    ORDER_CONDITIONS_INX. Also note to identify the item
    numbers, you manually pass the item number for each item
    in the sales order, use the same item number for
    populating conditions.
      Parameters required:
    ORDER_CONDITIONS_IN:
      ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
    ORDER_CONDITIONS_INX:
      ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
       Hope the above info helps you. Do revert back if you
    need more info.
    Kind Regards
    Eswar

  • CANNOT_START-UP: Stars in Command-Line-Mode: "Deallocation of a pointer not

    HELLO EVERYONE, PLEASE CAN YOU HELP ME...
    My computer: Mac OS X (10.3.9) had froze, couldn't force quit..and i forced started it by holding the power button. Restarted it, came on: the grey-screen and apple, spinning-gear...satayed like that long time then it went into Command-Line_Mode.
    Darvin,
    UserName:
    Password:
    I enterded UserName and Password, but could not start in normal ways.
    Now when I start-up the computer, Command-Line opens with only:
    :/root#
    and a curser-point.
    I have been reading all the leads that I found in the discussions, tryed most of the suggestions: fsck (/sbin/fsck -fy), Safe-Mode (didn't start in), couldn't start up from CD.
    COMMAND-LINE (at one time it said like this):
    *God boot device= IOService:/MacRISCZPE?pci@f2000000/AppleMacRiscPCI/*
    *mac-io@17/AppleKeyLargo/ata-4@1f000/KeylargoATA/ATADeviceNum@0/IOATABlockStorag eDrive/IOATABlockStorageDevice/IOBlockStorageDriver/ST340810A.Media/IOAppleParti tionScheme/MacOS@5 BSD root: diskOs5, Major 14, minor 5*
    *Feb 22 14:32:25 mach_init[2]:Started with uid=0 audit-uid=-1*
    *Feb 22 14:32:25 init:ignoring exwss arguments/etc/rc.boot:cannot dublicate*
    *fd-1048577 to fd 1: Bad file descriptor*
    **malloc[3]: Dealocation of a pointer not malloced: 0x710; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug*
    *at an other time after using fsck*
    Command-Line-Interface:
    *:root#/sbin/fsck -fy*
    **/dev/rdiskOsF
    *Root file System*
    *Checking HFS Plus volume.*
    *Checking Extents Overflow file.*
    *Checking Catalog file.*
    *Keys out of order*
    *(4, 8874)*
    *Rebuilding Catalog B-tree.*
    *The Valume Macintosh could not be repaired.*
    PLEASE HELP!
    WHAT Should i do?
    If nothing works, could i start-up from OS 9.2.2? (Both Systems OSX and OS_9.2.2 were installed)
    If the B-tree is corrupt, does it being shared by both OSX and OS_9.2.2?
    THANK YOU

    Hi Kappy,
    Thank you for taking an interest.
    I already tryed to start_up from CD, but it either didn't started-up
    or it started still in Command-Line-Mode.
    Put the CD in the tray, startedUP with the C_Key Held.
    It took a little longer and seemed it was going to start from CD but went into CommanLine again.
    but instead of
    :/root#
    it said something else, something like:
    2e_sh.. (Something! i could redo it and write it down here if it will help)
    Other times i tryed to bootUP from CD by holding-down the Option-Key and saw the install-CD icon next to
    OSX-Icon, so i chose the CD and hit the Straight-ARROW-Icon to start up from the CD, but again it fell
    into CommandLine.
    If i try the Target-Disk-Mode with a healty-Mac, could i be able to see my HD. Then i can switch to
    OS_9.2.2 which i spose is healty because i was using OS_10.3 when this problem happened. And the way
    i think, if the B-tree Catalog is not being shared by both Systems, if each have its own one, then the
    OSX's B-tree Catalog have been corrupted, not OS9's, and so if i could change the start-up-system(Disk)
    somehow, i could be able to start the computer with OS_9.2.2 running. Both systems were installed,
    and i was switching back and forth between them. Then i can fix my computer by, at least, starting
    to throw away some of the junk and so making some free-space.
    I had read that HD should not be full more than 85%. I had 2.5GB space left out of 40GB.
    But if there is a risk that things like this could happen because your HD is too full;
    why arn't they (Apple) fix this, buy, at least, showing as if you HD is full before it gets
    too full to leave a safety net for the B-tree Catalog files evidently that need to be written
    in continuous blocks on the HD.
    So thank you again, and keep me posted if you might think something else could fix my computer. I need
    this computer.
    thanks

  • Can I print the last page of a PDF document using command line?

    Hi
    I am in a situation in which I constantly have to deal with multiple PDF documents and I need to print the last page in each of these, and ONLY the last page. The total number of pages will vary for each file, so the page number for the last page will also vary.
    I would really prefer to not do this manually, by opening up each file in the visible Adobe Reader window and then print.
    Question:
    Is there a way with Adobe Reader (maybe with the help of some other Adobe product) to print only the last page of a PDF document using some kind of command line without opening up the PDF file in the visible Adobe Reader window?
    I'm using Windows.
    Thanks in advance,
    Regards,
    Emil

    Thank you for taking the time to reply.
    I tried both ways and neither works.  It gives me a prompt box that I have to click "next" for every page but after going thru all pages, nothing is sent to the printer.
    Also, all directions I've read indicate it will print to the default printer.  If my default printer is on a network, will that cause problems....
    and...
    should I be getting a prompt box on every page?  I thought all this would happen behind the scenes and not force me to interact with every page.
    dc

  • Command Line Parameters - opening a pdf in "Files" view ?

    I am trying to open a PDF from a command line parameter which will force it to open in "Files" wiew,  which in my case is a column on the left hand side with a series of page icons with a title:
    01 Introductions
    02 Installation
    03 Instructions
    04 Troubleshooting
    So, I have tried a lot of parameters to open it in this way and none seem to work.
    I have tried:
    acrord32.exe /A "pagemode=thumbs=OpenActions" "a.pdf"
    and many more
    I have the PDF on acrobat reader opening parameters but none seem to do it for me.
    Any ideas?

    Nowhere in that file does it say that it works for Reader.

Maybe you are looking for

  • How to delete records from MTL_SYSTEM_ITEMS table

    Hello Experts, BANNER ======= Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production PL/SQL Release 8.1.7.4.0 - Production CORE     8.1.7.0.0     Production TNS for IBM/AIX RISC System/6000: Version 8.1.7.4.0 - Production NLSRTL Version 3.4.1.0.0

  • Network Accounts used on Lion computers no longer work with Snow Leopard computers.

    I am having issues with my network users who have once used a computer with Lion on it joined to the network then going to use a Snow Leopard workstation and Google Chrome and Safari crash randomly either at the first 30 seconds or typing a space or

  • The Apps tab in the Creative Cloud Desktop application indicates download error

    This is how my Creative Cloud Desktop apps looks like. It says "download error".  When I try to update the apps, same thing. I tried it the way you described but didn't work. I don't know what to do...

  • Witholding Tax

    Hello all, I am posting the vender invoice from MIRO the tds amount is not reflecting in the REPORT jJ1INMIS but when i post the invoice fro fb60 the report shows the TDS values what could be the reason. Difference of doc type only. Suggest

  • Fax Attachments

    Hi all, we have a problem with display of fax attachments in the view FaxDispLrg, instead in the view FaxPreview they are displayed properly. The table is always empty: i try to debug it but i can't find the problem. Has anyone ever encountered this