create dblink to asm of the RDBMS instance

Have a metric solution on a database that queries all RDBMS instances for different indicators, applications, and administration and reported to the users/admins via apex.

You want to use to report the news datagroup ASM but need a dblink to ASM to run the query of the RDBMS instance, is it possible?   I can check it in EM or run a query on the host itself or the same sqlplus via sysasm connection but would like to do if possible a procedure, but would need a link

You can do that, because a link needs a dictionary of data at the other end to authenticate.

I did it using Java in the RDBMS instance to connect to the instance of the ASM, and then run any query/DML/DDL. I can't give you the (intellectual property) code, but you could contact my employer (details in my profile) to see if he would release it.

--

John Watson

Oracle Certified Master s/n

Tags: Database

Similar Questions

  • two nodes ASM has the same instance name

    Hello

    I created a grid of ASM of two nodes, when the grid facility (11.2.0.1) finish he created the + ASM1 as instance name for my two knots.

    I have install the ORACLE_SID in + ASM1 and + ASM2 node1 and node2, respectively prior to installation.

    What is wrong, I do it for the installation of the grid? Please suggest.

    Thank you

    To create a virtual environment of RAC in VirtualBox or to share devices in an environment of ASM, you should turn off the virtual machine and change devices in VirtualBox using the following command:

    $ VBoxManage modifyhd asmdisk1.vdi - shareable type

    Then you can add the same features and use the disgroups on different nodes of the DSO. BTW, this is rather a question of the use of VirtualBox for which there is a special forum.

  • JumpStartKit installation hangs at 87% complete when creating the database / instance configuration

    Hello people, I am wanting to evaluate Oracle WebCenter Portal 11.1.1.8 (huge improvement over 11.1.1.7, which I have already given a quick test in the VDI provided by Oracle).

    So, I've discovered this Jump Start Kit that installs every needed part once you have a properly configured Linux environment. I had fun with the prereqs but now that everything is finished and I am so EXCITED to make it past 'STAGE 4 '.

    So now, I encounter the same problem during installation - STEP 6 of 22 Configuration of the database Instance (creating database filling) it gets 87% complete and then nothing seems to happen, it never beyond this point, even if I wait 10 hours more:

    ***

    NOTE: I think that my problem is not specific to the "Jump Start Kit", but is rather something others have met during the stage of creation/configuration of the Oracle Universal Installer in general database. And I hope that others have solved.

    ***

    "/ opt/oracle/portal" is my INSTALL_DIR; I had started the installer of JSK with this command:

    . / runme INSTANCE_PASSWORD textile ROOT_PASSWORD = rpwd DOWNLOAD_DIR = = / media/sf_Downloads/JSKfiles INSTALL_DIR = / opt/oracle/portal

    -L' installer makes this well before it seems to get "stuck" - even after many hours there is no change, HD does nothing, CPU stays at < 5% use:

    rtkit.main.JSKStarter - launchScript:172 - kills Jun 10 15:41:38 MDT 2014: BEGIN STEP 6 of 22: Configuration of the database Instance. Estimated time is about 5 minutes. Please wait..

    15:41:38.545 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 -.

    15:41:48.222 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - copy of database files

    15:41:48.413 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 1% complete

    All the 15:41:52.894 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 3%

    All the 15:41:52.915 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 11%

    All the 15:42:02.917 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 18%

    All the 15:42:32.920 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 26%

    15:42:42.638 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 37% complete

    15:42:42.640 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - creation and start-up of Oracle instance

    All the 15:42:48.568 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 40%

    All the 15:42:56.827 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 45%

    15:42:57.357 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 46% complete

    All the 15:42:57.526 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 47 percent

    15:42:57.627 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 48% full

    All the 15:42:57.834 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 49%

    15:44:42.915 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 54% complete

    All the 15:44:42.963 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 59%

    All the 15:44:43.036 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 60%

    All the 15:44:43.452 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 61%

    15:44:43.452 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 64% full

    06/10/2014 15:44:43.453-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - creation of database of fill

    15:44:43.493 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 68% complete

    15:44:43.510 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 72% complete

    15:44:43.571 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 76% complete

    15:45:01.516 06/10/2014-(3) - JSK Starter wire - oracle.webcenter.jumpstartkit.main.JSKStarter - launchScript:172 - 87% complete

    I use VirtualBox on Windows 7, I tried several times, first with the OS as Oracle Linux 6, then Oracle Linux 5 (learning to update the version of Java of fun!).

    It always happens at the same point, and then it just seems do nothing - no progress, but no error no message on the screen (see below the log files). But it seems to use less than 5%... the use of the processor and 10 hours of waiting makes no difference.

    After that I got tons of Google to search, I tried increasing my paging file, adding more memory and disk space (12 GB of RAM and 10 GB sap) and 20 GB of free space on the hard disk, but still nothing has changed.

    In post #2 of this thread, I'll give you separately the registration details that I hope will be useful.

    Thanks in advance!

    Darren.

    PS: Moderator, I tried to create this thread in other spaces, because I did not know this 'Portal JSK' specific one, which is why my son was rejected? NO REASON WAS GIVEN. If that IS the reason why, I must say that it will be almost impossible for anyone who is able to help me actually FIND this thread here because as I said I don't think specific for ONLY JSK portal. (But I'll post it here just in case this is the reason for previous releases)

    Hey Darren -.

    Installation with installation "office" is not the problem - no conflicting package it.

    I did add a short and FULL in/etc/hosts domain name and use the HTTP_SERVER_NAME option.  (But again, that shouldn't cause any problems during dbca.)

    I didn't install VBox extensions, since I'm just using a text installation (and created a corresponding configuration for VBox and vSphere), but I don't know that this is unrelated to all the.

    Regarding packages, if the database installs fine (which did you), your packages may very well.

    Here is my kickstart file - maybe you can try to use it, and then we can rule out configuration problems.  After the kickstart, everything I do is copy the installation files (in fact, I have them on a separate vmdk I just ride), and:

    (in oracle)

    CD/mnt/orainst/install & mkdir WCPortal_JSK_Linux.x 86-64 & WCPortal_JSK_Linux.x 86-64 cd & unzip /WCPortal_JSK_Linux.x86-64.zip...

    CD /mnt/orainst/install/WCPortal_JSK_Linux.x86-64 &. / runme DOWNLOAD_DIR = / mnt/orainst/installation INSTALL_DIR = / u01/app/oracle/product/webcenter HTTP_SERVER_NAME = wcportal.localdomain INSTANCE_PASSWORD = weblogic1 BIENVENUE1 = ROOT_PASSWORD

    If you want to make a desktop installation, delete the text, skipx and office packages (I added a few comments around that part), and it should work fine.  Don't worry about VBox extensions until you have a JSK running successfully.

    Fingers crossed it gets you more... Let me know.

    -Ed

    #platform = x 86, AMD64 or Intel EM64T

    #version = DEVEL

    # The firewall configuration

    Firewall - disabled

    # Install OS instead of upgrading

    install

    # Use installation CDROM support

    CDROM

    # Password Root

    rootpw - plaintext BIENVENUE1

    # Authorization system information

    AUTH - useshadow - passalgo = sha512

    # Use installation in text mode

    text

    # Keyboard system

    keyboard us

    # System language

    lang en

    # SELinux configuration

    SELinux - disabled

    # Do not configure the X Window System

    skipx

    # Disable firstboot

    Firstboot - disable

    # Level installation registration

    logging - level = info

    # System timezone

    time zone - isUtc America/New_York

    # Network information

    network - bootproto = dhcp - device = eth0 - onboot = on--hostname = wcportal

    # Boot loader configuration

    bootloader - location = mbr - driveorder = sda

    # Clear the Master Boot Record

    zerombr

    # Information partition offset

    clearpart - all - initlabel - discs = sda

    # Partition of a disk information

    part/boot - fstype = ext4 - size = 500

    part pv.01 - growth size = 1

    volgroup vg_wcportal - pesize = 4096 pv.01

    logvol / - fstype = ext4 - name = lv_root - vgname = vg_wcportal - size growth = 1

    # choose only one of the three following instructions

    # / tmp/swappart only works if uncomment lines in pre calc memory size

    #% include/tmp/swappart

    #logvol swap - name = lv_swap-= vg_wcportal - size = 12288 vgname

    swap logvol - name = lv_swap-= vg_wcportal - size = 9216 vgname

    % before

    #MEMT =' cat/proc/meminfo | grep ^ MemTotal | AWK ' {print $2 '}'

    #let SMEM = $MEMT/1024

    #echo 'swap logvol - name = lv_swap - vgname = vg_wcportal - size = $SMEM' >/tmp/swappart

    end %

    % post

    #rm f/tmp/swappart

    # Fix for nproc problem on OL6 (MOS score [1487773.1 ID])

    -i EI sed / ^ \ * \s * soft\s * nproc\s * $ 1024 / * \t-\tnproc\t16384 /' /etc/security/limits.d/90-nproc.conf

    # It's ugly, but seems to be necessary for ks on vsphere (not on vbox), so adding the controls

    Oracle ID > / dev/null 2 > & 1

    If [$?-eq 0]; then

    userdel oracle

    RM-f/var/spool/mail/oracle

    rm - rf/home/oracle

    FI

    groupmod oinstall > / dev/null 2 > & 1

    If [$?-eq 0]; then

    groupdel oinstall

    FI

    groupmod s/n > / dev/null 2 > & 1

    If [$?-eq 0]; then

    groupdel dba

    FI

    Groupadd-g 501 oinstall

    Groupadd-g 502 s/n

    g 503 groupadd Oper

    Groupadd g 504 asmadmin

    Groupadd g 506 asmdba

    Groupadd g 505 asmoper

    adduser, 502 - g oinstall s u g/n, asmdba, oper, oracle of wheel

    passwd oracle<>

    EU1

    EU1

    EXPRESSIONS OF FOLKLORE

    # kdump(1) not enabled when you install text without firstboot

    / sbin/chkconfig off kdump(1)

    Hostname = wcportal

    echo DHCP_HOSTNAME =------"$HOSTNAME\" > / etc/sysconfig/network-scripts/ifcfg-eth0

    IPADDR = "/ sbin/ifconfig eth0 |" grep inet\ addr. AWK '{print $2} ' | cut d: f 2'

    echo $HOSTNAME.localdomain $IPADDR $HOSTNAME > / etc/hosts

    # Disable graphical boot

    # but doesn't for some reason any!

    sed-i of / rhgb quiet / / g' /etc/grub.conf

    mkdir Pei/u01/app/oracle/product/webcenter

    chown-r oracle: oinstall/U01

    end %

    % packets

    @additional-devel

    @base

    @compat-libraries

    @console-internet

    @debugging

    @directory-customer

    @mail-server

    @fonts

    @graphical-admin-tools

    @hardware-monitoring

    @java-platform

    @large-systems

    @legacy-unix

    @legacy-x

    @nfs-file-server

    @network-file-system-client

    @network-tools

    @performance

    @perl-runtime

    @scientific

    @server-platform

    @system-admin-tools

    # - UNCOMMENT TO DESKTOP - START

    #@basic-desktop

    #@desktop-platform

    #@x11

    # - UNCOMMENT TO DESKTOP - END

    compat - libcap1.x86_64

    compat-libstdc ++-33.i686

    compat-libstdc ++-33.x86_64

    elfutils-libelf - devel.x86_64

    expect.x86_64

    GCC - c++ .x86_64

    glibc.i686

    glibc - devel.i686

    ksh.x86_64

    libaio.i686

    libaio - devel.i686

    libaio - devel.x86_64

    libgcc.i686

    libstdc ++ .i686

    libstdc ++-devel.x86_64

    NSS-softokn - freebl.i686

    numactl - devel.x86_64

    unixODBC.i686

    unixODBC.x86_64

    unixODBC - devel.i686

    unixODBC - devel.x86_64

    glibc.x86_64

    glibc - common.x86_64

    glibc - devel.x86_64

    glibc - headers.x86_64

    NSS-softokn - freebl.x86_64

    Oracle-RDBMS-server-11 GR 2-preinstall

    end %

  • Cannot create agents on the DB Instance in Foglight 5.6.4

    Hello

    We use Foglight 5.6.4 Infra-monitoring.

    We monitor Web, App and DB servers using the tool for different applications. In the Assistant database discovery database dashboard, we find all the instances running on a particular host of DB. We are able to establish connectivity between the host and the instance by providing credentials in the wizard.

    The question here is, when we try to follow the proceedings by creating an agent, it throws an error ' ERROR CREATING AGENT'. We checked the credentials as well as with the relevant team, but we are unable to create the agent on the instance.

    Please advise on the same.

    Kind regards

    Guenoun

    Cool, glad to help you.

    Please mark this as answered.

  • create the missing icon against the section of the form of the application instance

    Hi all

    I use OIM 11 g R2 PS2, and I see that create icon missing against the section of the form of the application instance. I am trying to create an instance of the application, and when I try to load the form, I don't see the icon 'create' at all.

    Is this a known problem. ?

    Thanks in advance.

    This changed in OIM 11 g R2 PS2 version. To create resources for the instance of the application, you must follow the steps below:

    1. connect the console to sysadmin

    2. create a sandbox

    3. go in Configuration--> Form Designer--> select the resource type--> click on the button create

    From there, you can create the form. Once the form is created, it will be visible in the Instance, application from which you can modify the same.

    HTH

  • How a RAC DB 'spreads' the only instance to multiple instances?

    GI/RDBMS Version: 11.2.0.3

    OS: Oracle Linux 6.3

    File system: ASM

    When a RAC database is created using dbca, manually, or restore RMAN, the DB is created in the first Node1 with cluster_Database = FALSE.

    Then, you run the following (for 3-node RAC) commands to Node1

    srvctl add the d o $ORACLE_HOME lmnprod +LMNPROD_DATA01/lmnprod/spfilelmnprod.ora Pei database

    srvctl add instance d lmnprod-i lmnprod1 - n hwcarser290

    srvctl add instance d lmnprod-i lmnprod2 - n hwcarser291

    srvctl add instance d lmnprod-i lmnprod3 - n hwcarser292

    Once the DB is created, mounted and open in Node1 and the above commands are executed, you define cluster_Database = TRUE and Instance2 startup and Instance 3 in Node2 and Node3.

    I just want to know how Node2 and Node3 had knowledge of the DB and joined the cluster DB? What happens internally?

    In General, registration in OCR is not required for the database to a cluster database.

    Migration of database unique to the cluster instance consists of creation of redo and undo tablespace for the new instance newspapers and allowing this forum (thread). If the database is managed by the policy, this is done automatically for the new node.

  • What are the changes that the installation of BizTalk has on the SQL instance?

    Original title: BizTalk.

    Hello.

    I want to install BizTalk.
    BizTalk and SQL are different servers.
    I would like to know what are the changes that the installation of BizTalk on the SQL instance.
    Can anyone help?
    Thkz

    Hello

    I know it's late to answer this question, just in case someone else look through this issue.

    BizTalk installation does nothing to SQL Server, but make BizTalk Configuration. When configure us BizTalk on any SQL Server (same or different), it creates the required databases and SQL Server works on this server.

    Here is a series of articles on installing and configuring BizTalk Server: http://sandroaspbiztalkblog.wordpress.com/2013/05/16/biztalk-2013-installation-and-configuration-install-and-configure-biztalk-server-2013-part-9/

    Thank you!

  • I would like to know how to create a slide show on the pictures I imported on my computer.

    I have vista and found library in my programs. I was able to import pictures from my digital camera, but can't see how to create a slide show. Please instruct me how to do this. Also, I have several clips video and panoramas. How can I include these? Thank you in advance. Shoshana

    I have vista and found library in my programs. I was able to import pictures from my digital camera, but can't see how to create a slide show. Please instruct me how to do this. Also, I have several clips video and panoramas. How can I include these? Thank you in advance. Shoshana

    =============================================
    Perhaps the following links will propose a few ideas:

    Windows Vista-
    See the photos as a slide show
    http://Windows.Microsoft.com/en-us/Windows-Vista/see-pictures-as-a-slide-show

    Windows Vista-
    Choose a theme for your slide show
    http://Windows.Microsoft.com/en-us/Windows-Vista/choose-a-theme-for-your-slide-show

    Windows Vista-
    Use pictures as a screen saver
    http://Windows.Microsoft.com/en-us/Windows-Vista/use-pictures-as-your-screen-saver

    If you want to create a slide show, you can save and share with others
    Movie Maker, ay be worth a try:

    Windows Vista-
    Demo: Create a slide show with music in Windows Movie Maker
    http://Windows.Microsoft.com/en-us/Windows-Vista/demo-create-a-slide-show-with-music-in-Windows-Movie-Maker

    How to easily create and edit slide shows/videos
    Windows Movie Maker (Vista)
    http://www.YouTube.com/watch?v=0Lz046qcBk4

    In regards to your panoramas... free Photo Story 3 can a pan
    side to side... just set a start and an end point. However... Photo
    History cannot import videos... just photos.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    PhotoStory 3 for Windows
    http://www.Microsoft.com/download/en/details.aspx?ID=11132
    (works on XP, Vista and?) Win7?)

    This is not a full tutorial, but should be enough to help you started...

    First be sure that the photo is less than 7200 x 7200 pixels pixels.

    Import a panoramic photo in Photo Story 3 and move on
    the screen "tell your photos and customize the animation."
    (do not remove the black borders)

    On the left, click Custom animation...

    Check the box on the screen to customize the animation...... "specify
    Start and end Position of the movement "." Resize and reposition the
    Start management Position and final Position you prefer and
    on the left, click the Preview button to see the result.

    Also you can import multiple instances of a photo and
    Pan from point A to point B in the first instance,... then point B
    point c on the second instance and so on.

    When the effects of movement are completed you can add music if
    you want and go to the screen "Save Your Story."

    You can left click on the 'Settings' button for several choices of
    resolution... the profile of 1024 x 768 is perhaps a good choice.

    Also... Choose a backup location and a name for your video.

    To save the project as a. WMV video file... click Next
    last time.

    Then you can import that video as well as other photos and
    video clips in DVD Maker to create your DVD. If you have
    problems with the video clips you may need to convert to MP4
    paste them into WMV format before importing in creation of DVD.

    More info...

    Create a story from a single
    Another Photo with Photo Story 3

  • Unable to save the secondary instance of ACS.

    Hello

    I did upgarde IOS on an instance of the ACS and tried to register in the main proceedings. I get an error message 'Could not be saved due to IP address or hostname not valid'.

    > IOS is the same as in the primary.

    > DNS is resolve the two instances of ACS IP address.

    > Tried with the two great account admin (default and created manually)

    Still I am facing the same issue. Related snap is attached.

    Can someone help me on this please.

    I was unable to view the image.

    after upgrade acs 5.5 secondary server cannot register the main server
  • How to start the database using CRS to start the database instance

    Dear Experts,

    How to start the database using CRS to start the database instance

    As a solution: remove the write permission on the/etc/oratab user database to prevent update to arrive.

    There is no harmful effects known to CRS / RDBMS operation if this workaround solution is used. This has been discussed in Bug 13028802.

  • Oracle SOA Suite 11 g for the payload of the Composite instance

    Hello! Im trying to run code from guide Oracle SOA Suite 11 g - get the payload instance of Composite - Part2

    IM added to the code to display the string after transformation:

    import java.io.StringWriter;

    import java.sql. *;

    import java.util.Hashtable;

    Javax.naming import. *;

    Javax.xml.transform import. *;

    Import javax.xml.transform.dom.DOMSource;

    Import javax.xml.transform.stream.StreamResult;

    Oracle.xml.binxml import. *;

    Oracle.xml.parser.v2 import. *;

    Import oracle.xml.scalable.InfosetReader;

    public class GetPayload {}

    public static connection getConnection() bird Exception {}

    Context ctx = null;

    Hashtable ht = new Hashtable();

    HT.put (Context.INITIAL_CONTEXT_FACTORY, "WebLogic.JNDI.WLInitialContextFactory");

    HT.put (Context.PROVIDER_URL, "t3://test.ru:8001");

    CTX = new InitialContext (ht);

    javax.sql.DataSource ds = (javax.sql.DataSource)ctx.lookup("jdbc/SOADataSource");

    Return ds.getConnection ();

    }

    public static String getPayload() {}

    Statement stmt = null;

    Fitting out = null;

    ResultSet rs = null;

    String query =

    'select xmldoc.document DOC' + 'from xmldoc, instance_payload inspay, composite_instance cmpins xml_document ' +.

    "where xmldoc.document_id = inspay.payload_key"+ ".

    ' and inspay.instance_id = cmpins.id "+".

    ' and inspay.instance_type = 'composite' "+".

    "and doc. DOCUMENT_TYPE = 2 "+"

    'and inspay.instance_id = 1933802 ";

    String payload = "";

    XMLDocument doc = null;

    try {}

    connection = getConnection().

    stmt = connection.createStatement ();

    RS = stmt.executeQuery (query);

    XMLDOMImplementation xmldomimpl = new XMLDOMImplementation();

    While (RS. Next {}

    BinXMLProcessor xmlprocessor = BinXMLProcessorFactory.createProcessor ();

    XMLStream BinXMLStream = xmlprocessor.createBinXMLStream (rs.getBlob ("DOC"));

    BinXMLDecoder xmldecoder = xmlstream.getDecoder ();

    XmlReader InfosetReader = xmldecoder.getReader ();

    doc = (XMLDocument) xmldomimpl.createDocument (xmlreader);

    TransformerFactory tf = TransformerFactory.newInstance ();

    Transformer transformer;

    transformer = tf.newTransformer ();

    transformer.setOutputProperty (OutputKeys.OMIT_XML_DECLARATION, "yes");

    StringWriter writer = new StringWriter();

    transform. Transform (new DOMSource (doc), new StreamResult (writer));

    payload = m:System.NET.SocketAddress.ToString () .replaceAll () writer.getBuffer ("<", "& lt;"). replaceAll (">","& ;"); gt)

    }

    } catch (Exception e) {}

    e.printStackTrace ();

    } {Finally

    try {}

    If (rs! = null)

    RS. Close();

    If (stmt! = null)

    stmt. Close();

    If (connection! = null)

    Connection.Close;

    } catch (Exception e) {}

    }

    }

    return the payload;

    }

    Public Shared Sub main (String [] args) {}

    System.out.println (getPayload ());

    }

    }

    To project Im added a few jar:

    xmlparserv2.jar of middleware/oracle_common/modules/oracle.xdk_11.1.0

    wlclient.jar of /oracle/middleware/wlserver_10.3/server/lib

    When Im im project making errorrunning:

    D:\Oracle\Java\jdk1.6.0_45\bin\javaw.exe-serveur - classpath C:\JDeveloper\mywork\ParseXMLbin\.adf; C:\JDeveloper\mywork\ParseXMLbin\GetPayload\classes;D:\libs\oracle.xdk_11.1.0\xmlparserv2.jar;D:\libs\wlclient.jar-Djavax.net.ssl.trustStore=D:\Oracle\Middleware1\wlserver_10.3\server\lib\DemoTrust.jks GetPayload

    java.lang.ClassCastException: java.lang.Object incompatible with java.io.Serializable

    at weblogic.iiop.IIOPOutputStream.writeAny(IIOPOutputStream.java:1588)

    at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2231)

    at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:414)

    at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)

    at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:225)

    at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)

    at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1963)

    at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:2001)

    at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2266)

    at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke (unknown Source)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)

    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)

    to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)

    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    WebLogic journal file /oracle/middleware/user_projects/domains/ECMdomain/servers/soa_server1/logs/soa_server1.log

    # < 17 November 2015 09:44:04 EET > < WARNING > < RMI > < webtst.russvet.ru > < soa_server1 > < ExecuteThread [ASSET]: '0' for the queue: '(self-adjusting) weblogic.kernel.Default' > < < WLS Kernel > > <>< ad53144a2e378d05:19b7a705:15101221102:-8000-00000000002ec16c > < 1447746244170 > < BEA-080003 > < RuntimeException thrown by rmi server: weblogic.jdbc.common.internal.RmiDataSource.getConnection)

    java.lang.ClassCastException: java.lang.Object incompatible with java.io.Serializable.

    java.lang.ClassCastException: java.lang.Object incompatible with java.io.Serializable

    at weblogic.iiop.IIOPOutputStream.writeAny(IIOPOutputStream.java:1588)

    at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2231)

    at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:414)

    at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)

    at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:225)

    at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)

    at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1963)

    at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:2001)

    at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2266)

    at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke (unknown Source)

    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:667)

    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)

    to weblogic.rmi.internal.BasicServerRef$ 1.run(BasicServerRef.java:522)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)

    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)

    at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Could help you find the solution?

    Thanks for the help guys.

    I created wlfullclient.jar and added instead wlclient.jar

    1. go to the server/lib directory.

    CD WL_HOME/server/lib

    2. use the following command to create wlfullclient.jar in server/lib directory:

    java-jar wljarbuilder.jar

    3. you can now copy and group wlfullclient.jar with client applications


    After that, I got error about not activate remote JDBC. Solution:

    /Oracle/middleware/user_projects/domains/ECMdomain/bin/setDomainEnv.sh

    WLS_JDBC_REMOTE_ENABLED = "-Dweblogic.jdbc.remoteEnabled =true"


    After these steps, I waited to succeed =) but once again an error:

    java.lang.NoClassDefFoundError: oracle/sql/BfileDBAccess

    Solution: add ojdbc6.jar to the project


    Now all the perfect job. I hope that this statement will help someone!

  • Retrieve the name of the App Instance in the adapter

    Hello

    I'm trying to get the name of the App Instance in the adapter, it was not able to do this using a standard adapter set Variable.

    Could someone provide your comments on this. I tried mapping using information request, but was not able to get through it.  Appreciate your comments on this.

    I'm looking for is, I have a connected Instance of App created attached to RO / res IT. I have attached a custom adapter, I try to get the name of the App Instance I ask in the adapter.

    Use case is as below:

    1. the user requests App Instance in the catalog search screen

    2. from the successful presentation of the request, I invoke adapter where I need to get the instance of the application that the user requests.

    Thank you

    REDA

    Using the key to process Instance and the name of the object resource:

    Instance of account = null;

    Research of SearchCriteria = new SearchCriteria (ProvisioningConstants.AccountSearchAttribute.OBJ_NAME.getId (), resourceName, SearchCriteria.Operator.EQUAL);

    List accountsProvisionedToUser = getProvSvc () .getAccountsProvisionedToUser (take, true null, search),

    ACCOUNTS:

    for (account: accountsProvisionedToUser) {}

    If (account.getProcessInstanceKey () .equalsIgnoreCase (processInstanceKey)) {}

    instance = account;

    LOGGER.log (Level.INFO, "account Instance Found: Ouedraogo Key:"+ account.getAccountID () ');

    ACCOUNTS of break;

    }

    }

    The name is instance.getAppInstance () .getApplicationInstanceName)

    -Kevin

  • This error: failed to start the Server Instance because the integrated Weblogic domain has not been built successfully.

    Hi Experts,

    JDeveloper 11.1.1.4.0 version, Windows 7.

    I installed jdeveloper 11g Studio Edition Version 11.1.1.4.0.

    «I'm trying to start the integrated by weblogic server: start run instancei Server weblogic the next ERREURLa get, Server Instance may not start because the integrated Weblogic domain was built not log successfully.the as a result of info"D:\Oracle\Middleware\oracle_common\common\bin\wlst.cmd ' C:\Users\aroy\AppData\Roaming\JDeveloper\system11.1.1.4.0\o.j2ee.adrs\CreateDefaultDomain.py «»

    I tried searching but could not solve this problem.

    Reinstalled Jdeveloper, formatted my system did not work. Different version of JDeveloper also gives the same error in my system.

    One thing when I go to the folder structure, I can see the default domain contains only the config folder. The rest are missing.

    Also, I have all the rights of administrator on all folders/subfolders. I can create a separate domain and run the weblogic. But I can't start the new instance of JDeveloper. I get the same error.

    Thank you

    Roy.

    Also, what OS you are using?  I had a similar problem under win8

  • Running the Single Instance and RAC on the same server of different homes.

    Hi guys,.

    I already have 4 node RAC12c installed on OLE 6.

    I'm planing on some of my other 12 single instance databases on other migration for RAC nodes.

    Please correct me here if I am wrong...

    My understanding is that, to be able to use DBCA or rconfig for conversion of database instance RAC, the only instance and RAC cluster must run on the same server or machine node.

    Thanks to this understanding... Am planing on the installation of a binary single instance on one of my cluster node node1 say and then use RMAN to duplicate the single instance or just an RMAN restore from the node of the instance that is unique to this node1. Am capable of this plan must then use DBCA or rconfig to convert the CARS database.

    Now, my question is can I run a single instance and RAC on the same server for different homes with different database ports?

    2. for these unique instance that runs on the server RAC 1 node, can I use the RAC database listener that runs from the House of the grid or I have to create another auditor?

    Thank you in advance and also let me know if I can use DBCA or rconfig when the only instance and rac database are on separate nodes.

    K

    Fix. And that's what I would normally do. In general, I would have just an ORACLE_HOME directory that can be used by the punctual and RAC databases at the same time.

    See you soon,.
    Brian

  • Add instance with the values of the previous instance drop-down list

    Hi all!

    Need help with javascript.   I have a form that contains a radio button B when you select it, shows a subform.  Inside the subform is a table that contains a drop-down list.  The drop-down list is populated based on a previous option box A, who has been chosen and is a subset of the possible values.

    The user can click a button to create an additional instance of the subform.  It's the new instance is in the original version of the subform, and the drop-down list is not the subset of values.

    How can I get the drop-down list in the added instance view only the subset dropdown values?

    Let me know if you need more information.

    Thank you!

    Jodi

    You need to access the instance of right holders...

    Because you create new instances, you must access them using the method resolveNode()

    You can access the instance by using the 0-based index, if you are in the event to initialize the combo you can simply use 'this' instead of 'Main.PreApproved.Awardees.Table1.Row1.AwardType '.

    When you add an instance to the click event of button:

    var newAwardees = Awardees.instanceManager.addInstance (1);

    newAwardees.presence = "visible";

    newAwardees.Table1.Row1.AwardType.clearItems ();

    newAwardees.Table1.Row1.AwardType.addItem ("prize for Excellence in mentoring Faculty");

    //[...]

    DropDownList initialize event:

    If (this.length == 0) {}

    this.clearItems ();

    this.addItem ("prize for Excellence in mentoring Faculty");

    //[...]

    }

    If you change the value in the option button (which modifies the subset values):

    for (var i = 0, oLen is Main.PreApproved.Awardees.instanceManager.count; I< olen;="">

    var oneAwardees = Main.PreApproved.resolveNode ("Fellows [" + I.ToString + "]");

    oneAwardees.Table1.Row1.AwardType.clearItems ();

    oneAwardees.Table1 "Row1.AwardType.addItem ("prize for Excellence in mentoring Faculty");

    //[...]

    }

    I hope this helps!

Maybe you are looking for