tag:blogger.com,1999:blog-1839316484051079047.post268385333590738175..comments2024-03-28T06:38:40.958+01:00Comments on Java / Oracle SOA blog: Using the WebLogic deployment plan to change your ear / war for productionEdwin Biemondhttp://www.blogger.com/profile/02338716126881111629noreply@blogger.comBlogger32125tag:blogger.com,1999:blog-1839316484051079047.post-54382915662846842272015-05-08T20:48:39.314+02:002015-05-08T20:48:39.314+02:00Hi,
just to tell that we found the solution for ov...Hi,<br />just to tell that we found the solution for overiding init-params defined in web.xml.<br />You need to develop an XPath that includes "servlet" element and it's name, as follows:<br />/web-app/servlet/[servlet-name="SOASchedulerServlet"]/init-param/[param-name="cronExpr"]/param-value<br />It works fine<br />CheersRubenshttps://www.blogger.com/profile/05250760967835619412noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-14882792789010240002014-01-27T23:30:56.581+01:002014-01-27T23:30:56.581+01:00Hi,
Don't think so cause it mostly in a jar i...Hi,<br /><br />Don't think so cause it mostly in a jar inside the web-inf/lib folder and I also think it can only change JEE or WebLogic deployment descriptors<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-4771759605459286802014-01-27T09:57:35.286+01:002014-01-27T09:57:35.286+01:00Hi,
Thanks for your great article regarding this ...Hi,<br />Thanks for your great article regarding this deployment plan, just one question:<br />is it possible to use this mechanism to modify property value?? for example, inside persistence.xml, can I modify value of "eclipselink.target-database" property to MySQL?<br /><br /> <br /> org.eclipse.persistence.jpa.PersistenceProvider<br /> datasource1 <br /> <br />Anonymoushttps://www.blogger.com/profile/18058212817802016205noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-56478590079378069372013-12-02T16:52:23.376+01:002013-12-02T16:52:23.376+01:00hi,
you can add this to the weblogic.xml of the w...hi,<br /><br />you can add this to the weblogic.xml of the war and use this<br />weblogic-web-app -> session-descriptor -> context-root<br /><br />don't know if you can do this in the ear and the weblogic-application.xml<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-66140156052451903122013-11-15T23:52:47.614+01:002013-11-15T23:52:47.614+01:00I need to proxy from a web server via the WLS plug...I need to proxy from a web server via the WLS plugin to multiple ADF apps on multiple wls servers. I do this by using the ppath attribute of the plugin (e.g. ppath='/wls/em/*') and the PathTrim directive (e.g. PathTrim='/wls') to strip off the leading /wls since the context root of the app is simply "/em" on WLS. I am using the Fusion Middleware Console webapp as a Bill Korbhttp://www.qisc.comnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-59118279665720268622013-06-20T15:16:58.289+02:002013-06-20T15:16:58.289+02:00Hi,
I will try to make an OEPE demo workspace wit...Hi,<br /><br />I will try to make an OEPE demo workspace with an ear plus a war together with some plans <br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-47797151584320010072013-06-10T11:52:39.389+02:002013-06-10T11:52:39.389+02:00Hi Mak,
Did you get solution for overiding init...Hi Mak, <br /> Did you get solution for overiding init-params defined in web.xml? <br />I tried, It changes config-params but I am not able to override web.xml using Plan.xml.<br />Any suggestion how to override init-param in web.xml?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-24492349989528653322013-06-08T13:37:08.565+02:002013-06-08T13:37:08.565+02:00Hi,
How do did you generate this plan, I think t...Hi, <br /><br />How do did you generate this plan, I think there is something wrong with version , namespace etc.<br />can you try to use OEPE and use the wizard to generate a plan with the help of the pluging<br />http://docs.oracle.com/cd/E15315_09/help/oracle.eclipse.tools.weblogic.doc/html/deploymentPlanEditor.html<br /><br />how this can help you.<br /><br />ThanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-35949698167826671642013-05-28T08:42:34.393+02:002013-05-28T08:42:34.393+02:00This comment has been removed by the author.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-62558136661288448022012-11-01T16:06:08.375+01:002012-11-01T16:06:08.375+01:00Hi,
was your problem in the schedular code or in ...Hi,<br /><br />was your problem in the schedular code or in the plan, maybe you can deploy it as an exploded war and see the changes.<br /><br />thanks. Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-8874320412545407832012-10-22T04:17:18.780+02:002012-10-22T04:17:18.780+02:00Hi Biemond,
I have a war file which will trigger ...Hi Biemond,<br /><br />I have a war file which will trigger my bpel process in every 5 mins. This war seems to work when i deployed using jdeveloper in Dev Env and change endpoints manually and deploy into the Test Env using Jdeveloper and working as expected. But if i go with Plan.xml and followed the process as explained by you and end result by service never got triggered. <br />I generated tarakhttps://www.blogger.com/profile/11263192863310786156noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-60656854481173924542012-04-11T21:42:30.472+02:002012-04-11T21:42:30.472+02:00Hi,
No you can't but you can generate a ws pr...Hi,<br /><br />No you can't but you can generate a ws proxy on which you can generate a datacontrol. In the webservice ref you can do what you want.<br /><br />like I do here http://biemond.blogspot.com/2011/10/working-with-human-worklist-api-and.html<br />where I load a property file or read a java parameter<br /><br />and here I set this on the webservice ref<br />http://Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-6441733176242031842012-04-11T21:34:26.540+02:002012-04-11T21:34:26.540+02:00Is it possible to change web service data control ...Is it possible to change web service data control wsdl url using this method. I saw the post where you can change the wsdl and write to MDS but we are not on ps5 so cannot use that solution. Is there a way to have a context parameter and refer to it in webservice data control ?samitahttps://www.blogger.com/profile/04799767269372826335noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-39238975433035592012-04-10T20:26:09.382+02:002012-04-10T20:26:09.382+02:00Hi,
you probably have a servlet definition in the...Hi,<br /><br />you probably have a servlet definition in the web.xml , in the web.xml you can change the url-pattern for example. Everything you can put in the web.xml can be changed.<br /><br />thanks <br /><br /><?xml version="1.0" encoding="UTF-8"?><br /><web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5"><br /> <servlet><Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-18992069637911443292012-04-09T16:10:15.113+02:002012-04-09T16:10:15.113+02:00Is it possible to change wsdl urls using deploymen...Is it possible to change wsdl urls using deployment plan generated ?samitahttps://www.blogger.com/profile/04799767269372826335noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-23855894508069859502011-06-06T20:43:48.488+02:002011-06-06T20:43:48.488+02:00Hi Edwin,
Thanks for your reply.
I had tried the ...Hi Edwin,<br /><br />Thanks for your reply.<br />I had tried the 2nd option and working fine. But can you please tell me the way to include the .wsdl file into the plan(configuration.xml)file.<br /><br /><br />Thanks in advance.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-30927692813273150352011-05-16T11:12:07.448+02:002011-05-16T11:12:07.448+02:00Hi,
the jndi location of the resource adapter is ...Hi,<br /><br />the jndi location of the resource adapter is located in the wsdl of the database adapter.<br /><br />include this wsdl in your plan and changit.<br /><br />you can also overrule the datasource of the old resource adapter, by using the assign properties in the mediator or bpel.<br /><br />thanksEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-17872214762540744942011-05-08T18:06:02.378+02:002011-05-08T18:06:02.378+02:00Hi Edwin,
In my SOA Application i had used a data...Hi Edwin,<br /><br />In my SOA Application i had used a database adapter to write data into a table.and the JNDI of the outbound connection pool of the Database was : eis/DB/Target1<br />. but for some requirements i have to change the location of database and my new outbound connection pool of the Database is : eis/DB/Target2<br /><br />[Server is same but database location is diiferent]<br /><Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-16355035541126566792010-08-19T11:54:44.306+02:002010-08-19T11:54:44.306+02:00A concise article to learn, thanks.
Another simpl...A concise article to learn, thanks.<br /><br />Another simpler method to generate a deployment plan:<br />using console, go to the configuration tab for your application, change one of the property there then click save. The console will create a deployment plan (you can specify the location & name) if the deployment plan doesn't exist yet. <br /><br />You can install the deployment plan Steve Djajasaputrahttps://www.blogger.com/profile/12578719319605082873noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-11827153279335538072010-06-21T20:10:13.166+02:002010-06-21T20:10:13.166+02:00Thanks Edvin. Will try the options. Thanks again f...Thanks Edvin. Will try the options. Thanks again for your time and ideas.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-30175090529129562262010-06-21T19:41:01.528+02:002010-06-21T19:41:01.528+02:00Ok,
Deployment plan won't work, the only thin...Ok,<br /><br />Deployment plan won't work, the only thing you can is a custom ant deployment where you change the files and make a war/ ear<br /><br />or you can take a look at this <br />http://4.bp.blogspot.com/_earSixbe3dw/SlCIWeMAgdI/AAAAAAAACms/UN20O5icQI4/s1600-h/adf_em_11.png<br /><br />in the em site. part of this http://biemond.blogspot.com/2009/07/Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-65621812178208342842010-06-21T18:58:02.518+02:002010-06-21T18:58:02.518+02:00Yes .. i need to deploy the same EAR file , in a s...Yes .. i need to deploy the same EAR file , in a single managed server for seven times and each pointing to different Data Source.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-13950125827724362892010-06-21T16:47:26.697+02:002010-06-21T16:47:26.697+02:00Hi,
I don't really understand it. I only nee...Hi, <br /><br />I don't really understand it. I only need to create a datasource once and I can deploy it many times. <br /><br />if I was you I would create on the wls a datasource with jdbc/XXXDS and use this as datasource in the bc4j.cfg not java:env...<br /><br />do you mean that you need to deploy this ear , 7 seven times on the same wls and use 7 different datasources. <br /><br />I Edwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-36010400302280613112010-06-21T16:17:54.922+02:002010-06-21T16:17:54.922+02:00Thanks for your response Edwin. I did all you men...Thanks for your response Edwin. I did all you mentioned. I shall explain in details. My requirement is i have to deploy the same EAR file against seven data sources. <br /><br />I made the Application module configuration to use the custom data source . So the bc4j.xcfg file will have an element "<Custom JDBCDataSource="java:comp/env/jdbc/XXXDS>".<br /><br />In the Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1839316484051079047.post-5778938973405159172010-06-19T18:43:01.706+02:002010-06-19T18:43:01.706+02:00Hi,
you have to change the Application module con...Hi,<br /><br />you have to change the Application module configuration so it uses a datasource. and in the application deployment disable jdbc connection deployment.<br /><br />now you only need to make the right datasource on every wls and then deploy the ears.<br /><br />that should workEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.com