title: Not able to deploy EJB in WebLogic server 12c
body: <p>I have created a EJB, created a jar of it( containing required ejb-jar.xml and weblogic-ejb-jar.xml files).</p>
  
  <p>when i add this jar to weblogic server 12c, using admin console, i get following issue-</p>
  
  <pre><code>Issues were encountered while parsing this deployment to determine module type. Assuming this is a library deployment.
  </code></pre>
  
  <p>Due to this my ejb is not shown in jndi tree view. So I am not able to do my jndi lookup. Please rectify my error. </p>
  
  <p>ejb-jar.xml-</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd"&gt;
  &lt;ejb-jar id="ejb-jar_ID"&gt;
      &lt;display-name&gt;ProductManager&lt;/display-name&gt;
      &lt;enterprise-beans&gt;
      &lt;session&gt;
      &lt;ejb-name&gt;Product&lt;/ejb-name&gt;    
      &lt;home&gt;rohit.ProductHome&lt;/home&gt;
      &lt;remote&gt;rohit.ProductRemote&lt;/remote&gt;
      &lt;ejb-class&gt;rohit.ProductBean&lt;/ejb-class&gt;    
      &lt;session-type&gt;Stateless&lt;/session-type&gt;
      &lt;transaction-type&gt;Container&lt;/transaction-type&gt;
      &lt;/session&gt;  
      &lt;/enterprise-beans&gt;
      &lt;ejb-client-jar&gt;ProductManagerClient.jar&lt;/ejb-client-jar&gt;
  
  &lt;/ejb-jar&gt;
  </code></pre>
  
  <p>weblogic-ejb-jar.xml-</p>
  
  <pre><code>&lt;?xml version=“1.0? encoding=“UTF-8??&gt;
  &lt;weblogic-ejb-jar
  
  xmlns=“http://www.bea.com/ns/weblogic/90? xmlns:j2ee=“http://java.sun.com/xml/ns/j2ee” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-ejb-jar.xsd”&gt;
  
  &lt;welogic-enterprise-bean&gt;
  &lt;ejb-name&gt;Product&lt;/ejb-name&gt;
  &lt;jndi-name&gt;Product&lt;/jndi-name&gt;
  &lt;stateless-session-descriptor&gt;&lt;/stateless-session-descriptor&gt;
  &lt;/welogic-enterprise-bean&gt;
  &lt;/weblogic-ejb-jar&gt;
  </code></pre>