Getting SID with a given service name or host

Hi.
I am curious if there is a way or command line to get SID with a given service name or host. I have a service name, but I don't know how to get SID. I know that I can parse the tnsnames.ora file to get it, but if possible, I want to use the more official and safe way.
I'd appreciated if somebody knows it.

caesarkim wrote:
Is there a way to take care of it as one command something like this?
sqlplus username/password@localhost "SELECT NAME FROM V$DATABASE@SERVICE_NAME"
Thanks.Make a text file, dbname.sql, that contains lines below
spool sid_name.txt
SELECT NAME FROM V$DATABASE@SERVICE_NAME;
spool off
exit
then invoke it like below
sqlplus username/password@localhost @dbname.sql

Similar Messages

  • ERROR_NOT_FOUND: there is no credentials associated with the given resource name. + WCF Service while Retrieving WindowsCredentials

    Hi guys,
    I am struck with a problem while retrieving the Windows Credentials from WCF service.
    1. I have used WSHttpBinding.
    2. I have configured the Website and App pool to run under a specific user who is an Administrator for the server.
    3. I have created the windows Credential of Generic type using Credential manager with the same user.
    4. I configured the Website to allow only Anonymous and Windows Authentication in IIS (IIS Version: 8.5).
    5. I tried the same code in the same server by logging into server with same user and debug the service. The service is returning the windows Credential requested.
    6. But i am unable to retrieve the Windows Credentials from the same code when published in IIS in the same server.
    i configure the Security in Server and client as below:
       <bindings>
          <wsHttpBinding>
            <binding name="wsHttpEndpointBinding">
              <security mode="Transport" >
                <transport clientCredentialType="Windows"/>            
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
    7. I tried to read the error code generated by Credential Manager API from  my code and it returned the below error when i am accessing the deployed service.
    ERROR_NOT_FOUND: there is no credentials associated with the given resource name.
    8. I have also checked this with other environments out side my virtual machine with the same code and config file. All environments it is working fine except my environment. Can any body help me out on this...

    Hi pavan kumar,
        As per this case, I have shared the details below :
    1.where you got stuck & receive error message whether in service side or client side ?
    2.if its in service side, then I suggest you to enable tracing on wcf service for debugging purpose to findout the root cause.
    3.For configure tracing refer here "https://msdn.microsoft.com/en-us/library/ms733025.aspx"
    4.To know about WCF Extensibility – System.Diagnostic Tracing ,then refer the below link
    http://blogs.msdn.com/b/carlosfigueira/archive/2011/08/02/wcf-extensibility-system-diagnostic-tracing.aspx
    5.If its in Client side, Please make sure that the client is in the same or trust domain as service. 

  • How to get Request Offering from given Service Offering using Service Manager SDK?

    Recently, I am working on application where I have to fetch all Request Offering from given Service Offering. 
    I can retrieve all Request Offering using following method of SM SDK : 
    var requestOfferings = group.Extensions.Retrieve<RequestOffering>();// group is Management Group
    But I am unable to get request Offering from given Service Offering as I am new to this platform. I have searched in web but can not find solution to this problem.
    It would be great if someone guide for this problem or give me any suggestion related to this problem.
    Thanks in advance.

    RequestOfferings are handled a little differently in the SDK, but fortunately, they're still backed by standard EnterpriseManagementObjects..it just takes a little work to get them.
    There are a few ways you can go about getting a request offering's related service offerings. I'm going to show you the relationship route, but you could also use a type projection to achieve the same goal.
    In your original post, you're simply retrieving _all_ request offerings..that's fine. If you wanted to retrieve a single request offering (as I do in my example) you need to find the request offering's identifier. This identifier is a pipe delimited string
    of various values. The quickest way to find it, in my opinion, is to query the MT_System$RequestOffering table in the database, but you can also find it by looping through all the RequestOfferings returned by group.Extensions.Retrieve<RequestOffering>();
    Anyway, for the following example to work, you only need your request offering's Identifier and your management server name. (Again, you could simply loop through all of your request offerings and retrieve the service offerings for all of them)
    The comments inline with this example should guide you through the steps.
    //Connect to the management group and prepare the class and relationship types that we'll need.
    String strMySCSMServer = "your server";
    EnterpriseManagementGroup emg = new EnterpriseManagementGroup(strMySCSMServer);
    ManagementPackClass mpcRO = emg.EntityTypes.GetClass(new Guid("8FC1CD4A-B39E-2879-2BA8-B7036F9D8EE7")); //System.RequestOffering
    ManagementPackRelationship relSORelatesToRO = emg.EntityTypes.GetRelationshipClass(new Guid("BE417A55-6622-0FC3-FCEA-90CD23E0FC23")); //System.ServiceOfferingRelatesToRequestOffering
    //An example of an extension identifier looks like this:
    //1|My.RO.MP|1.0.0.0|Offeringc921c4feujhoi8cdsjloiz352d7gf3k0|3|RequestOffering
    String strRequestOfferingIdentifier = "your request offering identifier";
    //Retrieve the request offering using an Extension Identifier.
    ExtensionIdentifier ei = null;
    ExtensionIdentifier.TryParse(strRequestOfferingIdentifier, out ei);
    RequestOffering ro = emg.Extensions.Retrieve<RequestOffering>(ei);
    //Using the request offering's Identifier, retrieve the enterprise management object that it represents
    EnterpriseManagementObjectCriteria emocRO = new EnterpriseManagementObjectCriteria("ID = '" + ro.Identifier + "'", mpcRO);
    IObjectReader<EnterpriseManagementObject> orROs = emg.EntityObjects.GetObjectReader<EnterpriseManagementObject>(emocRO, ObjectQueryOptions.Default);
    //Since we queried for only a single Request Offering, the object reader should contain 0 or 1 elements.
    EnterpriseManagementObject emoRO = null;
    if (orROs.Count > 0)
    emoRO = orROs.ElementAt(0);
    else
    Console.WriteLine("No Request Offering found");
    //Now, using the relationship type "System.ServiceOfferingRelatesToRequestOffering", get all Service Offering's related to our request offering
    IList<EnterpriseManagementRelationshipObject<EnterpriseManagementObject>> lstEMROs = emg.EntityObjects.GetRelationshipObjectsWhereTarget<EnterpriseManagementObject>(emoRO.Id, relSORelatesToRO, DerivedClassTraversalDepth.None, TraversalDepth.OneLevel, ObjectQueryOptions.Default);
    //The GetRelationshipObjectsWhereTarget method returns a list of EnterpriseManagementObjectRelationships..These objects represent that relationship between two objects.
    //Thus, these relationship objects have two properties of interest; TargetObject and SourceObject. In this case, service offerings are the source of this relationship type and
    //so, you can access the service offering object itself by using the relationship object's SourceObject property (which is nothing more than an EnterpriseManagementObject)
    foreach (EnterpriseManagementRelationshipObject<EnterpriseManagementObject> emro in lstEMROs)
    //emro.SourceObject is your Service Offering object. You can use it for whatever you need from here on out. In this example, i'm just writing out the DisplayName
    EnterpriseManagementObject emoServiceOffering = emro.SourceObject;
    Console.WriteLine(emoServiceOffering[null, "DisplayName"].Value);
    Give it a try, let me know if you have any questions :)

  • How to find all tables that are associated with a given domain name.

    I want to find all table, excluding the structures, of a given domain name, say, waers.
    Some of the tables are directly contains the domains while others are related with a data element which is connected to that domain.
    I want to find tables for all two case -either tables connected directly to the domain or connected via data element- and exclude the structures.
    thanks in advance.

    Hi,
    The following thing may help you.
    in se11-> search for tables having names like 'DD*'.
    From this list of tables you can find the required table to get domain, data element nad table name.
    one way of doing it:
    SELECT rollname domname
      FROM dd04l
      INTO CORRESPONDING FIELDS OF TABLE it_tab.
    SELECT rollname tabname
      FROM dd03l
      INTO CORRESPONDING FIELDS OF TABLE it_tab1
      FOR ALL ENTRIES IN it_tab
      WHERE rollname = it_tab-rollname.
    SORT it_tab1.
    DELETE ADJACENT DUPLICATES FROM it_tab1.
    LOOP AT it_tab1 INTO wa_tab.
      MODIFY it_tab FROM wa_tab
      TRANSPORTING tabname
      WHERE rollname = wa_tab-rollname.
    ENDLOOP.
    LOOP AT it_tab INTO wa_tab.
      WRITE:/ wa_tab-domname,
              wa_tab-tabname.
    ENDLOOP.
    Regards,
    Manoj Kumar P

  • Pick a particular file and keep on target side with the same file name

    Hi Guys,
    I have got couple of files in a folder. I need to pick only two files, I have setup BPM procedure 2 payloads merge. To keep these merged file with  the same source filename.
    Source side file Directory
    abc_12345_20100408101029.xml (abc_seq number_timestamp.xml)
    xxx12345.xml
    test.xml
    abc_12345_20100408101149.xml
    Target Side, How do I keep with the same file name?
    abc_12345_20100408111239.xml ---  same file name with diffrent timestamp.
    One more question: How to setup a file adapter to trigger between 2:00am to 5:00 am? in a particular time
    Does anybody has got quick idea, any links etc.,
    Your quick and positive response will be much appreciates.
    Kind Regards
    San

    Hi,
    One more question: How to setup a file adapter to trigger between 2:00am to 5:00 am? in a particular time
    For this you can Availability time planning (i.e you can schedule the file adapter to poll for the files with in the time interval i.e 2 -5)...
    for generating the file name at target side you need to look for the Dynamic Configuration as you need to change the timestamp for the file..and i am not sure how this works in BPM..
    in normal scenarios dynamic configuration will help....
    HTH
    Rajesh

  • Mmc is getting crashed with error Faulting module name: KERNELBASE.dll on windows server 2012 r2

    I am facing issue with BizTalk admin console, getting below error, 
    i  thought it will be due to sql server or WMI so restarted sql services as well WMIS services but no luck. restarted Distributed transaction services as well as restarted machine but it did not solve.
    also when i tried with other MMC's i am getting below error in event viewer,
    Faulting application name: mmc.exe, version: 6.3.9600.16384, time stamp: 0x52158765
    Faulting module name: KERNELBASE.dll, version: 6.3.9600.17055, time stamp: 0x532943a3
    Exception code: 0xe0434352
    Fault offset: 0x00011d4d
    Faulting process id: 0x215c
    Faulting application start time: 0x01d004a6e0c31506
    Faulting application path: C:\windows\SysWOW64\mmc.exe
    Faulting module path: C:\windows\SYSTEM32\KERNELBASE.dll
    Report Id: 3d994be7-709f-11e4-80ee-00505689506c
    Faulting package full name: 
    Faulting package-relative application ID:
    Application: mmc.exe
    Framework Version: v4.0.30319
    Description: The process was terminated due to an unhandled exception.
    Exception Info: System.Reflection.TargetInvocationException
    Stack:
       at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.OnThreadException(System.Object,
    System.Threading.ThreadExceptionEventArgs)
       at System.Windows.Forms.Application+ThreadContext.OnThreadException(System.Exception)
       at System.Windows.Forms.Control.WndProcException(System.Exception)
       at System.Windows.Forms.Control+ControlNativeWindow.OnThreadException(System.Exception)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
       at System.Windows.Forms.UnsafeNativeMethods.IntDestroyWindow(System.Runtime.InteropServices.HandleRef)
       at System.Windows.Forms.UnsafeNativeMethods.DestroyWindow(System.Runtime.InteropServices.HandleRef)
       at System.Windows.Forms.NativeWindow.DestroyHandle()
       at System.Windows.Forms.Control.DestroyHandle()
       at System.Windows.Forms.Control.Dispose(Boolean)
       at Microsoft.BizTalk.Administration.SnapIn.Forms.GroupHub.OperationsCtrl.Dispose(Boolean)
       at System.ComponentModel.Component.Dispose()
       at Microsoft.ManagementConsole.FormView.InternalShutdown()
       at Microsoft.ManagementConsole.View.HandleShutdownRequest(Microsoft.ManagementConsole.Internal.IRequestStatus)
       at Microsoft.ManagementConsole.View.ProcessRequest(Microsoft.ManagementConsole.Internal.Request)
       at Microsoft.ManagementConsole.ViewMessageClient.ProcessRequest(Microsoft.ManagementConsole.Internal.Request)
       at Microsoft.ManagementConsole.Internal.IMessageClient.ProcessRequest(Microsoft.ManagementConsole.Internal.Request)
       at Microsoft.ManagementConsole.Executive.RequestStatus.BeginRequest(Microsoft.ManagementConsole.Internal.IMessageClient,
    Microsoft.ManagementConsole.Internal.RequestInfo)
       at Microsoft.ManagementConsole.Executive.SnapInRequestOperation.ProcessRequest()
       at Microsoft.ManagementConsole.Executive.Operation.OnThreadTransfer(Microsoft.ManagementConsole.Executive.SimpleOperationCallback)
       at System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature,
    Boolean)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
       at System.Reflection.RuntimeMethodInfo.UnsafeInvoke(System.Object, System.Reflection.BindingFlags,
    System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)
       at System.Delegate.DynamicInvokeImpl(System.Object[])
       at Microsoft.ManagementConsole.Executive.DelegateMessage.OnExecute()
       at Microsoft.ManagementConsole.Executive.Message.Execute()
       at Microsoft.ManagementConsole.Executive.SnapInThread.DispatchPendingSnapInMessages()
       at Microsoft.ManagementConsole.Executive.SnapInThread.OnDataReadyAsync(System.Object, System.EventArgs)
       at Microsoft.ManagementConsole.Executive.MmcThreadMessageWindow.WndProc(System.Windows.Forms.Message
    ByRef)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
       at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr,
    Int32, Int32)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
       at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
       at System.Windows.Forms.Application.Run()
       at Microsoft.ManagementConsole.Internal.SnapInMessagePumpProxy.Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
       at Microsoft.ManagementConsole.Internal.ISnapInMessagePumpProxy.Run()
       at Microsoft.ManagementConsole.Executive.SnapInThread.OnThreadStart()
       at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
       at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback,
    System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,
    System.Object, Boolean)
       at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback,
    System.Object)
       at System.Threading.ThreadHelper.ThreadStart()
    does any one face similar issue if yes can you please help me to solve this?
    Regards,
    Amit
    Regards, Amit More

    If its only this MMC might try them over here.
    https://social.msdn.microsoft.com/Forums/en-US/home?forum=biztalkgeneral
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Getting started with a web service client

    I am trying to figure out how to create a web service client using NetBeans 6. I started with a class library for testing in Fitnesse. I've been using tutorials and Googling around but now I am stuck. I have added the JAX-RPC library; I am able to add a web service client to the project using the IDE; and I can view all of the objects and methods under "Web Service References" and compile the code; however, at runtime I get the error:
    java.lang.NoClassDefFoundError: javax/xml/rpc/Service
         at java.lang.ClassLoader.defineClass1(Native Method) ... etc.
    What am I missing?
    P.S., when I try to test any web service in the IDE I get an error like this:
    InvocationTargetException org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:540) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:466) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:92) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:409) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Next Exception Layer null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:534) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:466) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:92) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:409) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Next Exception Layer Could not initialize class com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:513) java.lang.Class.newInstance0(Class.java:355) java.lang.Class.newInstance(Class.java:308) javax.xml.soap.FactoryFinder.newInstance(FactoryFinder.java:38) javax.xml.soap.FactoryFinder.find(FactoryFinder.java:165) javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:61) javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:127) javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:93) com.sun.xml.rpc.soap.message.SOAPMessageContext.getMessageFactory(SOAPMessageContext.java:200) com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessageContext.java:131) com.sun.xml.rpc.client.StreamingSenderState. (StreamingSenderState.java:30) com.sun.xml.rpc.client.StubBase._start(StubBase.java:92) webservice.CountCheatServiceSoap_Stub.letterSolutionsMin(CountCheatServiceSoap_Stub.java:54) webservice.CountCheatServiceClient.countcheatservicesoapLetterSolutionsMin(CountCheatServiceClient.java:26) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:534) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:466) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:92) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:409) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
    Edited by: pjpark on Dec 26, 2007 1:33 PM

    I was able to get the web service client to work in Windows XP by following the same steps I was using in Windows 2003 x64. I did not need to add anything to the Class Path in XP to run the test application and execute a web service method; however, NetBeans would not give me the option to test the web method from the IDE.
    I will try re-installing java and netbeans on the 64 bit server and see if that helps.

  • How to print the spool request with a given file name.

    Dear Experts;
    I used FM RSPO_OUTPUT_SPOOL_REQUEST to print spool request. And the device type is a local pdf printer. By default, the download file name will be the spool id. How can I change the download file name? Thanks!
    Convert 'CutePrinter' to qualify the format.
      CALL FUNCTION 'CONVERSION_EXIT_SPDEV_INPUT'
        EXPORTING
          input  = 'CutePrinter'
        IMPORTING
          output = lv_device.
    Downloading as pdf by printer
      CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
        EXPORTING
          device                         = lv_device
          spool_request_id               = pa_spool
       EXCEPTIONS
         archive_dest_invalid           = 1
         archive_dest_not_found         = 2
         archive_dest_no_right          = 3
         cannot_archive                 = 4
         change_archdest_no_right       = 5
         change_copies_no_right         = 6
         change_dest_no_right           = 7
         change_devtype_no_right        = 8
         change_prio_no_right           = 9
         change_telenum_no_right        = 10
         change_title_no_right          = 11
         dest_invalid                   = 12
         dest_not_found                 = 13
         dest_no_right                  = 14
         internal_problem               = 15
         invalid_fax_attribute          = 16
         invalid_parameters             = 17
         non_owner_no_right             = 18
         no_layout                      = 19
         no_spool_request               = 20
         out_again_no_right             = 21
         spooler_problem                = 22
         OTHERS                         = 23

    SELECT SINGLE * FROM tsp01 into rq WHERE rqident = p_spool  .
    *   To get attributes of spool request
    CALL FUNCTION 'RSPO_GET_ATTRIBUTES_SPOOLJOB'
        EXPORTING
          rqident     = p_spool             "Spool Request Number
        IMPORTING
          rq          = rq                                 "Consists the Spool Document Type Details
        TABLES
          attributes = dummy
        EXCEPTIONS
          no_such_job = 1
          OTHERS      = 2.
      IF sy-subrc <> 0.
      ENDIF.
    *Convert spool request into PDF, dependent on document type
    IF rq-rqdoctype = 'OTF' OR rq-rqdoctype = 'SMART'.    "Doc Type is of Sap Script or Smart form
        CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = p_spool               "Spool Request Number
            no_dialog                = 'X'
            pdf_destination          = 'X'
            no_background            = 'X'
          IMPORTING
            pdf_bytecount            = bin_size
            bin_file                 = pdf_xstring                  "This fm will convert the spool data into
         TABLES
            pdf                      = it_pdf   .                                                                       "PDF Format in this importing string
      ELSEIF rq-rqdoctype = 'LIST'.                 "Doc Type of List
    * Convert spool to PDF
        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = p_spool               "Spool Request Number
            no_dialog                = ' '
            dst_device               = 'LOCL'
            pdf_destination          = 'X'
            no_background            = 'X'
          IMPORTING
            pdf_bytecount            = bin_size
            bin_file                 = pdf_xstring                     "This fm will convert the spool data into
                                                                                  "PDF Format in this importing string
          TABLES
            pdf                      = it_pdf.
        ENDIF.
    *      Downloading file to p_file loation in PDF foramt
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize            = bin_size
              filename                = w_filename     "Custom File name
              filetype                = 'BIN'
            TABLES
              data_tab                = it_pdf
    Prabhudas

  • Why does FF 21 not open a site with a given domain name in Amazon-it will open img from that domain and will work if we provide a new domain name to same kit

    We host a site on Amazon Ec2.
    FIrefox will not load the page - it just times out after loading half the images etc on it
    If we take the same site and give it the Machine Name the Amazon server on which the site resides, it will work.
    If we give the Amazon server a domain name, it will work.
    If we try to load a part of the page, like an image with the original (i.e. not working domain name) it will work.
    Any ideas of possible causes?
    Is there any way to force Firefox to see a site as friendly?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • HT5569 Trying to get wifi with my phone service

    How do I get wifi now that I added it onto my cell package

    It would help if you said who your cell carrier is.......

  • I just purchased a new Mac and I am having problems getting online with my old user name and password

    I cannot access my old gmail account which is
    "[email protected] and the password I have stored is not working'

    Hello Pork Chop 2,
    Congratulations on your new Mac!  It sounds like your purchased songs are not playing completely after you downloaded them.  I recommend to following steps for an issue like this:
    Symptoms
    Occasionally, if a song purchased from the iTunes Store on a Mac or PC was not downloaded completely, the song may not play back fully. The song may abruptly stop during playback, and iTunes may start playing the next song in your library or playlist.
    Resolution
    If iTunes in the Cloud is available in your country, try the following steps to resolve the issue:
    Delete the purchased song that is exhibiting the problem from your iTunes library.
    Click on the Purchased link in the iTunes Store to view your previously purchased music.
    Download your previously purchased song from this list.
    You can find the full article here:
    Songs in iTunes may not play back completely
    http://support.apple.com/kb/TS4357
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Getting host, port from the tnsnames.ora with the service name

    Hi.
    I think that I asked a similar question yesterday. I want to ask if there is a way to get host and port from the tnsnames.org with a given service name. Somebody answered it for getting SID in the sqlplus. so I tried it in a similar way, but it didn't work.
    I have a service name, but I don't know how to get host and port. I know that I can parse the tnsnames.ora file to get it, but if possible, I want to use the more official and safe way.
    I'd appreciated if somebody knows it.

    caesarkim wrote:
    Hi.
    I think that I asked a similar question yesterday. I want to ask if there is a way to get host and port from the tnsnames.org with a given service name. Somebody answered it for getting SID in the sqlplus. so I tried it in a similar way, but it didn't work.
    I have a service name, but I don't know how to get host and port. I know that I can parse the tnsnames.ora file to get it, but if possible, I want to use the more official and safe way.
    I'd appreciated if somebody knows it.Oracle RDBMS does not require SQL*Net to operate.
    Oracle RDBMS does NOT now or care about content of any tnsnames.ora file.
    Realize that each (remote) user can have their own personalized copy of tnsnames.ora
    The content of tnsnames not NOT have to reflect any reality.
    I could post the content of my tnsnames.ora & it would be useless to everyone reading.

  • Query to get the service name

    Hi There,
    I want to append the SERVICE name to my email subject sent using UTL_SMTP. I am running it within PL/SQL so that it can change based on the instance. I can do a V$instance, but that shows the sid and not the service name.
    Thanks

    sys_context is the function which gives you such info:
    SELECT sys_context('USERENV', 'SERVICE_NAME') FROM DUAL;Cheers,
    Manik.

  • Oracle 9i "TNS:could not resolve service name" on 64-bit OS

    I have a 32-bit .NET 3.0 application that can run on 64-bit OS using WOW64. When I connect to the database on 32-bit OS with 9i (9.2.0.1) client, everything works fine. However, if I install the same client on 64-bit OS (assuming that it would run using WOW64) and run the application, I get "TNS:could not resolve service name" error.
    To make sure that it's not something with configuration, I've installed both clients in the same directory on 32-bit OS and 64-bit OS, and copied the same tnsnames.ora and sqlnet.ora files. I can also connect to the database without a problem on 64-bit OS using SQL Plus. The error only occurs when connection is made via the application, which uses .NET oracle client. The only main difference is that on 64-bit OS, 64-bit version of .NET 3.0 is installed.
    Does anyone have an idea why I am getting this error?
    [tnsnames.ora]
    TRADMIN.ASCINDIA.COM =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.253.57.44)(PORT = 1521))
    (CONNECT_DATA =
         (SID = TRADMIN)
         (SERVER = DEDICATED)
    [sqlnet.ora]
    # SQLNET.ORA Network Configuration File: D:\Oracle\Ora92\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = xxx.yyy.zzz
    SQLNET.AUTHENTICATION_SERVICES= (NONE)
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    [tnsping on 32-bit OS]
    Used parameter files:
    D:\Oracle\Ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.253.57.44)(PORT = 1521))) (CONNECT_DATA = (SID = TRADMIN) (SERVER = DEDICATED)))
    OK (640 msec)
    [tnsping from 64-bit OS]
    Used parameter files:
    D:\oracle\ora92\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.253.57.44)(PORT = 1521))) (CONNECT_DATA = (SID = TRADMIN) (SERVER = DEDICATED)))
    OK (590 msec)

    Hi, paste in this post your tnsnames.ora and sqlnet.ora files and give us a example tnsping for test your alias database.
    Good luck.
    Regards.

  • SERVICE NAME USAGE IN NET8I

    제품 : SQL*NET
    작성날짜 : 2004-12-28
    Service Name Usage in Net8i
    ============================
    오라클 8i 이전 버전에서의 클라이언트는 tnsnames.ora 의 connect discriptor에
    오라클 SID (system identifier) 만 지정함으로써 데이터베이스로의
    접속이 가능했다. 그러나, 오라클 8i 이후부터는 "service_name" 과
    "instance_name" 이라는 개념이 제공되며 이를 이용해서 데이터베이스로 접속한다.
    init.ora 파러미터
    init.ora 파러미터인 SERVICE_NAMES 는 데이터베이스 서비스를 지정하기
    위해서 사용된다. 이는 디폴트로 DB_NAME.DB_DOMAIN (global db name 으로
    이해하면 된다) 값을 가지며 데이터베이스는 하나 이상의 서비스이름을
    가질 수 있다.
    init.ora 패러미터인 INSTANCE_NAME 는 데이터베이스의 instance 이름을
    지정한다. 이는 instance 의 SID 와 같다고 생각하면 된다.
    예를들어 OPS (Oracle Parallel Server) 환경에서는 service_names 는
    어떤 데이터베이스로 접속할지를 지정하게되며 instance_name 은 그
    데이터베이스 중의 원하는 instance 를 지정할 수 있게 하여준다.
    TNSNAMES.ORA 예제
    a. service_name 을 포함한 connect descriptor
    ora815 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP) (HOST=152.69.44.17) (PORT=1521) )
    (CONNECT_DATA =
    (SERVICE_NAME = ora815.kr.oracle.com)
    b. service_name 과 instance_name 을 포함한 connect descriptor
    ora815 =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=TCP) (HOST=152.69.44.17) (PORT=1521) )
    (CONNECT_DATA =
    (INSTANCE_NAME = ora815)
    (SERVICE_NAME = ora815.kr.oracle.com)
    위의 예제 a) 에서는 service name 이 "ora815.kr.oracle.com" 인
    데이터베이스에 접속하고 있고, 예제 b) 에서는 service_name 이
    "ora815.kr.oracle.com" 인 데이터베이스 중에서도 ora815 instance 에
    접속하고 있다. 테스트환경에서는 OPS 가 아닌 관계로 같은 이름을
    중복 사용하였다.
    'SID' 와 'SERVICE_NAME' 의 호환성
    오라클 8i 이전 버전에서의 리스너는 listener.ora 화일의 내용에 따라
    주어진 SID 의 값들을 셋팅하였으나 오라클 8i 이후에는 PMON 이 동적으로
    데이터베이스를 리스너에 등록해 주므로 listener.ora 에 SID_LIST_LISTENER
    부분을 지정할 수도 있고 지정하지 않을 수도 있다.
    a. listener.ora 에 SID_LIST_LISTENER 가 지정되었을 경우:
    i. connect descriptor 에 SID 를 사용하면?
    ---> 잘 접속된다.
    ii. connect descriptor 에 SERVICE_NAME 을 사용하면?
    ---> 잘 접속된다. 단, 데이터베이스의 service 가 리스너에 등록되었을 경우.
    service 가 등록될때까지 클라이언트는 아래의 오류를 만나게 된다.
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in
    connect descriptor
    b. listener.ora 에 SID_LIST_LISTENER 가 지정되지 않았을 경우:
    i. connect descriptor 에 SID 를 사용하면?
    ---> 잘 접속된다.
    ii. connect descriptor 에 SERVICE_NAME 을 사용하면?
    ---> 잘 접속된다.
    마찮가지로 service 가 리스너에 등록될 때까지 클라이언트는 아래의
    오류 중 하나를 만나게 된다:
    ORA-12505: TNS:listener could not resolve SID given in connect descriptor
    ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect
    descriptor

    So if I specify
    <service-name>SomeService</service-name>do I then have to elsewhere define SomeService according to these parameters:
    http://wiki.tangosol.com/display/COH35UG/services
    where <service-type> is SomeService and <service-component> is one of
    * ReplicatedCache
    * ReplicatedCache.Optimistic
    * DistributedCache
    * SimpleCache
    * LocalCache
    * InvocationService
    I haven't been defining my own services so far. I have just been using the default names.
    My understanding from this page
    http://wiki.tangosol.com/display/COH35UG/Constraints+on+Re-entrant+Calls
    is that if I declare 10 caches with the same service-name and service-type then all 10 are sharing the same pool of resources and can not call each other from EntryProcessors, etc. due to re-entrancy. But if I define 10 different service names then I'm taking up 10x the resources(what resources? threads? memory?) but I can call one cache from another without re-entrancy issues. Is that all correct?
    Why do I want to avoid using default service names out of the box? Just because as I said above it locks me into sharing one resource pool for all caches using that service-name?
    Thanks,
    Andrew

Maybe you are looking for

  • Blackberry Desktop Software has encountered a problem and needs to close

    When I try to open Blackberry Desktop the message I get is that Blackberry Desktop Software has encountered a problem and needs to close.  I have a Blackberry Bold 9700 and as a result I cannot sync.  Does this mean I need to uninstall and reinstall?

  • Lost rolls and contents thumbnails in albums

    some how i have lost two years of rolls from the library. the thumbnails in the albums are also missing. I photo is capable of importing, as i have just recently added some rolls. The jpg's are in the i photo library in the modified and original fold

  • Why do I not have perspective warp?  I just downloaded the newest version of ps yesterday.

    I have the most recent version of photoshop ( Just downloaded it yesterday) and it is definitely up to date but cannot access perspective warp on the edit menu, the words are there in light grey but are not a link to anything. :/

  • Crosstab Pagewidth

    I have a Crosstab layout which goes beyond 80 inches of pagesize, how do i fit into 1 page in a PDF output. Whe I see in the Infoview, I see it as 1 page with a page breaks vertically, which is how i see in a PDF output too. I have tried to use the C

  • Chinese language for Elements 12?

    Tech Spec (on the Adobe UK website) says Elements 12 is available in Chinese, but when I try to order online I do not get a Chinese language option. I tried talking with an Adobe rep "online" but they couldn't help me, apart from tell me "it must be