tag:blogger.com,1999:blog-6416385526593383847.post217866543453149093..comments2024-03-13T00:53:59.549-04:00Comments on Raastech Blog: Ant scripts for Oracle SOA Suite 11g code deployment (Windows)Ahmed Aboulnagahttp://www.blogger.com/profile/17300393989634195878noreply@blogger.comBlogger38125tag:blogger.com,1999:blog-6416385526593383847.post-68373568544269562212020-11-05T04:51:03.340-05:002020-11-05T04:51:03.340-05:00Thanks for sharing this great information I am imp...Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one <a href="https://smconsultant.com/oracle-soa-interview-questions-and-answers/" rel="nofollow">Oracle SOA Interview Questions and Answers<br /></a>. Actually, I was looking for the same information on internet for <br /><a href="https://smconsultant.com/training/oracle-fusion-middleware/oracle-soa-training/" rel="nofollow">Oracle SOA Training </a> and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more about <a href="https://smconsultant.com/oracle-soa-tutorial/" rel="nofollow">Oracle SOA Tutorial</a> also.megan collinsnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-15440335447883444662020-09-18T07:00:27.292-04:002020-09-18T07:00:27.292-04:00Hi there! It is a very interesting blog on SOA top...Hi there! It is a very interesting blog on <a href="https://smconsultant.com/oracle-soa-tutorial/" rel="nofollow">SOA</a> topic. I was surfing through the internet for <a href="https://smconsultant.com/oracle-soa-interview-questions-and-answers/" rel="nofollow">Oracle SOA interview questions</a> and came across your blog. You definitely have a good understanding of the topic. You can find more information on <a href="https://smconsultant.com/training/developers/soa-training/" rel="nofollow">Oracle SOA training</a> here.Michaelhttps://www.blogger.com/profile/06752004917156800044noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-12767796504712405072020-09-07T03:33:31.627-04:002020-09-07T03:33:31.627-04:00Thanks a lot for sharing a great blog I was browsi...Thanks a lot for sharing a great blog I was browsing through the internet looking for <a href="https://smconsultant.com/oracle-soa-tutorial/" rel="nofollow">Oracle SOA</a> and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can find more information blogs about Oracle SOA at <a href="https://smconsultant.com/category/oracle-soa/" rel="nofollow">Oracle SOA Blogs</a>. Bookmarked this page, it helped me a lot and I have gained a lot of knowledge by reading your blog and <a href="https://smconsultant.com/training/oracle-fusion-middleware/oracle-soa-training/" rel="nofollow">Oracle SOA 12c Training</a>Ameliahttps://www.blogger.com/profile/08586123210681589202noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-41679552204960143202017-04-26T15:48:27.587-04:002017-04-26T15:48:27.587-04:00The link in this blog post has been fixed, so you ...The link in this blog post has been fixed, so you should now be able to download the zip file.<br /><br />Please note that this was written in 2011. We have updated scripts (which includes a web front-end too!) that supports SOA, OSB, BAM, SQL/PLSQL, and Java. Please engage Raastech if you'd like to get a copy of that.<br /><br />Thanks.Ahmed Aboulnagahttps://www.blogger.com/profile/17300393989634195878noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-10138953737576551542017-04-25T11:59:00.534-04:002017-04-25T11:59:00.534-04:00Zip download link broken?Zip download link broken?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-49604887119201632492014-07-12T15:20:45.422-04:002014-07-12T15:20:45.422-04:00Hi ,
I am getting the below error while deploying...Hi ,<br /><br />I am getting the below error while deploying the composite. Could you please help on this.<br /><br />build.xml:114: Property '${projects}.revision' is not defined<br /><br />Thanks,<br />Venky.Anonymoushttps://www.blogger.com/profile/04247416529067775490noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-53457814227631854582014-06-25T22:04:11.962-04:002014-06-25T22:04:11.962-04:00Is there any api for making a BPEL process as defa...Is there any api for making a BPEL process as default ?<br />I am successfully able to activate and retire, after activating a process I am not able to make it as default<br />Prudhvinoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-13902913418324823062013-11-22T07:37:59.260-05:002013-11-22T07:37:59.260-05:00Keep getting this error each time I try to undeplo...Keep getting this error each time I try to undeploy. I can run listDeployedComposites fine and return all the composites. Receive the following error:<br /><br />undeploy:<br /> [input] skipping input as property serverURL has already been set.<br /> [input] skipping input as property compositeName has already been set.<br /> [input] skipping input as property revision has already been set.<br />[undeployComposite] setting user/password..., user=weblogic<br />[undeployComposite] compositeDN =${composite.partition}/${composite.name}!${composite.revision}<br />[undeployComposite] INFO: Creating HTTP connection to host:zn-prep-oraapp03.mfltest.co.uk, port:8400<br />[undeployComposite] INFO: Received HTTP response from the server, response code=500<br />[undeployComposite] ---->response code=500, error:There was an error undeploying composite on WLS_SOA1: Cannot find revision in undeploy : ${composite.partition}/${composite.name}!${composite.revision}..<br />[undeployComposite] <br /><br />The CustomProcess.txt looks like this:<br /><br />SOA_BackOffice,EnterpriseDealerRouter,1.00<br /><br />I am running this on the SOA Server.<br /><br />Many thanks for a great blogsite. Very useful info and I have bought your book too.<br /><br />Regards<br />ZAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-36192948591232282542013-09-25T10:15:37.490-04:002013-09-25T10:15:37.490-04:00You have fine tuned the code of Biemond very wellYou have fine tuned the code of Biemond very wellAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-5522125766827553252013-09-25T10:15:05.916-04:002013-09-25T10:15:05.916-04:00You have fine tuned the code of Biemond very wellYou have fine tuned the code of Biemond very wellAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-34509600949859070992013-04-15T19:48:54.408-04:002013-04-15T19:48:54.408-04:00Great post. That is what I have been searching for...Great post. That is what I have been searching for. Thanks a lot.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-19589451313055244582012-12-31T00:41:05.793-05:002012-12-31T00:41:05.793-05:00Thank you vary much Ahmed, build was successful. i...Thank you vary much Ahmed, build was successful. i did mistake in copying ant-contrib-1.0b3.jar.Kotresh T Mhttps://www.blogger.com/profile/10791865052600476338noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-88970526491421689612012-12-30T23:28:21.943-05:002012-12-30T23:28:21.943-05:00Thank you for the replay ahmed ,
But still the Err...Thank you for the replay ahmed ,<br />But still the Error is same.<br />I am trying to deploy only one process and the same is saved in CreateProcesslist. ans i manually copied the ant-contrib-1.0b3.jar to C:\Oracle\Middleware\modules\org.apache.ant_1.7.1\lib<br /><br />but still i am getting the same error<br />"failed to create task or type var<br /><br />Cause : The name is undefined<br />action: check the spelling<br />action: check that any custom tasks/types have been declared<br />action : check that any / declarations have taken place"<br /><br />i could not get "deployComposites" should i give my process name instead of this ?<br />please suggest me. thank youKotresh T Mhttps://www.blogger.com/profile/10791865052600476338noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-21996797219761206202012-12-28T09:39:46.442-05:002012-12-28T09:39:46.442-05:00The "winInstall.bat" script is supposed ...The "winInstall.bat" script is supposed to copy "ant-contrib-1.0b3.jar" to "%ANT_HOME%\lib".<br /><br />- Did you run "winInstall.bat" as indicated in the instructions in this blog post?<br /><br />- If so, does "ant-contrib-1.0b3.jar" exist in "$MW_HOME/modules/org.apache.ant_1.7.1/lib"?<br /><br />- If not, then manually copy "ant-contrib-1.0b3.jar" which is located under the ~\lib subfolder to "$MW_HOME/modules/org.apache.ant_1.7.1/lib" and try again.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-85653355091916826082012-12-28T07:42:53.939-05:002012-12-28T07:42:53.939-05:00Hi Ahmed,
I did all the steps which you stated her...Hi Ahmed,<br />I did all the steps which you stated here..<br /><br />while executing call ant -f build.soa.xml deployComposite -Dtargetenv=DEV<br /><br />i am getting <br />"COuld not load defenitions from resource net/sf/antcontrib/antcontrib.properties. It Could not be found"<br /><br />please help me out ... thank you in advance<br />Kotresh T Mhttps://www.blogger.com/profile/10791865052600476338noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-54578209548601722612012-12-06T12:05:46.627-05:002012-12-06T12:05:46.627-05:00Unfortunately, I don't have anything ready tha...Unfortunately, I don't have anything ready that I can share.<br /><br />Look at the following ant deployment scripts. Once you understand them, you can follow the same process for your upgrade.<br /><br />http://blog.ipnweb.com/2011/05/ant-scripts-for-oracle-soa-suite-11g.html<br /><br />http://blog.ipnweb.com/2011/05/demo-of-ant-scripts-for-oracle-soa.html<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-69940882955115928592012-11-28T07:13:52.251-05:002012-11-28T07:13:52.251-05:00Hi Ahmed ,
Nice Post
Do u have an antscript to u...Hi Ahmed ,<br /><br />Nice Post<br /><br />Do u have an antscript to upgrade more than one bpel soa 10g project to soa 11g composites.<br /><br />if provided it will be very usefull<br /><br />thanks<br />saileshan.SOA and OIC Technology for beginners and learnershttps://www.blogger.com/profile/09467951255433102508noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-101112916560168892012-10-09T02:52:17.251-04:002012-10-09T02:52:17.251-04:00Thank you ahmed for quick response...
RituThank you ahmed for quick response...<br /><br />RituRitunoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-20133434688645856982012-10-08T10:40:12.021-04:002012-10-08T10:40:12.021-04:00This value is set in "soa-environment.propert...This value is set in "soa-environment.properties".<br /><br />So update it to reflect your environment.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-66787504150756836102012-10-08T05:44:45.251-04:002012-10-08T05:44:45.251-04:00Hi...
First of ALL thanks a lot for blogging such...Hi...<br /><br />First of ALL thanks a lot for blogging such a crucial topic..<br /><br />I have tried running your sample but unable to do so.<br /><br />For example, for testing i am running listDeployedComposite target.When I run this ant script directly from command prompt(not from you build file i.e build.soa.xml), i get a succesful result eg.<br />C:\Oracle\Middleware1\Oracle_SOA1\bin>ant -f ant-sca-mgmt.xml listDeployedCompos<br />ites -Dhost=localhost -Dport=8001 -Duser=weblogic<br />Buildfile: ant-sca-mgmt.xml<br /> [echo] oracle.home = C:\Oracle\Middleware1\Oracle_SOA1\bin/..<br /><br />listDeployedComposites:<br /> [input] skipping input as property host has already been set.<br /> [input] skipping input as property port has already been set.<br /> [input] skipping input as property user has already been set.<br />[secure-input] Please enter password:<br /><br /> [echo] oracle.home = C:\Oracle\Middleware1\Oracle_SOA1\bin/..<br /><br />compositeMgrTask:<br /> [java] Connecting to: service:jmx:t3://localhost:8001/jndi/weblogic.managem<br />ent.mbeanservers.runtime<br /> [java] connection initiated<br /> [java]<br /> [java] Following 7 composites are currently deployed to the platform:<br /> [java]<br /> [java] 1. HelloWorldProject[1.0], partition=default, mode=active, state=on,<br /> isDefault=true, deployedTime=2012-09-19T15:55:57.417+05:30<br /> [java] 2. HelloWorldProject1[1.0], partition=default, mode=active, state=on<br />, isDefault=true, deployedTime=2012-09-21T15:37:02.660+05:30<br /> [java] 3. Project1[1.0], partition=default, mode=active, state=on, isDefaul<br />t=true, deployedTime=2012-09-19T16:04:45.270+05:30<br /> [java] 4. SimpleApproval[1.0], partition=default, mode=active, state=on, is<br />Default=true, deployedTime=2012-08-10T18:08:38.906+05:30<br /> [java] 5. VC2Project[1.0], partition=default, mode=active, state=on, isDefa<br />ult=true, deployedTime=2012-09-24T20:28:45.412+05:30<br /> [java] 6. VisitingCardProject[1.0], partition=default, mode=active, state=o<br />n, isDefault=true, deployedTime=2012-09-24T16:26:57.815+05:30<br /> [java] 7. VisitingCard_Project[1.0], partition=default, mode=active, state=<br />on, isDefault=true, deployedTime=2012-09-22T15:30:17.539+05:30<br /> [java]<br /><br />BUILD SUCCESSFUL<br />Total time: 3 minutes 8 seconds<br /><br /><br />But when i run your scripts i get an error.<br /><br />My setEnvironmentVars.bat is as follows:<br />REM ----------------------------------------<br />REM Top-level directory for your SOA 11g code<br />REM ----------------------------------------<br />set CODE_FOLDER=E:\AntApplication<br /><br />REM ----------------------------------------<br />REM JDdevloper installation directory<br />REM ----------------------------------------<br />set ORACLE_HOME=C:\Oracle\Middleware1<br /><br />REM ----------------------------------------<br />REM May need to be modified based on your JDK version<br />REM ----------------------------------------<br />set JAVA_HOME=%ORACLE_HOME%\jdk160_29<br /><br /><br />REM ----------------------------------------<br />REM No changes needed here<br />REM ----------------------------------------<br />set ANT_HOME=C:\Oracle\Middleware1\modules\org.apache.ant_1.7.1<br />set PATH=%ANT_HOME%\bin;%ANT_HOME%\lib;%PATH%<br />set CURRENT_FOLDER=%CD%<br />REM ----------------------------------------<br /><br />Error i get:<br />C:\ant>ant -f build.soa.xml listDeployedComposites -Dtargetenv=dev<br />Buildfile: build.soa.xml<br /><br />listDeployedComposites:<br /><br />BUILD FAILED<br />C:\ant\build.soa.xml:471: The following error occurred while executing this line<br />:<br />java.io.FileNotFoundException: C:\Oracle\Middleware1\jdeveloper\bin\ant-sca-mgmt<br />.xml (The system cannot find the path specified)<br /><br />Total time: 2 seconds<br />C:\ant><br /><br />I have checked the build file it reads {$oracle.home}/bin/ant....<br />I am not able to understand where jdeveloper is getting appended in the path<br />Please help ...urgent...<br /><br />RituRitunoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-92148425762294061772012-09-05T23:43:08.168-04:002012-09-05T23:43:08.168-04:00Hi Ahmed,
great post. thanks a ton.
I have a dou...Hi Ahmed,<br /><br />great post. thanks a ton.<br /><br />I have a doubt. so as per your blog the structure of my MDS should be such that i have an apps folder is it?<br /><br />when i tried exportMDS i get the below error<br /><br />[exportSharedData] INFO: Received HTTP response from the server, response code=1<br />000<br />[exportSharedData] No jar file sent from server<br />[exportSharedData] ---->Cannot find any shared data of pattern:**.<br /><br />BUILD SUCCESSFUL<br />Total time: 3 seconds<br /><br />i tried importArtifact as well but got a response like this<br /><br />D:\ant>call ant -f build.soa.xml importMDSArtifact -Dtargetenv=dev<br />Buildfile: build.soa.xml<br /><br />importMDSArtifact:<br /><br />BUILD FAILED<br />D:\ant\build.soa.xml:551: Directory D:\ant\ant emp\${mds.application} creation<br />was not successful for an unknown reason<br /><br />Total time: 1 second<br /><br />please help!!!Anonymoushttps://www.blogger.com/profile/14766593024208867325noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-51675774476948898832012-06-07T14:45:12.266-04:002012-06-07T14:45:12.266-04:00Ahmed,
This post helped me a lot. Really thankful...Ahmed,<br /><br />This post helped me a lot. Really thankful to you.<br /><br />Thanks,<br />SriniAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-16830598368379841032012-05-31T20:38:27.329-04:002012-05-31T20:38:27.329-04:00Hi Ahmed,
I am trying to run the deployment with ...Hi Ahmed,<br /><br />I am trying to run the deployment with a custom class reference in the BPEL in the composite. The problem is since it is a logger class and shared across multiple composites, we do not want to put the jar file having logger class in the SCA-INF/lib. How can I give the jar file to ant deployment script. I have tried below<br /><br />1. CLASSPATH env set up<br />2. ant -lib <br />3. changing ant-sca-compile.xml to update the scac.tasks.class.path<br /><br />But none of them is workingAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-23141506758440091502012-05-01T12:26:25.208-04:002012-05-01T12:26:25.208-04:00Thank you so much for your concern.... It was the ...Thank you so much for your concern.... It was the same problem as u guessed...the "ant-contrib-1.0b3.jar" was not copied to the target location....<br />Hence the same was done....so my problem was fixed...SoaExpertshttps://www.blogger.com/profile/11613866193577567401noreply@blogger.comtag:blogger.com,1999:blog-6416385526593383847.post-30093182957682735882012-05-01T12:23:19.008-04:002012-05-01T12:23:19.008-04:00This comment has been removed by the author.SOA and OIC Technology for beginners and learnershttps://www.blogger.com/profile/09467951255433102508noreply@blogger.com