title: Where do I find the environment entry mapping screen in Weblogic?
body: <p>I am trying to migrate an application from OC4J to Weblogic, but I can not find the environment entry mapping screen in Weblogic 12c.</p>
  
  <p>Is there one? If so, where is it? If not, how do I do it?</p>
  
  <p>Our app has the following values in the web.xml:</p>
  
  <pre><code>&lt;env-entry&gt;
     &lt;env-entry-name&gt;SERVLET_PATH&lt;/env-entry-name&gt;
     &lt;env-entry-type&gt;java.lang.String&lt;/env-entry-type&gt;
  &lt;/env-entry&gt;
  &lt;env-entry&gt;
     &lt;env-entry-name&gt;USER&lt;/env-entry-name&gt;
     &lt;env-entry-type&gt;java.lang.String&lt;/env-entry-type&gt;
  &lt;/env-entry&gt;
  &lt;env-entry&gt;
     &lt;env-entry-name&gt;PASSWORD&lt;/env-entry-name&gt;
     &lt;env-entry-type&gt;java.lang.String&lt;/env-entry-type&gt;
  &lt;/env-entry&gt;
  </code></pre>
  
  <p>In OC4J these can been seen in the Environment Entry Mappings screen. (Also I can see them in Websphere under the Environment entries for Web modules screen)</p>
  
  <p>Thanks</p>
  
  <p>[Edit]
  Thanks to JoseK I was able to find the answer.</p>
  
  <p>Once I had created the plan.xml, I found out that I need to add a  and a   to the plan.xml:</p>
  
  <pre><code>&lt;variable-definition&gt;
    &lt;variable&gt;
      &lt;name&gt;SERVLET_PATH&lt;/name&gt;
      &lt;value&gt;http://203.15.228.111:7001/RailExchangeServlet/servlet/RailExchangeServlet&lt;/value&gt;
    &lt;/variable&gt;
  &lt;/variable-definition&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>&lt;module-descriptor external="false"&gt;
    &lt;root-element&gt;web-app&lt;/root-element&gt;
    &lt;uri&gt;WEB-INF/web.xml&lt;/uri&gt;
    &lt;variable-assignment&gt;
      &lt;name&gt;SERVLET_PATH&lt;/name&gt; &lt;!-- this links to the variable-definition name --&gt;
      &lt;xpath&gt;/web-app/env-entry[env-entry-name="SERVLET_PATH"]/env-entry-value&lt;/xpath&gt;
    &lt;/variable-assignment&gt;
  &lt;/module-descriptor&gt;
  &lt;/module-override&gt;
  </code></pre>