XlC compilation hangs when calling createEnvironment()

Let me first say I am posting this message for a developer as I myself don't have much C/C++ development experience. My developer states he is trying to compile using xlC compiler and the -g -pg flags. He states it hangs when it gets to the OCCI call createEnvironment(). However, he says he can successfully compile when he ONLY uses the -g flag. Does anyone know what might be causing this? He also stated that they used to use the -g and -pg flags together BEFORE they tried compiling using the OCCI calls.
IBM 5.3 ML4
xlC 8.0
Oracle 10.2.0.3

Let me first say I am posting this message for a developer as I myself don't have much C/C++ development experience. My developer states he is trying to compile using xlC compiler and the -g -pg flags. He states it hangs when it gets to the OCCI call createEnvironment(). However, he says he can successfully compile when he ONLY uses the -g flag. Does anyone know what might be causing this? He also stated that they used to use the -g and -pg flags together BEFORE they tried compiling using the OCCI calls.
IBM 5.3 ML4
xlC 8.0
Oracle 10.2.0.3

Similar Messages

  • 8i hangs when calling a complex EJB

    Regarding 8i (8.1.6) and EJBs on an NT Server...
    We have been working towards deployment of a web application, using 8i, for some time now and have overcome a number of problems encountered with EJBs (remote access via 2481, clientserverserver demo not working when connecting as any other user than the EJB owner etc.). We have found the going hard at times but we have now hit a potential showstopper problem that we can't find a way around.
    We have deployed ~25 EJBs and can call them many times from our client, including EJBs calling other EJBs. However, we have a more complex EJB that acts as client to 15 other EJBs and this is hanging intermittently. Sometimes it runs OK but then hangs at different points with ORACLE.EXE taking 100%
    CPU. The only recovery is to reboot the server.
    In our testing we have noticed the following points...
    1. Starting the database up, running some EJBs, shutting down the database and then restarting it leaves ORACLE.EXE taking ever more memory without apparently releasing any. This can be seen to get worse and worse when repeating this loop.
    2. When running many EJBs using several different Oracle connections (~10 different Oracle users) ORACLE.EXE takes more and more memory. It occassionally releases some but overtime grows.
    3. Deploying EJBs increases the memory usage of ORACLE.EXE significantly. The memory is not released.
    Some other points...
    1. The EJBs called by the main EJB are the same ones that are called OK from an external client.
    2. When the server hangs it tends to be when the main EJB is a). doing the JNDI lookup on another EJB OR b). running a method within another EJB. But it is difficult to spot any clear pattern.
    3. We are using //thisServer/:thisSession when calling EJBs serverside.
    We suspect that there may be a resource issue that causes problems under more complex scenarios.
    Questions...
    1. Are there known resource management problems with 8i on NT, or have we missed something ?
    2. Has anyone else got problems with ORACLE.EXE hanging when using EJBs ?
    3. Does anyone have any suggestions/ solutions ?
    Thanks, Andy Blears :(

    Stefan,
    Thanks for the input. We have now applied patches up to 8.1.6.1 (I can't find any more recent) and the problem still occurs. The behaviour may have become more predictable in that it seems to go into an eternal loop whilst trying to load classes. BUT it may work well for periods of time.
    Re. the performance it seems to be OK on the small tests we have run so far but because of the problems we're having we haven't run full stress/volume tests yet...I'll let you know - Are you asking because you have experienced poor performance ?

  • ABAP process hangs when calling a jCO Server J2EE-available RFC

    Hi there
    Here's the scenario:
    We have deployed a jCO server under the SAP WAS. This jCO server implements two functions. They are both called from ABAP process through RFC. We are using the same RFC destination for both
    First function is defined with import/export parameters and the second one only operates with a TABLE parameter.
    Incidentally, these functions are captured by the jCO server, which calls an IBM MQ server
    First function works fine. Second function hangs and there is not even a timeout so the ABAP process (run on foreground) can stay forever.
    The interesting part is that the same application works really fine when called from a Tomcat using a standalon instance of the jCO.
    Additional info:
    We have noticed that some time after the second function gets called, there are five dumps on the system (the same amount of servers we make available). These are CALL_FUNCTION_SIGNON_REJECTED.
    The fun part of the dumps is that the user making the RFC call is a different user that the one we use for the jCO connection, and the client number is '000', instead of the '728' we are using for the connection. Somehow they seem related but we do not know how yet:
    Short text
        You are not authorized to logon to the target system (error code 1).
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "SAPMSSY1" had to be terminated because it has
        come across a statement that unfortunately cannot be executed.
    Error analysis
        RFC (Remote Function Call) sent with invalid
        user ID "%_LOG01% " or client 000.
        User "ARINSO " under client 001 from system "SMD " has tried to carry out an
         RFC
        call under the user ID "%_LOG01% " and client 000 (Note: For releases < 4.0,
         the
         information on caller and caller system do not exist.).
    Call Program........."SAPLSMSY_ACTUALIZE_DATA"
    Function Module..... "SCSM_SYSTEM_LIST"
    Call Destination.... "SM_ET7CLNT000_READ"
    Source Server....... "sapwasmd_SMD_10"
    Source IP Address... "172.17.82.80"
    Termination occurred in the ABAP program "SAPMSSY1" - in
         "REMOTE_FUNCTION_CALL".
        The main program was "SAPMSSY1 ".
        In the source code you have the termination point in line 67
        of the (Include) program "SAPMSSY1".
    Any tip or suggestion on where to look at is more than welcome
    Thanks in advance,
    Miguel

    And this is the content of the defaultTrace.0.trc log from the WAS
    1.#005056AB04C500440000000200002B0000046B495CA1AF67#1243862737727#com.sap.caf.um.relgrou
    ps.imp.principals.RelGroupFactory##com.sap.caf.um.relgroups.imp.principals.RelGroupFactor
    y.RelGroupFactory()#######SAPEngine_System_Thread[impl:5]_13##0#0#Info#1#/System/Server#P
    lain###sap.com caf/um/relgroups/imp MAIN_NW701P03_C 2846629#
    #1.#005056AB04C500240000000100002B0000046B495CCDAAFB#1243862740608#com.sap.engine.library
    .monitor.mapping.ccms.Trace##com.sap.engine.library.monitor.mapping.ccms.Trace####n/a##b3
    89a8004eaf11dec9b7005056ab04c5#SAPEngine_System_Thread[impl:5]_39##0#0#Error##Plain###Reg
    isterNode</Kernel/System Threads Pool/WaitingTasksCount>: com.sap.engine.library.monitor.
    mapping.ccms.CcmsConnectorException: 2100850: Invalid configuration group for node'/Kerne
    l/System Threads Pool/WaitingTasksCount' (MANAGERS.SThreadPool.WaitingInRequestQueueCount
    , max. 40 characters)#
    #1.#005056AB04C500240000000200002B0000046B495CCDB4CC#1243862740612#com.sap.engine.library
    .monitor.mapping.ccms.Trace##com.sap.engine.library.monitor.mapping.ccms.Trace####n/a##b3
    89a8004eaf11dec9b7005056ab04c5#SAPEngine_System_Thread[impl:5]_39##0#0#Error##Plain###Reg
    isterNode</Kernel/System Threads Pool/WaitingTasksQueueOverflow>: com.sap.engine.library.
    monitor.mapping.ccms.CcmsConnectorException: 2100850: Invalid configuration group for nod
    e'/Kernel/System Threads Pool/WaitingTasksQueueOverflow' (MANAGERS.SThreadPool.Waiting4Fr
    eeReqQueueSlotCount, max. 40 characters)#
    #1.#005056AB04C500240000000300002B0000046B495CCDCDA1#1243862740618#com.sap.engine.library
    .monitor.mapping.ccms.Trace##com.sap.engine.library.monitor.mapping.ccms.Trace####n/a##b3
    89a8004eaf11dec9b7005056ab04c5#SAPEngine_System_Thread[impl:5]_39##0#0#Error##Plain###Reg
    isterNode</Kernel/Application Threads Pool/WaitingTasksCount>: com.sap.engine.library.mon
    itor.mapping.ccms.CcmsConnectorException: 2100850: Invalid configuration group for node'/
    Kernel/Application Threads Pool/WaitingTasksCount' (MANAGERS.AThreadPool.WaitingInRequest
    QueueCount, max. 40 characters)#
    #1.#005056AB04C500240000000400002B0000046B495CCDD69B#1243862740620#com.sap.engine.library
    .monitor.mapping.ccms.Trace##com.sap.engine.library.monitor.mapping.ccms.Trace####n/a##b3
    89a8004eaf11dec9b7005056ab04c5#SAPEngine_System_Thread[impl:5]_39##0#0#Error##Plain###Reg
    isterNode</Kernel/Application Threads Pool/WaitingTasksQueueOverflow>: com.sap.engine.lib
    rary.monitor.mapping.ccms.CcmsConnectorException: 2100850: Invalid configuration group fo
    r node'/Kernel/Application Threads Pool/WaitingTasksQueueOverflow' (MANAGERS.AThreadPool.
    Waiting4FreeReqQueueSlotCount, max. 40 characters)#
    #1.#005056AB04C500600000001600002B0000046B4960688301#1243862801089#com.sap.slm.exec.messa
    ge.SLMApplication#sap.com/tcslmslmapp#com.sap.slm.exec.message.SLMApplication#Guest#0##
    n/a##c59827604eaf11de9fb3005056ab04c5#SAPEngine_Application_Thread[impl:3]_0##0#0#Error##
    Java###null##
    #1.#005056AB04C500730000000000002B0000046B4CF0593ABD#1243878100908#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain###com.sap.mw.jco.JCO$AbapException: (126) 1: Array index out of rang
    e: 48#
    #1.#005056AB04C500730000000100002B0000046B4CF0594028#1243878100909#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain### at com.efh.jco.valtran.sap.ValtranRequestHandler.serverExceptionO
    ccurred(ValtranRequestHandler.java:164)#
    #1.#005056AB04C500730000000200002B0000046B4CF059406B#1243878100910#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain### at com.sap.mw.jco.JCO.fireServerExceptionOccurred(JCO.java:880)#
    #1.#005056AB04C500730000000300002B0000046B4CF05940A3#1243878100910#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain### at com.sap.mw.jco.JCO$Server.listen(JCO.java:8187)#
    #1.#005056AB04C500730000000400002B0000046B4CF05940DB#1243878100910#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain### at com.sap.mw.jco.JCO$Server.work(JCO.java:8303)#
    #1.#005056AB04C500730000000500002B0000046B4CF0594111#1243878100910#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain### at com.sap.mw.jco.JCO$Server.loop(JCO.java:8250)#
    #1.#005056AB04C500730000000600002B0000046B4CF0594143#1243878100910#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain### at com.sap.mw.jco.JCO$Server.run(JCO.java:8166)#
    #1.#005056AB04C500730000000700002B0000046B4CF05941F0#1243878100910#System.err#arinso.com/
    valtran_validator#System.err#Guest#0##ET7#MIGUELGU                        #4A240FF606CD5E
    5AE10000000A38418C#Thread[JCO.ServerThread-11,5,SAPEngine_Application_Thread[impl:3]_Grou
    p]##0#0#Error##Plain### at java.lang.Thread.run(Thread.java:770)#

  • Environment.Exit hangs when called from an application domain exception handler

    I've implemented a handler for exceptions not thrown in the main GUI thread of my C# WinForms application, as follows:
        AppDomain.CurrentDomain.UnhandledException  += OnUnhandledExceptionThrown;
    This handler is called from a background thread. The last statement in this handler is a call to
    Environment.Exit with the application exit code. However, the application hangs in this call. From within Visual Studio, it hangs and I'm unable to break the application; I have to use Task Manager to terminate Visual Studio. Environment.Exit
    works fine when called from the unhandled exception handler for the GUI thread. Is there a better way to terminate the application in the context of an unhandled exception thrown by a background thread?

    Are you just trying to avoid a crash? Environment.Exit can cause deadlocking if exiting in the wrong kind of scenario; if you're just trying to avoid a crash, use
    GetCurrentProcess with
    TerminateProcess to terminate your own process.  It skips the notification phases that Environment.Exit uses which prevents the common deadlock scenarios.
    WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/

  • E71 hangs when call answered

    Hi Nokians,
    A moment ago, when I click "green" key to answer a call, my E71 hangs (No backgroud application is running)
    E71 is a great device but as days go by, more and more issue happened (refer below).
    I cannot accept a phone that hangs when answering a call. It does not improve my productivity at all. My previous Treo 680 had the same problem, that is why I switched to E61i, and now E71.
    To Nokia: you better improve! Cause E71 may be my last phone from Nokia.
    List of bugs
    1. Active Notes does not appear when call is make to the linked contact
    2. GPS not able to lock to satellite, and display current location on map (solved by changing the positioning server to supl.nokia.com)
    3. I connect to the email account and retrieve emails, the application shut down and returns to the home screen.
    4. I have 2 e-mail mailboxes, the 2nd mailbox disappeared when auto-retrieval is turned on, all e-mails are lost!
    5. Unable to terminate/hang-up when called number is busy (partially solved if automatic redial is diabled) or when an incoming call ends.
    6. When set powersaver to "None", when the screen goes to power save mode, it display a time. The time stops at that moment. And will no tick at all.
    7. Automatic Retrieval > E-Mail notifications > only in home network . When I open an incoming SMS, a warning message appeared, "Messaging: Memeory Full. Close some applications and try again." . I checked my phone's memory, it has 95MB free memory. I need to disable E-mail notifications, then only I am able to open an incoming SMS.
    8. The recent call list (in, out and missed) shows all icons as "mobile" despite the number is a telephone number.
    9. I am not able to enable both
    - Automatic retrieval > E-mail notifications
    - Automatic retrieval > E-mail retrieval
    E71 only allows either one of the above to be enabled
    10. Sometimes, E71 will hang when answering a call.
    200.21.118
    27-11-2008
    RM346
    NOKIA E71-1(26)
    Message Edited by mecool2008 on 11-Feb-2009 10:16 PM

    Hi,
    I am also facing some of the problems you have listed.
    My frined has Nokia E71 but with older FM 100..... He do not have much problems.
    Nokia has to fix these problems at the earliest.
    bye,
    raj707
    Mumbai - India
    =====
    200.21.118
    E71-1
    RM-346
    =====

  • Crystal report hangs when calling oracle package

    hi i have a oracle package that calls a proceadure, if i test this package in PLSQL developer it compiles and i get sensible results
    this package has been designed using a ref type cursor to be called from crystal reports. it primary objective when the report is run, is to use File util to output data to an xml file.
    when i run this from crystal reports it locks crystal reports up, and dosent output a file.
    any ideas why crystal is hanging?
    crystal DB call
    {CALL  Enhanced_Pharos_Report.run_report
    (NVL({?a_channel_id},0),{?b_on_date})}
    package
    create or replace package UKTV_PHAROS_EXPORT_RPT
    -- Author : WARDLJ01
    -- Created : 03/04/2006 12:25:03
    -- Purpose : export xml for pharos voiceovers
    -- Public type declarations
    AS
    TYPE result_set_type IS REF CURSOR;
    PROCEDURE run_report
    (main_cursor IN OUT result_set_type,
    V_CHANNEL_ID NUMBER,
    V_ONDATE      DATE);
    end ;--UKTV_PHAROS_EXPORT_RPT;
    package body
    create or replace package body UKTV_PHAROS_EXPORT_RPT AS
    PROCEDURE run_report
    (main_cursor IN OUT result_set_type,
    V_CHANNEL_ID NUMBER,
    V_ONDATE      DATE)
    is
    BEGIN
    OPEN main_cursor FOR
    -- Passess the parameters back to the cursor - which passes them back to the Crystal Report output
    SELECT V_CHANNEL_ID, V_ONDATE from DUAL;
    -- This is a procedure that calls FILE_UTL to export the data.
    UKTV_PHAROS_Export(V_CHANNEL_ID, V_ONDATE);
    END;
    end;
    Proceadure
    create or replace procedure uktv_own.UKTV_Pharos_Export(V_CHANNEL_ID number, V_ONDATE date) is
    l_output utl_file.file_type;
    p_filename varchar2(30);
    V_DETAIL_id varchar2(100);
    V_MEDIA_ID varchar2(150);
    V_REQUIRED varchar2(50);
    V_SCRIPT varchar2(4000);
    V_DEL_DATE varchar2(100);
    V_FULLMEDIA_ID varchar2(500);
    V_START_TIME varchar2(100);
    V_DURATION varchar2(100);
    V_DATE varchar2(100);
    V_CHANNEL varchar2(40);
    V_LOGO_NAME varchar2(250);
    Cursor VO_CURSOR
    IS
    select event_voiceover.detail_id, vo_media_id, vo_required, vo_script, vo_del_date, full_media_id,
    event.start_time, event.duration, event.on_date, event.channel_id, logo.logo_name
    from event_voiceover,
    onair.event, onair.event_technical_data,
    onair.logo
    where event_voiceover.detail_id = event.detail_id
    and event_technical_data.event_technical_data_id = event.event_technical_data_id
    and event_technical_data.content_id = logo.logo_id and
    event.channel_id = V_CHANNEL_ID and
    vo_required = 500004580 and
    event.on_date = V_ONDATE;
    begin
    p_filename :='voice_overs.xml';
    l_output := utl_file.fopen ('PHAROS_DIR', p_filename, 'w' );
    OPEN VO_CURSOR;
    utl_file.put ( l_output,'<Voice_Overs>');
    Loop
    FETCH VO_CURSOR INTO V_DETAIL_id, V_MEDIA_ID, V_REQUIRED,V_SCRIPT, V_DEL_DATE, V_FULLMEDIA_ID, V_START_TIME, V_DURATION, V_DATE, V_CHANNEL, V_LOGO_NAME;
    EXIT WHEN VO_CURSOR%NOTFOUND
    OR VO_CURSOR%ROWCOUNT = 10000;
    utl_file.put( l_output, '<DETAIL_ID>');
    utl_file.put( l_output, V_DETAIL_ID);
    utl_file.put( l_output, '</DETAIL_ID>');
    utl_file.put( l_output, '<MEDIA_ID>');
    utl_file.put( l_output, V_MEDIA_ID);
    utl_file.put( l_output, '</MEDIA_ID>');
    utl_file.put( l_output, '<REQUIRED>');
    utl_file.put( l_output, V_REQUIRED);
    utl_file.put( l_output, '</REQUIRED>');
    utl_file.put( l_output, '<SCRIPT>');
    utl_file.put( l_output, V_SCRIPT);
    utl_file.put( l_output, '</SCRIPT>');
    utl_file.put( l_output, '<DEL_DATE>');
    utl_file.put( l_output, V_DEL_DATE);
    utl_file.put( l_output, '</DEL_DATE>');
    utl_file.put( l_output, '<FULLMEDIA_ID>');
    utl_file.put( l_output, V_FULLMEDIA_ID);
    utl_file.put( l_output, '</FULLMEDIA_ID>');
    utl_file.put( l_output, '<START_TIME>');
    utl_file.put( l_output, V_START_TIME);
    utl_file.put( l_output, '</START_TIME>');
    utl_file.put( l_output, '<DURATION>');
    utl_file.put( l_output, V_DURATION);
    utl_file.put( l_output, '</DURATION>');
    utl_file.put( l_output, '<ONDATE>');
    utl_file.put( l_output, V_DATE);
    utl_file.put( l_output, '</ONDATE>');
    utl_file.put( l_output, '<CHANNEL_ID>');
    utl_file.put( l_output, V_CHANNEL);
    utl_file.put( l_output, '</CHANNEL_ID>');
    utl_file.put( l_output, '<LOGO_NAME>');
    utl_file.put( l_output, V_LOGO_NAME);
    utl_file.put( l_output, '</LOGO_NAME>');
    utl_file.new_line ( l_output);
    end loop;
    utl_file.put ( l_output,'</Voice_Overs>');
    utl_file.fclose(l_output);
    end UKTV_Pharos_Export;

    Hi yes the package uses fileutil to output a file,
    the report user has permission over the file util output directory.
    I have previously used this method to generate rpt, and other output files in parelell.
    thanks
    james

  • Hangs when calling report to be displayed in PDF format

    I am calling reports from a form using RUN_PRODUCT to be displayed in PDF format. Initially, there is no problem generating and displaying reports, but inevitably at some point when a report is run it just hangs. Rebooting the server temporarily fixes problem. Any ideas on what is happening?
    Using Forms & Reports Server 6i on Windows NT 4.0

    It seems that the key to the solution is to shrink the margins.....
    Greetings,
    Sim

  • Getting session hang When calling Function from SQL query

    Hi All,
    I am using Oracle 8.1.7.4.0. I have a fucntion in a Package and I am calling it from the SQL query. When I am firing the query my oracle session is going to hang position and I am not able to any thing. I have to kill the session.
    But this same thing is working fine in Oracle 9.i.
    There are no out parameter and no DML, DDL and DCL statement in this fucntion.
    Could you please get back me what is the problem on it.
    Regards
    SUN

    Check why your session hangs.
    Just a few ideas:
    * Blocking locks?
    * Endless loop?
    * Performance (maybe it is just slow in orac8i and you have to wait a bit longer). Check the execution plans of the SQL statements in your function.
    * Don't use a function, but direct SQL, it is faster in both versions.

  • File upload hanging when called from another form

    Hi
    I have created a file upload form from the documentation I found on metalink and the form works fine on its own. I have then implemented the form into a multi form application and when the file upload form is called from another form it hangs trying to get to the client drive so that it can pick up a file. I have tried using the 'call_form', 'open_form' and 'new_form' built-ins but the results were all the same. Can anybody help me?
    Maria

    Hello,
    This is not the support, so there are no post more urgent than other.
    Francois

  • JavaFX hangs when called from Java

    Hello
    I am developing a java application with a JavaFX gui, the communication from Java works with an java interface. The communication works,but after a few updates the javaFX code hangs and subsequently the Java code also hangs.
    Is this a common problem, and so is there a common solution for this.

    JavaFX UI calls need to be done on the Event Thread. So if your Java Application has multiple threads or runs on a different Thread to need to wrap all callbacks to JavaFX in a deferAction like this:
    class YourFXClass extends YourJavaInterface {
       override public function someMethod(someArgument) {
            FX.deferAction(function() : Void {
                  // doSomething with someArgument
        }

  • Compiler error when calling ValidateWorkflowMarkupAndCreateSupportObjects

    Hi,
    I created a workflow in sharepoint designer then i exported xoml, xoml.rules, xoml.wfconfig.xml files from it.
    I want to deploy these files in sharepoint using a host application (Windows Forms application). So, I call ValidateWorkflowMarkupAndCreateSupportObjects and AssociateWorkflowMarkup method from the WebPartPagesWebService class.
    This is the code:
    string XomlFile = @"D:\wkf\rami workflow designer.xoml";
    string RulesFile = @"D:\wkf\rami workflow designer.xoml.rules";
    string ConfigFile = @"D:\wkf\rami workflow designer.xoml.wfconfig.xml";
    string flag = "2";
    websvcWebPartPages.WebPartPagesWebService service = new websvcWebPartPages.WebPartPagesWebService();
    service.UseDefaultCredentials = true;
    service.PreAuthenticate = true;
    string result = service.ValidateWorkflowMarkupAndCreateSupportObjects(XomlFile, RulesFile, ConfigFile, flag);
    service.AssociateWorkflowMarkup(ConfigFile, "V1.0");
    ValidateWorkflowMarkupAndCreateSupportObjects return "Data at the root level is invalid. Line 1, position 1".
    And AssociateWorkflowMarkup throw Microsoft.SharePoint.SoapServer.SoapServerException.
    The Logs file:
    Name=Request (POST:http://acer-pc:21788/_vti_bin/Webpartpages.asmx)    3dccdc9b-af66-4f72-b41f-51a4d1774b35
    Site=/    3dccdc9b-af66-4f72-b41f-51a4d1774b35
    Unknown SPRequest error occurred. More information: 0x80070002    3dccdc9b-af66-4f72-b41f-51a4d1774b35
    SOAP exception: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception de HRESULT : 0x80070002)   at Microsoft.SharePoint.Library.SPRequestInternalClass.GetFileAndFolderProperties(String
    bstrUrl, String bstrStartUrl, ListDocsFlags ListDocsFlags, Boolean bThrowException, Int32& phrStatus, Object& pvarFiles, Object& pvarDirs, UInt32& pdwNumberOfFiles, UInt32& pdwNumberOfDirs)  at Microsoft.SharePoint.Library.SPRequest.GetFileAndFolderProperties(String
    bstrUrl, String bstrStartUrl, ListDocsFlags ListDocsFlags, Boolean bThrowException, Int32& phrStatus, Object& pvarFiles, Object& pvarDirs, UInt32& pdwNumberOfFiles, UInt32& pdwNumberOfDirs)     à Microsoft.SharePoint.SPWeb.GetFileOrFolderProperties(String
    strUrl, ListDocsFlags listDocsFlags, Boolean throwException, ...    3dccdc9b-af66-4f72-b41f-51a4d1774b35 ...SPBasePermissions& permMask)     à Microsoft.SharePoint.SPFile.PropertiesCore(Boolean throwException)    
    at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytesElevated(SPFile file, Int32 fileVer, Int32& userid, DateTime& lastModified)  at Microsoft.SharePoint.Workflow.SPWorkflowNoCodeSupport.LoadWorkflowBytes(SPFile file, Int32
    fileVer, Int32& userid)  at Microsoft.SharePoint.SoapServer.WebPartPagesWebService.AssociateWorkflowMarkup(String configUrl, String configVersion)    3dccdc9b-af66-4f72-b41f-51a4d1774b35.
    When i deploy the workflow using Sharepoint Designer it works. But i want to deploy it with a customized application in a first step then create my own workflow designer in second step.

    I understand, so i have a doubt, why the webservice works on jDeveloper ??Not just JDeveloper even soapUI and Neatbeans have a way of working without a client certificate installed.
    I do not know how they achieve it. I know that they work without a client DC.
    Cheers,
    PS: See this http://stackoverflow.com/questions/8887434/webservices-ssl-https, it offers a clue.
    The java programs run unhindered when one-way authentication is being used. These products ship with a digital certificate that is in the path of most popular CAs.
    Corollary, if the Web Server is configured for mutual authentication then you need to install and configure the client certificate in the tools.
    Edited by: Prabodh on Dec 5, 2012 8:36 PM

  • WLS hanger when calling EJB in second WLS

    Hello,
    I have a very strange problem I need to track down. The scenario is as follows:
    WLS6.1 SP3/Solaris 2.8
    One WLS containing an EJB A (stateless session) that has Trx=Required on method_A,
    the second WLS that has an EJB B deployed (stateless session) that has Trx=NotSupported
    on method_B. Now I call in a client method_A of EJB A, which calls method_B of
    EJB B. This works fine.
    Now I install the second WLS on an different machine (same OS=solaris), and repeat
    above scenario. The result is that I am able to call method_A of EJB A, which
    calls method_B of EJB B. But after I return from method_B/EJB in EJB A, I hang
    in EJB A/postInvoke.
    From the thread dump I see the following:
    "ExecuteThread: '46' for queue: 'default'" daemon prio=5 tid=0x7c20c0 nid=0x35d
    waiting on monitor [0xdb0f000..0xdb0fdc0]
    at java.lang.Object.wait(Native Method)
    at weblogic.transaction.internal.ServerTransactionImpl.globalRetryCommit(ServerTransactionImpl.java:1970)
    at weblogic.transaction.internal.ServerTransactionImpl.globalCommit(ServerTransactionImpl.java:1899)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:220)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
    at com.csg.pb.tit.tdc.cptypay.ejb.CounterpartyPayPathBean_43jp4t_EOImpl.routeCif(CounterpartyPayPathBean_43jp4t_EOImpl.java
    at com.csg.pb.tit.tdc.cptypay.ejb.CounterpartyPayPathBean_43jp4t_EOImpl_WLSkel.invoke(Unknown
    Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
    at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:93)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    How canI find out what is going on?
    Thanks
    Juerg

    I am getting the same exception about an assertion failed at weblogic.t3.srvr.T3Srvr.checkServerLock. Any ideas?

  • InfoPackage Hangs when called from Process Chain

    We recently implemented the 2LIS_04_P_ARBPL DataSource and have scheduled the execution of a Delta InfoPackage in our nightly Process Chains.
    After working correctly for 2 weeks the InfoPackage has hung the last 3 nights. It is being called and when I view the process chain log it is in the yellow (in process) status. When I look in SM37 in R/3 the extractor has not been called.
    All of our master data and transactional data from other areas runs prior to this extractor and works perfectly via the process chain and if I force the InfoPackage to red and re-execute manually for 2LIS_04_P_ARBPL I have no problems.
    How/where should I troubleshoot this?

    Hi Jonathan,
    Goto your process chain-> Select the delta infopackage -> right click and select wait time and enter the time in seconds. You could set it to 600 secs(10 minutes).
    This would be a permanent solution to your problem as you need not go to BD87 each time for your data load.
    Bye
    Dinesh

  • Encore CS5 hangs when called by Premiere Pro CS5 using Dynamic Link

    Need help from folks,
    Have done so far:
    1. unistall CS5 package , reinstall CS5 package Production Premium. Reinstall all updates. Still get the problem.
    2. Problem seems to be pop-up screen do not accept any 'click' to input answer to Encore CS5
    3. Premiere Pro CS5 working fine
    Please help.
    TT

    Thanks again pointing out the  Adobe CC Cleaner URL
    When I said CCleaner previously, I was refering to a program that clean out garbages from PC (broken links, shortcuts, temp files, etcetera..)
    But late on, I have found out Adobe CC Cleaner (for Creative Cloud and CS5, CS6...) for cleaning Adobe craps after un-install.
    I just wish the hotline could mention it and not having me to swim to find out that tool does exists saving some precious time.
    Here is the status and what I have done to fix the problem:
    ...yeah, I was shooting in the dark...
    1. Uninstall completely Adobe Premiere Production CS5 (remove preferences)
    2. Run Adobe CCleaner (choose "all")
    3. Shutdown PC, reboot and Cleanup and Defragment C: drive
    4. Re-install completely Adobe Premiere Production CS5 (all products)
    5. Re-apply completely Adobe Premiere Production CS5 (all products)
           (note: for some reason, I need to do it three times to get the complete updates done, just retry and no changes between retry)
    6. Result : PremierePro still working fine, still hangs on Encore
           (Encore dialog screen was frozen as before from the begining and I had to use "Window-Task-Manager" to "end-the-task" of Encore)
    7.Conclusion: the problem is on the PC not AdobePremiereProduction
    8. Decision: Restore previous checkpoint of Window-7 Professional components
    9. Redone steps 1,2,3,4,5
    10. The result is the same as mentioned in point 6 and the conclusion is the same as mentioned in point 7.
    11. Ultimate Decision: Ground-zero style resfresh (see the follwoing steps)
    12. Separate Data from Window-7 (Move out all data from PC and unplug all connected portable hard drives
    13. Factory restore of Window-7 Professional using DVD-rescue (hard drive C: wiped out and reformatted)
    14. Apply all Updates for Window-7 Professional (over 121 updates, over 700Mb and many shutdown-reboot)
    15. Reconfigure Wireless for connecting to Internet
    16. Re-Install McAfee Antivirus
    17. Re-Install some usefull Softwares (Microsoft Office 2010 Professional, etcetera... Shareport for wireless USB Printer)
    18. Lot of Canon and Sony Softwares not re-installed because not used and not needed for now
    19. Clean install AdobePremiereProduction CS5 (no need to run Adobe CCleaner)
    20. Apply all updates for AdobePremierProduction CS5 (result is intermittent and have to retry few times to get it completed)
    21. Apply one by one updates for every single Adobe product to get it done\
    22. Shutdown and cleanup C: drive and defragment C; drive
    22. From now on, I am sure to have a FRESH an CLEAN PC with  a CLEAN CS5
    23. RESULT: AdobePremierePro-CS5 still working perfectly AS BEFORE
    24. RESULT: AdobeEncore-CS5 standalone do not hang ANY MORE
          but get error on MICROSOFT VISUAL C++ ? (with no details and some question marks) new
    24. Get message saying QUICKTIME not installed (with warning)
    25. Okay, install QUICKTIME from Apple to please CS5
    26. Shutdown PC, reboot PC just to be sure everything kick in properly
    27. RESULT: same as in point 24 (get error on MICROSOFT VISUAL C++ ? (with no details and some question marks)
    28. It's SHOOT in the DARK, ON MORE TIME, BABY
    29. Focusing on MicroSoft Visual C++ component: Comparing Installed products between my OLD PC and the freshly factory restored one
    30. The old PC has Microsoft Visual C++ 2005,2008 and 2010 (both x64 and x86)
    31. the new PC only has Microsoft Visual C++ 2008,2010 (both x64 and x86)
    32. Decision : Install Microsoft Visual C++ 2005 (both x64 and x86) (trying to have same softwares on both PC)
    33. Reboot PC after install
    34. AMAZING RESULT: Adobe-Encore-CS5 is functionning OKAY
    35. Testing time: I created a very small project in AdobePremierePro-CS5 and I was able to DynamicLink to Encore-CS5 and I was able to create on disk a DVD
          and I was able to play that DVD
    36. DID I DO ALL THOSE STEPS FOR NOTHING, WHY IT WAS SO COMPLICATED,
          I WILL TEST IT AGAIN WITH MY BIG PROJECT (76 Ggis and 1 hour 18 minutes Blu-Ray) sometimes this week
         I SPENT TOO MUCH TIME TROUBLESHOOTING AND I AM LOOSING MY CREATIVITY (....LOL...)
          BELIEVE ME, I AM EXHAUSTED AND NEED SOME REST.
    37. The End

  • Reader 8/Reader 9 hang when called from a ShellOpen

    We are having an interesting issue with Reader 8 and Reader 9, opening pdf documents from an application we wrote. Here is the scenario using Reader 9 running on Windows XP, computers running Svc. Packs 2 or 3.
    I have Reader 9 installed, Windows File Types specifically call for the extension .pdf to open with Reader 9. If I click on a pdf file in Explorer, the document comes up in 9. If I use either IE or Firefox and call a pdf file from HTML code, Reader 9 opens the file without fail.
    If I attempt to open a pdf document from a ShellOpen, the reader does not appear on the screen. Task Manager/Processes shows the reader actually running. Each time you click on the document, the reader spawns a new process. If I open Reader then attempt to start the program? The Title Bar will show the file name? But lock up. Reader's screen is white. Have to kill the process.
    So I began installing older versions of reader. Reader 8? Does the same thing. Reader 7? It works as expected! Opens the document called from a ShellOpen command. Next? Loaded the same scenario on a Vista box. Result? The code works perfectly running under Vista. Reader 9 opens the document without fail. So either Reader 9 is having a conflict with the operating system or the operating system is having conflict with Reader 9.
    The code that is used to start the process of opening the pdf document is:
    procedure TfMainForm.pdfManualClick(Sender: TObject);
    begin
    strPath := extractFilePath( paramStr( 0 ) ) + '../help/lib/';
    shellOpen( strPath + 'at60_manual.pdf' );
    end;
    Again? this works great with Reader 7 under XP so we know the code is correct.
    Is there any sort of a setting within Reader 9 that is not being set right? I did make sure Reader 9 has the latest patch.
    My alternative, which I don't like is to call a browser with html code that allows the user to click and start Reader. Thats two steps, not the one step we intended the function to be.
    Any assistance would be greatly appreciated. I need to get this solved before we ship over 1000 installs in the next 30 days.
    Thank you!
    Jack

    Problem solved, it was my oversight, I had not removed the check from the Print to File box in the print set up.

Maybe you are looking for