Eu uso "oracle.jdbc.pool.OracleConnectionPoolDataSource" como classe de datasouce no glassfish.
Use a classe ou encontre a classe jboss.
Edite e experimente:
public OracleConnection getOracleConnection(Connection connection) throws SQLException {
OracleConnection oconn = null;
try {
if (connection.isWrapperFor(oracle.jdbc.OracleConnection.class)) {
oconn = (OracleConnection) connection.unwrap(oracle.jdbc.OracleConnection.class)._getPC();
}
} catch (SQLException e) {
throw e;
}
return oconn;
}