Bonjour,

J'ai créé une base security au sein de Glassfish v3.0.1. Car je voudrais ensuite m'en servir pour l'authentification. Alors, depuis Eclipse et sa vue Data Source Explorer, j'ai créé et alimenté ses tables USERTABLE et GROUPTABLE.

Puis, je suis allé dans la console d'administration de Glassfish.
J'ai créé un pool de connexion, SecurityPool, avec ces propriétés:



Ainsi qu'une grande quantité de JDBC Ressources,
... par dépit, en vérité.

Car invariablement, au moment où je veux tester mon pool de connexion, Glassfish me répond:
Ping failed Exception - This pool is not registered with the runtime environment : SecurityPool Please check the server.log for more details.

Selon la commande que je tape, il peut me dire que c'est l'entrée JNDI qui manque. Où cette déclaration pourrait-elle alors me manquer, selon vous?

Mais je crains que ce soit plus grave. Car mes logs me disent ceci:
[#|2010-11-14T23:29:04.694+0100|INFO|glassfish3.0.1|org.hibernate.validator.engine.resolver.DefaultTraversableResolver|_ThreadID=29;_ThreadName=Thread-1;|Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.|#]

[#|2010-11-14T23:29:04.753+0100|WARNING|glassfish3.0.1|com.sun.enterprise.naming|_ThreadID=34;_ThreadName=Thread-1;|Failed to load com.sun.enterprise.naming.SerialInitContextFactory using CommonClassLoader|#]

[#|2010-11-14T23:29:04.753+0100|WARNING|glassfish3.0.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.deployer|_ThreadID=34;_ThreadName=Thread-1;|RAR8036: Exception while redeploying jdbc-connection-pool [ SecurityPool ], com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: Cannot instantiate class: com.sun.enterprise.naming.SerialInitContextFactory |#]

[#|2010-11-14T23:29:04.753+0100|SEVERE|glassfish3.0.1|LogStrings.org.glassfish.javaee.services|_ThreadID=34;_ThreadName=Thread-1;|org.glassfish.javaee.services.ResourceManager : Error while handling change Event|#]

[#|2010-11-14T23:29:04.757+0100|WARNING|glassfish3.0.1|null|_ThreadID=35;_ThreadName=Thread-1;|Unprocessed event : UnprocessedChangeEvent{PropertyName=connection-validation-method, OldValue = table, NewValue = table, Source = GlassFishConfigBean.com.sun.enterprise.config.serverbeans.JdbcConnectionPool}, reason = org.glassfish.javaee.services.ResourceManager : Error while handling change Event, when = 1289773744756|#]

[#|2010-11-14T23:29:04.767+0100|WARNING|glassfish3.0.1|com.sun.enterprise.naming|_ThreadID=29;_ThreadName=Thread-1;|Failed to load com.sun.enterprise.naming.SerialInitContextFactory using CommonClassLoader|#]

[#|2010-11-14T23:29:04.774+0100|WARNING|glassfish3.0.1|com.sun.enterprise.naming|_ThreadID=29;_ThreadName=Thread-1;|Failed to load com.sun.enterprise.naming.SerialInitContextFactory using CommonClassLoader|#]

[#|2010-11-14T23:29:04.774+0100|WARNING|glassfish3.0.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.resource.deployer|_ThreadID=29;_ThreadName=Thread-1;|RAR8035: Exception while creating jdbc connection pool [ SecurityPool ] : , com.sun.appserv.connectors.internal.api.ConnectorRuntimeException: This pool is not bound in JNDI : SecurityPool|#]

[#|2010-11-14T23:29:04.776+0100|WARNING|glassfish3.0.1|com.sun.enterprise.naming|_ThreadID=29;_ThreadName=Thread-1;|Failed to load com.sun.enterprise.naming.SerialInitContextFactory using CommonClassLoader|#]

[#|2010-11-14T23:29:04.776+0100|WARNING|glassfish3.0.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=29;_ThreadName=Thread-1;|RAR7010: Pool not reachable. |#]

[#|2010-11-14T23:29:04.776+0100|WARNING|glassfish3.0.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.service|_ThreadID=29;_ThreadName=Thread-1;|RAR8054: Exception while creating an unpooled [test] connection for pool [ SecurityPool ], This pool is not registered with the runtime environment : SecurityPool|#]


Et je suis perplexe!


En vous remerciant,

Grunt.