P6 R8.2 Integration API

Hi,
I'm trying to use integration API on P6 R8.2, I have installed P6 R8.2 with Oracle XE, when I'm trying to use integration API I just get "Unable to get database instances". Do I have to install weblogic? or Do I miss a configuration?

Maybe a bit late, but for others running into this problem, this is in the Oracle Knowledge base:
The P6 R8.1 and R8.2 Integration APIs are not designed to work with P6 R8.1 and R8.2 Professional databases, but they can be patched to do so by following these instructions:
Install P6 Professional R8.1 or R8.2
Download, extract and install the R8.1 or R8.2 Integration API but do not run the database configuration wizard
Copy the integration jar file from the P6 Professional installed folder to the API installed folder.  For example, copy intgserver.jar from “C:\Program Files\Oracle\Primavera P6\P6 Professional\Pro\Java\lib” to: “C:\P6IntegrationAPI_1\lib”
Run database configuration as Administrator by navigating to Start -> Programs -> Oracle – Primavera P6 -> Primavera P6 API -> Database Configuration
(Optional) Run API Demo by navigating to Start -> Programs -> Oracle – Primavera P6 -> Primavera P6 API -> Demo -> General Demo

Similar Messages

  • I am getting "Fatal Error: null" when connection to P6v8.3.2 DB using P6 Integration API

    I am getting "Fatal Error: null" when connection to P6v8.3.2 DB using P6 Integration API.
    I can connect via P6 client using admin account but cannot connect using P6 API. If I provide invalid credentials it says that the credentials are incorrect. When correct credentials are provided, it comes up with the above error.
    Stacktrace is atteched.
    Please assist.
    Thanks
    Sunil

    Hi Sunil,
    In the absence of sample code it is difficult to identify the cause. If that is not possible, you can try logging SR with Oracle support.
    Regards,
    Sachin Gupta

  • P6 r8 Integration API issue

    Hello all,
    I want to update Physical percent complete of an activity using the integration api. To do that I am setting
    Task status to "IN_PROGRESS"
    Percent Complete Type to "PHYSICAL"
    Physical Percent Complete to 20%
    Code snippet
    a.setPercentCompleteType(PercentCompleteType.PHYSICAL);
    a.setStatus(ActivityStatus.IN_PROGRESS);
    a.setPhysicalPercentComplete(new Percent(0.20);
    However the code does not update the activity physical percent complete. Has any one used Integration API to update Physical percent complete for an activity?
    Any help will be appreciated.
    Thanks,
    Sachin

    I highly doubt that, and have heard nothing about that whatsoever.
    The SDK is still supported and has been around over a decade, I don't think it's going anywhere.

  • Integration API method to get display name

    Is there a method in Integration API to get display name of columns.
    I want a method like getDisplayName(string fieldName) returns the name displayed on Primavera UI.

    Hi Onkar,
    not sure if you already testet it like that, but as far as I know the full username of an AD user is displayed just the way it is, for an enterprise user.
    Have you checked, if the full name is filled with AD information?
    If not, you might check your settings in the CMC -> "Authentication" -> "Windows AD" -> "Import Full Name and Email Address"
    I can not check it with our test system, cause our user names are identical to our full names.
    But it might give you a hint!
    Regards
    Jan
    Edited by: Jan Fröhlich on Jul 23, 2009 1:00 PM

  • Primavera login error with Integration API (Ver. 8.3)

    Dear all
    Currently, I found one issue while using [Session.login] method on Primavera Integration API (Ver8.3).
    [Codes]:
       DatabaseInstance[] dbinstance = Session.getDatabaseInstances(RMIURL.getRmiUrl(RMIURL.LOCAL_SERVICE));
       session = Session.login(RMIURL.getRmiUrl(RMIURL.LOCAL_SERVICE),
                                              dbinstance[0].getDatabaseId(),
                                              "UserId",
                                              "Password");
    [Error Messages]:
    com.primavera.integration.client.ClientException: Fatal error: null
      at com.primavera.integration.client.Session.a(Session.java:387)
      at com.primavera.integration.client.Session.login(Session.java:347)
      at ite.test.main(test.java:29)
    Caused by: java.lang.NullPointerException
      at com.primavera.bo.datacaches.ServerUserPrivsCache.getServerUserPrivsCache(ServerUserPrivsCache.java:749)
      at com.primavera.bo.common.b.a(LoginHelper.java:360)
      at com.primavera.bo.common.b.a(LoginHelper.java:168)
      at com.primavera.bo.remotable.SessionLifetime.login(SessionLifetime.java:57)
      at com.primavera.bo.remotable.qproxy.SessionLifetime.login(SessionLifetime.java:76)
      at com.primavera.bo.DBSessionLifetime.login(DBSessionLifetime.java:28)
      at com.primavera.integration.server.ServerFacadeBase.login(ServerFacadeBase.java:434)
      at com.primavera.integration.server.ServerFacade.login(ServerFacade.java:11)
      at com.primavera.integration.client.LocalSession.login(LocalSession.java:94)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:601)
      at com.primavera.integration.client.Session.a(Session.java:359)
      ... 2 more
    Does anyone kind to help me to solve this?

    rp0428 wrote:
    Since that is a 3rd party API throwing the exception you will need to post in a forum for that API.
    I'm locking this thread now.

  • Primavera P6 Analytics and Primavera Integration API

    Hi,
    I am running the runetl.sh script, and getting an error. Here's the excerpt:
    transform [INFO] (Message) - === Step 1, Part 1 ====================================================
    transform [INFO] (Message) - === Run the ETL calculation process (StartETLJava)
    transform [ERROR] (Message) - Connection problem: Unable to connect to API (ServerException) You are not allowed to run the Integration API as a user license has not been assigned to you. The license can be assigned by opening the Users dialog in the Project Management application and checking the appropriate checkbox on the Licensing tab. Please contact your administrator.
    Do I need to install Primavera P6 Integration API on the machine where Primavera P6 Project Management is installed?
    Thanks,
    Jenny

    Unfortunately, the complete log is way too long (I'd need to chop it up into 5 or 6 posts, at least). Instead, here's the relevant section from the log file:
    <08.13.2010 01:46:38> transform [INFO] (Progress) - Step 1/6 Part 1/1 - [08/13/2010 01:46:38] EtlCalc -- Run the ETL calculation process (StartETLJava)
    <08.13.2010 01:46:40> transform [INFO] (Message) - Connecting to jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=server1.example.com) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xe.us.oracle.com))) as STAGEUSER
    <08.13.2010 01:46:41> transform [INFO] (Message) - === Step 1, Part 1 ====================================================
    <08.13.2010 01:46:41> transform [INFO] (Message) - === Run the ETL calculation process (StartETLJava)
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory structure...
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/ActvCodes
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/ProjCodes
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/RsrcCodes
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/ActivitySpread
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/AssignmentSpread
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/ActivityCodeHierarchy
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/ProjectCodeHierarchy
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/ResourceCodeHierarchy
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/CostAccountHierarchy
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/WBSHierarchy
    <08.13.2010 01:46:43> transform [INFO] (Message) - BULK.TEMP: Initializing bulk temp directory: /u01/app/oracle/P6RepDB_1/p6rdb/temp/EPSHierarchy
    <08.13.2010 01:46:43> transform [INFO] (Message) - Using Business Object Batch Size 1024
    <08.13.2010 01:46:43> transform [INFO] (Message) - ETL Process starting. Date, time: Fri Aug 13 00:46:43 GMT-05:00 2010
    <08.13.2010 01:46:43> transform [INFO] (Message) - Preparing the database for ETL load
    <08.13.2010 01:46:43> transform [INFO] (Message) - Starting database check VerifyMetadataExistsValidator (Verify that the ODSMETADATA table exists and has data)
    <08.13.2010 01:46:43> transform [INFO] (Message) - VerifyMetadataExistsValidator completed succesfully
    <08.13.2010 01:46:43> transform [INFO] (Message) - Starting database check VerifyMetadataNoDuplicatesValidator (Verify that the ODSMETADATA table does not contain duplicate entries)
    <08.13.2010 01:46:43> transform [INFO] (Message) - VerifyMetadataNoDuplicatesValidator completed succesfully
    <08.13.2010 01:46:43> transform [INFO] (Message) - Starting database check VerifyTempDirWritableValidator (Verify that the temp dir location (for the hierarchy and csv files) exists and is writable)
    <08.13.2010 01:46:43> transform [INFO] (Message) - VerifyTempDirWritableValidator completed succesfully
    <08.13.2010 01:46:43> transform [WARN] (Message) - Unable to parse tracer port as integer (null), using default 9120
    <08.13.2010 01:46:49> transform [INFO] (Message) - Initializing
    <08.13.2010 01:46:49> transform [INFO] (Message) - Adding db entry {id=1, Name=Stage, URL=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=server1.example.com) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xe.us.oracle.com)))}
    <08.13.2010 01:46:51> transform [ERROR] (Message) - Unable to log into API
    com.primavera.ServerException: You are not allowed to run the Integration API as a user license has not been assigned to you. The license can be assigned by opening the Users dialog in the Project Management application and checking the appropriate checkbox on the Licensing tab. Please contact your administrator.
         at com.primavera.integration.server.ServerFacadeBase.login(ServerFacadeBase.java:436)
         at com.primavera.integration.server.ServerFacade.login(ServerFacade.java:11)
         at com.primavera.integration.client.LocalSession.login(LocalSession.java:92)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.primavera.integration.client.Session.a(Session.java:382)
         at com.primavera.integration.client.Session.login(Session.java:370)
         at com.primavera.er.stage.connection.a.if(Unknown Source)
         at com.primavera.er.stage.client.ETLProcess.int(Unknown Source)
         at com.primavera.er.stage.client.ETLProcess.new(Unknown Source)
         at com.primavera.er.stage.client.ETLProcess.startLoadProcess(Unknown Source)
         at com.primavera.er.stage.client.StartETLJava.startETL(Unknown Source)
         at com.primavera.er.stage.client.StartETLJava.start(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.primavera.er.util.JavaClassInvokerAction.doAction(Unknown Source)
         at com.primavera.er.util.CommandInvoker.a(Unknown Source)
         at com.primavera.er.util.CommandInvoker.invoke(Unknown Source)
         at com.primavera.er.util.CommandInvoker.main(Unknown Source)
    <08.13.2010 01:46:51> transform [ERROR] (Message) - Connection problem: Unable to connect to API (ServerException) You are not allowed to run the Integration API as a user license has not been assigned to you. The license can be assigned by opening the Users dialog in the Project Management application and checking the appropriate checkbox on the Licensing tab. Please contact your administrator.
    <08.13.2010 01:46:51> transform [ERROR] (Message) - The main class (com.primavera.er.stage.client.StartETLJava) failed
    java.lang.Exception: ETL Process failed to complete. Check log file for more information
         at com.primavera.er.stage.client.StartETLJava.a(Unknown Source)
         at com.primavera.er.stage.client.StartETLJava.start(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.primavera.er.util.JavaClassInvokerAction.doAction(Unknown Source)
         at com.primavera.er.util.CommandInvoker.a(Unknown Source)
         at com.primavera.er.util.CommandInvoker.invoke(Unknown Source)
         at com.primavera.er.util.CommandInvoker.main(Unknown Source)
    <08.13.2010 01:46:51> transform [INFO] (Message) - Connecting to jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=server1.example.com) (PORT=1521))(CONNECT_DATA=(SERVICE_NAME=xe.us.oracle.com))) as STAGEUSER
    <08.13.2010 01:46:51> transform [INFO] (Progress) - Step 1/6 Part 1/1 - FAILED (1) (0 hours, 0 minutes, 12 seconds, 867 milliseconds)

  • Primavera P6 R82 Integration API - EPS getSummaryTotalCostVariance Issue

    Hi!
    We have recently upgraded our EPPM instance from R80 to R82 and now experiencing strange issues with getting summary total cost variance on the EPS level through the Integration API: it returns null value.
    We upgraded our app with the new client library and included all the necessary fields during loading of the EPS and all the other fields are returned in a proper way, except this one. More than that, functions getSummaryActualTotalCost and getSummaryBaselineTotalCost also return null.
    Has anyone faced the same problems and what is the solution?

    No solution but i just check the web services and it is also returning null.
    Gene

  • Primavera Integration API and retrieving fields

    Hello,
    I am trying out Integration API with Primavera P6, Release 7. So far it looks straight forward and I am able to retrieve most of the field values from project object and activity object but I am having hard time figuring out how to retrieve the following two that I can see in Primavera UI. I do not see any straight forward method on either project or activity to get these.
    I would appreciate, any help from experts here. Please see attached screen shot for reference.
    1. Global Responsibility
    2. Original Duration

    Original Duration is Planned Duration.
    Note:  The total working time from the activity planned start date to the planned finish date. The planned working time is computed using the activity's calendar. This field is named OriginalDuration in Primavera's Engineering & Construction and Maintenance & Turnaround solutions.
    Global Responsibility looks like an Activity Code.
    V/r,
    Gene

  • Download attachment binary via integration API?

    I've been using the CMS integration API to do everything I've needed to do. But I cannot figure out how to download the binary of an attachment. I can figure out how to get all the attachment info associated with a CMS document, but I cannot figure out how to download the binary of the attachment itself. Is this possible?
    I'm currently integration with CMS version 13.
    Thank you very much,
    Billy McCafferty

    Hello Billy,
    I believe that the API can only be used to add references to files that already exist in a specific location and the API cannot be used to add files to or download files from the file server.
    Hope this helps.

  • Is there a Business Objects Data Integrator API / SDK to "execute" DI jobs?

    Hello,
    I am searching for a Business Objects Data Integrator API / SDK that can be used to remotely execute BOBJ DI jobs (like in scheduling BOBJ XI docs).
    I found AdapterSDK from BOBJ DI but this is used to create adapters usable with DI (for various sources and targets). I am interested only in executing an already created job...
    Thank you in advance,
    Adrian Mitrica

    You'll probably be better off posting here:
    [SAP Community Network Forums » Enterprise Information Management » Data Integration and Quality Management|
    I'm just going by the description of the forum but that looks better than this one(?):
    This forum is dedicated to topics related to Data Integration (Data Integrator, Data Federator, Text Analysis for Data Integrator, Rapid Marts, and Integration for PeopleSoft Enterprise), Data Quality (Data Quality and Data Insight), and Metadata Management.
    I'd move your thread but I do not have the rights to do this move...
    Good luck,
    - Ludek

  • P6 v7 Integration API

    Has anyone heard of if P6 v7 Integration API is going to be desupported after the introduction of web service some time back. Is there anyone from Oracle support or sales team who can comment on this?
    Regards,
    Sachin

    I highly doubt that, and have heard nothing about that whatsoever.
    The SDK is still supported and has been around over a decade, I don't think it's going anywhere.

  • Job Scheduling Integration API

    I want to integrate ORACLE Job scheduling with my Visual Basic program. While going through ORACLE Enterprise Manager Application Developer's Guide I found out that there is an API which provides Commit, DeleteJob etc. commands to manage jobs. From where can download the API and if there are any sample programs available in CPP or VB?
    Appreciate your help.
    Thanks.

    try using DBMS_JOB package. It has all the necessary API's for your VB development. Enterprise Manager uses this package for it's Job Scheduler.

  • GetItemData integration api: unable to read data for custom item

    Hello,
    I am trying to retrieve the data of an custom item via the getItemData api but i am gett the error message
    "Not implemented for this item type"
    I checked the api documentation, the list of supported item types include custom methods.
    Is there any thing that i need to maintain for the custom method so that i can read the data stored by it using the getItemData api.
    or is it simply not possible to read custom item data.
    Thanks for the help,
    Regards,
    Saurav

    Hi Ruediger,
    Thanks for the reply.
    To test the getItemData API i have implemented the hello world custom method example (java script).
    I created an item using the UI and edidted the content.
    when i try to read the saved data using the api i am getting the message
    encountered an error:
    Server returned HTTP response code: 400 for URL: https://streamwork.com/v1/items/5EXAbr-TgVCJV1qgL8-g1W/item_data?
    <?xml version="1.0" encoding="UTF-8"?>
    <error>
      <http_status>400 Bad Request</http_status>
      <message>Not implemented for this item type.</message>
    </error>
    When i try to read the data of a text item using the same API I am getting the correct response
    <text_item>
       <text_content><p>Hello testing</p></text_content>
    </text_item>
    So i was wondering how i can implement the getItemData for my custom method.
    Thanks and regards,
    Saurav.

  • Bug in P6 integration API. Where do I post it?

    assert new com.primavera.common.value.Percent(0.1) != new com.primavera.common.value.Percent(0.9)
    this fails

    Whats the error you are getting? You may have to log an SR with Oracle Support

  • Integration API Question

    re-posted to P6 EPPM forum
    Edited by: user538011 on Nov 10, 2011 4:27 AM

    It's possible but will require a fair bit of coding, it's not something that can be handled with just a widget by itself.
    First your web form would not be a widget, it would be a regular html based form. Upon submit this html form submits the form data to Echosiging via the SendDocument method. (this will take the form values and merges this with a template document, and send it by email to the intended recipient)
    The html form would have a field asking for an email, which can be used to set the recipient of the agreement.
    I the html form you'd also ask the ssn info, which can be used to set a password in the send document method.
    The SendDocument mehtjod will send an email to the set recipient, who will click the link in the email. This will prompt them to enter the password before they can sign.
    As for the user from your website, there's 2 main ways of going about this.
    if you want the agreement to come from the actual user, then first all your users need to be part of your Echosign account. assuming the form is behind a secure part of the site, you can use the login details for the SenderInfo part of the senddocument method.
    You could also have the agreement come from a central email address and capture the form filler via a form field in the main form and merge this data on Echosign document.

Maybe you are looking for

  • My emails no longer show up unless I go to the mail app manually. Never had a problem before this. Help!

    My emails no longer show up unless I go to the mail app manually. Never had a problem before this. Help! I have shut off phone I have tried to change the time for how long the mail will show up but nothing is working

  • JDBC Thin driver and Oracle names server

    Hi Any managed to get the Thin driver to user the Names Server aliases, ie I want to connect to service xxx like jdbc:oracle:thin:@xxxx and not specify instance and port as the DB is running in a multiple machine cluster and can be switched to a diff

  • Export a Joint to Excel

    Hello, i want to export a joint to Excel. When i export this joint, can i  save the hierarchie as a Excel worksheet ?? System BI 7.0 Thanks to all barish

  • Describe distance error in upgrade 7.0

    Hi , I need to add IN BYTE MODE or IN CHARACTER MODE in this line . DESCRIBE DISTANCE BETWEEN e071_rotab-ta_pgmid AND e071_rotab-trkorr INTO keylength. The keylength is of type p. Should i add byte or character ? Moderator message: Last warning, one

  • Partner Function YS not defined

    Dear Friends, We have applied support pack SAPKH47022 as per SAP recommendation. Now when we are creating sale order its giving a Warning Message as "Partner Function YS not defined" we can neglect the message and can go forward, but we have some cus