title: JBoss Wildfly with Jersey Web Services Deployment Error JBAS011859: Naming context is read-only
body: <p>Im working on a Java Webservices Project Using the Jersey Servlet (1.18.1). When deploying my EAR file to Jboss WildFly (8.1.0) I'm Getting the following Error and im unsure why its breaking as this same EAR file deployed and worked 100% in JBoss7 (7.1.1). <br/>
  The Error stacktrace:</p>
  
  <pre><code>java.lang.UnsupportedOperationException: JBAS011859: Naming context is read-only
  at org.jboss.as.naming.WritableServiceBasedNamingStore.requireOwner(WritableServiceBasedNamingStore.java:126)
  at org.jboss.as.naming.WritableServiceBasedNamingStore.createSubcontext(WritableServiceBasedNamingStore.java:116)
  at org.jboss.as.naming.NamingContext.createSubcontext(NamingContext.java:338)
  at org.jboss.as.naming.InitialContext.createSubcontext(InitialContext.java:229)
  at org.jboss.as.naming.NamingContext.createSubcontext(NamingContext.java:346)
  at javax.naming.InitialContext.createSubcontext(InitialContext.java:464)
  at com.sun.jersey.server.impl.cdi.CDIExtension$1.stepInto(CDIExtension.java:280)
  </code></pre>