Error for ReplaceCmd while calling it in loop

Hello All,<br />   I am calling ReplaceCmd in for loop , where I am replacing one character on textmodel at a time <br />and applying it's coreesponding attributes.<br />But after processing some characters ReplaceCmd command failed and indesign get hanged.<br /> int  firstbyte = 0;<br /> char * splitstr1 = NULL;<br /> char * fontname1 = NULL;<br /> iConvStartat  = 0;      <br />for(int k =0 ;k < ushortstrlen(pszString);k++)<br /><br />{<br />   splitstr1 = (char *)calloc(sizeof(char),10);<br />   fontname1 = (char *)calloc(sizeof(char),10);<br />   firstbyte = (int)(pszString[k] & 0x0F00);        <br />   * splitstr1 = (char)(pszString[k] & 0xFF);<br />     <br />      size_t origsize = strlen(splitstr1) + 1;<br />   const size_t newsize = 100;<br />   wchar_t wcstring[newsize];<br />   wcstring[0] = 0;<br />   mbstowcs(wcstring,splitstr1,origsize);<br />   K2::shared_ptr<WideString>wide(new WideString(wcstring));<br />   RangeData rangeforconv(iConvStartat,iConvStartat + wcslen(wcstring));<br />   InterfacePtr<ICommand>replaceCmd(textModelCmds->ReplaceCmd             (iConvStartat,iConvStartat +  wcslen(wcstring), wide,kFalse));<br />   ASSERT(replaceCmd);<br />   if (!replaceCmd)<br />   {<br />     return;<br />   }<br />    CmdUtils::ProcessCommand(replaceCmd);<br /><br />   .<br />   .<br />   .<br />   .<br />   iConvStartat = iConvStartat + wcslen(wcstring);<br />   .<br />   .<br /> }//end of for loop<br /><br />I trace the values of  iConvStartat  I am getting it properly in sequence.<br />For first 3-4 characters it is working properly but after that indesign gets hanged.

Hello ,
Thanks for reply.
I used result = ErrorUtils::PMGetGlobalErrorCode();
after ReplaceCmd it's value is kSuccess but
for err = CmdUtils::ProcessCommand(replaceCmd); at this line indesign stop executing the code abd I cannot trace the err value at this point.
This happens after replacing some characters . What precaution I should take before calling replacecmd and Processcmd repeatedly.

Similar Messages

  • Error [TOPLINK-6007] while calling a web service deployed on external oc4j

    hello everybody,
    Actually, I'm working on a project using oracle soa suite.
    I developped a web service that works fine when I deploy it using the embeded oc4j but when I deploy it on an external oc4j, I get the followed error:
    Internal Server Error (Caught exception while handling request: Exception [TOPLINK-6007] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.QueryException Description de l'exception : Descripteur absent pour [class riad.commun.bean.rh.agents.Agents]. Interrogation : ReadObjectQuery(riad.commun.bean.rh.agents.Agents))
    Can anyone help me? please it's urgent.........

    Hello,
    The error is stating there isn't a descriptor for the Agent class the app is trying to execute a query on. This could be due to improper mappings, but assuming Agent is mapped, is more likely due to a classloader issue. TopLink uses the classloader at login to initialize the descriptors and hash them on the Class objects. If the application uses a different classloader, descriptors will not be found for classes loaded from the new classloader. How are you obtaining sessions, and where is the session being used?
    Best Regards,
    Chris

  • *** Help me for error FRM-92100 while calling Form6i on Web ***

    Hello,
    I have NT server 4.0 on which following s/w are installed and setting is done as recommended.
    - Oracle 8i database server in oracle_home ORACLE8i
    - Oracle Web application server 4.0 in oracle_home OWAS4
    - Developer 6i forms in oracle_home OWAS4
    I have form that contains multi-record block and text-items on the canvas.
    My problem is that when i call this Form from HTML as a applet, It shows me only window alongwith toolbar and not contents of window/canvas, and clicks on enter query and then execute query it does nothing as nothing is showed in window/canvas. But as I clicks on Next record, It gives me following error.
    FRM-92100:Your connection to the server was interrupted. This may be the result of a network error, or a failure on the server.
    Can anybody please help me ?.
    Thanks
    null

    Hi Bhushan,
    Your problem is due to lower version of Internet Explorer. If you use IE 5.0 with JVM 5 then you will not face the problem you mentioned.
    Sudin
    null

  • Error ORABPEL-11802 while calling Stored Procedure

    Hi,
    I am trying to call a stored proc in oracle through DB adapter in BPEL services.
    The procedure accepts custom data types only. I am able to assign values to each element in the custom data type but while executing the same it is throwing the error:
    ORABPEL-11802
    Unable to convert the XSD element db:THENUMBERRANGE whose user defined type is NUMBERRANGE. Cause: java.sql.SQLException: invalid name pattern: XYZ.NUMBERRANGE [Caused by: invalid name pattern: XYZ.NUMBERRANGE]
    The Stored Procedure code is as follows:
    --PROCEDURE setNumberStatus (
    --theNumberRange IN NumberRange,
    --theNumberStatus IN numberstatus,
    --userID IN userid,
    --returnStatus OUT CallStatus );
    --TYPE NumberRange is OBJECT (
    --StartNumber Varchar2(40),
    --EndNumber Varchar2(40),
    Please suggest me how to input data for object NumberRange.
    Any help on this is highly appreciated.
    Thanks,

    Hi,
    I have the same issue, but in my case I hae done all the accesses still i was getting the error, However finally what I figured out is that the JNDI name was wrong, so unable to make a databse connection at runtime. So Basically it was unable to find the object .... and causing the same error. Hope this tip also may be helpful for some body.
    --Khaleel                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Error on WebMetods while calling IDOC Adapter

    Folks ,
    I am facing a problem calling IDOC adapter from WebMethod, I have all the configuration in ID and IDX1 .
    This is the error:
    <i><b>com.sap.mw.jco.JCO$Exception: No Service for system QUANTUM1, client 902 in Integration Directory</b></i>
    Regards,
    Manish

    Hi,
    did you create it exactly as specified:
    http://help.sap.com/saphelp_nw04/helpdata/en/3b/beb13b00ae793be10000000a11402f/content.htm
    for QUANTUM1 and 902?
    I'm not sure what the ID of the system if the system
    is not the SAP...
    maybe you can just post the idoc via http adapter?
    REgards,
    michal

  • Accout determination error for Asset while MIGO urgent

    Hi,
    I am doing the GR for assets but I am facing the following error
    Account determination for entry NSL WRX 0001 not possible
    Message no. M8147
    Diagnosis
    The system did not find an account for this transaction. This means that the account determination for key NSL WRX 0001 is not maintained in MM Customizing (Valuation). The key is made up of:
    Chart of account
    Transaction key (= Posting transaction)
    Valuation grouping code
    Account grouping code
    Valuation class
    System response
    The system cannot update a G/L account for this transaction. You cannot post the transaction.
    Procedure
    Contact your system administrator.
    If you have the authorization, check the Account determination in Customizing for Valuation.
    Proceed
    And meanwhile I have assigned the Val Class to the Material type to and on OBYC in which combination I have to assign the GL Accounts.Plz suggets with examples.

    Hi,
    In OBYC transaction click on WRX . Here for a valuation gouping code-valuation class-assign GLaccount.
    I think NSL is the chart of accounts and 0001 is the valuation class in your case.
    Please check the standard account determination defined by SAP.In chart of accounts INT for WRX the account assignment will be like this:valuation grouping code 0001-Valuation class 3000--GL account 1160000.
    If valuation grouping code (grouping of val area's)does not apply to you then leave the field blank or change the rules.
    Regards,
    Rambhupal reddy

  • Not getting values for HR_READ_SUBTYPE while calling from Webdynpro appl

    Hello,
    When we pass infotype,begda,endda and other required parameters and run this FM in standalone we are
    getting values however when same FM is called through Webdynpro ABAP application it is not returning values.
    I tried debugging and i found out that some buffer issue is there.
    But still my problem is not sloved.
    can anyone tell me what can be the reason?
    Regards,
    Mayank

    Hi Mayank,
    Can you tell me how much entries you are getting in return when you run FM standalone.
    there may be possiblility of huge amount of data returnning.
    If u can give more details that will be great!!
    Thanks

  • Error in Forms while calling The procedure

    Dear All
    I am using Forms 10G.
    I have 2 procedure in Program unit .I am calling this 2 procedure in when button press trigger .And it was working fine .
    But now it is not working .
    Means i have written this in When Button Pressed trigger .
    Begin
         Select PAYMENT_PURPOSE_CODE into :global.purps
         From MU_PURPOSE_CODE
         Where DESCRIPTION = :Loader.PURPS;
    :global.date := :loader.date;
    :global.cir := :loader.cir;
    :global.acct_no := :loader.acct_no;
    LOAD_DATA1;
    LOAD_DATA2;
    End;
    Now it is going to LOAD_DATA2 procedure but not going the 1st one.
    Any reason ?
    Edited by: Sandy on Sep 13, 2010 6:35 PM

    Put messages in your procedure, or run the form in debug mode.
    Francois

  • Error while calling RFC adapter(FILE-XI-RFC scenario)

    Hi,
    I am trying for FILE-XI-RFC scenario. I am getting the following error. I have checked in message monitoring. The error is coming while calling the RFC adapter. Can any body tell what problem is this?
    Regards,
    Dhana
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.f23.sofd00001530a</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>2: Unable to find URL for Adapter Engine af.u7a.us4296</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading access data (URL, user, password) for the Adapter Engine af.f23.sofd00001530a</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did SLD check.
    The status says 'Summary: Connection to SLD works correctly'.
    But it fails while checking the access to XI profile.
    Here is the status
    Summary: Connection to SLD works correctly
    Now checking access to the XI Profile
    Properties of RFC destination LCRSAPRFC
      RFC host:
    %%RFCSERVER%%
      program id:      LCRSAPRFC_DZ1
      gateway host:
      gateway service:
    Testing the RFC connection to the SLD java client...
    RFC ping returned exception with message:
    / CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=679#Transaction program not registere

  • Error while calling stored procedure from Java

    Hi Guys,
    How are you everybody? I hope everything is goin fine on your side. I have one issue in PL/SQL while calling below stored procedures from Java.
    Problem Description: We have a stored procedure PROCEDURE BULK_INSERTS (
    V_SESSION_ID_TAB IN T_SESSION_ID_TAB_TYPE,
    V_SERVICE_TYPE_TAB IN T_SERVICE_TYPE_TAB_TYPE,
    V_SERVICE_LOCATION_TAB IN T_SERVICE_LOCATION_TAB_TYPE,
    V_SERVICE_CALL_NAME_TAB IN T_SERVICE_CALL_NAME_TAB_TYPE,
    V_SERVICE_CALL_START_TIME_TAB IN T_SERVICE_CALL_ST_TAB_TYPE,
    V_SERVICE_CALL_END_TIME_TAB IN T_SERVICE_CALL_ET_TAB_TYPE,
    V_SERVICE_CALL_DURATION_TAB IN T_SERVICE_CALL_DUR_TAB_TYPE,
    V_STATUS_TAB IN T_STATUS_TAB_TYPE,
    V_NOTES_TAB IN T_NOTES_TAB_TYPE
    ) and we are getting ora errors while calling this stored procedure from java.
    All tab types are declared locally, at package level.
    Here is error which occur while calling this sp:
    {call BULK_PKG.BULK_INSERTS(?,?,?,?,?,?,?,?,?)}
    And the parameter types we are using are:
    SESSION_ID - NUM_TAB_TYPE
    SERVICE_TYPE - VAR_TAB_TYPE
    SERVICE_LOCATION - VAR_TAB_TYPE
    SERVICE_CALL_NAME - VAR_TAB_TYPE
    SERVICE_CALL_START_TIME - DATE_TIME_TAB_TYPE
    SERVICE_CALL_END_TIME - DATE_TIME_TAB_TYPE
    SERVICE_CALL_DURATION - NUM_TAB_TYPE
    STATUS - VAR_TAB_TYPE
    NOTES - VAR_TAB_TYPE
    And the Exception stack trace is:
    ERROR (com.att.retail.r2d2.persistence.dao.ExternalServiceCallDAO.saveExternalServiceCallInfo(ExternalServi
    ceCallDAO.java:143)@ExecuteThread: '252' for queue: 'weblogic.kernel.Default') {Error attempting to save collected ESC data}
    java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'BULK_INSERTS'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:944)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3856)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1373)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:98)
    at com.att.retail.r2d2.persistence.dao.ExternalServiceCallDAO.doBulkInsert(ExternalServiceCallDAO.java:220)
    at com.att.retail.r2d2.persistence.dao.ExternalServiceCallDAO.saveExternalServiceCallInfo(ExternalServiceCallDAO.java:138)
    Please help my guys out of this. I will really appreciate all suggestions and advices.
    Thank you everybody.

    I am trying to pass parameter to test my procedure but it is giving this error : ORA-06531: Reference to uninitialized collection
    ORA-06512: at line 12
    Here is example for my test procedure:
    declare
    v_session_id_tab SESSION_ID_TAB_TYPE;
    v_service_type_tab SERVICE_TYPE_TAB_TYPE ;
    v_service_location_tab SERVICE_LOCATION_TAB_TYPE ;
    v_service_call_name_tab SERVICE_CALL_NAME_TAB_TYPE;
    v_service_call_start_time_tab SERVICE_CALL_ST_TAB_TYPE;
    v_service_call_end_time_tab SERVICE_CALL_ET_TAB_TYPE;
    v_service_call_duration_tab SERVICE_CALL_DUR_TAB_TYPE;
    v_status_tab STATUS_TAB_TYPE;
    v_notes_tab NOTES_TAB_TYPE;
    begin
    v_session_id_tab(1) := 1;
    v_service_type_tab(1) := 'db';
    v_service_location_tab(1) := 'local';
    v_service_call_name_tab(1) := 'Name of call';
    v_service_call_start_time_tab(1) := SYSDATE;
    v_service_call_end_time_tab(1) := SYSDATE;
    v_service_call_duration_tab(1) := 100;
    v_status_tab(1) := 'Z';
    v_notes_tab(1) := 'NOTES';
    BULK_INSERTS (v_session_id_tab,v_service_type_tab, v_service_location_tab,v_service_call_name_tab,v_service_call_start_time_tab,v_service_call_end_time_tab,
    v_service_call_duration_tab, v_status_tab, v_notes_tab);
    end;
    I declare all types at schema level.
    Please give your comments.
    Thank you

  • Error while calling BAPI_PARTNEREMPLOYEE_CREATE BAPI using JCO

    Hi All,
    Our requirement is to create and update customer contact details from java application. For this purpose we are trying to call BAPI_PARTNEREMPLOYEE_CREATE BAPI for create contact and BAPI_PARTNEREMPLOYEE_EDIT for updating contact information. As these BAPIs are of online version, error is coming while calling these BAPIs.
    So is there any way to call these BAPIs through JCO or are there any alternative BAPIs available for same purpose?
    Thanks in advance,
    Arati.

    Hi,
    All the bapi or function module available in SAP to create contact person will internally do a call transaction to VAP1 and VAP2 tcodes in order to create or change contact person respectively.
    We had a similar problem when we were creating and updating customer contact person using inbound idoc. We then created a bdc recording for the same and then created two function module with name Z_CREATE_CONTACT and Z_CHANGE_CONTACT. In your case you can make this function modules as RFC enabled FM and call them using JCO I guess.
    KR Jaideep,

  • ABAP RunTime Error  for tcode : TS01

    Hi Friends,
    Actually we are getting the run time error while creating the standard security transaction using TS01.
    After entering the data in the first screen -- click on the enter -- enter the details inside & click on save button--then it will go run time error.
    Here while calling the method, we are getting the run time error.
    call method cl_class_position_op_trs=>trs_flows_calculate_tax
          exporting
            im_tab_flow         = L_TAB_FLOWS
            im_company_code     = l_company_code
            im_security_account = l_security_account
            im_security_id      = l_security_id
          receiving
            re_tab_flow         = RE_TAB_FLOWS
          exceptions
            failed = 1
            others = 2.
      if sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4
                  RAISING FAILED.
      endif.
    Actuallly here the problem with the class becuase the class  cl_class_position_op_trs itself has error.
    In the class , in the local classes they are calling again the class cl_class_position_op_trs. becasue of this reason it was going to run time error.
    So we are getting the run time error.
    We have OSS note for the same problem.But i am unable to implement that.
    Please guide me how to implement the OSS note 751947.(Note 751947 - TRS: Syntax error due to ABAP Compiler)
    please find the error details:
    Runtime Errors         SYNTAX_ERROR
           Occurred on     03/12/2008 at 00:26:57
    Syntax error in program "CL_CLASS_POSITION_OP_TRS======CP ".
    What happened?
    The following syntax error occurred in the program
    CL_CLASS_POSITION_OP_TRS======CP :
    "Components of classes declared using "CLASS CL_CLASS_POSITION_OP_TRS D"
    Error in ABAP application program.
    The current ABAP program "CL_CLASS_POSITION_TRS=========CP" had to be
    terminated because one of the
    statements could not be executed.
    This is probably due to an error in the ABAP program.
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "CL_CLASS_POSITION_OP_TRS======CP
    You can also perform the syntax check from the ABAP/4 Editor.
    If the problem persists, proceed as follows:
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion date.
    Error analysis
    The following syntax error was found in the program
    CL_CLASS_POSITION_OP_TRS======CP :
    "Components of classes declared using "CLASS CL_CLASS_POSITION_OP_TRS D"
    Regards.
    Lakshmi
    Edited by: lakshmi podile on Mar 14, 2008 8:08 AM

    Did you go through the steps in the note?
    Use transaction SE24 to distribute the local classes into new include structures as follows:
    Call transaction SE24 for the class CL_CLASS_POSITION_OP_TRS.
    Select the following menu option:
    Goto --> Class-local types --> Local Class Definitions/Types
    Confirm the message that proposes conversion into the new structures.
    Choose Utilities --> Regenerate sections from the menu.
    Activate the class and all changed objects.
    Try and do this, and see what happens.
    Good luck.

  • Need backend error in SRM while entering Service item

    hi SRM guru ,
    I need backend error while entering Service item in SRM in PO .
    I have scenario where in I need backend errors from ERP while making entry Service items .
    I need some configuration or customization that will cause backend error againt Service items .
    I have tried many thing like introducing such UOM , Tax code in SRM which is not supported by ERP .
    I was expecting backend error for it but it does not happen like that .
    I need find out some action that can cause Backend error for Sure while making entry of SRM Service item .
    I kindly invite your ideas and inputs ...
    In genral need something on PO UI that can cause backend error for Service item ...
    i have this Scenario mainly in SRM 6.0 onwards systems...
    Thanks in Advance .
    Regards ,
    Parag Bhise

    Hi,
    What specifically are you attempting to do?
    Why any error when craeting service item.
    You could code the DOC_CHECK_BADI to make an RFC call the the backend to do what ever check is necessary.
    Regards,
    Matthew

  • Exception while calling native profiler (root cause: no message available [

    Hi,
    We are setting up MAM30 using the new technology (NWMADMIN). During sync. I get the error message "Exception while calling native profiler (root cause: no message available [java.lang.reflect.Invocat...". Can anyone help me on this?
    Thanks
    Kind regards
    Jacob

    Hi Jacob,
    I once faced this problem(no in MAM though)
    I will try to guess the solution to your problem,
    1) My first guess would be that, the header file in MAM30 using the 'javah' tool, did not pass the fully qualified name of the class as the argument. The 'javah' tool will not complain and will produce an incorrect header file.
    2) The Native method names wouldnt have got a match for the java method names, might be missing the package name. here you need to import the missing ones.
    3) Or you would be calling static native methods using objects, it should be accessed in a static way. you can call them directly.
    Hope this helps.
    Regards
    Divya.

  • 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 -->

Maybe you are looking for