javax.resource.ResourceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Error when running orathin and ldap
    via schemaspy by clausfod
    ,
    • 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
    No Bugmate found.