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
Similar Messages
-
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,
JennyUnfortunately, 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) -
Revision: 4840
Author: [email protected]
Date: 2009-02-04 13:20:07 -0800 (Wed, 04 Feb 2009)
Log Message:
Fix bug SDK-18904 Redudant APIs on UICompoennt and GraphicElement, SDK-17508 Applying a translation to a Rect causes shape to be scaled
Fix: remove layoutMatrix, layoutMatrix3D properties, add a parameter to the setLayoutMatrix, setLayoutMatrix3D methods to designate whether to trigger a layout pass after the transformation is applied.
QE Notes: None
Doc Notes: None
Bugs: SDK-18434
Reviewer: Jason
tests: checkintests, mustella flash component kit
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-18904
http://bugs.adobe.com/jira/browse/SDK-17508
http://bugs.adobe.com/jira/browse/SDK-18434
Modified Paths:
flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.a s
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as -
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
SunilHi 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 -
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,
SachinI 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. -
What is mean by Referential Integrity? Where do we use it and Why..?
Hi All,
Can anybody tell me, What is mean by Referential Integrity? Where do we use it and Why..?
Regards,
Kiran TelkarDear Kiran Telkar ,
you might be knowing that generally refrential integrity is concerned with nothing but primary key and foriegn key relationship. Generally we use to check uniqueness of records.
In sap we use it during flexible updation...to check the data records of transaction data and master data.
In other words, to check before loading of data, that whether loading will be properly or not.
we will check(tick) the option in the maintainance of the
<b>infosource--> communication structure</b>
it will be better if you clearly mention your problem, if further help is needed.
hope this will help you.
Regards
vinay
<i>please assign points to all who will help you.</i> -
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 -
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 -
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 DurationOriginal 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 McCaffertyHello 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 MitricaYou'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 -
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,
SachinI 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. -
Where does one post ......
Where does one post to a higher echelon a suggestion for new feature or product
Click here and choose a category.
(48478)
Maybe you are looking for
-
IPhone 4 IOS 7.1.2 voice memos not syncing to iTunes
I have a iPhone 4 IOS 7.1.2 on a Windows Vista laptop. My phone & iTunes are up to date but I've noticed my new voice memos from May 16, 2014 & on are NOT syncing to iTunes. I have tried everything but they are not syncing. I just ordered a new iPhon
-
Hiya, I moved a 40GB file off my MacBook Pro to make room so that I could enable the iCloud Photo Library. I optimised the storage but during this process it used 10GB of space and so I cant now put back the file I took off my mac. I though that once
-
Selecting correct settings for a new project
I'm about to start my first project using Elements and the final output for the project will be need to be a H264 or a "WMV" file which which can be uploaded to an FTP site. It will also be displayed in front of a group on a screen (size is 7.5'x10'
-
Imovie won't recognize camera, english project due tuesday help!!!!
I am using a Sony DCR-TRV480 video camera. I am using a IEEE 1394 6 to 4 firewire to connect it. The tape format is Hi8. I've been told that certain older tapes marked 8mm will not work with Imovie 08 which is what i'm using. The thing is that the sa
-
Not able to validate the xml document against DTD using SAX
Hi , i am not able to validate xml document against its DTD using SAX parser even after setting setValidating = true. even if the file is not correct according to DTD , it is not throwing any exception. what could be the reason.? please help.. kranth