Result in attributes

Hello,
I just installed the Oracle 9iAS v. 1.0.2.2.0 and the newest (beta) XDK. Now some of my XSQL-pages don't work anymore.
I have the problem isolated to queries like
(SELECT COUNT(*) FROM test) AS "@total"
I get an oracle.xml.sql.OracleXMLSQLException that an "@" is not allowed in an XML-tag name. On my previos installation the xsql-servlet converted those tags to attributes in xml what is what I want it to do.
Has anything changed in the new iAS, or do I have to set some parameters?
Any help is greatly appreciated.
Malte

I just searched my classpath for the xsu12.jar and found, that there were two versions in it. My fault was that I just copied the unzipped XDK into my iAS home, but the installer installed XSU12.jar in the folder ORACLE_HOME/RDBMS/jlib and not in ORACLE_HOME/lib, and so I haven't replaced it.
Replaced the XSU and now everything is working.
Thanks for your time
Malte

Similar Messages

  • Search Result- Marketing Attributes

    Hi All,
    How to display markeing attribues on the search result page?
    Regards,
    Piyush

    Hi Sascha,
    There are two solutions for marketing attributes.
    1)Enhance  ICCMP_BP_SEARCH
       Enhance View: ICCMP_BP_SEARCH/BupaDetailB2B
       open context node: customers.
    right click on the attributes, click on create
    use following BOL Relationship:
    BOL Entity: BuilHeader
    BOL Attribute: BuilHeader(relations) --> BuilMktAttributeRel ---> Builmktattribute --> attributes --> add attribute and description.
    The problem is you can display only one value.
    2nd solution:
    Enhance BP_DATA
    Enhance view : BP_DATA/MarketingAttributeEL
    Enhance View:BP_DATA/MarketingAttributeEF
    you can display marketing attributes on UI As a table displaying attribute set, attribute, value.
    Regards
    Krishna

  • MDX missing out 'All' level results for attribute joined to leaf level of a hierarchy

    I have an MDX query with a cross-join of a hierarchy and a simple attribute on rows.  The leaf level of the hierarchy maps one-to-one with the simple hierarchy, while the other levels map onto multiple values of the simple attribute.  In the results,
    an 'All' level row of the simple hierarchy is produced for all values of the hierarchy.  However:
    1. if the rows are numbered using Rank, the row number that the 'All' rows of the root level values of the hierarchy should have is skipped, and the rows that should have it have a repeat of the single child's row number.
    2. in SSRS no 'All' level of the simple attribute is found for the root level of the hierarchy.
    My reading of this is that the All level is not being produced for the one-to-one root level relationship, and the query is reading the first non-empty value.
    Any thoughts on (1) how to force the production of the missing 'All' level values; and (2) how to use Scope or some other means to place values in the positions where they are missing.
    Ken

    It would be helpful to see your MDX query and a screenshot illustrating the results!
    Thanks! Josh

  • Result set --- can you reference in two locations (jsp and doVIew())

    I need help figuring out what I am doing wrong.
    In my doView() function I am saving a result set
      NamingEnumeration person = details.executeDetails(fullname);I need to reference this result set from my doView method and inside my jsp page, this is why I have stored this inside a session variable.
    //doView() method
    NamingEnumeration person = details.executeDetails(fullname);
    if(person != null){                           
      while(person.hasMore()){
       SearchResult sr = (SearchResult)person.next();
       Attributes attributes = sr.getAttributes();
       Attribute attr = attributes.get("x500UniqueIdentifier");
       if (attr != null) {
        Object val = attr.get();
        byte[] buf = (byte[])val;
        String number = new String(buf);
        person_number = removeLeadingZeros(number);
    person.close();
    session.setAttribute("person", person, PortletSession.PORTLET_SCOPE);     
    //jsp page
    NamingEnumeration results = (NamingEnumeration)renderRequest.getPortletSession().getAttribute("person");
    <% if(results != null){
          while(results.hasMore()){
            SearchResult sr = (SearchResult)results.next();
            Attributes attributes = sr.getAttributes();
            String fullName = attributes.get("fullName").toString();
            String description = attributes.get("description").toString();
            String title = attributes.get("title").toString();
            String mail = attributes.get("mail").toString();
            String eduPersonPrimaryAffiliation = attributes.get("eduPersonPrimaryAffiliation").toString();
            String telephoneNumber = attributes.get("telephoneNumber").toString();
            String postOfficeBox = attributes.get("postOfficeBox").toString();
            String[] Name = fullName.split(":");
            String[] Desc = description.split(":");
            String[] JobTitle = title.split(":");
            String[] Email = mail.split(":");
            String[] Class = eduPersonPrimaryAffiliation.split(":");
            String[] Phone = telephoneNumber.split(":");
            String[] BoxNo = postOfficeBox.split(":");
            %>
                //....................... Bunch of printing information here        
               }//end while
         }//end if
         else{%>
              <div>No results found.</div>
         <%}
          results.close();
    Can you not reference a result set from both of these locations?
    Thanks.

    Hi Gravy Train,
    I'm curious about why you are using 2 loops.   You mentioned one is for monitoring and one is for DAQ....what do you mean by that?   What is the overall goal of this piece of code.   Also, I noticed that you are not closing the task.   Since this is just a subset, I realize you could be closing it in your actual code, but just in case you're not.....it is very important that you close all tasks when you are down acquiring data.
    Best Regards,
    Starla T  

  • LDAP not returning correct number of results through Java?

    Hello all,
    I've written a little testing application for my new shiny LDAP server and have the following method in it, which performs a search based on department number:
    public Vector searchLDAP(String depNumber) throws NamingException          
              String uid;
              String mobile;
              String givenName;
              String sn;
              String telephoneNumber;
              String departmentNumber;
              String employeeType;
              String employeeNumber;
              String reportsTo;
              Vector people = new Vector();
              Attributes matchAttributes = new BasicAttributes(false);
              matchAttributes.put(new BasicAttribute("departmentnumber", depNumber));
              NamingEnumeration results = ctx.search(base, matchAttributes);
              SearchResult tempSR;
              Attributes tempAtt;
              LDAPPerson tmp;
              while(results.hasMore())
                   uid = "";
                   mobile = "";
                   givenName = "";
                   sn = "";
                   telephoneNumber = "";
                   departmentNumber = "";
                   employeeType = "";
                   employeeNumber = "";
                   reportsTo = "";
                   tempSR = (SearchResult) results.next();
                   tempAtt = tempSR.getAttributes();
                   if(atts.get("uid")!=null)
                         uid = (String)atts.get("uid").get();
                   if(atts.get("mobile")!=null)
                          mobile = (String)atts.get("mobile").get();
                   if(atts.get("givenname")!=null)
                          givenName = (String)atts.get("givenname").get();
                   if(atts.get("sn")!=null)
                          sn = (String)atts.get("sn").get();
                   System.out.println("Working with " + sn);
                   if(atts.get("telephonenumber")!=null)
                          telephoneNumber = (String)atts.get("telephonenumber").get();
                   if(atts.get("departmentNumber")!=null)
                          departmentNumber = (String)atts.get("departmentNumber").get();
                   if(atts.get("employeeType")!=null)
                          employeeType = (String)atts.get("employeeType").get();
                   if(atts.get("employeenumber")!=null)
                          employeeNumber = (String)atts.get("employeeNumber").get();
                   if(atts.get("reportsTo")!=null)
                          reportsTo = (String)atts.get("reportsTo").get();
                   tmp = new LDAPPerson(uid, mobile, givenName, sn, telephoneNumber, departmentNumber, employeeType, employeeNumber, reportsTo);     
                   people.add(tmp);
              return people;
         }But for some reason (perhaps too much coding and not enough coffee?) I get the same person's details twice, instead of the two users I'm a) expecting and b) have retrieved using ldapsearch on the command line.
    Have I done something really stupid or is there something I'm not aware of?
    Thanks!
    Gemma

    Hello Gemma!
    I think you have used a global class attribute atts and not tempAttr. So you get anything else but not what you wish.
    So i think you should change the code in the following way,
    i thing it should work ...
    (Sorry for the bad code formatting ...)
    Greetings
    public Vector searchLDAP(DirContext ctx, String base, String depNumber) throws NamingException     
    String uid;
    String mobile;
    String givenName;
    String sn;
    String telephoneNumber;
    String departmentNumber;
    String employeeType;
    String employeeNumber;
    String reportsTo;
    Vector people = new Vector();
    Attributes matchAttributes = new BasicAttributes(false);
    matchAttributes.put(new BasicAttribute("departmentnumber", depNumber));
    NamingEnumeration results = ctx.search(base, matchAttributes);
    while(results.hasMore())
    uid = "";
    mobile = "";
    givenName = "";
    sn = "";
    telephoneNumber = "";
    departmentNumber = "";
    employeeType = "";
    employeeNumber = "";
    reportsTo = "";
    SearchResult tempSR = (SearchResult) results.next();
    Attributes atts = tempSR.getAttributes();
         if(atts.get("uid")!=null)
         uid = (String)atts.get("uid").get();
         if(atts.get("mobile")!=null)
              mobile = (String)atts.get("mobile").get();
         if(atts.get("givenname")!=null)
    givenName = (String)atts.get("givenname").get();
         if(atts.get("sn")!=null)
         sn = (String)atts.get("sn").get();
         System.out.println("Working with " + sn);
         if(atts.get("telephonenumber")!=null)
    telephoneNumber = (String)atts.get("telephonenumber").get();
         if(atts.get("departmentNumber")!=null)
    departmentNumber = (String)atts.get("departmentNumber").get();
         if(atts.get("employeeType")!=null)
    employeeType = (String)atts.get("employeeType").get();
         if(atts.get("employeenumber")!=null)
    employeeNumber = (String)atts.get("employeeNumber").get();
         if(atts.get("reportsTo")!=null)
    reportsTo = (String)atts.get("reportsTo").get();
    LDAPPerson tmp = new LDAPPerson(uid, mobile, givenName, sn, telephoneNumber, departmentNumber, employeeType, employeeNumber, reportsTo);     
         people.add(tmp);
    return people;

  • JAXP puts xmlns: attributes in HTML stylesheet output!

    I'm using JAXP 1.2 to convert an XML document to HTML. The problem I am having is that it is placing xmlns: attributes in the first HTML element I output. I believe this has something to do with the fact that the template matches an element in a non-default namespace in the source document. The template is as follows:
    <xsl:template match="news:news-event">
       <table border="0" cellpadding="0" cellspacing="0" width="640">
         <xsl:apply-templates/>
       </table>
    </xsl:template>Which creates the following HTML:
    <table xmlns:news="http://www.news.qut.edu.au/"...(... inserted by me). I have declared the URI for the news namespace in the stylesheet element:
    xmlns:news="http://www.news.qut.edu.au/"I have specified the output method as HTML:
    <xsl:output method="html"/>Is there any way I can stop the transformer from specifying the xmlns: attribute in the output HTML as it is not valid and has nothing to do with the table element I am trying to generate?
    Thanks,

    You need to use the exclude-result-prefixes attribute in your xsl:stylesheet element.

  • Bug report: Search application - vpd results

    Hi APEX team,
    When I use the "Search application" to find text that appears in the Security Attributes->Database Session->Initialization code, I get two results
    1) Attribute: Db Session Init Code (Identifies PL/SQL that is dynamically executed immediately after the user is authenticated and before any application logic is processed. This attribute can assign security policies to restrict access to database tables and views.)2) Attribute: Vpd (Deprecated. Use column DB_SESSION_INIT_CODE)>
    I would only expect one.
    Both open the Application Definition attribute instead of Security - which isn't a huge concern, but may be confusing to some.
    Scott

    Hi Scott,
    thanks for reporting. I have filed bug# 16599622
    Regards
    Patrick
    Member of the APEX development team
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Capturing payroll results

    Hi folks,
    want to capture payroll result in the master data and then to an adhoc query. Found an infotype Payroll Result (0402) and tried configuring the same in Personnel Management -> Human Resources Information System -> Payroll Results.
    In step 1: Define Evaluation Wage Types
    have maintained one entry /560 with Amount selected.
    In step 2: Assign Wage Types
    have maintained one entry of /560 as eval WT and /560 as corresponding WTyp.
    In step 3 : Set Up Payroll Infotypes
    have maintained 0402 for country grp 40 with Active / Generated Check which contains one entry of /560.
    In step 4: Set Up Assignment to Payroll
    have maintained 0402 with Active status.
    While preparing the adhoc query, could see a Zfield made by the system for capturing result of /560.
    Ran payroll for the employees and still this infotype has 0 records.
    Tried doing through RPABRI00 report with no success.
    Can someone please help me with this asap.
    Thanks in Advance !
    Cheers !
    Jack

    HI
    I think you can also fix cells in the interactive planning. Once user executed the forecast at lower level. They can fix the cell for particular KF. I think once you Fix the cell the values from the KF will not get changed.
    I think you can also fix cells using macro. All you need to do is define a simple
    macro with singe step and copy "Values" to "Fixed values" of the same
    key figure. This you define in "Change of scope" of result row
    attribute.
    Thanks
    Amol

  • Pointers needed to enhace BP Search Result

    Hi All,
    I have a requirement where i need to bring an extra field  STATUS in to the BP Search result list. I did a bit of investigation on this and found out the class that is getting triggered is CL_BUPA_IL_SEARCH_SERVICE and the method search_by_bp_general. The control is coming to this method but i didnt find a BADI where i can write the logic for populating the additional result list attribute. I have looked into the BADI_CRM_BUPA_IL_SEARCH_EXT but the control is not coming here. Any pointers on this will be of great help.
    Regards,
    Udaya

    Hi,
    Thanks for the reply..it helped us.
    thanks,
    udaya

  • Solaris 9 Extended Attributes

    Hi,
    I am interested in extended attribute implementation details on TMPFS and NFS file systems.
    'fsattr' man contains following:
    " Conceptually, the attribute model is fully general. Extended
    attributes can be any type of file (doors, links, direc-
    tories, and so forth) and can even have their own attributes
    (fully recursive). As a result, the attributes associated
    with a file could be an arbitrarily deep directory hierarchy
    where each attribute could have an equally complex attribute
    tree associated with it. Not all implementations are able
    to, or want to, support the full model. Implementation are
    therefore permitted to reject operations that are not sup-
    ported. >>>>For example, the implementation for the UFS file
    system allows only regular files as attributes (for example,
    no sub-directories) and rejects attempts to place attributes
    on attributes.<<<<
    Rest of man pages have no information about this feature. I would like to know:
    -Is there any kind of limitation on TMPFS or NFS similar to UFS (what can be attribute)?
    -What are allowed attribute types on TMPFS or NFS?
    -What is point of extended attributes on 'tmpfs'?
    -What is maximum number of extended attributes (if exist)?
    Does anyone know where to find documentation?

    Can you be more specific as to the information you require?
    I take it you're interested in the filesystem extended attributes?
    A good starting point would be the runat(1) man page but if there's
    something specific you're interested in please let me know.
    Cheers,
    Peter.

  • Getting Exchange Server Attributes

    I am trying to connect to Exchange server and get the mail id for a user with name 'Satheesh'. Following exception is occuring:
    Exception in thread "main" javax.naming.NameNotFoundException: [LDAP: error
       code 32 - No Such Object]; remaining name s='satheesh'
    In exchange server, default attributes are set. From outlook I could able to see the following attributes c, a, o, s, g, i, j.
    My Program can be seen below:
    Hashtable env = new Hashtable(11);
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://192.9.100.1:389/s=satheesh,o=domainname");
    try{
    DirContext ctx = new InitialDirContext(env);
    Attributes attrs = ctx.getAttributes("s=satheesh");
    System.out.println("mail: " + attrs.get("mail").get());
    ctx.close();
    catch (NamingException e){
    System.err.println("Problem getting attribute: " + e);
    Thank you in advance.
    regards,
    Satheesh A

    Satheesh,
    To get the mail attribute from LDAP directory, you need to search or provide directory Hirarechy then only your pgm can read the required attribute from the directory. The LDAP directory hirarechy just like Parent and child relation(IMS). Here is the example. in the uid pass whatever you want.
    import javax.naming.directory.*;
    import com.ibm.ldap.ldapv3.*;
    import com.ibm.kfb.ldap.readadd.LDAPConn.*;
    import com.ibm.ldap.*;
    import javax.naming.*;
    import java.util.*;
    import java.io.*;
    * Insert the type's description here.
    * Creation date: (5/16/2002 12:09:27 PM)
    * @author: Srinivasa Rao Murari
    public class ReadAttributes {
         public String ReadAtt;
    * ReadAttributes constructor comment.
    public ReadAttributes() {
         super();
    * Insert the method's description here.
    * Creation date: (5/16/2001 4:00:09 PM)
    * @param args java.lang.String[]
    public static void main(String[] args) {
         ReadAttributes ra = new ReadAttributes();
         System.out.println(     ra.getReadAtt());
    * Insert the method's description here.
    * Creation date: (5/16/2002 12:11:24 PM)
    * @return java.lang.String
    public String getReadAtt() {
    LDAPConn lconn = new LDAPConn();
    NamingEnumeration results1 = null;
    try {
    DirContext rctx = lconn.getConn();
    DirContext ctx = rctx;
    // or
    // ctx =rctx.getSchema("ou=People,o=airius.com");
    try {
    SearchControls constraints = new SearchControls();
    constraints.setSearchScope(SearchControls.ONELEVEL_SCOPE);
    String attrs[] = { "uid" };
    constraints.setReturningAttributes(attrs);
    NamingEnumeration results =
    ctx.search("ou=People,o=airius.com", "cn=*", constraints);
    while (results != null && results.hasMoreElements()) {
    SearchResult si = (SearchResult) results.nextElement();
    Attributes ReadAtt = si.getAttributes();
    System.out.println(ReadAtt);
    } catch (Exception e) {
    System.out.println(e.getLocalizedMessage());
    ctx.close();
    } catch (Exception e) {
    return ReadAtt;
    and in your ldap connection class you need to pass admin user id and password.
    package com.ibm.kfb.ldap.readadd;
    import javax.naming.directory.*;
    import com.ibm.ldap.ldapv3.*;
    import com.ibm.ldap.*;
    import javax.naming.*;
    import java.util.*;
    import java.io.*;
    * Insert the type's description here.
    * Creation date: (5/16/2001 12:12:21 PM)
    * @author: Srinivasa Rao Murari
    public final class LDAPConn {
         public static java.lang.Object Conn;
    * LDAPConn constructor comment.
    public LDAPConn() {
         super();
    * Insert the method's description here.
    * Creation date: (5/16/2002 12:42:42 PM)
    * @return java.lang.Object
    public static DirContext getConn() throws LDAPException, Exception {
         Hashtable env = new Hashtable(11);
    //Initialize the Context Factory.
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory");
    env.put(Context.PROVIDER_URL, "ldap://<yourserverhostname>:389");
         DirContext ctx = null;
    try {
    // Create the InitialContext Factory.
    ctx = new InitialDirContext(env);
    // Pass the Security information to server.
    env.put(Context.SECURITY_AUTHENTICATION, "cn=root");
    env.put(Context.SECURITY_CREDENTIALS, "cn=root");
    env.put(Context.SECURITY_CREDENTIALS, "admin passwd");
    // Close the context when we're done
    // we are closing the ctx after reading the directory in above class
    }catch(Exception e) {
         System.out.println(e.getLocalizedMessage());
         return ctx;
    * Insert the method's description here.
    * Creation date: (5/16/2002 12:42:42 PM)
    * @param newConn1 java.lang.Object
    public static void setConn(java.lang.Object newConn) {
         Conn = newConn;
    I hope it works, good luck.
    Srinivasa

  • OMBPLUS 10.1: how to relate OUTGRP attributes of JOINER to INGRP attributes

    Hi,
    In OMBPlus I'm adding attributes to ingroups of a JOINER operator. I want to connect the resulting outgroup attributes to the next operator. The name of the outgroup attribute can differ from that of the ingroup because ingroup attributes can have the same name, in which case OWB suffixes the outgroup attribute with '_n'.
    How do I relate the outgroup attribute to the ingroup attribute in that case?
    Regards, Jaap.

    Hi,
    The reaction of Oracle: in OWB 10.1 it is NOT possible to find the associated output group attribute of an input group attribute. It is possible in OWB 10.2.0.3 and higher (although the property used is not documented) as follows:
    proc get_associated_input_group { mapName joinerName outGroupName outAttrName} {
    set inputMatchingUoid [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GROUP '$outGroupName' ATT
    RIBUTE '$outAttrName' \
    GET PROPERTIES (JOIN_INPUT_UOID)]
    #puts "inputMatchingUoid = $inputMatchingUoid"
    set inputGroupNames [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GET INPUT GROUPS]
    #puts "inputGroupNames = $inputGroupNames"
    foreach group $inputGroupNames {
    #puts "processing group $group"
    set inputAttrs [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GROUP '
    $group' GET ATTRIBUTES]
    foreach attr $inputAttrs {
    #puts "processing attr $attr"
    set outputMatchingUoid [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GROUP '$group' ATTRIBUTE '$attr' \
    GET PROPERTIES (JOIN_OUTPUT_UOID)]
    if {$outputMatchingUoid == $inputMatchingUoid} {
    return $group
    return "";
    proc get_associated_input_attr { mapName joinerName outGroupName outAttrName} {
    set inputMatchingUoid [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GROUP '$outGroupName' ATTRIBUTE '$outAttrName' \
    GET PROPERTIES (JOIN_INPUT_UOID)]
    #puts "inputMatchingUoid = $inputMatchingUoid"
    set inputGroupNames [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GET INPUT GROU
    PS]
    #puts "inputGroupNames = $inputGroupNames"
    foreach group $inputGroupNames {
    #puts "processing group $group"
    set inputAttrs [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GROUP '$group' GET ATTRIBUTES]
    foreach attr $inputAttrs {
    #puts "processing attr $attr"
    set outputMatchingUoid [OMBRETRIEVE MAPPING '$mapName' OPERATOR '$joinerName' GROUP '$group' ATTRIBUTE '$attr' \
    GET PROPERTIES (JOIN_OUTPUT_UOID)]
    if {$outputMatchingUoid == $inputMatchingUoid} {
    return "$group ATTRIBUTE $attr"
    return "";
    }

  • ACI-protected attributes exposed with attrs=ALL searches

    With DS 6.0,
    I've noticed that searches which don't request specific attributes (i.e. "attrs=ALL" in access log) can get results including attributes that should be unreadable according to ACIs. Conversely, some attributes which SHOULD be readable are not returned.
    If the "should-be-unreadable" attributes are explicitly requested, they are not returned (as one would hope), and if the "should-be-readable" attributes are requested, they ARE returned (also as you'd hope). None of the involved attributes are operational.
    I've noticed that if I search with "*" for the attribute request, the attribute list returned is correct and compliant with the active ACIs. But it seems like the attribute results for "attrs=ALL" searches can be very inaccurate, to the point of exposing attributes that should not be visible. I would think that results for attrs=ALL or attrs="*" searches should be identical, and comply with ACIs.
    Anyone else seen something like this before?
    Thank you,
    -- George

    George,
    as much as I wan tto help there isn't quite enough here to really be able to figure it out. Here's what I can tell you: the ACIs have been tested and deliver the right attributes no matter how the request is made. I've just tried on DS 6.0 with ACIs and both variants of ldapsearch and what I get is consistent.
    If you do reproduce this problem, I invite you to provide the following information:
    1. enough of your DIT to see what to expect
    2. Where your ACIs live
    3. ACIs content
    4. both ldapsearch queries
    regards
    -=arnaud=-

  • Installing XI 3.0 on Solaris - install error occurs

    WAS 640 oracle successfully installed, then I start the XI install and right at the begining I get the following error:
    WARNING 2004-11-02 13:06:50
    Execution of the command "/usr/bin/java '-classpath' '/tmp/sapinst_exe.29773.109
    9418777/JAR/ins-j2ee.jar' '-d64' 'com.sap.ins.j2ee.GetDataModel'" finished with
    return code 1. Output:
    Error occurred during initialization of VM
    java.lang.NoSuchMethodError: java.lang.Class.getName0()Ljava/lang/String;
    WARNING 2004-11-02 13:06:50
    Could not determine a valid JAVA_HOME directory from the environment.
    Transaction begin ********************************************************
    ERROR 2004-11-02 13:06:50
    FKD-00037  Query did not return a result.
    ERROR 2004-11-02 13:06:50
    FKD-00038  Query did not return a result.Select attribute SID, statement: WHERE
    ROWNUM  =  0
    Transaction end **********************************************************
    Thanks
    John

    Hi John,
    1) Check environment of your OS user (root?) by command env and find JAVA_HOME
    2) Add/modify the path
    JAVA_HOME=<blahblah>
    export JAVA_HOME
    Jiri

  • RAC - Oracle Grid Infrastructure configure failed

    Hi, am trying to install 2 node RAC on Oracle VMs. Before the installation during the -preinst check there were few issues which were resolved (ex user equivalence). After that during the installation process of the Grid it failed at step "Configure Oracle Grid Infrastructure for a cluster". After it failed at this step, subsequent steps too failed which I asked OUI to ignore and then I ran both the post installation scripts. And then ran post crsinst which failed. Pasting below the output of the root.sh script, post crsinst and other checks.
    [root@bsfrac01 grid]# sh root.sh
    Running Oracle 11g root.sh script...
    The following environment variables are set as:
    ORACLE_OWNER= oracle
    ORACLE_HOME= /u01/app/11.2/grid
    Enter the full pathname of the local bin directory: [usr/local/bin]:
    Copying dbhome to /usr/local/bin ...
    Copying oraenv to /usr/local/bin ...
    Copying coraenv to /usr/local/bin ...
    Creating /etc/oratab file...
    Entries will be added to the /etc/oratab file as needed by
    Database Configuration Assistant when a database is created
    Finished running generic part of root.sh script.
    Now product-specific root actions will be performed.
    2011-02-13 00:11:55: Parsing the host name
    2011-02-13 00:11:55: Checking for super user privileges
    2011-02-13 00:11:55: User has super user privileges
    Using configuration parameter file: /u01/app/11.2/grid/crs/install/crsconfig_params
    Creating trace directory
    LOCAL ADD MODE
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    root wallet
    root wallet cert
    root cert export
    peer wallet
    profile reader wallet
    pa wallet
    peer wallet keys
    pa wallet keys
    peer cert request
    pa cert request
    peer cert
    pa cert
    peer root cert TP
    profile reader root cert TP
    pa root cert TP
    peer pa cert TP
    pa peer cert TP
    profile reader pa cert TP
    profile reader peer cert TP
    peer user cert
    pa user cert
    Adding daemon to inittab
    CRS-4123: Oracle High Availability Services has been started.
    ohasd is starting
    CRS-2672: Attempting to start 'ora.gipcd' on 'bsfrac01'
    CRS-2672: Attempting to start 'ora.mdnsd' on 'bsfrac01'
    CRS-2676: Start of 'ora.mdnsd' on 'bsfrac01' succeeded
    CRS-2676: Start of 'ora.gipcd' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.gpnpd' on 'bsfrac01'
    CRS-2676: Start of 'ora.gpnpd' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.cssdmonitor' on 'bsfrac01'
    CRS-2676: Start of 'ora.cssdmonitor' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.cssd' on 'bsfrac01'
    CRS-2672: Attempting to start 'ora.diskmon' on 'bsfrac01'
    CRS-2676: Start of 'ora.diskmon' on 'bsfrac01' succeeded
    CRS-2676: Start of 'ora.cssd' on 'bsfrac01' succeeded
    CRS-2672: Attempting to start 'ora.ctssd' on 'bsfrac01'
    CRS-2676: Start of 'ora.ctssd' on 'bsfrac01' succeeded
    ASM created and started successfully.
    DiskGroup DATA1 created successfully.
    clscfg: -install mode specified
    Successfully accumulated necessary OCR keys.
    Creating OCR keys for user 'root', privgrp 'root'..
    Operation successful.
    CRS-2672: Attempting to start 'ora.crsd' on 'bsfrac01'
    CRS-2676: Start of 'ora.crsd' on 'bsfrac01' succeeded
    CRS-4256: Updating the profile
    Successful addition of voting disk 0ea2052d8a714fd7bf46d9d5c785483e.
    Successfully replaced voting disk group with +DATA1.
    CRS-4256: Updating the profile
    CRS-4266: Voting file(s) successfully replaced
    ## STATE File Universal Id File Name Disk group
    1. ONLINE 0ea2052d8a714fd7bf46d9d5c785483e (ORCL:DISK1) [DATA1]
    Located 1 voting disk(s).
    *Failed to rmtcopy "/tmp/filekRIMbG" to "/u01/app/11.2/grid/gpnp/manifest.txt" for nodes {bsfrac01,bsfrac02}, rc=256*
    *Failed to rmtcopy "/u01/app/11.2/grid/gpnp/bsfrac01/profiles/peer/profile.xml" to "/u01/app/11.2/grid/gpnp/profiles/peer/profile.xml" for nodes {bsfrac01,bsfrac02}, rc=256*
    rmtcopy aborted
    Failed to promote local gpnp setup to other cluster nodes
    CRS-2673: Attempting to stop 'ora.crsd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.crsd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.asm' on 'bsfrac01'
    CRS-2677: Stop of 'ora.asm' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.ctssd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.ctssd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'bsfrac01'
    CRS-2677: Stop of 'ora.cssdmonitor' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.cssd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.cssd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.gpnpd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.gpnpd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.gipcd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.gipcd' on 'bsfrac01' succeeded
    CRS-2673: Attempting to stop 'ora.mdnsd' on 'bsfrac01'
    CRS-2677: Stop of 'ora.mdnsd' on 'bsfrac01' succeeded
    Initial cluster configuration failed. See /u01/app/11.2/grid/cfgtoollogs/crsconfig/rootcrs_bsfrac01.log for details
    [root@bsfrac01 grid]#
    [oracle@bsfrac01 bin]$ ./cluvfy stage -post crsinst -n bsfrac01,bsfrac02 -verbose
    Performing post-checks for cluster services setup
    Checking node reachability...
    Check: Node reachability from node "bsfrac01"
    Destination Node Reachable?
    bsfrac01 yes
    bsfrac02 yes
    Result: Node reachability check passed from node "bsfrac01"
    Checking user equivalence...
    Check: User equivalence for user "oracle"
    Node Name Comment
    bsfrac01 passed
    bsfrac02 passed
    Result: User equivalence check passed for user "oracle"
    ERROR:
    PRKC-1094 : Failed to retrieve the active version of crs: {0}
    Checking time zone consistency...
    Time zone consistency check passed.
    ERROR:
    PRKC-1093 : Failed to retrieve the version of crs software on node "java.io.IOException: /u01/app/11.2.0/grid/bin/crsctl: not found
    " : {1}
    ERROR:
    Cluster manager integrity check failed
    PRVF-5434 : Cannot identify the current CRS software version
    UDev attributes check for OCR locations started...
    Result: UDev attributes check passed for OCR locations
    UDev attributes check for Voting Disk locations started...
    ERROR:
    PRVF-5197 : Failed to retrieve voting disk locationsPRKC-1092 : Failed to retrieve the location of votedisks: java.io.IOException: /u01/app/11.2.0/grid/bin/crsctl: not found
    Result: UDev attributes check failed for Voting Disk locations
    Check default user file creation mask
    Node Name Available Required Comment
    bsfrac01 0022 0022 passed
    bsfrac02 0022 0022 passed
    Result: Default user file creation mask check passed
    Checking cluster integrity...
    Node Name
    bsfrac01
    Cluster integrity check failed This check did not run on the following node(s):
    bsfrac02
    Checking OCR integrity...
    Checking the absence of a non-clustered configuration...
    All nodes free of non-clustered, local-only configurations
    ERROR:
    PRKC-1094 : Failed to retrieve the active version of crs: {0}
    ERROR:
    PRVF-5300 : Failed to retrieve active version for CRS on this node
    OCR integrity check failed
    Checking CRS integrity...
    ERROR:
    PRKC-1094 : Failed to retrieve the active version of crs: {0}
    ERROR:
    PRVF-5300 : Failed to retrieve active version for CRS on this node
    CRS integrity check failed
    OCR detected on ASM. Running ACFS Integrity checks...
    Starting check to see if ASM is running on all cluster nodes...
    PRVF-5137 : Failure while checking ASM status on node "bsfrac01"
    PRVF-5137 : Failure while checking ASM status on node "bsfrac02"
    Starting Disk Groups check to see if at least one Disk Group configured...
    PRVF-5112 : An Exception occurred while checking for Disk Groups
    PRVF-5114 : Disk Group check failed. No Disk Groups configured
    Task ACFS Integrity check failed
    Checking Oracle Cluster Voting Disk configuration...
    ERROR:
    PRKC-1093 : Failed to retrieve the version of crs software on node "java.io.IOException: /u01/app/11.2.0/grid/bin/crsctl: not found
    " : {1}
    ERROR:
    PRVF-5434 : Cannot identify the current CRS software version
    PRVF-5431 : Oracle Cluster Voting Disk configuration check failed
    Checking to make sure user "oracle" is not in "root" group
    Node Name Status Comment
    bsfrac01 does not exist passed
    bsfrac02 does not exist passed
    Result: User "oracle" is not part of "root" group. Check passed
    Post-check for cluster services setup was unsuccessful on all the nodes.
    [oracle@bsfrac01 bin]$ /u01/app/11.2/grid/bin/ocrcheck
    Status of Oracle Cluster Registry is as follows :
    Version : 3
    Total space (kbytes) : 262120
    Used space (kbytes) : 408
    Available space (kbytes) : 261712
    ID : 1671840043
    Device/File Name : +DATA1
    Device/File integrity check succeeded
    Device/File not configured
    Device/File not configured
    Device/File not configured
    Device/File not configured
    Cluster registry integrity check succeeded
    Logical corruption check bypassed due to non-privileged user
    ASM looks to be up and running..
    [oracle@bsfrac01 bin]$ /usr/sbin/oracleasm listdisks
    DISK1
    DISK2
    DISK3
    DISK4
    DISK5
    DISK6
    [oracle@bsfrac01 bin]$ /usr/sbin/oracleasm status
    Checking if ASM is loaded: yes
    Checking if /dev/oracleasm is mounted: yes
    Please help.

    before installation have u configure the private interconnect on both the nodes to same network adapter..
    for example on node 1 if the private interconnect is on eth0 then on the node 2 it should use eth0 only...
    for private interconnect use the hostonly option on both the nodes in the network configuration page of the vmware or virtual box..
    and for public network it can be bridged
    more over if you are installing on the laptop its good to configure the SSH using the OUI.. rather than doing it manually.. as it saves time
    the private and the public networks should not have same range of ip address. like if public address are like 192.168.2.222/255.255.255.0 and private address have to be different like 10.10.1.2/255.0.0.0 (this is just an example)
    have to configured the NTP.
    any ways try installing the oracle rac on virtual box follow the steps given the below website they are pretty straight forward...
    http://www.oracle-base.com/articles/11g/OracleDB11gR2RACInstallationOnOEL5UsingVirtualBox.php

Maybe you are looking for

  • Help me in choosing..

    hello I want to make my listening better now. I am completely unaware of these soundcard speaker things. I am using 2 tiny desktop speakers that came with my HCL pc 5years ago. So i want to make an upgrade for my ears. The thing is that i am not BCA(

  • A/R Invoice that link with Down Payment document have reversed GST from DP

    Hi All, I am buzzle on why SAP has changed their function for down payment in 8.81 version. For example, if SO amount is $1000 and GST is $70, but company request their customer to pay $500 as deposit (add GST $35). In SAP 8.81 version, the double en

  • How do I make it so I can browse the internet through my mac but view it on my tv? (I have an HDMI cable)

    I bought an HDMI cable (and adapter for my Macbook Pro), but I don't want to purchase Apple TV. All I want is to make it so I can view programs such as the internet on my tv... sort of like a larger monitor.

  • Rgb to cmyk turns white brown

    Hi Guys In previous versions - changing from RGB to CMYK or vice versa would change the colours slightly but ever since CC when I change one to the other my white goes brown and there is a yellow tone to the image. Has anyone else experienced this -

  • ASM_PREFERRED_READ_FAILURE_GROUPS

    Hi, the ASM_PREFERRED_READ_FAILURE_GROUPS parameters is very useful for exented/streched Cluster to minise the traffic between all the extende Node. In the same idea and to design extended cluster with Exadata somebody have any idea of parameter insi