title: can't deploy my application on glassfish server 4.1
body: <p>I'm developping a web application, so i decided to use Netbeans IDE 8.1, the default Glassfish Server 4.1 and oracle database 11g express edition. </p>
  
  <p>First, I need to create connection pool in my Glassfish. I open localhost:4848 set those things:</p>
  
  <pre><code>    - Resource Type: javax.sql.DataSource
      - Class name of the data source: oracle.jdbc.pool.OracleDataSource
  In Additionnal properties i set :
      - driverClass : oracle.jdbc.OracleDriver
      - portNumber : 1521
      - databaseName : XE
      - user: user
      - password: password
      - url: jdbc:oracle:thin:@localhost:1521:XE
  </code></pre>
  
  <p>and the others default values.</p>
  
  <p>Second i added ojdbc6.jar on <code>C:\Program Files\glassfish-4.1\glassfish\domains\domain1\lib\ext</code></p>
  
  <p>But unfortunately when i tried to ping, it show this error:</p>
  
  <pre><code>An error has occurred
  Ping Connection Pool failed for mailing_pool. Class name is wrong or classpath is not set for : oracle.jdbc.pool.OracleDataSource Please check the server.log for more details. 
  </code></pre>
  
  <p>finally, i also execute the tnsping command on cmd and every thing all right, this is the result shown on the cmd:</p>
  
  <pre><code>Used TNSNAMES adapter to resolve the alias
  Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = ADMIN-
  PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
  OK (30 msec)
  </code></pre>
  
  <p>can any body help me</p>