tag:blogger.com,1999:blog-1839316484051079047.post3033398025279178182..comments2024-03-19T06:18:56.309+01:00Comments on Java / Oracle SOA blog: OSB 11g ANT deployment scriptsEdwin Biemondhttp://www.blogger.com/profile/02338716126881111629noreply@blogger.comBlogger219125tag:blogger.com,1999:blog-1839316484051079047.post-81660758567380947452016-10-19T15:39:56.280+02:002016-10-19T15:39:56.280+02:00Edwin, Please can you explain in detail exactly ho...Edwin, Please can you explain in detail exactly how to achieve this? I am totally new to python scripting.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-4368650599489069002016-10-19T15:31:04.492+02:002016-10-19T15:31:04.492+02:00Hi Edwin, I am able to export and import single ja...Hi Edwin, I am able to export and import single jar. But I am not sure how to export and import multiple jars. Please help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-54265533017045088902016-09-20T01:26:07.447+02:002016-09-20T01:26:07.447+02:00Hi Edwin,
I have a business service where i set th...Hi Edwin,<br />I have a business service where i set the encryption alias which is different for different envs. Is there a way to overwrite the value when I migrate the code using the deployment config file? Thanks in advance!<br /><br />-Mukund.Anonymoushttps://www.blogger.com/profile/06947974688027095725noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-85391366284717838262016-03-16T14:23:58.690+01:002016-03-16T14:23:58.690+01:00Hi Edwin,
Do you have any guidance or blog entry ...Hi Edwin,<br /><br />Do you have any guidance or blog entry for 12C OSB deployment using ANT?<br /><br />Regards<br />Jayjayhttps://www.blogger.com/profile/02840494174128540673noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-46543647510684758072015-10-26T20:50:07.562+01:002015-10-26T20:50:07.562+01:00Hi All,
Did any body tried deploying osb 12c artif...Hi All,<br />Did any body tried deploying osb 12c artifacts through ant scripts? can you please provide the scripts to deploy in osb 12c<br /><br />Regards,<br />Raj.Rajhttps://www.blogger.com/profile/07198245427796753702noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-28248075671891199572015-09-09T21:13:51.932+02:002015-09-09T21:13:51.932+02:00I used PyDev to compile import.py code, it failed ... I used PyDev to compile import.py code, it failed at below place. Complains "Undefined variable: findService"<br /><br />ALSBConfigurationMBean = findService, Undefined variable: findService<br /><br />anyone has idea on how to resolve ?<br /><br />Thanks<br />HoneyDewhttps://www.blogger.com/profile/01922261306549989203noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-23419186500960097682015-04-01T12:24:06.909+02:002015-04-01T12:24:06.909+02:00Hello, I'm trying to run ant exportFromWorkspa...Hello, I'm trying to run ant exportFromWorkspace with the plugin org.eclipse.equinox.launcher_1.2.0.v20110502 . Launching ant will open Eclipse IDE and nothing is being compiled. What can I do?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-66097748196091986122015-02-02T16:22:31.143+01:002015-02-02T16:22:31.143+01:00Hi Edwin,
I am able to build jar and deploy using...Hi Edwin,<br /><br />I am able to build jar and deploy using ant scrips but i have problem deploying Configuration file.<br />It doesn't say any error and build is successful.But Configuration file is not applied.<br />Can you please suggest:<br /><br />Build.Properties: <br /><br />#Jar Files oepe_11.1.1.8.0<br />equinox.launcher=org.eclipse.equinox.launcher_1.2.0.v20110502.jar<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-67616054408140261632015-01-16T22:49:57.359+01:002015-01-16T22:49:57.359+01:00Dear Edwin,
When I run import/export command the ...Dear Edwin,<br /><br />When I run import/export command the password arguments is visible on the screen, is there anyway I can encrypt or mask before I pass it to import.py..?<br /><br />I appreciate your help.<br /><br />Thanks, Eswar.<br /><br /> [wlst] Adding weblogic to sys.argv<br /> [wlst] Adding devprov1 to sys.argv<br /> [wlst] Adding t3://kstllsoad03.corp.chartercom.com:11400Eswarnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-61454056152049132892014-10-07T22:00:16.235+02:002014-10-07T22:00:16.235+02:00Hi, i'm using ur exportFromWorkSpace version o...Hi, i'm using ur exportFromWorkSpace version of the script to build the jar out of the source code from the TFS. but due to the absence of the .metadata it errors out. I don't want to include the .metadata folder in TFS source control. Kindly help me.<br /><br />Error:<br />[java] Workspace does not contain any projects; importing project directories in workspace directory...<br /> [Balaji Radhakrishnannoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-12369178505451641202014-06-18T18:46:57.830+02:002014-06-18T18:46:57.830+02:00Hi i try to build an OSB project with Ant but i ha...Hi i try to build an OSB project with Ant but i have this error:<br />specified osb configuration project "OSBSample" not found, config export cannot proceed.<br />Java returned: 101.<br /><br />I have read the previous comments but I don't find result.<br /><br />Project directory is organized:<br /><br />testAnt (workspace)<br />testAnt/WAAI_Case1_Customer_Service (project osb Anonymoushttps://www.blogger.com/profile/16373842417370388365noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-64439597881641110222014-05-02T15:27:56.672+02:002014-05-02T15:27:56.672+02:00Hi Edwin
I am trying to do your tutorial using oe...Hi Edwin<br /><br />I am trying to do your tutorial using oepe-helios-all-in-one-11.1.1.7.2.201103302044-win32-x86_64<br />one thing i have notice, that when i use -configSubProjects all the projects is not included inside sbconfig.jar.<br />I am wondering if you have experience this issue?<br /><br />the thing i did is very simple, i have one config and two projects<br />execute the configExportAnonymoushttps://www.blogger.com/profile/04057456327638676311noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-81698447921393878502014-04-26T17:54:29.409+02:002014-04-26T17:54:29.409+02:00I'm getting an error :
[java] Synchronizing...I'm getting an error :<br /><br /> [java] Synchronizing "OSB Configuration"...<br /> [java] Exporting to c:/temp/sbconfig.jar...<br /> [java] Error during configuration jar export.<br /><br />BUILD FAILED<br />C:\OSBScript\build.xml:83: Java returned: 101<br /><br />If I run it from the command line I get the same. Where can I see the actual error?<br /><br />java -Xms384m Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-54903836926140555922014-01-31T20:42:13.521+01:002014-01-31T20:42:13.521+01:00Hello edwin,
Thanks for the tutorial.
I tried ex...Hello edwin,<br /><br />Thanks for the tutorial.<br /><br />I tried export and import and it worked like charm for me.<br /><br />But when I am trying to run exportFromWorkspace I am getting this exception.<br />If possible , please advise what to do to fix this.<br /><br />Caused by: java.lang.ClassNotFoundException: weblogic.xml.query.compiler.parser.XQueryTokenListener<br /> at Saurabhhttp://techidiocy.comnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-52528904948182955242013-11-18T04:09:45.031+01:002013-11-18T04:09:45.031+01:00Hi Edwin,
My query is quite similar to that of a...Hi Edwin, <br /><br />My query is quite similar to that of a previous query. There is a need to update the code in svn based on changes done in sbconsole. When the sbconfig jar is generated by the console, we use OEPE to extract the contents and copy the updated content to a svn working directory. The poblem is OEPE strips away certain tags in the Proxy Service xml. Any suggestions or alternativeAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-39801753726003941402013-06-19T11:56:57.620+02:002013-06-19T11:56:57.620+02:00Is there any other way that I can import many file...Is there any other way that I can import many files at a time. Can you help me for this one?Bookkeeper Caloundrahttp://www.richarddarcy.com.au/noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-85080608556760057202013-06-08T14:43:12.986+02:002013-06-08T14:43:12.986+02:00Hi
Can you escape the xml and show the output.
T...Hi<br /><br />Can you escape the xml and show the output.<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-53523457432279755002013-06-08T13:44:43.272+02:002013-06-08T13:44:43.272+02:00Hi,
can you escape the xml so I can read your con...Hi,<br /><br />can you escape the xml so I can read your configuration<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-52700988540597054892013-06-07T07:43:05.187+02:002013-06-07T07:43:05.187+02:00the ExportFromWorkspace script works fine until i ...the ExportFromWorkspace script works fine until i implemented a Java callout so now my OSB config project contains a 3rd party jar file in it. I can export from IDE that produces sbconfig.jar containing the 3rd party jar in it without any problem. but when i use the script to export it hits the below error:<br /><br /> <Failed in onLoad. Will not deliver the remainder of onLoad haoweihttps://www.blogger.com/profile/08233073637418234691noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-44804039369242668362013-06-05T22:43:44.552+02:002013-06-05T22:43:44.552+02:00Here is the error while running the build.xml:
run...Here is the error while running the build.xml:<br />run:<br /> [testng] [TestNG] Running:<br /> [testng] C:\Selenium\MonitoringAndAlert\testng.xml<br /> [testng]<br /> [testng]<br /> [testng] ===============================================<br /> [testng] Monitoring Alerting Test<br /> [testng] Total tests run: 2, Failures: 0, Skips: 2<br /> [testng] Configuration Failures: 2, Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-10207209652948561682013-05-30T02:09:12.926+02:002013-05-30T02:09:12.926+02:00I presume you either resolved this or settled for ...I presume you either resolved this or settled for Admin access but if not the answer is that this is a bug (that exists in OSB at least to Version 11.1.1.5) for which Oracle can provide a version specific patch that allows someone in the Deployers group to deploy via WLST (which make ti equivalent to permissions needed to do it via the OSB Console)Mallyboyhttps://www.blogger.com/profile/08082874495394728772noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-69477822603977581462013-05-12T14:36:42.193+02:002013-05-12T14:36:42.193+02:00Hi,
yes that is possible , I do the same in my ma...Hi,<br /><br />yes that is possible , I do the same in my maven deploy scripts. <br />just in the ANT script provide a valid file to this parameter customFile=sys.argv[6] in the importToOSB target<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-86853586067085783982013-05-12T14:32:28.933+02:002013-05-12T14:32:28.933+02:00Hi,
you can change the import.py , start a new se...Hi,<br /><br />you can change the import.py , start a new session and make an import loop.<br />or call the ANT script in a loop. with antcontrib its very easy to make a loop.<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-71688924336568922042013-05-12T14:28:31.773+02:002013-05-12T14:28:31.773+02:00Hi,
Add the endpoints in a customization xml and ...Hi,<br /><br />Add the endpoints in a customization xml and put it in svn. poll for changes in svn or git with hudson and deploy all the projects on every env.<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-73544021360005081592013-05-09T20:26:49.697+02:002013-05-09T20:26:49.697+02:00Hi Edwin,
I want to deploy OSB services using AN...Hi Edwin,<br /> <br />I want to deploy OSB services using ANT scripts dynamically.Every time End Point URI changes(for Business,Proxy services) in different domains(QA, Predev, Dev..).So, using ANT Scripts how can I handle this situation.<br />Any help would be appreciated.<br />Thanks,<br />GaryKumarhttps://www.blogger.com/profile/11395837742867505029noreply@blogger.com