GetContextURL returns null using the default ECM repository

Hello experts,
This is the scenario.
We are using the SAP ECM repositoy for document storage in our BPM proyect. In this case we are using the default configuration and repository location  (ecm/default  and DefaultUser), but after the upload, when i try to get the document URL with the method getContentURL(), returns null.
The ECM documentarion saids than this condition is expected when using a third party repostiory, but this is not the case.
I appreciate a lot your advices and recomendations,
Best regards!
Julio C. Leyva

Hi Vasil,
We didn't resolve this issue by this method, because we are using the default ECM repository witch doesn't support the operation getContextURL() and gets the "null" result. If you are using a different repository maybe works.
Re-checking the API specification, saids:
getContentURL
java.lang.String getContentURL() throws InvalidStateException, RepositoryException  Returns a URL that can be used to retrieve the content directly from the respective backend, thus bypassing ECM. Note that this URL might have several restrictions which depend on the connector's backend store, such as a limited lifetime or requiring a user to authenticate with different credentials than the ones used to connect to ECM. Other stores might provide no content URL at all, in which case this method returns null. Applications might want to consider utilizing the ECM WebDAV server to present their users a URL that is located on the same system as ECM.  
Finally, you would consider to expose a webservice (EJB Session Bean) witch encapsulates the ECMI implementation and extract your file content as a binary array (encode/decode), sending as the input your path/fileName for lookup in the ECM repository.
Regards!

Similar Messages

  • Using the default Sysprep and Capture template fails on reboot with BOD UNMOUTABLE_BOOT_VOLUME

    On a 2012 r2 server with MDT 2012 I am using the default template to capture a Win 8.1 64 bit master image to deploy to 60 Dell e7440 laptops. When I start the cscript litetouch.wsf thru command prompt, the litetouch wizards starts sysprep starts to
    work and when it goes to reboot BOD UNMOUTABLE_BOOT_VOLUME.
    The only way around the BOD is to PXE boot to the deployment server and LiteTouch continues to create WIM but fails. Click finish and the laptop boots as if it was the first time so sysprep worked.
    Any help is appreciated.

    Here is the process prior to rebooting.
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    C:\>cscript \\deploy2012\deploymentshare$\scripts\litetouch.wsf
    Microsoft (R) Windows Script Host Version 5.8
    Copyright (C) Microsoft Corporation. All rights reserved.
    Property LogPath is now = C:\MININT\SMSOSD\OSDLOGS
    Microsoft Deployment Toolkit version: 6.2.5019.0
    Property Debug is now = FALSE
    ZTIUtility!GetAllFixedDrives (False)
    New ZTIDisk : \\DSISPA-CAGN2QU\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYS
    ICALDRIVE0"
    New ZTIDisk : \\DSISPA-CAGN2QU\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYS
    ICALDRIVE0"
    New ZTIDiskPartition : \\DSISPA-CAGN2QU\root\cimv2:Win32_DiskPartition.DeviceID
    ="Disk #0, Partition #2"    \\DSISPA-CAGN2QU\root\cimv2:Win32_LogicalDisk.Devic
    eID="C:"
    New ZTIDisk : \\DSISPA-CAGN2QU\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYS
    ICALDRIVE0"
    New ZTIDiskPartition : \\DSISPA-CAGN2QU\root\cimv2:Win32_DiskPartition.DeviceID
    ="Disk #1, Partition #0"    \\DSISPA-CAGN2QU\root\cimv2:Win32_LogicalDisk.Devic
    eID="D:"
    New ZTIDisk : \\DSISPA-CAGN2QU\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYS
    ICALDRIVE1"
    ZTIUtility!GetAllFixedDrives =    C:
    No task sequence is in progress.
    Found OS Disk: C:
    Found FirstPossibleSystemDrive: C:
    Property SMSTSLocalDataDrive is now = C:
    Not running within WinPE.
    Property DeploymentMethod is now = UNC
    DeploymentMethod = UNC
    Property DeployRoot is now = \\deploy2012\deploymentshare$
    Validating connection to \\deploy2012\deploymentshare$
    Mapping server share: \\deploy2012\deploymentshare$
    Already connected to server deploy2012 as that is where this script is running f
    rom.
    Mapped Network UNC Path Z:  = \\deploy2012\deploymentshare$
    DeployRoot = \\deploy2012\deploymentshare$
    Property DeployDrive is now = Z:
    DeployDrive = Z:
    Property PHASE is now = VALIDATION
    Property DeploymentType is now = REFRESH
    Phase = VALIDATION
    About to run command: wscript.exe "\\deploy2012\deploymentshare$\scripts\ZTIGath
    er.wsf" /inifile:Bootstrap.ini
    Command completed, return code = 0
    Validating connection to \\DEPLOY2012\DeploymentShare$
    Mapping server share: \\DEPLOY2012\DeploymentShare$
    Already connected to server DEPLOY2012 as that is where this script is running f
    rom.
    Found Existing UNC Path Z: = \\DEPLOY2012\DeploymentShare$
    About to run command: wscript.exe "\\deploy2012\deploymentshare$\scripts\ZTIGath
    er.wsf" /nolocalonly
    Command completed, return code = 0
    Validating connection to \\DEPLOY2012\DeploymentShare$
    Mapping server share: \\DEPLOY2012\DeploymentShare$
    Already connected to server DEPLOY2012 as that is where this script is running f
    rom.
    Found Existing UNC Path Z: = \\DEPLOY2012\DeploymentShare$
    Property LTIDirty is now = TRUE
    About to run command: MSHTA.exe "\\DEPLOY2012\DeploymentShare$\Scripts\Wizard.ht
    a" /definition:DeployWiz_Definition_ENU.xml
    Command completed, return code = 0
    Validating connection to \\DEPLOY2012\DeploymentShare$
    Mapping server share: \\DEPLOY2012\DeploymentShare$
    Already connected to server DEPLOY2012 as that is where this script is running f
    rom.
    Found Existing UNC Path Z: = \\DEPLOY2012\DeploymentShare$
    Property DeployDrive is now = Z:
    DeployDrive = Z:
    Property ResourceRoot is now = \\DEPLOY2012\DeploymentShare$
    DeploymentType = CUSTOM
    ResourceRoot = \\DEPLOY2012\DeploymentShare$
    Property ResourceDrive is now = Z:
    ResourceDrive = Z:
    Property _SMSTSPackageName is now = Lite Touch Installation
    SMS Task Sequencer found at \\DEPLOY2012\DeploymentShare$\Tools\X64, copying to
    C:\MININT\Tools\X64
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\CcmCore.dll to C:\MININT\Tools\X
    64\CcmCore.dll
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\CcmUtilLib.dll to C:\MININT\Tool
    s\X64\CcmUtilLib.dll
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\Smsboot.exe to C:\MININT\Tools\X
    64\Smsboot.exe
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\SmsCore.dll to C:\MININT\Tools\X
    64\SmsCore.dll
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\TsCore.dll to C:\MININT\Tools\X6
    4\TsCore.dll
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\TSEnv.exe to C:\MININT\Tools\X64
    \TSEnv.exe
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\TsManager.exe to C:\MININT\Tools
    \X64\TsManager.exe
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\TsmBootstrap.exe to C:\MININT\To
    ols\X64\TsmBootstrap.exe
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\TsMessaging.dll to C:\MININT\Too
    ls\X64\TsMessaging.dll
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\TsProgressUI.exe to C:\MININT\To
    ols\X64\TsProgressUI.exe
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\TSResNlc.dll to C:\MININT\Tools\
    X64\TSResNlc.dll
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\xprslib.dll to C:\MININT\Tools\X
    64\xprslib.dll
    Copying \\DEPLOY2012\DeploymentShare$\Tools\X64\00000409\tsres.dll to C:\MININT\Tools\X64\00000409\tsres.dll
    Copying \\DEPLOY2012\DeploymentShare$\Control\WIN8MASTER-V2\TS.XML to C:\MININT\Tools\X64
    Copying C:\MININT\SMSOSD\OSDLOGS\VARIABLES.DAT to C:\MININT\Tools\X64\VARIABLES.
    DAT
    LTI beginning deployment
    Event 41016 sent: LTI beginning deployment
    About to run command: "C:\MININT\Tools\X64\TsmBootstrap.exe" /env:SAStart
    Property LTIDirty is now = TRUE
    New window pops up...  Generalize phase sysprep plugins...
    Then reboots, it starts loading files before the BOD

  • Can I use the default "signature properties dialog" in DigSig layer?

    Hello
    I am writing a plug-in about digital signature with the DigSig Layer. I need a  "signature properties dialog" to display info after I verified the signature.
    Now my questions :
    Can I use the default "signature properties dialog" in DigSig layer, just like PubSec's default "signature properties dialog" ?
    If I want to implement my  own "signature properties dialog", what should I do ?
    thanks.

    Thank you so much~
    Actually, it's only an applet for test. I cannot get the error code if I new the KeyPair in install function or Applet construct function. It will return "6A 80" when install the applet.
    And, I found that it support few algorithm. For example, it does not support ALG_DES_MAC4_ISO9797_M2,etc. Is there anything I can do if I want to use the algorithm? Shall I rewrite security package by myself?
    5555, security package is the standard package in JAVACARD API 2.1.1.

  • Can't open a new tab in version 30.0 on my mac. I have no add-ons and use the default settings.

    I tried removing any extensions (only had one), and am already using the default page settings. This occurred RIGHT after I upgraded to the newest version- 30.0. I don't have any add-ons either. So since this happened with your newest version and seems like a ton of people are having the same problem, it says to me that FIREFOX needs to find the cause, not lay it on us to figure a round-a-bout.
    Also , I've had a problem that the tabs keeping reloading a ton of OLD tabs every time I restart or open a new window. The same ones, like 30 of them! Tried deleting cache, didn't work. ?

    Hello,
    This happens in safe mode?
    *[http://mzl.la/MwuO4X Firefox in safe mode]
    <hr>
    # First show the hidden files and folders:
    #*[http://windows.microsoft.com/en-us/windows/show-hidden-files Show hidden files (Windows Vista/7)]
    #*[http://kb.mozillazine.org/Show_hidden_files_and_folders Show hidden files]
    # Go to your profile folder:
    #*[http://mzl.la/NYhKHH How do I find my profile?]
    #*[http://kb.mozillazine.org/Profile_folder_-_Firefox]
    # Close completely Firefox.
    #*[http://kb.mozillazine.org/Kill_application]
    # Delete or rename the '''localstore.rdf''' file.
    # Restart Firefox.
    *[http://kb.mozillazine.org/Localstore.rdf]
    *[http://kb.mozillazine.org/Corrupt_localstore.rdf]
    <hr>
    Also:
    *[http://mzl.la/MnSTZB Reset Firefox]
    *[http://mzl.la/LL5Dxl Manage profiles]

  • Logical database EQI (equipment)  .. I dont want to use the default selecti

    i am using Logical database EQI (equipment)  its realated to PM module.....
    i dont want to use the default selection screen.
    instead i want to process my own selection screen inputs..
    (ie..) i want to fetch the data using the GET event using my  own selection screen  inputs.
    my selection screen inputs is   equipmentnumber (equnr)
    and  the output list : 1.equnr      "equipment number
                                  2.shtxt       "Equipment Description
                                  3.tplnr        "Functional Location
                                  4.pltxt        "Functional Location Description
                                  5.qmnum    "Notification Number 
                                  6.qmtxt      "Notification Description
                 and  so on  ..........             
    how to do this ... can any one give sample code... or logic

    Hi Victor,
    I have a simple solution for this.i think it will help you.Do u have any idea about query designer in SAP.
    by using it we can satisfy u r  reuqirement.follow the below steps.
    1)Go to SQ01
    2)In the screen click on QuickViewer option.then you will go to another screen.
    3)In that screen give any name starting with 'Z' in the QuickView box and then click on create.
    4)In the dialogbox enter title and comments and then select LogicalDatabase as the DATASOURCE and give DataSourceLogicalDatabase as EQI.check the radio button Basis Mode and then click on ok.
    5)then on the screen in the first half of leftside you will  get another screen with the columns DATAFIELDS,LISTFIELDS,SELECTIONFIELDS,TECHNICALNAME.
    6)In the DATAFIELDS column expand the tree,then u can see the fields what we have,and what you want.and also you can see the check boxes in front of the columns LISTFIELDS,SELECTIONFIELDS.
    7)LISTFIELDS means the output fields,SELECTIONFIELDS means the selection screen fields(equnr).
    check the checkboxes as per u r requirement and click on execute.
    8)then a progam will be created.to know the program name after executing the program GO TO
    SYSTEM->STATUS.then u can see the program name there.
    If u know all these,let me know so that i can try for another solution.
    Thanks,
    N.K.C

  • Help I can't open files as I don't know what browser I need to open them as I've already experienced problems when I used the default Mozilla browser?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I have no idea what browser I should be using to open files in Firefox, i used the default Mozilla browser initially which caused me a lot of problems so I stopped using it but don't know the alternatives, could someone help please as I can't open any files at all now.
    == This happened
    ==
    Every time Firefox opened
    == As soon as I stopped using the Mozilla default browser
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name
    Firefox
    Version
    3.6
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Microsoft .NET Framework Assistant
    1.1
    true
    {20a82645-c095-46ed-80e3-08825760534b}
    Google Toolbar for Firefox
    7.0.20100326W
    true
    {3112ca9c-de6d-4884-a869-9855de68056c}
    Norton IPS
    2.0
    true
    Norton Toolbar
    4.6
    true
    {2D3F3651-74B9-4795-BDEC-6DA2F431CB62}
    Java Quick Starter
    1.0
    true
    [email protected]
    Java Console
    6.0.20
    true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar
    0
    browser.fixup.alternate.enabled
    false
    browser.history_expire_days.mirror
    180
    browser.places.importBookmarksHTML
    false
    browser.places.importDefaults
    false
    browser.places.leftPaneFolderId
    -1
    browser.places.migratePostDataAnnotations
    false
    browser.places.smartBookmarksVersion
    2
    browser.places.updateRecentTagsUri
    false
    browser.startup.homepage_override.mstone
    rv:1.9.2
    extensions.lastAppVersion
    3.6
    general.useragent.extra.microsoftdotnet
    (.NET CLR 2.0.50727)
    network.cookie.prefsMigrated
    true
    places.last_vacuum
    1270458866
    print.print_printer
    Canon iP1600
    print.printer_Canon_iP1600.print_bgcolor
    false
    print.printer_Canon_iP1600.print_bgimages
    false
    print.printer_Canon_iP1600.print_command
    print.printer_Canon_iP1600.print_downloadfonts
    false
    print.printer_Canon_iP1600.print_edge_bottom
    0
    print.printer_Canon_iP1600.print_edge_left
    0
    print.printer_Canon_iP1600.print_edge_right
    0
    print.printer_Canon_iP1600.print_edge_top
    0
    print.printer_Canon_iP1600.print_evenpages
    true
    print.printer_Canon_iP1600.print_footercenter
    print.printer_Canon_iP1600.print_footerleft
    &PT
    print.printer_Canon_iP1600.print_footerright
    &D
    print.printer_Canon_iP1600.print_headercenter
    print.printer_Canon_iP1600.print_headerleft
    &T
    print.printer_Canon_iP1600.print_headerright
    &U
    print.printer_Canon_iP1600.print_in_color
    true
    print.printer_Canon_iP1600.print_margin_bottom
    0.5
    print.printer_Canon_iP1600.print_margin_left
    0.5
    print.printer_Canon_iP1600.print_margin_right
    0.5
    print.printer_Canon_iP1600.print_margin_top
    0.5
    print.printer_Canon_iP1600.print_oddpages
    true
    print.printer_Canon_iP1600.print_orientation
    0
    print.printer_Canon_iP1600.print_pagedelay
    500
    print.printer_Canon_iP1600.print_paper_data
    9
    print.printer_Canon_iP1600.print_paper_height
    11.00
    print.printer_Canon_iP1600.print_paper_size_type
    0
    print.printer_Canon_iP1600.print_paper_size_unit
    1
    print.printer_Canon_iP1600.print_paper_width
    8.50
    print.printer_Canon_iP1600.print_reversed
    false
    print.printer_Canon_iP1600.print_scaling
    1.00
    print.printer_Canon_iP1600.print_shrink_to_fit
    true
    print.printer_Canon_iP1600.print_to_file
    false
    print.printer_Canon_iP1600.print_unwriteable_margin_bottom
    0
    print.printer_Canon_iP1600.print_unwriteable_margin_left
    0
    print.printer_Canon_iP1600.print_unwriteable_margin_right
    0
    print.printer_Canon_iP1600.print_unwriteable_margin_top
    0
    privacy.sanitize.migrateFx3Prefs
    true
    security.warn_viewing_mixed.show_once
    false
    == Firefox version
    ==
    3.6
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2) Gecko/20100115 Firefox/3.6 GTB7.0 (.NET CLR 2.0.50727)
    == Plugins installed
    ==
    *-Zylom Plugin
    *Coupons, Inc. Coupon Printer DLL
    *Default Plug-in
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *Shockwave Flash 10.0 r45
    *3.0.50106.0
    *Google Updater pluginhttp://pack.google.com/
    *6.0.12.1483
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *RealArcade_NPAPI_Plugin
    *Google Update
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    Ignore this question, I've now solved it.

  • How to use the Default sharepoint credential (DefaultNetworkCredentials )in the C#.

    How to use the Default sharepoint credential (DefaultNetworkCredentials )in the C#.
    I am using the copy.asmx web service to upload and download the files from sharepoint Document library to .Net application,how to get the Default sharepoint credential from the .net application?

    Hello,
    YOu can use below line to pass default credential in code: (You can also pass domain,username, password as string if you want)
    clientService.Credentials = System.Net.CredentialCache.DefaultCredentials;
    http://ktskumar.wordpress.com/2009/03/03/upload-document-from-local-machine-to-sharepoint-library/
    http://sharepoint.infoyen.com/2012/02/23/upload-file-in-document-library-with-metadata-inculding-lookup-field-using-sharepoint-web-service/
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Windows Client MP is using the default action account to write to the Data Warehouse

    Hi,
    I have recently installed SCOM 2012R2, and am in the process of migrating everthing from SCOM 2007R2.
    Just after I installed the Windows Client MP (version 6.0.7250.0), I started getting this Event 11852:
    OleDb Module encountered a failure 0x80004005 during execution and will post it as output data item. Unspecified error
    : Cannot open database "OperationsManagerDW" requested by the login. The login failed.
    Workflow name: Microsoft.Windows.Client.Win7.ComputerGroup.MemoryTrendsRAM
    Instance name: Microsoft System Center Data Warehouse
    Instance ID: {16781F33-F72D-033C-1DF4-65A2AFF32CA3}
    Management group: 2012SCOMDEV
    This is happening every 7 days and only happening on the Win7 Management pack. I checked the DW logs and found that it was using the default action acount (SCOM ACTION)to send to the DW.  This account doesn't have access to the DW DB.
    I assume it should be using the Data Warehouse action account.  This is how the acount is setup
    Can anyone tell me where I'm going wrong here?  I have not had to touch the permissions for any of the other Management packs.  the rest of them just work.

    For this issue, you can check below link
    http://blog.metasplo.it/2014/01/scom-2012-oledb-module-0x80004005.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
    Technical | Twitter:
    Mai Ali

  • How to use the default database service name on creating procedure for data

    how to use the default database service name on creating procedure for datagaurd client failover ??? all oracle doc says create a new service as below and enable at DB startup. but our client is using/wanted database default service to connect from application on the datagaurd environment (rac to non rac setup).please help.
    Db name is = prod.
    exec DBMS_SERVICE.CREATE_SERVICE (service_name => 'prod',network_name =>'prod',failover_method => 'BASIC',failover_type => 'SELECT',failover_retries => 180,failover_delay => 1);
    says already the service available.
    CREATE OR REPLACE TRIGGER manage_dgservice after startup on database DECLARE role
    VARCHAR(30);BEGIN SELECT DATABASE_ROLE INTO role FROM V$DATABASE;
    IF role = 'NO' THEN DBMS_SERVICE.START_SERVICE('prod');
    END IF;
    END;
    says trigger created, but during a swithover still the service is listeneing on listener.
    tns entry.
    prod =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (LOAD_BALANCE = YES)
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = prod2)(PORT = 1521)) ---> primary db entry
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = proddr)(PORT = 1521)) --> DR DB entry
    (CONNECT_DATA =
    (SERVICE_NAME = prod)
    thanks in advance.
    Edited by: 854393 on Dec 29, 2012 11:52 AM

    Hello;
    So in the example below replace "ernie" with the alias you want the client to use.
    I can show you how I do it :
    First an entry need to be added to the client tnsnames.ora that uses a SERVICE_NAME instead of a SID.
    ernie =
    (DESCRIPTION =
        (ADDRESS_LIST =
           (ADDRESS = (PROTOCOL = TCP)(HOST = Primary.host)(PORT = 1521))
           (ADDRESS = (PROTOCOL = TCP)(HOST = Standby.host)(PORT = 1521))
           (CONNECT_DATA =
           (SERVICE_NAME = ernie)
    )Next the service 'ernie' needs to be created manually on the primary database.
    BEGIN
       DBMS_SERVICE.CREATE_SERVICE('ernie','ernie');
    END;
    /After creating the service needs to be manually started.
    BEGIN
       DBMS_SERVICE.START_SERVICE('ernie');
    END;
    /Several of the default parameters can now be set for 'ernie'.
    BEGIN
       DBMS_SERVICE.MODIFY_SERVICE
       ('ernie',
       FAILOVER_METHOD => 'BASIC',
       FAILOVER_TYPE => 'SELECT',
       FAILOVER_RETRIES => 200,
       FAILOVER_DELAY => 1);
    END;
    /Finally a database STARTUP trigger should be created to ensures that this service is only offered if the database is primary.
    CREATE TRIGGER CHECK_ERNIE_START AFTER STARTUP ON DATABASE
    DECLARE
    V_ROLE VARCHAR(30);
    BEGIN
    SELECT DATABASE_ROLE INTO V_ROLE FROM V$DATABASE;
    IF V_ROLE = 'PRIMARY' THEN
    DBMS_SERVICE.START_SERVICE('ernie');
    ELSE
    DBMS_SERVICE.STOP_SERVICE('ernie');
    END IF;
    END;
    /lsnrctl status - should show the new service.
    When I do this the Database will still register with the listener. I don't give that to the clients. That one will still be available but nobody knows about it. Meanwhile "ernie" moves with the database role.
    So in my example the default just hangs out in the background.
    Best Regards
    mseberg
    Edited by: mseberg on Dec 29, 2012 3:51 PM

  • Hi, i wanted to resize my windows partion. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partion from the backup. Is this possible?

    hi,
    i wanted to resize my windows partition. I was thinking of using the default backup system for windows. Then switching to mac partion, deleting the bootcamp and then restoring a new enlarged partition from the backup. Is this possible?

    I see youhave gotten recommendatons for using WinClone or CampTune.  I have used both and they both work well.
    You have asked about using the WIndows 7 utility to backup your drive and restor it onto a larger partition.  I will tell you fro experience that this will probably not do what you want, and may do something that you don't want.  You can use the Windows 7 native backup tool to make a backup of your Windows 7 partition.  It will most liekly end-up making a dive image of the whole drive.  When yourestore that backup, it will try to re-create teh partitions of exactly the same size as they were when the backup was taken, so it won't increase your partition size for you.  Worse, since Windows doesn't natively know how to read./write HFS+ volumes, the backup will make a partition for your MacOS (replacing any you may have now), except that the copy restored by WIndows will be totally worthless, and you will not be able to boot MacOS from it, or even read it under MacOS.
    Now I will tell you that I've also had some fairly good success working with the free tool CloneZilla.  Since it hasn't been mentioned yet, and everything else mentioned does cost you money, I thought I would throw it out.  CloneZilla is not as easy to use as the tools mentioned, but it has worked for me int hte past, so it is something to consider.  I tend to use CampTune myself, but that was because I purchased a bundle deal for them and it was included in that deal.

  • Using the default JSSE SSL handler

    I currently have a client side application that posts XML messages to various web servers using HTTPS. The client application uses the default ssl handler that comes with JSSE.
    System.setProperty( "java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol" );
    Security.addProvider( new com.sun.net.ssl.internal.ssl.Provider());
    Should this be a security concern that I am using the default keystore that comes with the JVM. Is my data still be encrypted?

    Should this be a security concern that I am using the
    default keystore that comes with the JVM. Is my data
    still be encrypted?When you say, "default keystore", I assume that you mean the "cacerts" file. If so, you're OK. "cacerts" identifies root CAs that your client is willing to trust. Web sites whose site-certs are signed by one of the root CA in cacerts (i.e., Verisign, Thawte, et. al.) will be trusted by JSSE.
    SSL generates shared-keys anew for each new session. The data used to generate this "shared secret" is protected; unless the Bad Boy between you and the server has access to the SERVER's private key, that info is safe. Your data is encrypted over the wire, and only the destination web-server will be able to decrypt it.
    Grant

  • How to add a mute button without using the default skin?

    I want to use a mute/unmute button for my current project which does not use the default skin.  I searched the web and found the following solution.
    http://kb2.adobe.com/cps/163/2ed9f163.html
    I followed the instruction and it works fine on single slide. The problem is that it does not carry through the whole project.  If I mute the first slide, the audio is on again on the next slide. My mute/unmute setting doesn't go to the next slide.
    Any one have a solution to this problem? Any help or tips are greatly appreciated.

    Hi there
    Did you pay close attention to step 4?
    Click image to see larger...
    Addtionally, your post reads as if you feel the mute button is only avaliable with the Default playback control set. Note that there are all sorts of options with the supplied playback controls that offer enabling a mute button.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Using the default date for presentation variable

    In the report I want to use the default date for the presentation variable.
    If I use the query like below,default value is giving correctly.but if I pass the date value from dashboard prompt it is throwing error
    Anybody help me to modify the below
    query to get the valid results?
    Timestampadd(SQL_TSI_day,(dayofmonth(date @{asdf}{date '1900-01-01'})*-1)+1,date @{asdf}{date '1900-01-01'})
    Edited by: user12255470 on Dec 2, 2010 12:11 PM
    Edited by: user12255470 on Dec 2, 2010 12:12 PM

    try this:
    Timestampadd(SQL_TSI_day,(dayofmonth(date '@{asdf}{1900-01-01}')*-1)+1,date '@{asdf}{1900-01-01}')
    mark answers promptly.
    J
    -bifacts
    http://www.obinotes.com
    Edited by: bifacts on Dec 2, 2010 3:21 PM

  • Using the default report server

    This is the code that i have been using to call my reports from forms......
    Till few days my reports where running fine with server that i had created but now i m getting errors as job ID 0 does not exist.....
    So for the quick fix i want to run this reports using the default server.
    So how can i find the name of the default server ...
    because using the default server i can run the report in the url
    for the default server to use the reports i have places the .rdf file in oracle_home\orant\reports\sample\demo folder
    http:// pc938.stc.corp:8889/report/rwservlet?report=ttno.rdf&userid=mm/mm@orcl1&deformat=pdf&destype=cache&ticket_no=8100100
    DECLARE
    RO_Report_ID          REPORT_OBJECT;
        Str_Report_Server_Job VARCHAR2(100);
        Str_Job_ID            VARCHAR2(100);
        plid ParamList;
    BEGIN
    plid:=get_parameter_list('tmp');
    if not id_null(plid) then
      destroy_parameter_list('tmp');
    end if;
                plid := Create_parameter_List('tmp');
    add_parameter(plid,'ticket_no',text_parameter,:control1.text_item740);
    Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
        RO_Report_ID := FIND_REPORT_OBJECT('ttno');
        SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'ttno.rdf');
        SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
        SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
        SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, CACHE);
        SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
        SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'stcreportserver');
        SET_REPORT_OBJECT_PROPERTY(RO_Report_ID,REPORT_OTHER, 'PARAMFORM=NO');     
        Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PLID);
        WEB.SHOW_DOCUMENT('http://10.33.67.202:8889/reports/rwservlet/getjobid'||substr(Str_Report_Server_Job,
        instr(Str_Report_Server_Job,'_',-1)+1)||'?'||'server=stcreportserver&paramform=no
        &:ticket_no='||''''||:control1.text_item740||'''');
    end;

    Here is a complete example u can check pls feel free to ask any ambigious syntax i can clear...
    DECLARE
       PARAM_ID                                 PARAMLIST ;
       PARAM_NAME                           VARCHAR2(30) := 'REPORT_PARAMETER';
       ALRT                                         NUMBER;
       ERR_TXT                                   VARCHAR2(1000);
       repid                                         REPORT_OBJECT;
       v_rep                                        VARCHAR2(100);
       v_REP_SERVER_NAME       VARCHAR2(200);
       v_ip                                          VARCHAR2(100);
    BEGIN
           PARAM_ID := GET_PARAMETER_LIST(PARAM_NAME);
           IF NOT ID_NULL(PARAM_ID) THEN
              DESTROY_PARAMETER_LIST('REPORT_PARAMETER');
           END IF;
           v_REP_SERVER_NAME := REP_SERVER_NAME;
      v_REP_SERVER_NAME :=  'rep_PC938'; and u have also to find it's ip and send it in the following url as
    BEGIN
            SELECT  PARAMETER_VALUE  -- this is the selection of the server ip stored into a tabel u could assign it into a variabel.
            INTO   v_ip
            FROM GENERAL_FIXED_PARAMETERS
           WHERE PARAMETER_ID = 'REPORT_SERVER_IP';
           EXCEPTION
           WHEN OTHERS THEN   
           Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
           Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);     
    END;
           PARAM_ID := CREATE_PARAMETER_LIST(PARAM_NAME);
           ADD_PARAMETER(PARAM_ID,'PARAMFORM',TEXT_PARAMETER,'NO');   
           ADD_PARAMETER(PARAM_ID,'COPIES',TEXT_PARAMETER,:COPIES);
           ADD_PARAMETER(PARAM_ID,'P_DISPLAY',TEXT_PARAMETER,:DESTYPE);
           ADD_PARAMETER(PARAM_ID,'DESFORMAT',TEXT_PARAMETER,'pdf');
           ADD_PARAMETER(PARAM_ID,'group_id',TEXT_PARAMETER, :group_id);
             repid := find_report_object('WH_R01_GRP_ITEM');
             SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_rep_server_name);     
             v_rep := RUN_REPORT_OBJECT(repid,PARAM_ID);
      WEB.SHOW_DOCUMENT('http://'||V_IP||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?server='||v_REP_SERVER_NAME,'_blank');
    END;
    Hope in Shaa Allah it helps u
    God Bless u for Keeping up El-Salah's Time :)
    Regards,
    Abdetu...

  • Excel 2010 not using the default print settings

    Currently got an issue with Excel 2010 not using the default print settings for a couple of users on our network,
    basically when pressing cntrl P or selecting the print option from the file menu the printer settings are different to the print settings selected in the devices and printers menu, we have checked the print drivers etc but this has still not resolved the
    issue, all other office programs are fine and also other users are reporting this issue more and more with different printers,
    tried restarting print spooler service and re-installing office but this has come to no avail,
    any ideas would be much appreciated!

    Hi,
    This issue occurs because the Page Setup settings that you specify in your file override the settings that you specify in the printer driver properties.
    To work around this issue, do not specify the paper size, page orientation, or page margins in the printer driver properties. Instead, specify these settings in your workbook.
    To specify these settings, follow these steps:
    1.Start Excel, and then open the workbook you want to change.
    2.In Microsoft Office Excel 2010, click the sheet that you want to print, and then click the Page Layout tab. In the Page Setup group, click Page Setup to open the Page Setup dialog box.
    3.Click the Page tab.
    4.Under Paper size, click the paper size that you want.
    5. Click Options button and in Printing Shortcuts tab, in the Paper source area, perform one of the following steps:  ◦If the printer can automatically select the correct paper tray to use, click Default tray in the First page list, and then click Default
    tray in the Other pages list.
    Default tray is the default setting in both of these lists.
    ◦If the printer cannot automatically select the correct paper tray to use, you may have to select the paper tray that contains the paper size that you selected in step 4.
    To do this, click the appropriate paper tray in the First page list and in the Other pages list.
    6.If you want to change the page orientation or its page margins, click the Finishing tab.
    7.Select the options that you want.
    8.Click OK.
    9.Repeat steps 2 to 8 for each sheet of your workbook for which you want to specify settings.
    Jaynet Zhang
    TechNet Community Support

Maybe you are looking for

  • How to make titles in slideshow?

    I am making a slide show in DVD SP and was wondering how can I make titles for my pictures here, is it possible to do in DVD SP? Any help please

  • Semi conductor industry

    Dear Friends, please indicate semi conductor industry configuration details and also in general how we can correlate with SAP SD  Regards, Veeresh

  • List vs HashSet

    Hi, I currently have a code working with a list that acts as a set (before every add I check contains), the rqeuirements from this set is pretty much all in all, it gets inserted into frequently, removed from frequently and iterated on frequently. Th

  • Sgned up for iCloud 3 days ago.  Why is "upgrading iCal Calendar" still running?

    Systems: OS 10.7.5 running on iMac 20 (2006); OS 10.7.5 running on MacBook Pro (2008);  OS 7.0.4 on iPad (2013) Signed up for iCloud on Tuesday (1/28). On Wednesday, implemented Calendar update.  MacBook and iPad updated smoothly. iMac is still runni

  • SQL update one column from another column

    I'm looking for a way to update a SQL column with a portion of info from another column in the same table. example of a sql command UPDATE table1 SET table1.columnname1 = table1.columnname2 FROM table WHERE blah blah blah Here's the thing... I only n