Build Oracle NoSQL C API errors

Hello

I'm currently building the NoSQL Database C customer pilot available Oracle from: Oracle database NoSQL downloads

kV - c - 2.1.57.tar

I get the following error when I try to run cmake:

-Identifying C compiler is GNU

-Identification of CXX compiler is GNU

-Check for the work of the C compiler: GCC

-Check for the work of the C compiler: GCC - works

-Detection of compiler ABI C information

-Detection info ABI C compiler - done

-Check compiler CXX work: / usr/bin/c ++

-Check compiler CXX work: / usr/bin/c ++-work

-Detection of information CXX compiler ABI

-Detection info ABI CXX compiler - done

At CMakeLists.txt:71 (message) CMake error:

NYI is not found

-Incomplete configuration, errors have occurred!

My environment:

I'm using Oracle Linux 6.5. Extracts /usr/local/jdk1.7.0_51 and JAVA_HOME set to /usr/local/jdk1.7.0_51 Java JDK

I have already installed the prerequisite not listed in BUILDING.html:

1 KVHOME=/var/kv/kv-2.1.57

2 updated version 1.7 of Java 51

3 Avro C library installed in the default location: / usr/local

Any ideas?

Thank you

Jason

OK, I was able to solve my problem by uninstalling yum cmake and manually build the latest version of CMake - Cross platform make. (to date, the current stable version is 2.8.12.2).

Very simple installation

wget http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz

tar - xvvf cmake - 2.8.12.2.tar.gz

CD cmake - 2.8.12.2

. / bootstrap

do

make install

update your PATH

After that, I was able to run cmake again for c - kv - 2.1.57 successfully.

But then I met another problem over do it with the following error message:

LD WARNING not found libmawt.so (not exact error, do not remember)

/usr/lib/JVM/JRE/lib/AMD64/libjawt.so: refers to 'awt_FreeDrawingSurface@SUNWprivate_1.1' the undefined

...

To resolve this problem, I ran:

Locate libmawt.so

Choose the one with jre/lib/amd64/xawt and set that RPATH path in my environment.

Export RPATH = / your/path/may/change/jre/lib/amd64/xawt

Then ran once again. Then make install. Success!

Hope this helps someone else.

Thank you

Jason

Tags: Database

Similar Questions

  • Oracle of the MAF error ' cannot read the DataControl uses on loadDataControl for the id:

    Need help!

    I created a simple SOAP web service for a remote database that works very well in 12 c WebLogic Server and also in the Jdeveloper HTTP Analyzer. When I use the same web service in the attached code, I get the following error (I've included output System.out.println in Ref. to the flow of the code) I use Jdeveloper 12 c MAF 2.0.0.0.41 on Mac OSx 10.9.

    Chk #0

    Processing line # 1

    Chk #1

    Chk #2

    [SEVERE - oracle.adfmf.framework - AmxBindingContext - loadDataControlById] Cannot read the DataControl uses on loadDataControl for the id: WLFNewActWS. [SEVERE - oracle.adfmf.framework - SynchronizationDC - syncDataFromOfflineToOnline] [Ljava.lang.StackTraceElement;@467c53d3

    @


    Sorry about that, I think I'm wrong you.

    OK, I created an example to test what goes wrong.

    1. server side, create a project named Employee_ws

    a. Department_ws.java

    public interface {Department_ws}

    public boolean addDepartment (a Department);

    }

    b. Department.java

    public class {Department

    public Department() {}

    Super();

    }

    int departmentId.

    String departmentName;

    locationId int;

    managerId int;

    {} public void setDepartmentId (int departmentId)

    this.departmentId = departmentId;

    }

    public int getDepartmentId() {}

    return departmentId.

    }

    {} public void setDepartmentName (String departmentName)

    this.departmentName = departmentName;

    }

    public String getDepartmentName() {}

    return departmentName;

    }

    {} public void setLocationId (int locationId)

    this.locationId = locationId;

    }

    public int getLocationId() {}

    return locationId.

    }

    {} public void setManagerId (managerId int)

    this.managerId = managerId;

    }

    public int getManagerId() {}

    return managerId;

    }

    }

    c. Department_impl.java

    @WebService

    / public class Department_impl implements Department_ws {}

    public Department_impl() {}

    Super();

    }

    @Override

    @WebMethod

    {} public boolean addDepartment (@WebParam (name = "arg0") a Department)

    If (Department! = null) {}

    int departmentId = department.getDepartmentId ();

    String departmentName = department.getDepartmentName ();

    int locationId = department.getLocationId ();

    managerId int = department.getManagerId ();

    Connection Conn;

    try {}

    Conn = ConnectionFactory.getConnection ();

    conn.setAutoCommit (true);

    Statement šment = conn.createStatement ();

    String inset_sql =

    "INSERT INTO dept (department_name, location_id, department_id, manager_id) VALUES ('+ '.

    departmentId + "," "" + departmentName + "'," + locationId + "," + managerId + ")";

    šment. Execute (inset_sql);

    Returns true;

    } catch (Exception e) {}

    System.out.println (e);

    }

    }

    Returns false;

    }

    }

    d. ConnectionFactory.java

    import java.sql.Connection;

    to import java.sql.DriverManager;

    import java.sql.SQLException;

    Connect to the database

    public class {ConnectionFactory

    public ConnectionFactory() {}

    Super();

    }

    protected static connection conn = null;

    public static connection getConnection() bird Exception {}

    If (conn == null) {}

    try {}

    String driver = "oracle.jdbc.driver.OracleDriver";

    String url = "jdbc:oracle:thin:@localhost:1521:orcl";

    User String = "employee";

    String password = "employee";

    Class.forName (driver);

    Conn = DriverManager.getConnection (url, user, password);

    } catch (SQLException e) {}

    System.Err.println (e.getMessage ());

    }

    }

    return conn;

    }

    public static {} Sub closeConnection()

    try {}

    If (conn! = null) {}

    Conn.Close ();

    Conn = null;

    }

    } catch (Exception ex) {}

    throw new RuntimeException (ex);

    }

    }

    }

    You can run Department_impl.java to start the Web service. i.e. http://127.0.0.1:7001 / Employee_ws-Client-context-root/Department_implPort? WSDL

    Server side sql:

    CREATE USER employee IDENTIFIED BY employee DEFAULT TABLESPACE users

    Temp TEMPORARY TABLESPACE

    Users WE QUOTA UNLIMITED;

    GRANT create employee to logon.

    GRANT alter used to logon.

    GRANT create any employee at table;

    GRANT create trigger employee TO;

    GRANT create any employee to view;

    GRANT create sequence employee TO;

    GRANT create synonym employee TO;

    GRANT create type employee TO;

    GRANT create employee to procedure;

    CREATE TABLE (DEPT

    DEPARTMENT_ID NUMBER (7, 0) NOT NULL,

    DEPARTMENT_NAME VARCHAR2 (50).

    NUMBER OF LOCATION_ID (7, 0),

    MANAGER_ID NUMBER (7.0)

    );

    2 create a mobile application of CRG named Dept

    a. Department.java (even for the server)

    b. SynchronizationDC.java

    import java.util.ArrayList;

    import java.util.List;

    Import oracle.adfmf.framework.api.AdfmfJavaUtilities;

    Import oracle.adfmf.framework.exception.AdfInvocationException;

    public class SynchronizationDC {}

    public SynchronizationDC() {}

    Super();

    }

    public void syncDataFromOfflineToOnline() {}

    It's just for testing, so I build Department manually instead of mobile db data, please replace in your business logic

    A Department = new Department();

    department.setDepartmentId (1);

    department.setDepartmentName("1");

    department.setLocationId (1);

    department.setManagerId (1);

    NamesList list = new ArrayList (1);

    List ParamsList = new ArrayList (1);

    List TypesList = new ArrayList (1);

    namesList.add ("arg0");

    paramsList.add (department);

    typesList.add (Department.class);

    try {}

    AdfmfJavaUtilities.invokeDataControlMethod ("Dept_WS", null, "addDepartment", namesList, paramsList,

    typesList);

    } catch (AdfInvocationException e) {}

    System.out.println (e);

    }

    }

    }

    c. new an AMX pag called Dept.amx

    "http://www.w3.org/2001/XMLSchema-instance" xmlns:amx ="http://xmlns.oracle.com/adf/mf/amx"

    xmlns:dvtm ="http://xmlns.oracle.com/adf/mf/amx/dvt" >. "

    Text = "syncDataFromOfflineToOnline."

    Disabled = "#{!}" Bindings.syncDataFromOfflineToOnline.Enabled}"id ="cb3"/ >

    d. deploy on Android Simulator

    Click the button and a new record have been db insert through the webservice, search the remote db recording

    If above does not solve your problem, please let me know, thanks.

    Byron

  • PLSQL and Oracle NoSQL

    Hello

    Our main source of data is in Oracle database 11g on top, we build app that queries data with PLSQL.
    We would like to some data for Oracle port NoSQL and using it in our application.

    What would be the best approach using PLSQL to manipulate data in Oracle NoSQL. I see that there is no direct way - what would be the best 'no - lead "? Java component in PLSQL? Any other?

    Thank you!

    user11202580 wrote:
    Hello

    Our main source of data is in Oracle database 11g on top, we build app that queries data with PLSQL.
    We would like to some data for Oracle port NoSQL and using it in our application.

    What would be the best approach using PLSQL to manipulate data in Oracle NoSQL. I see that there is no direct way - what would be the best 'no - lead "? Java component in PLSQL? Any other?

    Uh, using PLSQL to manipulate NoSQL is hard to do. Currently, how you handle Oracle NoSQL data using the API of the Java Oracle NoSQL.

    Charles Lamb

  • Cannot Hibernate Qosmio G30 on Win MCE - API error

    Cannot Hibernate Qosmio G30 on Win MCE
    message: not enough system resources... The API error!
    HOW CAN I SOLVE THIS PROBLEM?
    Thanks in advance.

    Hello

    This message appears on the computer that is running Microsoft Windows XP SP2, Windows XP Tablet PC 2005 Edition or Windows XP Media Center Edition 2005 and when the computer uses 1 gigabyte (GB) of RAM or more.
    To resolve this issue, please contact Microsoft Technical Support.
    To obtain the fix, visit the following Microsoft Web site:
    http://support.Microsoft.com/?kbid=909095

    Check this announcement:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=13120

    Here, you have already posted the question!

    Another useful site:
    http://www.ntwizards.NET/2004/10/13/Hibernate

    This should help

  • GeoSPARQL on Oracle NoSQL

    Hello

    Can the NoSQL Oracle support for the vocabulary of GeoSPARQL?

    See you soon

    Hi Joguerra,

    Currently, the semantic graph RDF for Oracle NoSQL Database can't vocabulary GeoSPARQL. You can, however, use semantic graph RDF for Oracle Database (12 c) and it comes with a GeoSPARQL support.

    There is a strong requirement to have some features Geo space with RDF for Oracle NoSQL Database, please file a feature request.

    It will be useful,

    Zhe Wu

  • Ontology protégé on Oracle NoSQL

    Hello

    I created an ontology on 4.3 protected it seems good. I added the plugin NoSQL protégé and I saved the model and inference in the database. Everything worked smooth far and the database is not complain with the ontology. Now, I use joseki endpoint to query the database. Joseki runs on Tomcat 7.0.X and the application seems correct.

    If I run the query below on protected against my ontology, it works. But when I return to the Joseki, this does not

    PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# >

    PREFIX rdfs: http://www.w3.org/2000/01/RDF-schema# >

    PREFIX xsd: http://www.w3.org/2001/XMLSchema# >

    PREFIX owl: http://www.w3.org/2002/07/OWL# >

    Fn PREFIX: http://www.w3.org/2005/XPath-functions# >

    PREFIX ouext: http://Oracle.com/Semtech/Jena-adaptor/ext/user-def-function# >

    PREFIX oext: < http://Oracle.com/Semtech/Jena-adaptor/ext/function# >

    PREFIX ORACLE_SEM_FS_NS: http://Oracle.com/Semtech#timeout=100, qid = 123 >

    SELECT * WHERE {? x? y? z}

    LIMIT OF 100

    The Joseki, I have updated the file joseki - config.ttl with the configuration of my store, I restarted the tomcat, but nothing happens. The same query, does not seem to work but nothing complains against her.

    < #oracle > RDF: type oracle - nosql:Dataset;

    Joseki:poolSize 2;         # Number of simultaneous connections allowed for this dataset.

    Oracle - nosql:connection # NoSQL connection

    [

    RDF: type oracle - nosql:NoSQLConnection;

    Oracle - nosql:hostName "myhost."

    Oracle - nosql:storeName 'test '.

    Oracle - nosql:hostPort '5000 ';

    ];

    ##oracle - nosql:allGraphs [];         # Descriptions chart

    [Oracle - nosql:defaultGraph];

    ##oracle - nosql:namedGraph [oracle - nosql:graphName <http://g1>];

    .

    I'm not entirely sure where the problem is, the database is running, even if I think the question is whether the request is well formatted and the configuration is correct. Can anyone around help me find out where is the problem?

    Thank you and I would appreciate any idea

    Hi Joguerra,

    You can read the ontology saved in protégé of NoSQL DB?

    Zhe Wu

  • The 193 Win32 API error. Cannot call the C function: private_load_AgCoreTest

    Hi guys,.

    When I try to run Lightroom, I get the following error messages:

    • Win 32 API error 193 ("(erreur inconnue)" ") when you call: load the getCFunction library
    • Cannot call the C function: private_load_AgCoreTest

    So I can't access my library or to make a new library by importing files.

    I run it on a laptop with Windows 10 64-bit, Nvidia GeForce 850 m GTX and a processor Intel Core i7 with 12 GB of RAM and a 500 GB SSD (Samsung 840 EVO). All with the latest drivers.

    I tried already to unninstall and reinstall the program, all my packages of Visual C++ and the dll. I also already checked my permissions for the folder from catalog and granted full access. I also tried to run Lightroom as administrator.

    None of these solved the problem.

    What should I do?

    According to the notes, they followed the instructions here to fix the problem: error: "unable to start correctly (0Xc000007b)"

  • If I run my query in Oracle, it runs without error, but when I run inside c# gives ORA-00911: invalid character

    I like to run below myQuery in c#, but saw the error. No idea what is the problem? If I'm running myQuery in Oracle, it runs without error. "I put all the +" before starting the myQuery line and "end of the line. but nothing changes.

    myQuery =

    with the CBC as

    (

    Select src.table_name src_table_name, src.column_name src_col_name, src.data_type src_data_type, src.data_length src_data_len, src.data_precision src_data_precision, src.data_scale src_data_scale,

    CBC. Nullable src_nullable, decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as src_cons

    all_tab_columns CBC

    left join (select Cc.Column_Name, Uc.Constraint_Type

    of user_cons_columns cc, uc user_constraints

    where Cc.Constraint_Name = Uc.Constraint_Name

    and Cc.Table_Name = Uc.Table_Name) t

    on T.Column_Name = Src.Column_Name

    where table_name = 'INSTRUCTOR' and owner = "ERHAN"

    ),

    As TGT

    (

    Select tgt.table_name tgt_table_name, tgt.column_name tgt_col_name, tgt.data_type tgt_data_type, tgt.data_length tgt_data_len,

    TGT.data_precision tgt_data_precision, tgt.data_scale tgt_data_scale, tgt.nullable tgt_nullable,

    Decode (T.Constraint_Type, 'P', 'Primary Key', 'U', 'Unique', ") as tgt_cons

    from all_tab_columns tgt

    left join (select Cc.Column_Name, Uc.Constraint_Type

    of user_cons_columns cc, uc user_constraints

    where Cc.Constraint_Name = Uc.Constraint_Name

    and Cc.Table_Name = Uc.Table_Name) t

    on T.Column_Name = TGT. Column_Name

    where table_name = 'INSTRUCTOR' and owner = "SARIGUL"

    ),

    col_details as

    (

    Select src.src_table_name, nvl (tgt.tgt_table_name, first_value (tgt_table_name) more (order of nulls last tgt_table_name)) tgt_table_name;

    SRC.src_col_name, src.src_data_type, src.src_data_len, src.src_data_precision, src.src_data_scale, src.src_nullable, src_cons,

    TGT.tgt_col_name, tgt.tgt_data_type, tgt.tgt_data_len, tgt.tgt_data_precision, tgt.tgt_data_scale, tgt.tgt_nullable, tgt_cons

    the CBC

    outer join full tgt

    on)

    SRC.src_col_name = tgt.tgt_col_name

    )

    )

    Select *.

    de)

    Select the case sensitive option

    When tgt_data_type! = src_data_type or tgt_data_len! = src_data_len or tgt_data_precision! = src_data_precision or tgt_data_scale! = src_data_scale or tgt_nullable! = src_nullable

    then 'alter table ' | tgt_table_name | 'Edit ' | tgt_col_name | ' ' || src_data_type | ' ' ||

    -case when src_data_type null ('DATE') then

    on the other

    case

    When src_data_type in ('VARCHAR', 'VARCHAR2')

    then ' (' |) NVL (to_char (src_data_len), ' ') | ') '

    otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')

    end

    end

    ||

    cases where tgt_nullable = 'Y' then 'null '.

    of another end 'not null '.

    || tgt_cons

    When tgt_col_name is null

    then 'alter table ' | tgt_table_name | 'Add ' | src_col_name | ' ' ||  ' ' || ' ' || src_data_type | ' ' ||

    -case when src_data_type null ('DATE') then

    on the other

    case

    When src_data_type in ('VARCHAR', 'VARCHAR2')

    then ' ('| nvl (to_char (src_data_len), ' ') |) ') '

    otherwise decode (nvl (src_data_precision-1),-1, null, nvl (to_char (src_data_precision), ' ') |) ', ' || NVL (to_char (src_data_scale), ' ') | ')')

    end

    end

    || tgt_cons

    When src_col_name is null

    then 'alter table' | tgt_table_name: ' drop '. tgt_col_name

    end alter_statement

    of col_details

    )

    where alter_statement is not null;

    using (OracleConnection conn1 = new OracleConnection (connectionString))

    {

    conn1. Open();

    Dim myQuery = "";

    using (OracleCommand = new OracleCommand (myQuery, conn1) crtCommand)

    {

    richTextBox1.AppendText (output);

    richTextBox1.AppendText (crtCommand.ExecuteNonQuery (). (ToString());

    richTextBox1.AppendText (output);

    }

    }

    VR;

    myQuery=
    @"with src as
    (
    ...
    ";
    

    That means a @ before the beginning of a string literal mean? -C# Foire - Site Home - MSDN Articles

    as an example

    OracleCommand cmd = con.CreateCommand();
    cmd.CommandText = @"begin apps.mo_global.init('SQLAP'); begin apps.fnd_global.apps_initialize(5710, 20639, 200); end; end;";
    cmd.ExecuteNonQuery();
    

    richTextBox1.AppendText (crtCommand.ExecuteNonQuery (). (ToString());                            

    is this correct? Not sure

    as example try

     using (OracleConnection conn1 = new OracleConnection(connectionString))
    {
        conn1.Open();
    
        string myQuery = "......";                  
    
        using (OracleCommand crtCommand = new OracleCommand(myQuery, conn1))
            {
                richTextBox1.AppendText(Environment.NewLine);
                // richTextBox1.AppendText(crtCommand.ExecuteNonQuery().ToString());
    
    OracleDataReader reader = crtCommand.ExecuteReader();
    while (reader.Read())
      {
        richTextBox1.AppendText(reader.GetString(0));
        // may be also
        // richTextBox1.AppendText(Environment.NewLine);
      }
    
                richTextBox1.AppendText(Environment.NewLine);
    
            reader.Dispose();
            cmd.Dispose();
            }
    
        con.Dispose();
    }
    
  • APP-FND-01564: ORACLE in fdmload 942 error

    Hello

    get this error after downloading menu, form, function, the user when I try to access
    APP-FND-01564: ORACLE in fdmload 942 error
    cause: fdmload failed due to the ORA-00942: TABLE or view does not exist.

    initially I fndload downloaded foregoing an instance and uploaded to another instance

    User menu all are visible, but when I have the responsibility to access and click on the function get this error.

    what Miss me
    Thanks in advance
    userg

    What the download command and log file?

    Please consider using 'CUSTOM_MODE = FORCE' option when you download - please see these documents for more details.

    Advice on FNDLOAD [ID 735338.1]
    How to manually download the files "ldt" [1092694.1 ID]

    Thank you
    Hussein

  • iBot errors: Oracle BI presentation server error: access denied

    Hi all
    I'm trying to configure the iBot for the first time in our dev instance.
    I get the error next can someone ' a please guide me to solve this problem. I login as an administrator during the creation of the iBot.

    pointers are highly appreciated.

    Thank you
    Vijay


    +++ ThreadID: 70 c: 16:46:13.583 2011-06-08
    [nQSError: 77006] Oracle BI presentation server error: access denied.
    Error codes: OKZJNLK4



    +++ ThreadID: 70 c: 16:46:13.583 2011-06-08
    iBotID: / users/administrator/_ibots/test
    ... Retry loop main iBot.

    +++ ThreadID: 70 c: 16:46:13.583 2011-06-08
    ... Sleep for 5 seconds.

    +++ ThreadID: 70 c: 16:46:18.583 2011-06-08
    [nQSError: 77006] Oracle BI presentation server error: access denied.
    Error codes: OKZJNLK4



    +++ ThreadID: 70 c: 16:46:18.583 2011-06-08
    iBotID: / users/administrator/_ibots/test
    ... Retry loop main iBot.

    +++ ThreadID: 70 c: 16:46:18.583 2011-06-08
    ... Sleep for 8 seconds.

    +++ ThreadID: 70 c: 16:46:26.583 2011-06-08
    [nQSError: 77006] Oracle BI presentation server error: access denied.
    Error codes: OKZJNLK4



    +++ ThreadID: 70 c: 16:46:26.583 2011-06-08
    iBotID: / users/administrator/_ibots/test
    Exceeded number of retries of request.

    Assign Points if answered your query, Mark also question as answered...

    See you soon
    Ankit

  • Flex Builder 3 and Channel definition-error

    Hello

    I am developing AIR application that connects to the third party through FluorineFx dll. I have FluorineFx Service running. Now the problem is that when I'm trying to run the AIR application in Flex Builder 3 I get following error: "Channel definition, mx.messaging.channels.RTMPChannel, cannot be found. Anyone know what that could be the reason and how to fix it?

    OK, solved the problem. Found answer here: http://forum.fluorinefx.com/viewtopic.php?f=9&t=3

    I have installed LCDS Express and then added fds.swc in my project of screens LCD LIQUID-folder.

  • FPGA Interface C API, error-63105, OR-RIO: C/C++ identifier is already in use and cannot be created.

    Hello

    Installation program:

    1 x the NI PCIe-7841R

    When I am trying to automatically generate a C++ API for my top FPGA VI using the FPGA Interface C API 12.0 I get the following error.

    Error-63105

    NOR-RIO:

    The "NiFpga_FPGATop_IndicatorBool_DMAFIFOtimeoutoccured" C/C++ identifier is already in use and cannot be created.

    Anyone know what this means? Is there some kind of limitation on the appellation of front interface controls?

    /Mola

    Problem solved.

    I had placed two flags with the same name on the front panel - by mistake. It builds the FPGA without errors, but the C API generator was not in favour of that.

    / Mola

  • Get the GPS location API error - provider is not available

    Hello

    I am trying to access the information of location using Android location API (via LocationManager.GPS_PROVIDER), but without success. I get error "provider not available."

    AndroidManifest.xml has lines related to the relevant permissions:


    But I do not get prompt the same security to grant these permissions to my request.

    OS version 2.0.0.3894

    Build 73070

    Thank you.

    I solved this problem by restarting and place the device near a window.

    What I was wondering now is why Android player never asked security permission to access the location of the GPS. What is a function of development?

  • BB JDE 4.7.0 trying to build/run sample source apps errors

    Welcome,

    I'm trying to build and run some of the source sample apps that install with JDE. After struggling with the apparent x 64 defects of decision-making supported for a while, I started my old system 32-bit, all had installed, and it opened with the samples.jdw workspace - looked like success is at hand, to me.  But I tried build and run several applications, all closed with a message like this:

    Building HelloWorldDemo
    C:\Program Research In Motion\BlackBerry JDE 4.7.0\bin\rapc.exe-silencieux import =... name of code \lib\net_rim_api.jar = com\rim\samples\device\helloworlddemo\HelloWorldDemo com\rim\samples\device\helloworlddemo\HelloWorldDemo.rapc warnkey = 0 x 52424200; 0 x 52525400; 0 x 52435200 "C:\Program research in Motion\BlackBerry JDE 4.7.0\samples\com\rim\samples\device\helloworlddemo\HelloWorldDemo.java" "C:\Program research in Motion\BlackBerry JDE 4.7.0\samples\com\rim\samples\device\helloworlddemo\img\helloworld_jde.png"
    I/o Error: CreateProcess: javac-source 1.3 - 1, 3 - g - O d 'C:\DOCUME~1\mmcginty\Local Settings\Temp\rapc_450f47b5.dir' - bootclasspath to target... \lib\net_rim_api.jar - classpath... \lib\net_rim_api.jar "C:\Program research in Motion\BlackBerry JDE 4.7.0\samples\com\rim\samples\device\helloworlddemo\HelloWorldDemo.java" error = 2
    Error while building project

    I have also installed the Java plug-in for Eclipse (which is the environment that I would prefer to use) and copied a couple of samples in its workspace.  After I find it necessary to move the .java files in the. \src dir and adding net_rim_api.jar as an external .jar, I get the following error when you try to debug:

    java.lang.ClassFormatError: field modifiers illegal net/rim/device/api/ui/UiEngine classroom: 0x1A
    at java.lang.ClassLoader.defineClass1 (Native Method)
    at java.lang.ClassLoader.defineClass (unknown Source)
    at java.security.SecureClassLoader.defineClass (unknown Source)
    at java.net.URLClassLoader.defineClass (unknown Source)
    in java.net.URLClassLoader.access$ 100 (unknown Source)
    java.net.URLClassLoader to $1.run (unknown Source)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClassInternal (unknown Source)
    at java.lang.ClassLoader.defineClass1 (Native Method)
    at java.lang.ClassLoader.defineClass (unknown Source)
    at java.security.SecureClassLoader.defineClass (unknown Source)
    at java.net.URLClassLoader.defineClass (unknown Source)
    in java.net.URLClassLoader.access$ 100 (unknown Source)
    java.net.URLClassLoader to $1.run (unknown Source)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClassInternal (unknown Source)
    at java.lang.ClassLoader.defineClass1 (Native Method)
    at java.lang.ClassLoader.defineClass (unknown Source)
    at java.security.SecureClassLoader.defineClass (unknown Source)
    at java.net.URLClassLoader.defineClass (unknown Source)
    in java.net.URLClassLoader.access$ 100 (unknown Source)
    java.net.URLClassLoader to $1.run (unknown Source)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.net.URLClassLoader.findClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClass (unknown Source)
    at java.lang.ClassLoader.loadClassInternal (unknown Source)
    Exception in thread "main".

    When I try to run the same sample, he complains no head type, even if the field is entered in the config to run (just as it is in the debug configuration.)

    Anyone know what I'm doing wrong here?

    TIA,

    Mark McGinty

    Addendum:

    When I run IDE. BAT (via the shortcut created in the start menu) on my x 64 system, I get the following error in a pop-up window:

    "Cannot find RIMIDEWin32Util.dll.  It is an essential component of the IDE. »

    This file exists in the same directory as the lot.  This error does not on my 32-bit system, so apparently a x 64 32-bit compatibility layer support problem?  (God forbid we would never lack of x 64 native dev tools.)

    I assume that you are addressing the BB JDE problem, and that by JDK you are referring to the Sun JDK (which installed to C:\Program Files\Java\jdk1.5.0_19, by default.)  I added the JAVAHOME env variable with that path as the value, and also appended that path + \bin to the PATH variable -- no change.
    

    Go to the window "CMD" (start-> Run-> CMD) and type javac and press ENTER. The use of the java compiler appear?

    However, I noticed that the target dir is a sub in my Temp folder?  Why is it using a tunneled path name?  (e.g., "C:\DOCUME~1\mmcginty\Local Settings\Temp\rapc_769c5235.dir")  Tunneled paths may not be valid on all systems, including mine, I hate that crap, there's no reason, other than lame apps that depend on it, for them to persist to this day -- they were designed for FAT16 down-level compatibility, for cryin out loud, will we never be done with that?
    

    Compiler CAP makes the files and temporary files during the compilation process. It is not a wrong behavior. It is a part of the compilation process.

    btw, I made some headway on the Eclipse Java plug-in end, I found I must create the project as a "Blackberry Project" (by clicking "Other" from the New menu, and choosing BB from the tree.)  Now the app builds without errors but it only creates .class files, and it does not deploy the app to the simulator.
    

    I left using Eclipse a long time ago. Now I do not use it at all. So I have no information about its glitches, sorry.

    From my point of view JDE is best tool.

    Make sure that javac is accessible from the window cmd and post here how are you.

  • Shared Services API - error getting of datasource weblogic/pool/PooledConnectionDataSource

    Hello

    I have a program that connects to the SSP by using the Java API. The code is usually works fine on the other environment.

    This one is on EMP 11.1.2.1 version and I get an error after this procedure - system = CSSSystem.getInstance (context, "");

    27 January 2015 09:36:44 com.hyperion.hit.registry.RegistryUtils buildConnFromDriverManager

    CAUTION: Check if the Instance and Oracle Home environment variables are set properly. RootCause: weblogic.jdbc.sqlserver

    . SQLServerDriver

    Error getting of datasource weblogic/pool/PooledConnectionDataSource

    27 January 2015 09:36:44 com.hyperion.hit.registry.RegistryUtils createNewConnection

    GRAVE: Failed to create the data source connection. RootCause:weblogic/pool/PooledConnectionDataSource.

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - cannot create new database connection by using the data source. RootCause: [weblogic/pool/PooledConnecti

    onDataSource]

    27 January 2015 09:36:44 com.hyperion.hit.registry.Registry lookupComponentsWithException

    INFO: EPMREG-11045

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - cannot create new database connection by using the data source. RootCause: [weblogic/pool/PooledConnecti

    onDataSource]

    27 January 2015 09:36:44 com.hyperion.hit.registry.Registry lookupWithException

    INFO: EPMREG-11038

    27 January 2015 09:36:44 < init > com.hyperion.hit.registry.exceptions.RegistryException

    INFO: Registry Exception occurred - com.hyperion.hit.registry.exceptions.RegistryException: failed to create new database connection

    using data source. RootCause: [weblogic/pool/PooledConnectionDataSource]

    Com.hyperion.hit.registry.Registry 27 January 2015 search 09:36:44

    INFO: EPMREG-11038

    27 January 2015 09:36:44 com.hyperion.css.registry.RegistryManager RegistryManager

    GRAVE: Failed to initialize the instance security EMP of Shared Services. Component marchandises9/FOUNDATION_SERVICES_PRODUCT/SHARED_SERVICES_PR

    PRODUCT is null in the EMP system registry. Check the configuration of the EMP system registry.

    java.lang.NullPointerException

    at start.initialize(start.java:84)

    at the beginning. Sample(Start.Java:59)

    at cc.main(cc.java:10)


    I guess it's something with the SQL Server driver. You have any ideas?

    My ORACLE_HOME and ORACLE_INSTANCE are defined correctly.


    Thanks in advance,


    Kind regards


    Nicolas


    Hello

    I finally got it to work!

    I added libraries of weblogic located under EPM/Middleware/wlserver_10.3/server/lib, and now it works fine.

    It was a pain to find, because the error message did not specify that it was a missing library...

    Anyway, if it helps, here's the list of external libraries that I use:

    'wlssapi.jar '.

    "wlssapi - internal .jar '.

    "wlss - datatier.jar.

    "wlss-descriptor - binding.jar.

    'wlssdiameter.jar '.

    'wlssechosvr.jar '.

    "wlss - mbeaninfo.jar.

    'WLSSSecurityProviders.jar '.

    'wlthint3client.jar '.

    "wlw - langx.jar.

    "wlw-langx - ja.jar.

    "wlw-langx - ko.jar.

    "wlw-langx - zh_CN.jar.

    "wlw-langx - zh_TW.jar.

    "wlw-wsee - soapfault.jar.

    'xmlparserv2_sans_jaxp_services.jar '.

    "xmlrpc - 2.0.1.jar.

    "audit - client.jar.

    "Beaver - 1.0.5.jar.

    'com.bea.core.apache.commons.pool_1.3.0.jar '.

    "commons-lang - 2.1.jar.

    "css.jar".

    'dms.jar '.

    "interop-SDK.

    'ojdl.jar '.

    'quartz.jar '.

    "regexp.jar.

    'Register - api .jar '.

    'scheduler_ces.jar '.

    "sqljdbc.jar.

    'wf_ces_utils.jar '.

    'wf_eng_agent.jar '.

    'wf_eng_api.jar '.

    'wf_eng_server.jar '.

    'wlcipher.jar '.

    'wlclient.jar '.

    "wlcommons - logging.jar.

    'wlconnector.jar '.

    'wldb2.jar '.

    'wldeploy.jar '.

    'wlinformix.jar '.

    "wl-j2ee - client.jar.

    'wljarbuilder.jar '.

    'wljmsclient.jar '.

    'wljmxclient.jar '.

    'wllog4j.jar '.

    'wlnmclient.jar '.

    'wlpool.jar '.

    'wlsafclient.jar '.

    "wls - api .jar '.

    'wlss.jar '.

    'wlss_i18n.jar '.

    Thank you all for your help.

    Kind regards

    Nicolas

Maybe you are looking for