<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:media="http://search.yahoo.com/mrss/"
> <channel><title>Commentaires sur : Les plans de déploiement Weblogic</title> <atom:link href="http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/feed/" rel="self" type="application/rss+xml" /><link>http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/</link> <description>J2EE, Agilité et SOA</description> <lastBuildDate>Fri, 10 Feb 2012 09:50:25 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>Par : wing</title><link>http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-26784</link> <dc:creator>wing</dc:creator> <pubDate>Tue, 01 Jun 2010 12:41:16 +0000</pubDate> <guid
isPermaLink="false">http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-26784</guid> <description>I tried to edit in the web.xml an  value, using the aformentioned method. Unfortunately I havent succeeded, can you tell me whether this is possible. I have tried to find an example on the internet but none give an example how to do it for an web.xml.</description> <content:encoded><![CDATA[<p>I tried to edit in the web.xml an  value, using the aformentioned method. Unfortunately I havent succeeded, can you tell me whether this is possible. I have tried to find an example on the internet but none give an example how to do it for an web.xml.</p> ]]></content:encoded> </item> <item><title>Par : Benoit Moussaud</title><link>http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-20298</link> <dc:creator>Benoit Moussaud</dc:creator> <pubDate>Tue, 26 Jan 2010 20:41:05 +0000</pubDate> <guid
isPermaLink="false">http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-20298</guid> <description>Hi Jim, Thanks to take time read it (in French) and post a comment.
&gt;&gt;Can we use a deployment plan to set an application use a work manager with constraints attached to it??
I think With a Deployment plan you can only make assign existing item ( such as wl-dispatch-policy, max/min thread constrains or request class) not create them in the server. Keep in mind that the deployement plan only allows you to modifiy DD.
&gt;&gt;Now i want the application to use it. how do i set the dispatch policy in the plan?
This is an exemple, assign a new context root and a dispatch policy to a servlet.
[xml]
&lt;?xml version=&#039;1.0&#039; encoding=&#039;UTF-8&#039;?&gt;
&lt;deployment-plan xmlns=&quot;http://www.bea.com/ns/weblogic/deployment-plan&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://www.bea.com/ns/weblogic/deployment-plan http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd&quot; global-variables=&quot;false&quot;&gt;
&lt;application-name&gt;Application2&lt;/application-name&gt;
&lt;variable-definition&gt;
&lt;variable&gt;
&lt;name&gt;WeblogicWebApp_ContextRoots&lt;/name&gt;
&lt;value&gt;&quot;application2&quot;&lt;/value&gt;
&lt;/variable&gt;
&lt;variable&gt;
&lt;name&gt;Application_WorkManager&lt;/name&gt;
&lt;value&gt;&quot;waiting.room.2.dispatch.policy&quot;&lt;/value&gt;
&lt;/variable&gt;
&lt;variable&gt;
&lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_Name_12247535261400&lt;/name&gt;
&lt;value&gt;waiting.room.2.dispatch.policy&lt;/value&gt;
&lt;/variable&gt;
&lt;variable&gt;
&lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_RequestClassName_12247536926870&lt;/name&gt;
&lt;value&gt;&lt;/value&gt;
&lt;/variable&gt;
&lt;variable&gt;
&lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_MaxThreadsConstraintName_12247536926871&lt;/name&gt;
&lt;value&gt;MaxThreadsConstraint-App2&lt;/value&gt;
&lt;/variable&gt;
&lt;/variable-definition&gt;
&lt;module-override&gt;
&lt;module-name&gt;WaitingRoomService.war&lt;/module-name&gt;
&lt;module-type&gt;war&lt;/module-type&gt;
&lt;module-descriptor external=&quot;false&quot;&gt;
&lt;root-element&gt;weblogic-web-app&lt;/root-element&gt;
&lt;uri&gt;WEB-INF/weblogic.xml&lt;/uri&gt;
&lt;variable-assignment&gt;
&lt;name&gt;WeblogicWebApp_ContextRoots&lt;/name&gt;
&lt;xpath&gt;/weblogic-web-app/context-root&lt;/xpath&gt;
&lt;operation&gt;replace&lt;/operation&gt;
&lt;/variable-assignment&gt;
&lt;variable-assignment&gt;
&lt;name&gt;Application_WorkManager&lt;/name&gt;
&lt;xpath&gt;/weblogic-web-app/wl-dispatch-policy&lt;/xpath&gt;
&lt;operation&gt;replace&lt;/operation&gt;
&lt;/variable-assignment&gt;
&lt;variable-assignment&gt;
&lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_Name_12247535261400&lt;/name&gt;
&lt;xpath&gt;/weblogic-web-app/work-manager/[name=&quot;waiting.room.2.dispatch.policy&quot;]/name&lt;/xpath&gt;
&lt;/variable-assignment&gt;
&lt;variable-assignment&gt;
&lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_RequestClassName_12247536926870&lt;/name&gt;
&lt;xpath&gt;/weblogic-web-app/work-manager/[name=&quot;waiting.room.2.dispatch.policy&quot;]/request-class-name&lt;/xpath&gt;
&lt;/variable-assignment&gt;
&lt;variable-assignment&gt;
&lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_MaxThreadsConstraintName_12247536926871&lt;/name&gt;
&lt;xpath&gt;/weblogic-web-app/work-manager/[name=&quot;waiting.room.2.dispatch.policy&quot;]/max-threads-constraint-name&lt;/xpath&gt;
&lt;/variable-assignment&gt;
&lt;/module-descriptor&gt;
&lt;module-descriptor external=&quot;false&quot;&gt;
&lt;root-element&gt;web-app&lt;/root-element&gt;
&lt;uri&gt;WEB-INF/web.xml&lt;/uri&gt;
&lt;/module-descriptor&gt;
&lt;module-descriptor external=&quot;true&quot;&gt;
&lt;root-element&gt;wldf-resource&lt;/root-element&gt;
&lt;uri&gt;META-INF/weblogic-diagnostics.xml&lt;/uri&gt;
&lt;/module-descriptor&gt;
&lt;/module-override&gt;
&lt;config-root&gt;D:\Projets\MyProjects\waiting-room\plans&lt;/config-root&gt;
&lt;/deployment-plan&gt;
[/xml]</description> <content:encoded><![CDATA[<p>Hi Jim, Thanks to take time read it (in French) and post a comment.<br
/> &gt;&gt;Can we use a deployment plan to set an application use a work manager with constraints attached to it??<br
/> I think With a Deployment plan you can only make assign existing item ( such as wl-dispatch-policy, max/min thread constrains or request class) not create them in the server. Keep in mind that the deployement plan only allows you to modifiy DD.<br
/> &gt;&gt;Now i want the application to use it. how do i set the dispatch policy in the plan?<br
/> This is an exemple, assign a new context root and a dispatch policy to a servlet.</p><pre class="brush: xml; title: ; notranslate">
&lt;?xml version='1.0' encoding='UTF-8'?&gt;
&lt;deployment-plan xmlns=&quot;<a href="http://www.bea.com/ns/weblogic/deployment-plan&#038;quot" rel="nofollow">http://www.bea.com/ns/weblogic/deployment-plan&#038;quot</a>; xmlns:xsi=&quot;<a href="http://www.w3.org/2001/XMLSchema-instance&#038;quot" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance&#038;quot</a>; xsi:schemaLocation=&quot;<a href="http://www.bea.com/ns/weblogic/deployment-plan" rel="nofollow">http://www.bea.com/ns/weblogic/deployment-plan</a> <a href="http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd&#038;quot" rel="nofollow">http://www.bea.com/ns/weblogic/deployment-plan/1.0/deployment-plan.xsd&#038;quot</a>; global-variables=&quot;false&quot;&gt;
  &lt;application-name&gt;Application2&lt;/application-name&gt;
  &lt;variable-definition&gt;
    &lt;variable&gt;
      &lt;name&gt;WeblogicWebApp_ContextRoots&lt;/name&gt;
      &lt;value&gt;&quot;application2&quot;&lt;/value&gt;
    &lt;/variable&gt;
    &lt;variable&gt;
      &lt;name&gt;Application_WorkManager&lt;/name&gt;
      &lt;value&gt;&quot;waiting.room.2.dispatch.policy&quot;&lt;/value&gt;
    &lt;/variable&gt;
    &lt;variable&gt;
      &lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_Name_12247535261400&lt;/name&gt;
      &lt;value&gt;waiting.room.2.dispatch.policy&lt;/value&gt;
    &lt;/variable&gt;
    &lt;variable&gt;
      &lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_RequestClassName_12247536926870&lt;/name&gt;
      &lt;value&gt;&lt;/value&gt;
    &lt;/variable&gt;
    &lt;variable&gt;
      &lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_MaxThreadsConstraintName_12247536926871&lt;/name&gt;
      &lt;value&gt;MaxThreadsConstraint-App2&lt;/value&gt;
    &lt;/variable&gt;
  &lt;/variable-definition&gt;
  &lt;module-override&gt;
    &lt;module-name&gt;WaitingRoomService.war&lt;/module-name&gt;
    &lt;module-type&gt;war&lt;/module-type&gt;
    &lt;module-descriptor external=&quot;false&quot;&gt;
      &lt;root-element&gt;weblogic-web-app&lt;/root-element&gt;
      &lt;uri&gt;WEB-INF/weblogic.xml&lt;/uri&gt;
      &lt;variable-assignment&gt;
        &lt;name&gt;WeblogicWebApp_ContextRoots&lt;/name&gt;
        &lt;xpath&gt;/weblogic-web-app/context-root&lt;/xpath&gt;
        &lt;operation&gt;replace&lt;/operation&gt;
      &lt;/variable-assignment&gt;
      &lt;variable-assignment&gt;
        &lt;name&gt;Application_WorkManager&lt;/name&gt;
        &lt;xpath&gt;/weblogic-web-app/wl-dispatch-policy&lt;/xpath&gt;
        &lt;operation&gt;replace&lt;/operation&gt;
      &lt;/variable-assignment&gt;
      &lt;variable-assignment&gt;
        &lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_Name_12247535261400&lt;/name&gt;
        &lt;xpath&gt;/weblogic-web-app/work-manager/[name=&quot;waiting.room.2.dispatch.policy&quot;]/name&lt;/xpath&gt;
      &lt;/variable-assignment&gt;
      &lt;variable-assignment&gt;
        &lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_RequestClassName_12247536926870&lt;/name&gt;
        &lt;xpath&gt;/weblogic-web-app/work-manager/[name=&quot;waiting.room.2.dispatch.policy&quot;]/request-class-name&lt;/xpath&gt;
      &lt;/variable-assignment&gt;
      &lt;variable-assignment&gt;
        &lt;name&gt;WorkManager_waiting.room.2.dispatch.policy_MaxThreadsConstraintName_12247536926871&lt;/name&gt;
        &lt;xpath&gt;/weblogic-web-app/work-manager/[name=&quot;waiting.room.2.dispatch.policy&quot;]/max-threads-constraint-name&lt;/xpath&gt;
      &lt;/variable-assignment&gt;
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external=&quot;false&quot;&gt;
      &lt;root-element&gt;web-app&lt;/root-element&gt;
      &lt;uri&gt;WEB-INF/web.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
    &lt;module-descriptor external=&quot;true&quot;&gt;
      &lt;root-element&gt;wldf-resource&lt;/root-element&gt;
      &lt;uri&gt;META-INF/weblogic-diagnostics.xml&lt;/uri&gt;
    &lt;/module-descriptor&gt;
  &lt;/module-override&gt;
  &lt;config-root&gt;D:\Projets\MyProjects\waiting-room\plans&lt;/config-root&gt;
&lt;/deployment-plan&gt;
</pre>]]></content:encoded> </item> <item><title>Par : Jim</title><link>http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-20259</link> <dc:creator>Jim</dc:creator> <pubDate>Mon, 25 Jan 2010 22:00:51 +0000</pubDate> <guid
isPermaLink="false">http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-20259</guid> <description>Hi Benoit,
This is a great article!! I&#039;ve tried several things after going thru your blog but failed.
Can we use a deployment plan to set an application use a work manager with constraints attached to it??
I&#039;ve already created the work manager &amp; constraints thru the admin console (Global Work Manager).
Now i want the application to use it. how do i set the dispatch policy in the plan?</description> <content:encoded><![CDATA[<p>Hi Benoit,</p><p>This is a great article!! I&#8217;ve tried several things after going thru your blog but failed.</p><p>Can we use a deployment plan to set an application use a work manager with constraints attached to it??</p><p>I&#8217;ve already created the work manager &amp; constraints thru the admin console (Global Work Manager).</p><p>Now i want the application to use it. how do i set the dispatch policy in the plan?</p> ]]></content:encoded> </item> <item><title>Par : Benoit Moussaud</title><link>http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-13011</link> <dc:creator>Benoit Moussaud</dc:creator> <pubDate>Sat, 23 May 2009 07:26:24 +0000</pubDate> <guid
isPermaLink="false">http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-13011</guid> <description>@Nicolas les paramètres modifiables concernent ceux que l&#039;on a dans les descripteurs de déploiement génériques J2EE  &amp; spécifiques Weblogic au niveau web, ejb et application( nœud uri) . A quels autres fichiers pensez-vous ?</description> <content:encoded><![CDATA[<p>@Nicolas les paramètres modifiables concernent ceux que l&#8217;on a dans les descripteurs de déploiement génériques J2EE  &amp; spécifiques Weblogic au niveau web, ejb et application( nœud uri) . A quels autres fichiers pensez-vous ?</p> ]]></content:encoded> </item> <item><title>Par : Nicolas</title><link>http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-13007</link> <dc:creator>Nicolas</dc:creator> <pubDate>Fri, 22 May 2009 14:41:41 +0000</pubDate> <guid
isPermaLink="false">http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-13007</guid> <description>Bonjour,
L&#039;article est très clair, cependant j&#039;ai une question, est-il possible de modifié d&#039;autres paramètres que ceux repris dans les descripteurs de déploiement?
En fait j&#039;ai d&#039;autre fichier qui aurait besoin d&#039;être édités.
Merci d&#039;avance</description> <content:encoded><![CDATA[<p>Bonjour,</p><p>L&#8217;article est très clair, cependant j&#8217;ai une question, est-il possible de modifié d&#8217;autres paramètres que ceux repris dans les descripteurs de déploiement?</p><p>En fait j&#8217;ai d&#8217;autre fichier qui aurait besoin d&#8217;être édités.</p><p>Merci d&#8217;avance</p> ]]></content:encoded> </item> <item><title>Par : Aurélien Pelletier</title><link>http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-5340</link> <dc:creator>Aurélien Pelletier</dc:creator> <pubDate>Thu, 17 Apr 2008 10:15:20 +0000</pubDate> <guid
isPermaLink="false">http://blog.xebia.fr/2008/04/17/les-plans-de-deploiement-weblogic/#comment-5340</guid> <description>Je projet jndi-resources devrait t&#039;intéresser
http://code.google.com/p/jndi-resources/
Il aborde la même problématique mais cross serveur d&#039;app. Pour l&#039;instant il ne supporte que tomcat et jboss. Mais c&#039;est conçu pour facilement ajouter le support d&#039;autres serveurs (pourvu que l&#039;on connaisse son mode fonctionnement spécifique). Tu es le bienvenu pour ajouter le support de weblogic !</description> <content:encoded><![CDATA[<p>Je projet jndi-resources devrait t&#8217;intéresser<br
/> <a
href="http://code.google.com/p/jndi-resources/" rel="nofollow">http://code.google.com/p/jndi-resources/</a></p><p>Il aborde la même problématique mais cross serveur d&#8217;app. Pour l&#8217;instant il ne supporte que tomcat et jboss. Mais c&#8217;est conçu pour facilement ajouter le support d&#8217;autres serveurs (pourvu que l&#8217;on connaisse son mode fonctionnement spécifique). Tu es le bienvenu pour ajouter le support de weblogic !</p> ]]></content:encoded> </item> </channel> </rss>
