Ant Scripts works fine in one but fails in other environment

Hi,
Ant script is working fine in Dev environment but is failing in the other environment. Somehow the BPEL server is not able to pick the latest deployed process , due to this the dependent BPEL processes are failing. If we restart the server , it moves forward and then fails at the point where it couldn’t find reference to the processes deployed after restart. Restarting the server at every failed interval will deploy all the BPEL processes which is not the solution.
example : we have BPEL Processes say A, B, C, D and E. A,B are independent processes C is dependent on A, D is independent and E is dependent on D. So I have Ant script to deploy in A,B,C,D,E order. Now I run the Ant Script: It deploys A,B processes and Fails at C saying it couldn't find the process A.wsdl(But A is deployed). So if i restart now it recognizes A and B are deployed so C is also deployed succesfully it also deploys D as it is Independent but fails at E. If i restart the server E is also deployed.
The Environment is clustered.
Any suggestion to make my Ant script to run at a go will be highly appreciated
Thanks
Krishna

Hi,
is this a redeployment of workflows? (do you use the same versionnumber or new ones?)
can you post the soap:address of a dependent process?

Similar Messages

  • Query running fine in one environment but failing in other environment

    Hi,
    I have a query which i am trying to execute in two different environments.
    Test :- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Prod:- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Now query executes finely in one environment and fails in other environment.
    It gives following error.
    ORA-01861: literal does not match format string
    01861. 00000 - "literal does not match format string"
    The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
    The same query works fine on TEST environment and and fails on PROD environment.
    Any help related to it would be appreciated.
    Thanks,
    Mahesh

    MaheshGx wrote:
    Hi,
    I have a query which i am trying to execute in two different environments.
    Test :- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Prod:- Oracle Database 11g Release 11.2.0.1.0 - 64bit Production
    Now query executes finely in one environment and fails in other environment.
    It gives following error.
    ORA-01861: literal does not match format string
    01861. 00000 - "literal does not match format string"
    The query is too long and contains CHAR-DATE and DATE-CHAR conversions.
    The same query works fine on TEST environment and and fails on PROD environment.
    Any help related to it would be appreciated.
    Thanks,
    MaheshThat's called a bug. One caused by the person who developed the code. They relied on implicit conversion between strings and dates when
    production quality code will always use to_char and to_date functions with a format mask.

  • Script works fine in CC but not CS5- Any tips?

    So i have this script that detects instances of XXXXXXXX and turns them into hyperlinks. It works fine in InDesign CC however won't play nice in CS5.
    Anyone have any tips as to how I can go about making it work?
    var myDoc = app.activeDocument;
    var myLinkStyle = myDoc.characterStyles.itemByName("link"); // the Character style of the links
    var myURL = "http://www.abc.com.au/part/{part_id}?utm_source=ABC%PublicationName&utm_medium=Catalogue&utm_term={part_id}&utm_campa ign=Catalogue"; // url of your company
    var myUrlPartReplace = new RegExp("{part_id}", 'g');
    var i, myLinks, myLink, mySource, myDestination;
    for (i = myDoc.hyperlinkTextSources.length-1; i >= 0; i--){
        mySource =  myDoc.hyperlinkTextSources[i];
        if (mySource.sourceText.appliedCharacterStyle == myLinkStyle){
            mySource.remove(); // removes existing hyperlinks to avoid "double bookings"
    app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = "\\<(\\d\\d\\d\\d\\d\\d\\d\\d)\\>";
    myLinks = myDoc.findGrep();
    app.findGrepPreferences = null;
    for (i = 0; i < myLinks.length; i++){
       myLink = myLinks[i];
       mySource = myDoc.hyperlinkTextSources.add(myLink);
       myDestination = myDoc.hyperlinkURLDestinations.add(myURL.replace(myUrlPartReplace, myLink.contents.replace(" ", "")));
       myDoc.hyperlinks.add(mySource, myDestination);
    Thanks in advance!

    HI Trevor,
    Thanks for the suggestion. I copied the script into a new file and tried to run from the ESTK... no luck (see screenshot).

  • Works fine using ADS but fails with NTLM

    Hello ,
    We have developed an iView which grabs data from a SQL database. In the personalization dialog , the user can choose all the values of a column so that the result set contains only those records which had the selected column values. This dialog was implemented using javascript. The iView works fine when it is run on its own using ADS authentication. However, when we implement single-sign on using NTLM the personalization dialog fails when I try to store the personalization dialog.
    Does anyone have any ideas?
    Thanks

    Hello,
    I have noticed that none of the personalization dialogs work after we have moved to NTLM single-sign-on.After I press apply or save on the personalization dialog , I get a "page not found" error.Please advise.
    Thanks

  • ODBC API works fine in VB but fails in VC++...

    My VB program is....
    just cut and paste it in the declarations section of the form.
    take 3 text boxes and a check box and a command button and run
    Option Explicit
    #If Win32 Then
    Private Declare Function SQLAllocEnv Lib "odbc32.dll" _
    (phenv As Long) As Integer
    Private Declare Function SQLAllocConnect Lib "odbc32.dll" _
    (ByVal henv As Long, phdbc As Long) As Integer
    Private Declare Function SQLConnect Lib "odbc32.dll" ( _
    ByVal hdbc As Long, ByVal szDSN As String, _
    ByVal cbDSN As Integer, ByVal szUID As String, _
    ByVal cbUID As Integer, ByVal szAuthStr As String, _
    ByVal cbAuthStr As Integer) As Integer
    Private Declare Function SQLFreeEnv Lib "odbc32.dll" _
    (ByVal henv As Long) As Integer
    Private Declare Function SQLFreeConnect Lib "odbc32.dll" _
    (ByVal hdbc As Long) As Integer
    Private Declare Function SQLError Lib "odbc32.dll" ( _
    ByVal henv As Long, ByVal hdbc As Long, ByVal hstmt As Long, _
    ByVal szSqlState As String, pfNativeError As Long, _
    ByVal szErrorMsg As String, ByVal cbErrorMsgMax As Integer, _
    pcbErrorMsg As Integer) As Integer
    #ElseIf Win16 Then
    Private Declare Function SQLAllocEnv Lib "odbc.dll" _
    (phenv As Long) As Integer
    Private Declare Function SQLAllocConnect Lib "odbc.dll" _
    (ByVal henv As Long, phdbc As Long) As Integer
    Private Declare Function SQLConnect Lib "odbc.dll" ( _
    ByVal hdbc As Long, ByVal szDSN As String, _
    ByVal cbDSN As Integer, ByVal szUID As String, _
    ByVal cbUID As Integer, ByVal szAuthStr As String, _
    ByVal cbAuthStr As Integer) As Integer
    Private Declare Function SQLFreeEnv Lib "odbc.dll" _
    (ByVal henv As Long) As Integer
    Private Declare Function SQLFreeConnect Lib "odbc.dll" _
    (ByVal hdbc As Long) As Integer
    Private Declare Function SQLError Lib "odbc.dll" ( _
    ByVal henv As Long, ByVal hdbc As Long, _
    ByVal hstmt As Long, ByVal szSqlState As String, _
    pfNativeError As Long, ByVal szErrorMsg As String, _
    ByVal cbErrorMsgMax As Integer, pcbErrorMsg As Integer) _
    As Integer
    #End If
    Private Const SQL_SUCCESS As Long = 0
    Private Const SQL_SUCCESS_WITH_INFO As Long = 1
    Private Function IsValidODBCLogin(ByVal sDSN As String, _
    ByVal sUID As String, ByVal sPWD As String) As Boolean
    Dim henv As Long 'Environment Handle
    Dim hdbc As Long 'Connection Handle
    Dim iResult As Integer
    'Obtain Environment Handle
    iResult = SQLAllocEnv(henv)
    If iResult <> SQL_SUCCESS Then
    IsValidODBCLogin = False
    Exit Function
    End If
    'Obtain Connection Handle
    iResult = SQLAllocConnect(henv, hdbc)
    If iResult <> SQL_SUCCESS Then
    IsValidODBCLogin = False
    iResult = SQLFreeEnv(henv)
    Exit Function
    End If
    'Test Connect Parameters
    iResult = SQLConnect(hdbc, sDSN, Len(sDSN), sUID, Len(sUID), _
    sPWD, Len(sPWD))
    If iResult <> SQL_SUCCESS Then
    If iResult = SQL_SUCCESS_WITH_INFO Then
    'The Connection has been successful, but SQLState Information
    'has been returned
    'Obtain all the SQLState Information
    If Check1.Value Then ShowSQLErrorInfo hdbc, vbInformation
    IsValidODBCLogin = True
    Else
    'Obtain all the Error Information
    If Check1.Value Then ShowSQLErrorInfo hdbc, vbExclamation
    IsValidODBCLogin = False
    End If
    Else
    IsValidODBCLogin = True
    End If
    'Free Connection Handle and Environment Handle
    iResult = SQLFreeConnect(hdbc)
    iResult = SQLFreeEnv(henv)
    End Function
    Private Sub Form_Load()
    Text1.Text = "DSN"
    Text2.Text = "User ID"
    Text3.Text = ""
    Text3.PasswordChar = "*"
    Command1.Caption = "Test Connect"
    Check1.Caption = "Return Errors and Warnings"
    End Sub
    Private Sub Command1_Click()
    Dim sServer As String, sLogin As String, sPassword As String
    sServer = Text1.Text
    sLogin = Text2.Text
    sPassword = Text3.Text
    If IsValidODBCLogin(sServer, sLogin, sPassword) = True Then
    MsgBox "Connection Successful", vbInformation, "ODBC Logon"
    Else
    MsgBox "Connection Failed", vbExclamation, "ODBC Logon"
    End If
    End Sub
    Private Sub ShowSQLErrorInfo(hdbc As Long, iMSGIcon As Integer)
    Dim iResult As Integer
    Dim hstmt As Long
    Dim sBuffer1 As String * 16, sBuffer2 As String * 255
    Dim lNative As Long, iOutlen As Integer
    sBuffer1 = String$(16, 0)
    sBuffer2 = String$(256, 0)
    iResult = SQLError(0, hdbc, hstmt, sBuffer1, lNative, sBuffer2, _
    256, iOutlen)
    If iResult = SQL_SUCCESS Then
    If iOutlen = 0 Then
    MsgBox "Error -- No error information available", _
    iMSGIcon, "ODBC Logon"
    Else
    MsgBox Left$(sBuffer2, iOutlen), iMSGIcon, "ODBC Logon"
    End If
    End If
    End Sub
    my vc program is...
    just cut it and paste it in a cpp file
    the call to SQLConnect fails i.e the application just hangs on executing the SQLConnect call that is why i m not able to figure out the problem.
    #include <windows.h>
    #include <sql.h>
    #include <sqlext.h>
    #include <stdio.h>
    void main()
    SQLHENV          m_SQLEnvironment;
         SQLHDBC          m_SQLConnection;
    SQLRETURN               iReturn;
    // Obtain Environment Handle
    iReturn = SQLAllocEnv(&m_SQLEnvironment);
    if (iReturn != SQL_SUCCESS)
    printf("Error in Allocating Environment");
         // Obtain Connection Handle
         iReturn = SQLAllocConnect(m_SQLEnvironment,&m_SQLConnection);
    if (iReturn != SQL_SUCCESS)
              printf("Error");
              iReturn = SQLFreeEnv(m_SQLEnvironment);
    //Test Connect Parameters
              iReturn = SQLConnect(m_SQLConnection,(SQLCHAR*)"OraTest",SQL_NTS,(SQLCHAR *)"scott",SQL_NTS,(SQLCHAR *)"tiger",SQL_NTS);
    if (iReturn != SQL_SUCCESS)
    if (iReturn == SQL_SUCCESS_WITH_INFO)
    // 'The Connection has been successful, but SQLState Information
    // 'has been returned
    // 'Obtain all the SQLState Information
    // If Check1.Value Then ShowSQLErrorInfo hdbc, vbInformation
    // IsValidODBCLogin = True
                   printf("Connected");
    else
    // 'Obtain all the Error Information
    // If Check1.Value Then ShowSQLErrorInfo hdbc, vbExclamation
    // IsValidODBCLogin = False
                   printf("Failed Connecting");
    else
    //IsValidODBCLogin = True
                   printf("Connected");
    //'Free Connection Handle and Environment Handle
    iReturn = SQLFreeConnect(m_SQLConnection);
    iReturn = SQLFreeEnv(m_SQLEnvironment);

    Hi,
    is this a redeployment of workflows? (do you use the same versionnumber or new ones?)
    can you post the soap:address of a dependent process?

  • Shared iTunes library, working fine in one account, not in other

    This problem is on our Intel 2.4 iMac running 10.5.1, iTunes 7.6. iTunes music folder is in Users-Shared folder. Two user accounts. Both accounts have iTunes pointed to the Users-Shared folder. First account works great, second account looks like it should be fine when you first open iTunes (all playlists, songs, purchases, etc listed) however when you try to play a song all songs get the exclamation mark in front of them and you get the pop up windows to ask to locate the file.
    Checked Prefs-Advanced and iTunes is pointed to the same folder as the other account. Checked permissions for that folder, verified/repaired permissions in disk utility. Deleted the .plist in the troubled users Library. Nothing I know how to do has worked.
    This problem was present before 7.6, just have not be available to look at it for my mom until now.
    Thank you for any help.

    I tried to get this working also, and couldnt, Im a new mac user but following advice and web searching still couldnt get it to work.
    I could see the library but all the files were read only, I couldnt edit them in one account, also if I added a song in one user library it didnt auto show up in the other
    Let me know if you do please!

  • WRT100 works for 1 wireless, but fails 2 others to internet

    I just bought my sister and BIL a used WRT100. I set everything up, and followed the directions on how to reset to default, and then programmed the router for use in their home. When I got done the setup (using WPA2 complete with a secure passphrase), I was able to hook MY wireless laptop (Win XP Pro) to the network, and get out to the internet with no issues. When I hooked their laptop (Vista Home) up, I was able to connect to the router, but unable to connect out to the internet. I could ping the router, and MY laptop, but no go with the internet. I then went to their desktop (Win XP Home), which is where I did the programming from (and still wired up), and it was not able to get out to the internet. I worked on the Vista laptop for about an hour before I had to leave, and plan on returning this weekend.
    Has anyone else had any issues such as this? I also plan on upgrading the firmware as soon as I get down there. TIA

    Change the SSID to unique name..Make sure that XP Desktop is supporting WPA2 Security...If it does not then,try to change the Security to WPA or WEP...Also,Set the Radio Band to Standard-20MHz and change the Standard channel to 11-2.462GHz.

  • I have an ipad 2 the itunes program worked fine at first but now it will not connect to the store. it says 'secure link to itune store failed' i have uninstalled it and reinstalled it. what do i do

    i have an ipad 2 the itunes program worked fine at first but now it will not connect to the store. it says 'secure link to itune store failed' i have uninstalled it and reinstalled it. what do i do?

    Doublechecking before proceeding. Is iTunes endlessly saying "Accessing iTunes Store"? Or is something a bit different going on?

  • I bought a Macbook Pro about 2 months back, its been working fine till now, but today i discovered a very unusual issue, whenever i plug in my earphones, the left one doest work, the earphones are okay i checked them with my iphone, and they work fine.

    I bought a Macbook Pro about 2 months back, its been working fine till now, but today i discovered a very unusual issue, whenever i plug in my earphones, the left one doest work, the earphones are okay i checked them with my iphone, and they work fine.
    PLease help.

    System Preference > Sound > Output
    Balance
    Move the pointer to the middle.
    Best.

  • Before one week i installed the facebook chat manager,its working fine still now,but if i chat in some other system(Pc),its not recording the chat history in my system

    Before one week i installed the facebook chat manager,its working fine still now,but if i chat in some other system(Pc),its not recording the chat history in my system

    How does that problem relate to Firefox support?

  • HT201229 one of my iPhone contacts messages go out as green, not blue, she has tried to turn off and then back on her messages, and it works fine for everyone but me.  Mine go as green o her.  My phone is iPhone 5, hers is the latest iPhone.

    one of my iPhone contacts messages go out as green, not blue, she has tried to turn off and then back on her messages, and it works fine for everyone but me.  Mine go as green o her.  My phone is iPhone 5, hers is the latest iPhone.

    Hello SaSexton,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Have a nice day,
    Mario

  • My ipad2 was working fine last night, but this morning is unable to connect to ANY wifi networks (though it can detect them).  All typical solutions fail.  What can i do?

    My ipad2 was working fine last night, but this morning when I woke it up... it no longer was connected to my network.  While it can detect networks, it cannot connect to any (have tried at home and at work).  I have tried: resetting router, resetting ipad, forgetting network, renewing lease on network, ensuring airplane mode is off, resetting network settings, turning wifi on/off.  None of the typical solutions I can find online seem to work.  HELP!

    You've gone through all of the basics. You might look at this document regarding potential issues with wi-fi environments. 
    http://support.apple.com/kb/HT4199
    If none of that works, and if a device restore doesn't work, it's time for a trip to the Genius Bar. 

  • Script working fine manually but not in cron

    i have unix script with is running fine & great when i run manually
    is the same is in cron it is not running at the parts where it is interacting with database
    remaining parts of script working fine
    script
    ======
    export ORACLE_SID=TEST
    export TWO_TASK=TEST
    dat=`sqlplus -s / <<END
    set feedback off;
    set heading off;
    select count(*) from
    (SELECT serial,status,date_time
    from ttable
    where STATUS='C'
    order by date_time);
    exit;
    END`
    echo dat value $dat
    echo "hi"> 123.lst
    if [ $dat -gt 0 ]
    then
    sqlplus -s / <<-END >>123.lst
    @/home/scr/pro1.sql
    exit;
    END
    fi
    any help is appreciated
    Thanks in advance

    Bacause cron does not know anything about your enivroment, you need explicitly set all your enviroment (PATH, ORACLE_HOME and so on) in this script.
    Second option is invoke your script using "su - oracle -c </path/to/script_name>"

  • Applescript works fine in ScriptEditor but not in Filemaker Pro

    I'm getting an odd result from an Applescript script being called from within Filemaker that I've not seen before nor have I found a reference to it online here or elsewhere.
    The following script creates three new records and makes a call to the Filemaker script "paste_into_container". The FM script "paste_into_container is very simple, it pastes whatever is currently on the clipboard into a specific container field. When the script is called from within Filemaker, the "paste_into"container" subscript will only paste the contents of the clipboard into the last new record. The container field on the first two records is left blank.
    It's almost as if the loop creates the new record, ignores the "go to last record and "paste_into_container" lines in the script, and then moves on to the next iteration of the loop.
    The script works fine when called from ScriptEditor but fails when called from within Filemaker. The script will also work if I drop the repeat loop and create just one record.
    I've tried increasing the delay added at the end of each loop but it does not make any difference whether it is 1 or 15 seconds.
    I'm sure it's something simple but I'm not seeing it and after two days it's time for help (of one kind or another)
    additional info:
    Mac OS 10.6.8
    Filmaker Pro 11 running with Filemaker Server 11
    Thanks in advance
    Phil
    tell application "FileMaker Pro"     show every record in table "Image_Info" in database myDB     go to layout 1 of database myDB
        repeat with i from 1 to 3         set myNewRecord to create new record in database myDB        go to last record        do script "paste_into_container"        delay 1    end repeatend tell

    Hi TW
    Good suggestion. I tried it but no result.
    Here's what's odd. I created two fields in the FM database, one called ScriptCall and the other ScriptResult. I then modified the applescript as follows:
    tell application "FileMaker Pro"
        show every record in table "Image_Info" in database myDB
        go to layout 1 of database myDB
        repeat with i from 1 to 3
            set myNewRecord to create new record in database myDB
            go to last record
         set cell "ScriptCall" in myNewRecord to "1"
            considering application responses
                do script "paste_into_container"
            end considering
          set cell "ScriptResult" in myNewRecord to "1"
            delay 1
        end repeat
    end tell
    I set this up to test where the problem might be. The results were odd. The applescript creates three new records.
    Record 1
    ScriptCall = 0
    ScriptResult = 0
    Record 2
    ScriptCall = 0
    ScriptResult = 0
    Record 3
    ScriptCall = 1
    ScriptResult = 1

  • Hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    hi! I am having a problem with my dictation. It works fine with Greek but it does not work at all with English. Anyone knows why?

    Have you changed the system voice to an English one in system preferences?

Maybe you are looking for

  • DVD Studio Pro: is it possible to burn unusual resolution video on DVD?

    Hello All, FCP 0.6, DVD Studio Pro 4.2.1 Compressor 3.0.5 I have a short that has a resolution 1920 x 650 px (it is a split screen video). I am trying to burn it to DVD by using DVD Studio Pro. I tried to export the film from FCP by using Compressor.

  • Waveform Distortion after Multiplication?

    Hi all, Newbie on the line here. I wrote a VI that obtains the reading of channels 1 and 2 from an oscilloscope via GPIB. The readings come out to be decent looking sinusoids when plotted on a waveform graph. However, after multiplying the two, the p

  • Imac back button not functioning

    In Safai back arrow on my iMac OS x10.7.4 has suddenly stopped working and web pages are not loading.  Anyone out there having the same problems?  How to fix?

  • Sun contracting Purchase Info record

    Dear All , Pl give me the Table name containing :Material Purchase infor record price and Change in purchse infor record Price ?

  • Me2l Execution error

    HI,  while executing ME2l , i am getting the below abap error, Category               ABAP Programming Error Runtime Errors         SAPSQL_PARSE_ERROR Except.                CX_SY_DYNAMIC_OSQL_SYNTAX ABAP Program           RM06EL00 Application Compon