[
https://issues.jboss.org/browse/WFLY-5960?page=com.atlassian.jira.plugin....
]
Ivo Studensky commented on WFLY-5960:
-------------------------------------
stacktrace:
{noformat}
2016-01-08 11:50:50,175 WARN [org.jboss.jca.core.connectionmanager.pool.strategy.OnePool]
(JCA PoolFiller) IJ000610: Unable to fill pool: javax.resource.ResourceException:
IJ031084: Unable to create connection
at
org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:496)
at
org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.createManagedConnection(XAManagedConnectionFactory.java:410)
at
org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.createConnectionEventListener(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1336)
at
org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.fillTo(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1148)
at org.jboss.jca.core.connectionmanager.pool.mcp.PoolFiller.run(PoolFiller.java:97)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLRecoverableException: IO Error: JNDI Package failure
javax.naming.NamingException: WFLYNAM0027: Failed instantiate InitialContextFactory
com.sun.jndi.ldap.LdapCtxFactory from classloader ModuleClassLoader for Module
"org.jboss.ironjacamar.impl:main" from local module loader @707f7052 (finder:
local module finder @11028347 (roots:
/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules,/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules/system/layers/base))
[Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from
[Module "org.jboss.ironjacamar.impl:main" from local module loader @707f7052
(finder: local module finder @11028347 (roots:
/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules,/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules/system/layers/base))]]
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:743)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:662)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:560)
at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:311)
at
oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:486)
at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:174)
at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:143)
at
org.jboss.jca.adapters.jdbc.xa.XAManagedConnectionFactory.getXAManagedConnection(XAManagedConnectionFactory.java:479)
... 5 more
Caused by: oracle.net.ns.NetException: JNDI Package failure javax.naming.NamingException:
WFLYNAM0027: Failed instantiate InitialContextFactory com.sun.jndi.ldap.LdapCtxFactory
from classloader ModuleClassLoader for Module "org.jboss.ironjacamar.impl:main"
from local module loader @707f7052 (finder: local module finder @11028347 (roots:
/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules,/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules/system/layers/base))
[Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory from
[Module "org.jboss.ironjacamar.impl:main" from local module loader @707f7052
(finder: local module finder @11028347 (roots:
/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules,/home/studensky/work/tmp/tmp/wildfly-10.0.0.CR5-SNAPSHOT/modules/system/layers/base))]]
at oracle.net.jndi.JndiAttrs.<init>(JndiAttrs.java:169)
at oracle.net.resolver.AddrResolution.<init>(AddrResolution.java:214)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:207)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1452)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:496)
... 13 more
{noformat}
[Root exception is java.lang.ClassNotFoundException:
com.sun.jndi.ldap.LdapCtxFactory from [Module "org.jboss.ironjacamar.impl:main"
------------------------------------------------------------------------------------------------------------------------------------
Key: WFLY-5960
URL:
https://issues.jboss.org/browse/WFLY-5960
Project: WildFly
Issue Type: Bug
Components: JCA
Affects Versions: 10.0.0.CR5
Reporter: Ivo Studensky
Assignee: Ivo Studensky
Description of problem:
Warnings at server startup:
WARN [org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubject] [] (JCA
PoolFiller) IJ000610: Unable to fill pool: javax.resource.ResourceException: Could not
create connection
Root cause of the exception is displayed in the logs:
[Root exception is java.lang.ClassNotFoundException: com.sun.jndi.ldap.LdapCtxFactory
from [Module "org.jboss.ironjacamar.impl:
Steps to Reproduce:
1. Create Oracle XA datasources with url set to ldap.
2. set "prefill" option to true
3. Start JBoss
Warnings gets disappear when dependency <module name="sun.jdk"/>
is added in the module
"org.jboss.ironjacamar.impl"
Expected results:
There should not be any need to add the dependency manually. This dependency should be by
default present in JBoss EAP.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)