Failing while initializing static data

hie all!
i'm making a jar file using build.xml configuration.
<target name="makejar">
<jar destfile="${lib.dir}/${jar.name}" basedir="${base}/bin/">
<manifest>
<attribute name="Main-Class" value="${jar.main-class}"/>
<attribute name="Class-Path" value="1.jar 2.jar 3.jar 4.jar"/>
</manifest>
<fileset dir="${lib.dir}"/>
</jar>
</target>
Now, in the main class, i m creating static icon as:
new ImageIcon(new Object().getClass().
getResource("/mypackage/icons/pid.gif"));
But i when i execute the jar : java -jar my.jar
it fails with NullPointerException at javax.swing.ImageIcon(Url) construtor.
The icons are inside the package.
How can i resolve getting URL object for the icons?
One more thing is that ... the jar files are inside this my.jar
Upon looking at few messages, i saw, we need to unjar the jar to use
the jar files inside it.
But, then how can i use my jar for webstart demonstration, which is the ultimate purpose.
Please give your valuable suggestions about the mentioned problems.
Thanks and Regards,
Giriraj

Assuming you have the following package structure.
\mypackage
...my.jar
...other1.jar
...other2.jar
...\icons
......pid.gif
Try
// note only the path under the root with no leading slash.
new ImageIcon(getClass().getResource("icons/pid.gif"));The other jar files will not work if they are inside your jar "my.jar";
Just place the other jars in the same directory as your jar and they will be automatically downloaded.
Note you will need the other jars listed in your manifest class-path.
Class-Path: . icons/ other1.jar other2.jar
Note the jars must also be in your JNLP
<resources>
    <j2se version="1.4+"/>
    <jar href="my.jar"/>
    <jar href="other1.jar"/>
    <jar href="other2.jar"/>
</resources>rykk

Similar Messages

  • Mapping debbuging error:DBG1006: Error while initializing test data

    Hi,
    I have created a mapping in which I am trying to delete data from a table based on exisitence of rows in another table with a filter condtion in between them.When i try to run the debbugger, it throws following error:
    ============
    Analyzing map for debug...
    Retrieving Control Center connection info...
    Connecting to Control Center schema...
    Checking character set of Control Center schema...
    Configuring sources and targets...
    Mapping Debugger Error:
    oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1006: Error while initializing test data for sources and targets:
    oracle.wh.repos.sdk.CMPException: Trying to access invalid Object.
    Element ID: 110138
    Status: 4
    Owning FCO: 98409
    ==================
    Any idea what could be the possible cause?
    Query which I am trying to simulate is of following type:
    Delete from TableA t1
    where exits(select 1 from TableB t2 where t1.col1 = t2.col1 and t2.col2 = 'delete')
    Thanks
    AJ.

    Oops..thats weird.
    Tell me one thing...then how gud is the code generated in terms of working...if someone has to really test the code pre-hand for expected business logicWhy i am raising this concern is becoz there are many features for which OWB provides support in indirect way(workaround) like exists/not exists.
    Do we need to deploy mapping each time and then test through a run from Control centre?
    Other thing, As far i understand, the code generated is not in such a format that one can directly copy paste it in any sql/plsql editor and test it...
    Regards
    AJ.

  • Failed while initializing SNMP

    ------------------------ Mon Jul 16 13:55:52 GRNLNDST 2007 ------------------------
    Failed while initializing SNMP
    Error initializing subsystems
    Agent exited at Mon Jul 16 13:55:52 GRNLNDST 2007 with return value 55
    Could not start agent. Initialization failure

    Seems your agent is not running, Kindly check the status of agent. Try to start your agent. Check your emctl.log file for error and paste here if you face any issue.

  • Request is failing while Initializing delta(without data)

    I am facing this error while Initializing delta load. pls provide me the solution.
    Request REQU_3X0SE4NMKVSV8RHYUF24SL4UB(207,922) has not or not correctly been updated; Please edit.
    Activation of data records from ODS object YF_O47 terminated.     
    Request REQU_3X0SE4NMKVSV8RHYUF24SL4UB(207,922) has not or not correctly been updated; Please edit
    Message no. RSM096
    Diagnosis
    Request REQU_3X0SE4NMKVSV8RHYUF24SL4UB (207,922) for DataSource 8ZMXAPO03 from source system BW2-021 has the status  (green) and a smaller SID (is thus older) than the request that you currently want to update into the ODS object.
    System response
    This is not possible since the sequence of the requests must be kept when wanting to update them into an ODS object. Delta- and init. requests must be updated into the ODS in the request sequence.
    Procedure
    First update request REQU_3X0SE4NMKVSV8RHYUF24SL4UB(207,922) for DataSource 8ZMXAPO03 from source system BW2-021 from the PSA into ODS object.
    If you do not need the data in request REQU_3X0SE4NMKVSV8RHYUF24SL4UB (207,922) in the ODS object, you can also set the total status for this request to  (red) in the Monitor, on theStatus tab page. When checking for completeness, the system then ignores the request.
    Thanks in advance
    Raghavendra Rao kolli.

    There is old request REQU_3X0SE4NMKVSV8RHYUF24SL4UB not being deleted and causing the problem.
    GO TO PSA tree of this infosource and delete the request.
    Also DO you need any data already avilable in the ODS ?
    If not required delete all psa data from psa tree.
    Gopi

  • Data load failed while loading data from one DSO to another DSO..

    Hi,
    On SID generation data load failed while loading data  from Source DSO to Target DSO.
    Following are the error which is occuuring--
    Value "External Ref # 2421-0625511EXP  " (HEX 450078007400650072006E0061006C0020005200650066
    Error when assigning SID: Action VAL_SID_CONVERT, InfoObject 0BBP
    So, i'm  not getting  WHY in one DSO i.e Source  it got successful but in another DSO i.e. Target its got failed??
    While analyzing all i check that SIDs Generation upon Activation is ckecked in source DSO but not in Target DSO..so it is reason its got failed??
    Please explain..
    Thanks,
    Sneha

    Hi,
    I hope your data flow has been designed in such a way where the 1st DSO as a staging Device and all transformation rules and routine are maintained in between 1st to 2nd dso and sid generation upon activation maintained in 2nd DSO.  By doing so you will be getting your data 1st DSO same as your source system data since you are not doing any transformation rules and routine etc.. which helps to avoid data load failure.  
    Please analyze the following
    Have you loaded masterdata before transaction data ... if no please do it first
    go to the property of first dso and check whether there maintained sid generation up on activation (it may not be maintained I guess)
    Goto the property of 2nd Dso and check whether there maintained sid generation up on activation (It may be maintained I hope)
    this may be the reason.
    Also check whether there is any special char involvement in your transaction data (even lower case letter)
    Regards
    BVR

  • Error occured while reading identity data: failed to decrypt safe contents

    Hello,
    We are trying to access Tibco JMS server through SSL using JNDI lookup. Getting the following error, while executing a sample java file.
    Java Version -
    java version "1.4.2_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
    Please let me know if any of you faced similar issues.
    thanks in advace.
    Following are the error messages.
    javax.jms.JMSSecurityException: Error occured while reading identity data: failed to de
    crypt safe contents entryCOM.rsa.jsafe.SunJSSE_cs: Could not perform unpadding: invalid
    pad byte. at com.tibco.tibjms.TibjmsSSL._identityFromStore(TibjmsSSL.java:2699)
    at com.tibco.tibjms.TibjmsSSL.createIdentity(TibjmsSSL.java:2604)
    at com.tibco.tibjms.TibjmsxLinkSSL._initSSL(TibjmsxLinkSSL.java:291)
    at com.tibco.tibjms.TibjmsxLinkSSL.connect(TibjmsxLinkSSL.java:338)
    at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:611)
    at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1772)
    at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:37)
    at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:139)
    at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:201)
    at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTo
    picConnectionFactory.java:84)
    at tibjmsSSLJNDI.<init>(tibjmsSSLJNDI.java:202)
    at tibjmsSSLJNDI.main(tibjmsSSLJNDI.java:252)
    ##### Linked Exception:
    com.tibco.security.AXSecurityException: failed to decrypt safe contents entryCOM.rsa.js
    afe.SunJSSE_cs: Could not perform unpadding: invalid pad byte.
    at com.tibco.security.impl.j2se.IdentityImpl.init(IdentityImpl.java:70)
    at com.tibco.security.IdentityFactory.createIdentity(IdentityFactory.java:61)
    at com.tibco.tibjms.TibjmsSSL._identityFromStore(TibjmsSSL.java:2680)
    at com.tibco.tibjms.TibjmsSSL.createIdentity(TibjmsSSL.java:2604)
    at com.tibco.tibjms.TibjmsxLinkSSL._initSSL(TibjmsxLinkSSL.java:291)
    at com.tibco.tibjms.TibjmsxLinkSSL.connect(TibjmsxLinkSSL.java:338)
    at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:611)
    at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1772)
    at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:37)
    at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:139)
    at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:201)
    at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTo
    picConnectionFactory.java:84)
    at tibjmsSSLJNDI.<init>(tibjmsSSLJNDI.java:202)
    at tibjmsSSLJNDI.main(tibjmsSSLJNDI.java:252)
    Subexception stack trace follows:
    java.io.IOException: failed to decrypt safe contents entryCOM.rsa.jsafe.SunJSSE_cs: Cou
    ld not perform unpadding: invalid pad byte.
    at com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(Unknown Source)
    at java.security.KeyStore.load(Unknown Source) at com.tibco.security.impl.j2se.IdentityImpl.init(IdentityImpl.java:66)
    at com.tibco.security.IdentityFactory.createIdentity(IdentityFactory.java:61)
    at com.tibco.tibjms.TibjmsSSL._identityFromStore(TibjmsSSL.java:2680)
    at com.tibco.tibjms.TibjmsSSL.createIdentity(TibjmsSSL.java:2604)
    at com.tibco.tibjms.TibjmsxLinkSSL._initSSL(TibjmsxLinkSSL.java:291)
    at com.tibco.tibjms.TibjmsxLinkSSL.connect(TibjmsxLinkSSL.java:338)
    at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:611)
    at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1772)
    at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:37)
    at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:139)
    at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:201)
    at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTo
    picConnectionFactory.java:84)
    at tibjmsSSLJNDI.<init>(tibjmsSSLJNDI.java:202)
    at tibjmsSSLJNDI.main(tibjmsSSLJNDI.java:252)
    Caused by: COM.rsa.jsafe.SunJSSE_cs: Could not perform unpadding: invalid pad byte.
    at COM.rsa.jsafe.SunJSSE_al.a(Unknown Source)
    at COM.rsa.jsafe.SunJSSE_ag.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.PKCS12KeyStore.a(Unknown Source)
    ... 16 more
    Subexception stack trace follows:
    java.io.IOException: failed to decrypt safe contents entryCOM.rsa.jsafe.SunJSSE_cs: Cou
    ld not perform unpadding: invalid pad byte.
    at com.sun.net.ssl.internal.ssl.PKCS12KeyStore.engineLoad(Unknown Source)
    at java.security.KeyStore.load(Unknown Source)
    at com.tibco.security.impl.j2se.IdentityImpl.init(IdentityImpl.java:66)
    at com.tibco.security.IdentityFactory.createIdentity(IdentityFactory.java:61)
    at com.tibco.tibjms.TibjmsSSL._identityFromStore(TibjmsSSL.java:2680)
    at com.tibco.tibjms.TibjmsSSL.createIdentity(TibjmsSSL.java:2604)
    at com.tibco.tibjms.TibjmsxLinkSSL._initSSL(TibjmsxLinkSSL.java:291)
    at com.tibco.tibjms.TibjmsxLinkSSL.connect(TibjmsxLinkSSL.java:338)
    at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:611)
    at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:1772)
    at com.tibco.tibjms.TibjmsTopicConnection.<init>(TibjmsTopicConnection.java:37)
    at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:139)
    at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:201)
    at com.tibco.tibjms.TibjmsTopicConnectionFactory.createTopicConnection(TibjmsTo
    picConnectionFactory.java:84)
    at tibjmsSSLJNDI.<init>(tibjmsSSLJNDI.java:202)
    at tibjmsSSLJNDI.main(tibjmsSSLJNDI.java:252)
    Caused by: COM.rsa.jsafe.SunJSSE_cs: Could not perform unpadding: invalid pad byte.
    at COM.rsa.jsafe.SunJSSE_al.a(Unknown Source)
    at COM.rsa.jsafe.SunJSSE_ag.a(Unknown Source)
    at com.sun.net.ssl.internal.ssl.PKCS12KeyStore.a(Unknown Source)
    ... 16 more

    For the benifit of others.
    The issue is resolved.
    When we set the certificate password inside our application we were encrypting it inside our system.
    When we sent it to tibco we did not decrypt it.
    So the encrypted password was sent as it is that was the issue :(
    Thanks,
    Reflex.

  • Data warehouse monitor initial state data synchronization process failed to write state.

    Data Warehouse monitor initial state data synchronization process failed to write state to the Data Warehouse database. Failed to store synchronization process state information in the Data Warehouse database. The operation will be retried.
    Exception 'SqlException': Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
    One or more workflows were affected by this. 
    Workflow name: Microsoft.SystemCenter.DataWarehouse.Synchronization.MonitorInitialState
    Instance name: Data Warehouse Synchronization Service
    Instance ID: {0FFB4A13-67B7-244A-4396-B1E6F3EB96E5}
    Management group: SCOM2012R2BIZ
    Could you please help me out of the issue?

    Hi,
    It seems like that you are encountering event 31552, you may check operation manager event logs for more information regarding to this issue.
    There can be many causes of getting this 31552 event, such as:
    A sudden flood (or excessive sustained amounts) of data to the warehouse that is causing aggregations to fail moving forward. 
    The Exchange 2010 MP is imported into an environment with lots of statechanges happening. 
    Excessively large ManagedEntityProperty tables causing maintenance to fail because it cannot be parsed quickly enough in the time allotted.
    Too much data in the warehouse staging tables which was not processed due to an issue and is now too much to be processed at one time.
    Please go through the links below to get more information about troubleshooting this issue:
    The 31552 event, or “why is my data warehouse server consuming so much CPU?”
    http://blogs.technet.com/b/kevinholman/archive/2010/08/30/the-31552-event-or-why-is-my-data-warehouse-server-consuming-so-much-cpu.aspx
    FIX: Failed to store data in the Data Warehouse due to a Exception ‘SqlException': Timeout expired.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • EPM Configurator Error "Failed to navigate from RegistryWizardState: Error while initializing registry.

    Hi,
    I am getting Below error in RHEL 6.5
    EPM Configurator Error "Failed to navigate from RegistryWizardState: Error while initializing registry. See logs for more details"  while configuring Essbase Server on 64 bit OS using Oracle Database
    Any help...?

    Hi ,
    This community is to discuss Oracle Application Server specific issues, you can post this query in the below Hyperion Forms for better response:
    Hyperion EPM
    [OR]
    Oracle Hyperion EPM (MOSC)
    [OR]
    Hyperion Certification for EPM (MOSC)
    Regards,
    Prakash.

  • EPM configuration ESSBASE Failed to navigate from RegistryWizardState:Error while initializing registry.

    When I was in the configuration ESSBASE, ran into trouble.
    Failed to navigate from RegistryWizardState:Error while initializing registry.
    soft: EPM 11.1.2.3  
    OS: linux redhat6.1
    Two planing server configuration
    A server configuration essbase and install oracle relational database
    Planning configuration is successful, but the first step in essbase Shared servers failed, the error is:Failed to navigate from RegistryWizardState:Error while initializing registry.
    What should I do?
    Please

    If you are using Oracle database, Create a user(schema) with the below previliges
    Roles:
    DBA, Resource, Connect
    privileges:
    CREATE ANY SYNONYM,CREATE CLUSTER,CREATE INDEXTYPE,CREATE PROCEDURE,CREATE SEQUENCE,CREATE SESSION,CREATE TABLE,CREATE TRIGGER,CREATE TYPE,CREATE VIEW,DROP ANY SYNONYM
    Thanks,
    mady

  • How to garantee that static data is initialized ?

    Hi,
    In order to implement the Prototype design pattern in Java I would like to automatically register the subclasses of Prototype to a static array of prototypes in the Prototype class.
    In C++ I use a static member in each subclass which is initialized by a static method which registers a prototype in the array of prototypes.
    It works in C++ because static data are initialized before main() is called.
    In Java though, to guarantee that static data is initialized it seems that each subclass needs to be loaded first which defeats the idea of automatic registration.
    Another solution to avoid mentionning subclasses names in the Prototype class would be to rely on the relfection API to get all its subclasses but I did not find any method to do that.
    Any hint ?
    Thanks in advance

    It depends what you call a key. In database systems a
    key is part of the data you are looking for.
    In order to get a specific prototype one of course
    needs information.
    Do we disagree here ?If you read the Prototype design pattern you will understand what I mean by key.
    The objective of the Prototype pattern is to decouple
    client code from which classes implement (or subclass)
    the Prototype interface (or abstract class).
    I disagree. It is a creational pattern. The intent of the Prototype pattern is to create a prototypical instance and create new objects by copying the prototype. The intent is not to decouple client code.
    Let's get back to my original question : is there a
    way in Java to register a class automatically to the
    collection of prototypes ?
    Using the reflection API gives an alternative solution
    (thanks to schapel).And I restate my orignal solution as my answer. Why would you want look through all or your classes to determine which ones where prototypes (sorry schapel)?
    If you have a known number of prototype subclasses then you can create and intialize them when the Prototype class is loaded.
    If not then you can use the key to determine if the prototype has been loaded, if not then the Prototype class can load the class. In this case, with some creativitity, you can create a key that meets your needs.
    It seems that you are dependent on the Prototype class containing all of the prototype classes at load time because you are using them to create user interface components. So your client (use interface) is directly coupled to your implementation of the Prototype, exactly what you said the Prototype design pattern incorrectly was intended to do.

  • SQL Server Import Export Wizard fails while trying to retrieve the data from FastObjects Database

    When trying to import data from FastObjects database to SQL Server 2008 R2 using import/ export wizard we get the following error message :
    "Column information for the source and the destination data could not be retrieved, or the data types of source columns were not mapped correctly to those available on the destination provider."
    Clicked on View button, the source data is retrieved correctly.
    Clicked on Edit Mapping button, the Import Export Wizard failed with the below error message:
    ===================================
    Column information for the source and destination data could not be retrieved.
    "Test" -> [dbo].[Test]:
    - Cannot find column -1.
    (SQL Server Import and Export Wizard)
    ===================================
    Cannot find column -1. (System.Data) 
    at System.Data.DataColumnCollection.get_Item(Int32 index) at System.Data.DataRow.get_Item(Int32 columnIndex) at Microsoft.DataTransformationServices.Controls.ProviderInfos.MetadataLoader.LoadColumnsFromTable(IDbConnection myConnection, String[] strRestrictions)
    at Microsoft.SqlServer.Dts.DtsWizard.OLEDBHelpers.LoadColumnsFromTable(MetadataLoader metadataLoader, IDbConnection myConnection, String[] strRestrictions, DataSourceInfo dsi)at Microsoft.SqlServer.Dts.DtsWizard.TransformInfo.PopulateDbSourceColumnInfoFromDB(IDbConnection
    mySourceConnection) at Microsoft.SqlServer.Dts.DtsWizard.TransformInfo.PopulateDbSourceColumnInfo(IDbConnection mySourceConnection, ColumnInfoCollection& sourceColInfos)

    Hi Chennie,
    Thank you for the post.
    Does the issue persists after you use the "Write a query to specify the data to transfer" option instead of “Copy data from one or more tables or views” option? If so, the issue may occur due to incorrect data type matching between the FastObjects database
    data types and SSIS data types. In this condition, I don’t think it is necessary to upgrade the SQL Server version. Since you can open the Column Mappings dialog box, please try to modify the data type mapping manually.
    In addition, the issue seems to be the same as the issue described in the following blog:
    http://blogs.msdn.com/b/dataaccesstechnologies/archive/2010/09/09/sql-server-import-export-wizard-fails-while-trying-to-retrieve-the-data-from-pervasive-database.aspx 
    Regards,
    Mike Yin
    TechNet Community Support

  • While loading master data to infoobject Load failed due to Duplicate record

    Hi Experts,
    While loading master data to the infoobject load failed .
    The error it is showing is 24 Duplicate record found. 23 recordings used in table.
    Pls help me to solve this issue
    Thanks in Advance.
    Regards,
    Gopal.

    In infopackage settings u will find a checkbox for 'delete duplicate records'.
    I think it appears beside the radio button for 'To PSA',and also tick checkbox for 'subsequent update to data targets'.
    This will remove the duplicate records(if any) from the PSA before they are processed further by transfer and update rules.
    Use this and reload master data.
    cheers,
    Vishvesh

  • Proc_getObject with nolock causes "read operation on a large object failed while sending data to the client"

    SharePoint 2013 code for the SharePoint Config database stored procedure dbo.proc_getObject has been changed from SharePoint 2010 with the difference of select with nolock.
    I am seeing numerous Error 7886, Severity-20 errors nightly:
    "A read operation on a large object failed while sending data to the client. A common cause for this is if the application is running in READ UNCOMMITTED isolation level. This connection will be terminated."
    Here I have commented out "with (nolock)" to 'fix' the error and to align the store proc with SharePoint 2010 code : 
    ALTER PROCEDURE [dbo].[proc_getObject]
    @Id uniqueidentifier,
    @RequestGuid uniqueidentifier = NULL OUTPUT
    AS
    SET NOCOUNT ON
    SELECT
    Id,
    ParentId,
    ClassId,
    Name,
    Status,
    Version,
    Properties
    FROM
    Objects --with (nolock)
    WHERE
    Id = @Id
    RETURN 0
    How is this stored procedure called and for what use?
    Why did Microsoft make this change to SharePoint 2013 - some performance gain through dirty reads at the cost of stability? Or what could be a reason for this to happen that can be fixed?

    GetObject retrieves any farm object that is selected (by ID). Changing this is obviously not supported, and NoLock was used to (help) prevent locks when performing a select query.
    I've never seen this issue, and would guess it is unique to your environment given this is such a core piece of the SharePoint infrastructure.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • FIM "failed while calling the BPC system"

    Hi guys.
    Hope there's an FIM wizard out there.
    We have FIM installed on our BPC server (BPC 7.5 SP06 & FIM 7.5 SP08)
    I am seeing an issue with the connection manager in FIM:
    When I create a new connection, it seems to form correctly (resolves name/IP and gets the list of AppSets from the server)
    However, when I log out and go back in to FIM and check the list of connections, I see an error:
    "Error Loading Data Models"
    The detail of this error is:
    Failed while calling the 'Business Planning and Consolidation (BPC)' system to perform the 'GetApplicationSetList' action. : javax.xml.ws.WebServiceException:
    org.apache.cxf.service.factory ServiceConstructionException: Failed to create service
    This happens whether I connect using the server name, the FQDN or the IP Address and seems to be the very definition of inconsistency.
    (Why should it see the list of AppSets when the connection is first made, but then fail afterward)
    I am connecting using a secEnterprise login which is mapped to an alias of the BPC Sys Admin account (using LDAP).
    Please help if you can, as this is driving me insane.
    Thanks

    Update.
    I have added the output of the STDOUT log file (including the last couple of things to complete before the ERROR is reported):
    <-- Start Code -->
    2011-11-16 16:28:54,163 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Creating new transaction with name [com.sap.fpm.fim.datamodel.IModelProviderService.getDataSourceModels]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly>
    2011-11-16 16:28:54,163 DEBUG [com.sap.fpm.fim.server.util.DataSourceWrapper] - <Creating new JDBC Connection to [jdbc:sqlserver://[REPOSITORY_SERVER]:1433;databaseName=DSLocalRepository]>
    2011-11-16 16:28:54,170 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Using transaction object [org.springframework.jdbc.datasource.DataSourceTransactionManager$DataSourceTransactionObject@892539]>
    2011-11-16 16:28:54,170 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Creating new transaction with name [com.sap.fpm.fim.datamodel.IModelProviderService.getDataSourceModels]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT,readOnly>
    2011-11-16 16:28:54,170 DEBUG [com.sap.fpm.fim.server.util.DataSourceWrapper] - <Creating new JDBC Connection to [jdbc:sqlserver://[REPOSITORY_SERVER]:1433;databaseName=DSLocalRepository]>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Acquired Connection [ConnectionID:46] for JDBC transaction>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceUtils] - <Setting JDBC Connection [ConnectionID:46] read-only>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Switching JDBC Connection [ConnectionID:46] to manual commit>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Bound value [org.springframework.jdbc.datasource.ConnectionHolder@1eacdc4] for key [com.sap.fpm.fim.server.util.DataSourceWrapper@1880543] to thread [http-8585-Processor25]>
    2011-11-16 16:28:54,172 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Initializing transaction synchronization>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Acquired Connection [ConnectionID:47] for JDBC transaction>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceUtils] - <Setting JDBC Connection [ConnectionID:47] read-only>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.jdbc.datasource.DataSourceTransactionManager] - <Switching JDBC Connection [ConnectionID:47] to manual commit>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Bound value [org.springframework.jdbc.datasource.ConnectionHolder@18bea70] for key [com.sap.fpm.fim.server.util.DataSourceWrapper@1880543] to thread [http-8585-Processor23]>
    2011-11-16 16:28:54,179 DEBUG [org.springframework.transaction.support.TransactionSynchronizationManager] - <Initializing transaction synchronization>
    2011-11-16 16:28:54,188 INFO [com.sap.fpm.fim.server.security.impl.BOESecurity] - <getUserInfo for token = 3&35=[BPC_SYS_ADMIN_ACCOUNT],8P&63=secEnterprise,8P&4F=1034,8P&4E=[Removed for security reasons],8P&1,8P&3k=@[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&5U=
    [Removed for security reasons][Removed for security reasons],8P&S5,88&pa,8P&Tm=3650,83&2r=[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&Tn={3&.2={3&O=PersonalCategory,8P&2=1036,83},?z&.1={3&O=FavoritesFolder,8P&2=1035,83},?z&.3={3&O=Inbox,8P&2=1037,83},?z&U=3,83},?z&PP=1024,83&7r,83, the returnedUserObject = username = [BPC_SYS_ADMIN_ACCOUNT], locale = en_GB, ItUserGroup = true, BusinessUserGroup = true, AuditUserGroup = false, ExecUserGroup = false>
    2011-11-16 16:28:54,302 INFO [com.sap.fpm.fim.server.security.impl.BOESecurity] - <getUserInfo for token = 3&35=[BPC_SYS_ADMIN_ACCOUNT],8P&63=secEnterprise,8P&4F=1034,8P&4E=[Removed for security reasons],8P&1,8P&3k=@[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&5U=[Removed for security reasons][Removed for security reasons],8P&S5,88&pa,8P&Tm=3650,83&2r=[REPOSITORY_SERVER_NAME].[FQDN_PATH]:6400,8P&Tn={3&.2={3&O=PersonalCategory,8P&2=1036,83},?z&.1={3&O=FavoritesFolder,8P&2=1035,83},?z&.3={3&O=Inbox,8P&2=1037,83},?z&U=3,83},?z&PP=1024,83&7r,83, the returnedUserObject = username = [BPC_SYS_ADMIN_ACCOUNT], locale = en_GB, ItUserGroup = true, BusinessUserGroup = true, AuditUserGroup = false, ExecUserGroup = false>
    2011-11-16 16:28:55,099 ERROR [com.sap.fpm.fim.datamodel.BPCModelProvider] - <Failed while calling the 'Business Planning and Consolidation (BPC)' system to perform the 'GetApplicationSetList' action.>
    javax.xml.ws.soap.SOAPFaultException: Could not send Message.
         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:218)
         at $Proxy67.connect(Unknown Source)
         at com.sap.fpm.fim.datamodel.BPCModelProvider.getSessionID(BPCModelProvider.java:401)
         at com.sap.fpm.fim.datamodel.BPCModelProvider.getModels(BPCModelProvider.java:281)
         at com.sap.fpm.fim.datamodel.ModelProviderManager.getDataSourceModels(ModelProviderManager.java:351)
         at com.sap.fpm.fim.datamodel.ModelProviderServices.getDataSourceModels(ModelProviderServices.java:133)
         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:585)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy27.getDataSourceModels(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:585)
         at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:127)
         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:82)
         at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:97)
         at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:68)
         at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
         at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
         at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
         at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
         at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
         at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:214)
         at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:151)
         at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:170)
         at org.apache.cxf.transport.servlet.AbstractCXFServlet.doPost(AbstractCXFServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
         at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276)
         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222)
         at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
         at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:177)
         ... 50 more
    Caused by: java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1008)
         at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1896)
         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1824)
         at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47)
         at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:159)
         at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
         at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:583)
         at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
    <-- End Code -->

  • InfoPackage fails while loading to 0PM_C05

    Hi,
    While loading the InfoPackage under datasource 0PM_PRM_PLCS_1, it fails to retrieve data with the below message:
    "_Extraction of Cube 0PM_C05 requires customizing of table T_PMC05_"
    The data flows from Datasource to DSO 0PM_DS07 and then to InfoCube 0PM_C05. But the data load is failing at initial level only.
    Has anybody encountered this error and managed to resolve this ? Please reply and <removed_by_moderator>
    Regards,
    Amogh
    Edited by: Amogh on Oct 28, 2010 9:56 AM
    Edited by: Pravender on Nov 1, 2010 12:16 PM

    Hi Amogh,
    I guess your data flow is like 0PM_PRM_PLCS_1(DS) --> 0PM_DS07(DSO) -->  0PM_C05(Cube)
    1)First check the Data flow.
    2)Goto RAS3(Extraction checker) in R/3 system and check whther you are able to see the records
    3)If you are able to see the records in RSA3, then Check the Datasource , replicate it again and then activate it.
    4)Now execute the Info package and check.
    5)If you are not able to see the records in RSA3/ if you are gettign any short dumps while executing, then try to debug it.

Maybe you are looking for

  • Unable to open login page through internet explorer

    Hi, Configured Reverse proxy external tier. We are able to access login page through Mozilla but unable to access through IE8. Raised SR, but they have reverted saying it's browser problem & not in their scope. Please help for the following error mes

  • How to syncronise iPod with ipad2

    I purchased an iPad and an iPod. iPad has iTunes already installed. But i cannot syncronise my iPod. I did not find it in the an Option to do that. Am I just blind or do i Need a Computer to syncronise all my Devices?

  • Hierarchical Tree Insert

    Hi All Is it possible to insert values into another table using hierarchical Tree Node values.Please give Methods Regards R.MaheshBabu

  • Transfering Itunes to another PC?

    I just purchased a new PC. Is there a way I can transfer my itunes account to the new PC? Like all my music, movies, artwork and such? If so could someone please explain how.

  • Error 3194, Error 17

    Went to update my ipod touch 5g to ios8, and instead went into recovery mode. Now, when i try to restore the ipod on itunes it gives me the message "Error 3194, Error 17, or This device isn't eligible for the requested build." For the love of god, I