Bpel deployment fails for all processes that have revision other than 1.0.

Using: Release *10.1.3.3.1*
Hello All,
Bpel deployment fails for all processes that have revision other than *1.0*.
We have been attempting to deploy several BPEL projects via ANT script to a target environment and are encountering failures to deploy for every project which isn’t a (revision 1.0). We are getting the following error whenever we try to deploy a process with a revision other than 1.0:
D:\TJ_AutoDeploy\BPEL_AutoDeploy_BETA\build.xml:65: BPEL archive doesnt exist in directory "{0}"
     at com.collaxa.cube.ant.taskdefs.DeployRemote.getJarFile(DeployRemote.java:254)
     at com.collaxa.cube.ant.taskdefs.DeployRemote.deployProcess(DeployRemote.java:409)
     at com.collaxa.cube.ant.taskdefs.DeployRemote.execute(DeployRemote.java:211)
     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
     at org.apache.tools.ant.Task.perform(Task.java:364)
     at org.apache.tools.ant.Target.execute(Target.java:341)
     at org.apache.tools.ant.Target.performTasks(Target.java:369)
     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
     at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
     at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
     at org.apache.tools.ant.Main.runBuild(Main.java:668)
     at org.apache.tools.ant.Main.startAnt(Main.java:187)
     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
The structure of our automated deployment script is as follows:
First, a batch script calls (Jdeveloper_BPEL_Prompt.bat) in order to set all necessary environment variables i.e. ORACLE_HOME, BPEL_HOME, ANT_HOME, etc for ant.
Next, the script lists every .jar file within the directory to an .ini file called BPEL_List.ini. Furthermore, BPEL_DIR, ADMIN_USER and ADMIN_PSWD variables are set and initialized respectively to:
-     “.” – point to directory where script is running from because all the BPEL processes are located here
-     “oc4jadmin”
-     “*********” (whatever the password for out environment is)
We’ve developed a method to have the script prompt the user to select the target environment to deploy to. Once the user selects the appropriate environment, the script goes through the BPEL_List.ini files and a loop tells it that for every BPEL process listed:
DO ant
-Dprocess.name=%%b
-Drev= !Rev!
-Dpath=%BPEL_DIR%
-Ddomain=default
-Dadmin.user=%ADMIN_USER%
-Dadmin.password=%ADMIN_PWD%
-Dhttp.hostname=%HOST%
-Dhttp.port=%PORT%
-Dverbose=true
(What’s happening is that the variables in the batch file are being passed on to the ANT script where *%%b* is the process name, !rev! is revision #, and so on…)
The loop goes through each line in the BPEL_List.ini and tokenizes the BPEL process into 3 parts *(%%a, %%b, and %%c)* but we only extract 2 parts: *%%b* (process name) and *%%c* which becomes !Rev! (revision number).
Example:
Sample BPEL process:
bpel_ThisIsProcess1_1.0.jar
bpel_ThisIsProcess2_SOAv2.19.0.001B.jar
After tokenizing:
%%a     %%b     %%c
bpel     ThisIsProcess1     1.0.jar
bpel     ThisIsProcess2     SOAv2.19.0.001B.jar
*!Rev!* and not *%%c* because *%%c* will return whatever the revision number is + the “.jar” file extension as illustrated above. So to circumvent this, we parse *%%c* so that the last 4 characters are stripped. Such is done like this:
set RevN=%%c
set RevN=!RevN:~0,-4!
Hence, the usage of !Rev!.
Below is a screenshot post of the ANT build.xml that goes with our script:
<!--<?xml version="1.0"?>-->
<!--BUILD.XML-->
<project name="bpel.deploy" default="deployProcess" basedir=".">
     <!--
     This ant build file was generated by JDev to deploy the BPEL process.
     DONOT EDIT THIS JDEV GENERATED FILE. Any customization should be done
     in default target in user created pre-build.xml or post-build.xml
     -->
     <property name="process.dir" value="${basedir}" />
          <!-- Set BPEL process name -->
          <!--
          <xmlproperty file="${process.dir}/bpel/bpel.xml"/>
          <property name="process.name" value="${BPELSuitcase.BPELProcess(id)}"/>
          <property name="rev" value="${BPELSuitcase(rev)}"/>
          -->
     <property environment="env"/>
     <!-- Set bpel.home from developer prompt's environment variable BPEL_HOME -->
          <condition property="bpel.home" value="${env.BPEL_HOME}">
               <available file="${env.BPEL_HOME}/utilities/ant-orabpel.xml" />
          </condition>
     <!-- show that both bpel and oracle.home are located (TESTING purposes ONLY) -->
     <!-- <echo>HERE:${env.BPEL_HOME} ${env.ORACLE_HOME}</echo> -->
     <!-- END TESTING -->
     <!--If bpel.home is not yet using env.BPEL_HOME, set it for JDev -->
     <property name="oracle.home" value="${env.ORACLE_HOME}" />
     <property name="bpel.home" value="${oracle.home}/bpel" />
     <!--First override from build.properties in process.dir, if available-->
     <property file="${process.dir}/build.properties"/>
     <!--import custom ant tasks for the BPEL PM-->
     <import file="${bpel.home}/utilities/ant-orabpel.xml" />
     <!--Use deployment related default properties-->
     <property file="${bpel.home}/utilities/ant-orabpel.properties" />
     <!-- *************************************************************************************** -->
     <target name="deployProcess">
          <tstamp>
               <format property="timestamp" pattern="MM-dd-yyyy HH:mm:ss" />
          </tstamp>
          <!-- WRITE TO LOG FILE #tjas -->
          <record name="build_verbose.log" loglevel="verbose" append="true" />
          <record name="build_debug.log" loglevel="debug" append="true" />
          <echo></echo>
          <echo>####################################################################</echo>
          <echo>BPEL_AutoDeploy initiated @ ${timestamp}</echo>
          <echo>--------------------------------------------------------------------</echo>
          <echo>Deploying ${process.name} on ${http.hostname} port ${http.port} </echo>
          <echo>--------------------------------------------------------------------</echo>
          <deployProcess
               user="${admin.user}"
               password="${admin.password}"
               domain="${domain}"
               process="${process.name}"
               rev="${rev}"
               dir="${process.dir}/${path}"
               hostname="${http.hostname}"
               httpport="${http.port}"
               verbose="${verbose}" />
          <sleep seconds="30" />
          <!--<echo message="${process.name} deployment logged to ${build_verbose.log}"/>
          <echo message="${process.name} deployment logged to ${build.log}"/> -->
     </target>
     <!-- *************************************************************************************** -->
</project>
SUMMARY OF ISSUE AT HAND:
~ Every bpel process w/ 1.0 revision deploys with no problems
~ At first I would get an invalid character error most likely due to the “!” preceding “Rev”, but then I decided to set rev=”false” in the build.xml file. That didn’t work quite well. In another attempt, I decided to leave the –Drev= attribute within the batch script blank. That still led to 1.0s going through. My next thought was deploying something other than a 1.0, such as 1.2 or 2.0 and that’s when I realized that if it wasn’t a 1.0, it refused to go through.
QUESTIONS:
1.     IS THERE A WAY TO HAVE ANT LOOK INTO THE BPEL PROCESS AND PULL THE REVISION ID?
2.     WHAT ARE WE DOING WRONG? ARE WE MISSING ANYTHING?
3.     DID WE GO TOO FAR? MEANING, IS THERE A MUCH EASIER WAY WE OVERLOOKED/FORGOT/OR DON’T KNOW ABOUT THAT EXISTS?
Edited by: 793292 on Jul 28, 2011 12:38 PM

Only thing i can think of is instead of using a MAC ACL , u cud jus use the default class
Policy Map Test
class class-default
police 56000 8000 exceed-action drop
Class Map match-any class-default (id 0)
Match any
You would be saving a MAC-ACL ;-).

Similar Messages

  • Possible solution for all you that have skipping songs, & scratchy sound

    Hi All,
    After upgrading to 7.02, I was extremely annoyed with the performance. But here's what I found and did. In a nutshell, you uninstall the new version and install a 6.05 version or earlier. I'll include some links to what I found and hopefully it'll help. Here's the first link and it describes what you need to do. Scroll down to the post by marlowe5 posted 10-08-2006, 8:06 A.M. and I also included the exact wording from the post below the link.
    http://www.oldapps.com/forum/archive/index.php/t-228.html
    This is the exact wording:
    Thanks for the advise in this post... after installing iTunes 7, and then 7.01, my computer was running really slow, iTunes was skiping and garbling and acting terribly... so I really needed to go back to 6.05.
    For all of you that need to do the same it's pretty easy:
    I downloaded the 6.05 install file from from oldapps, uninstalled 7.01 and then re-installed 6.05. When I ran iTunes it did give me the error message that the library file was created in a new version and couldn't open, but I then deleted the 'itunes library.itl' file (in My Music > iTunes folder) and then replaced it with the backup that was automatically created when I installed 7.01 (in My Music > iTunes > Previous iTunes Libraries). iTunes then started up fine with all my music and playlists. And all the skipping and CPU bogging is better now.
    Library file note:
    With the library file, when you update iTunes it also updates the library file, which won't work with older versions. So you need to replace this file or create a new one. I would recommend copying/backing up the new library file to a different location to be safe instead of just deleting it. You'll see above where to find the new library file and prior ones. When I made these changes I did two things to be safe, 1) I moved the new "iTunes library.itl" to a backup location instead of deleting it 2) I moved my most recent old library file from(My Music > iTunes > Previous iTunes Libraries) to (My Music > iTunes folder)and renamed it to "iTunes library.itl". It was previously "iTunes library 2006-1-18.itl." Before renaming it, iTunes didn't find the library so renaming it worked. Your file name will most likely have a different date so don't look for the exact file I mentioned. Plus it's probably a good idea to make a copy or back up this library file too.
    If you don't have any previous library files, you may need to create a new one. I don't have the info but I believe the link to the post should have that info.
    After reading through the post and other info, the only thing that it appears might be lost are playlists that have been created since the upgrade. I don't believe any music should be lost but that's why it's safer to backup the new library just in case. I did not lose any music.
    Also, here's a link to where I found old versions of iTunes:
    http://www.filehippo.com/download_itunes/?1249
    Hopefully this helps and good luck. I'm back to normal now.
    Dell Dimension 4550   Windows XP  
    Dell Dimension 4550   Windows XP  
    Dell Dimension 4550   Windows XP  

    Soccerteen,
    Make sure you try all the other remedies mentioned in other posts. If this didn't work for you then try below. I consider it a last ditch effort since it's going back to a previous version, which unfortunately works much better than 7.0x for me.
    Remove & backup your current library file to a different file/location to be safe. Once you do that, uninstall 7.02, and then install 6.05 or any 6 version. Once 6.0x is installed and you've opened it, you'll need to create a new library file. If you've removed the library file from (My Music > iTunes folder)it should load up with a blank slate. What you to do from this point is create a new library file. Read the oldapps link, the post from "Admin" dated 9-30-2006 5:30 PM should help. Most likely all of your music will be under one main file but you might have to add individual folders one at a time depending on how much music you have. Since I didn't have to go this route, I'm not sure if it's the best route but after reading multiple post, this was the most common suggestion. Worst case scenario, you can always reload 7.02 an reinsert the backup library file, which will put you back where you started.
    Hope that works for you and good luck!

  • How to set locking for all values of a char other than using query

    Hi Friends,
    any suggestions?  I like to explicitly lock all possible values of a particular characteristic in a cube without using a filter.
    thanks!!
    Cran
    Edited by: Cranberry CranCran on Jan 31, 2008 4:48 PM

    If you dont restrict the characteristic using any value in the filter, then all values will be locked.

  • I have a number of old 3.5 floppy that i'd like to convert to a format that can be read by my iMAC. These are all Word documents for MAC that are as old as 20   years. Do you have suggestions other than the conversion services that are rather costly?

    I have a number of old 3.5 floppy that i'd like to convert to a format that can be read by my iMAC. These are all Word documents for MAC that are as old as 20   years. Do you have suggestions other than the conversion services that are rather costly?

    I don't think any conversions are needed, just get yourself an external USB 3.5" floppy drive and drag the documents onto your iMac's HD. You should be able to locate one on Ebay or maybe even Amazon. To open them you will need something that reads .doc files like Pages, MS Word for Mac etc..

  • Deploy failed for cartridge M4P3_Oracle

    hi all
    i am trying to deploy a sample cartridge "M4P3_Oracle" form the design studio eclipse. but i am getting below error. plz help me.
    Deploy failed for cartridge M4P3_Oracle: While trying to lookup 'oracle.communications.sce.cartridgemanagement.adapter.OSM' didn't find subcontext 'sce'. Resolved 'oracle.communications'

    because your installation is not proper.
    make sure you have all the libraries for ADF.
    mail me on [email protected]
    i will provide you the list of libraries that must exist for the OSM.
    Regards,
    Kaushal

  • How can I set the default home page in Firefox 4 for all users that login to a PC on a Win 7 PC?

    I work at a community college in upstate NY.
    We use Firefox as the default browser at our institution and we have always set the default homepage to be our homepage for all users that login to the PC. We had a procedure to to that that worked with Windows XP and FF 3 or earlier
    We would do the following:
    1. go to: c:\Documents and Settings\Administrator\Application Data\Mozilla\FireFox\Profiles\<profile_name>\prefs.js
    2. Add the line: user_pref (“browser.startup.homepage”,”http://www.genesee.edu”);
    3. Copy the Folder
    C:\Documents & Settings\Administrator\Application Data\Mozilla
    To
    C:\Documents & Settings\Default User\Application Data\Mozilla
    4. Restart the computer
    We're going to Win 7 and Firefox 4 and things seem to be different in terms of files and file structure. Does anyone know how to accomplish this?
    Thanks in advance.

    Making customisation from the default profile is generally considered poor practice and quite often doesn't work out as planned. (If you're interested in some more information on this, [http://mockbox.net/windows-7/227-customise-windows-7-default-profile.html see here] see here)
    This article should help you with developing and deploying your customised Firefox 4 installation (without touching the Windows 7 default user profile):
    http://mockbox.net/configmgr-sccm/174-install-and-configure-firefox-silently.html

  • How to find all photos that have NO faces, as opposed to UNNAMED faces?

    I find that iPhoto often misses faces entirely, especially if the face is wearing sunglasses or a hat or both.  Sometimes it is rather inexplicable that it has missed a face, as the face seems obvious.
    If you use the smart album method to find all "unnamed" faces, the photos have at least one unnamed face identified.  You can then add any missed faces to those photos.
    But what about photos in which iPhoto has failed to identify the existence of even one face?  Or for that matter, if I want to see only pictures of landscapes or objects that have no people?  Does anyone have a method for finding all photos that have no faces in them at all?
    For me, the idea is to find all unidentified faces and add them.  But as I pointed out above, there may be other uses for this.
    Any ideas, anyone?
    Thanks

    Awesome !!! Thank you very much. I did not realize you could use JavaScript to code against iTunes ...
    I don't know if you have written any of these yourself, but do you know how to maybe create a smart playlist with this information via script? If not, no big deal. At least I know have something which I can use, I will just have to run it every so often.
    Thanks again for pointing me to that site!

  • After clearing cash on mac applications won't lunch any more..I tried to delete apps like VLC player with app cleaner and again download and instal new but it's the same..goes for all apps that are not originally part of Yosemite. Please advise me?!

    After clearing cash on my mac ( Go to folder: ~/Library/Caches and clear all, than to Library/Cashes and clear all again) applications won't lunch any more..I tried to delete apps like VLC player, firefox.. with app cleaner and again download and install the new one but it's the same..goes for all apps that are not originally part of Yosemite. I have done this cash clean up very often on Maverick without any problems. This time I done it again because I could not open my web site, the server has blocked me and I was trying everything including deleting cash from mac. Please advise me what to do..?!? Thanks in advance.

    It sounds like you may have multiple problems, but none of them are likely to be caused by malware.
    First, the internet-related issues may be related to adware or a network compromise. I tend to lean more towards the latter, based on your description of the problem. See:
    http://www.adwaremedic.com/kb/baddns.php
    http://www.adwaremedic.com/kb/hackedrouter.php
    If investigation shows that this is not a network-specific issue, then it's probably adware. See my Adware Removal Guide for help finding and removing it. Note that you mention AdBlock as if it should have prevented this, but it's important to understand that ad blockers do not protect you against adware in any way. Neither would any kind of anti-virus software, which often doesn't detect adware.
    As for the other issues, it sounds like you've got some serious corruption. I would be inclined to say it sounds like a failing drive, except it sounds like you just got it replaced. How did you get all your files back after the new drive was installed?
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com, in the form of buttons allowing for donations. Donations are not required to use my site or software.)

  • IPhoto frustrating error..The volume for "Df23.JPG" cannot be found. It prompts for all photos with this issue rather than offering an option to ignore. I can find the images in spotlight but not in Find Photo. Does anyone have a solution

    iPhoto frustrating error..The volume for "Df23.JPG" cannot be found. It prompts for all photos with this issue rather than offering an option to ignore. I can find the images in spotlight but not in Find Photo. Does anyone have a solution?

    Unless you have the source files that were on the TC or Windows machine you will have to start over with a new library as follows:
    Start over from scratch with new library
    Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
    1.  Move the existing library folder to the desktop.
    2. Open the library package like this.
    Click to view full size
    3. Launch iPhoto and, when asked, select the option to create a new library.
    4. Drag the Masters (iPhoto 11) folder from the iPhoto Library on the desktop into the open iPhoto window.
    Click to view full size
    This will create a new library with the same Events as the original library but will not keep the metadata, albums, books slideshows and other projects.  Your original library will remain intact for further attempts at fixes is so desired.
    OT

  • Notifications are not being generated for any emails that have rules applied to them.

    Notifications are not being generated for any emails that have rules applied to them. Any clues how to fix this?

    In System Center 2012 Operations Manager, the alert notification will be sent when the alert first meets all criteria, regardless of resolution state, unless resolution state itself is a criterion. If alert suppression is enabled for the rule or monitor
    that raises an alert, only one notification will be sent when the subscription criteria are first met. No additional notifications will be sent until the alert is closed and a new alert is raised that meets all subscription criteria.  PLease check
    1) whether your rule has trun on alert supression
    2) Close the alert, craised by rule,  and do it again
    Roger

  • Report in DM module (ISU)for Meter removed that have debts &security charge

    I am beginner in  SAP ISU, looking forward for solution , I have a  techno-functional task-  "I need to develope a report in DM module(ISU) for Meter removed that have debts and security charge with generalised Requirement.
    Moderator message: please work yourself first on your requirement.
    Edited by: Thomas Zloch on Feb 20, 2012

    I have just experiences the "beep, beep, beep" after a hard crash.
    The computer is overheating.  The RAM gets hot and everything crashes.
    The system will not restart, all I get is "beep, beep, beep.....beep, beep, beep.....beep, beep, beep.....beep, beep, beep.....beep, beep, beep.....beep, beep, beep.....beep, beep, beep.....beep, beep, beep"
    I pulled the ram, and switched the chips around.  The system is back up without a problem so far.

  • How Can I Change Format Mask For All Fields that type's Number Depend on Parameter in Report Builder 10g ?

    I want Change format mask for all fields that type's number
    Such as
    if  :parameter_value = 1 then
       all fields format mask = ' 999,999,990.000' ;
    else
       all fields format mask = ' 999,999,990.00' ;
    end if;
    Regards

    So, i have bad news for you : you'll have to rebuild again.
    Meanwhile i have excellent news for you : there's an online tool made by Johannes Henseler called Sidecar xml which builds the necessary xml file for you, sort of what you find in the Digital Publishing Folio Editor website, but saves it in your Folio folder.
    Next time you import all your folder (with that file), it will place all the necessary information, and even reorder the articles.
    Build once, play many times.

  • "playback failed" for all podcasts using ios7

    I just updated to IOS 7 and when I try to play a podcast that I am subscribed to, I get "playback failed" for all podcasts. The odd thing is that if I am connected via wifi, it seems to work fine. If wifi is not there, I get that error.
    I cannot seem to find a setting anywhere that gets around this.
    Help!

    See:
    iOS: Troubleshooting applications purchased from the App Store
    Restore from backup. See:
    iOS: How to back up              
    Restore to factory settings/new iPod

  • [svn:bz-trunk] 19866: Set delivery mode to PERSISTENT for JMS destinations that have durable set to true .

    Revision: 19866
    Revision: 19866
    Author:   [email protected]
    Date:     2011-01-21 10:05:44 -0800 (Fri, 21 Jan 2011)
    Log Message:
    Set delivery mode to PERSISTENT for JMS destinations that have durable set to true. If messages aren't persistent they won't be saved by the JMS server. This is kind of important when you want the messages to be durable.
    Modified Paths:
        blazeds/trunk/qa/apps/qa-regress/WEB-INF/flex/messaging-config.mods.xml

    According to Bea Customer Support this is the normal behavior. If you kill a durable topic subscriber and reconnect it with the same id to another node, the old subscription is deleted and all messages still waiting to be delivered are gone.
              Lesson learned: If you need failover for the server AND client use JMS queues.
              Peter

  • LMS 4: VLAN config fetch failing for all devices

    LMS 4.0.1, standalone on W2K8 R2, new install
    Vlan config fetch is failing for all devices.  If I attempt to put a vlan.dat file in tftpboot and then manually copy a vlan.dat file from a device, the following is returned:
    TFTP: error code 2 received - 16739
    %Error opening tftp://server_name/vlan.dat (Permission denied)
    The Windows application logs ont the server log this:
    Log Name:      Application
    Source:        CRMtftp
    Date:          6/15/2011 2:07:49 PM
    Event ID:      3
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      server_name
    Description:
    GetEffectiveRightsFromAcl failed: Overlapped I/O operation is in progress.
    (997)
    I tried restarting crmtftp, but no luck.  Any ideas what may be causing this?
    -Jeff

    I have the same issue with a freshly installed 4.2 version now:
    Log Name:      Application
    Source:        CRMtftp
    Date:          2/24/2012 12:30:50 PM
    Event ID:      3
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:      srvwienlms.nts.local
    Description:
    GetNamedSecurityInfo failed failed: The operation completed successfully.
    (0)
    I will also open a TAC case, lets see if we still have to stick with a3.x TFTP binary...
    br.herwig

Maybe you are looking for

  • Rendering out

    Hello, I am using AE CS 5.5. I created a composition 1440x 1080 that will be shown on closed citcuit TV. Its just animations of various graphics. No live action video. When I was done, I rendered it out, Quality: best, Resolution:full, size: 1440x 10

  • Survey Builder 2 dimensional matrix-style survey?

    Apex Survey Builder is convenient to make surveys for mobile devices like this: 1. How was your food?    O good    O okay    O fair    O bad 2. How was the service?    O good    O okay    O fair    O bad But, I want to make one that fits on a laptop'

  • Clarify These doubts Plz

    1.Why we are using XI in the file to IDOC scenario?without XI we'll do this data transfer from third party system to SAP r/3 system by using EDI.so wht is the neccesity to use of XI? 2.How we can recognise the third party system in XI?don't say abt t

  • How to disable edge/gprs

    hi there im using bb9300 n facing problem in it when ever i use browsing and use use facebook via wifi my balance is still decreasing as it shows that gprs/edge is on the go except the wifi what to do plz help n to make sure that i already disable th

  • No MountPoint for added.Please create a MountPoint for the remote resource.

    how to get rid of these errors? does this effect the project execution? Under DTR Console , I get the following error: 1) No MountPoint for added file /dtr/ws/IXXXXX/XXXX.org_SC_OVERTIME/dev/inactive/DCs/xxxx.org/cust/cap_ot/_comp/src/packages/Projec