title: Get env-entry in scala jax-ws web-service
body: <p>I'm implementing a quick and dirty SOAP web-service, using jax-ws and Scala.
  I have a trait for endpoint interface and a class implementing that trait.
  Everything was fine until I tried to get evn-entries from web.xml</p>
  
  <p>I do something like that:
  In web.xml:</p>
  
  <pre><code>&lt;env-entry&gt;
      &lt;env-entry-name&gt;name&lt;/env-entry-name&gt;
      &lt;env-entry-value&gt;value&lt;/env-entry-value&gt;
      &lt;env-entry-type&gt;java.lang.String&lt;/env-entry-type&gt;
  &lt;/env-entry&gt;
  </code></pre>
  
  <p>In code:</p>
  
  <pre><code>val context = new InitialContext().asInstanceOf[Context]
  val value = context.lookup("java:comp/env/name")
  </code></pre>
  
  <p>I get <code>NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial</code></p>
  
  <p>What am I doing wrong?</p>