java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver => You need to add the oracle JDBC driver in Jboss lib
Furthermore if you are using Oracle 11, the hibernate version that comes with Jboss 4.2 does not support correctly Oracle 11 (wrong detection). => You may need to look at https://jira.nuxeo.org/browse/NXP-5795 <https://jira.nuxeo.org/browse/NXP-5795>Tiry On 14 October 2010 14:03, Joseph John <[email protected]> wrote: > Hi > I am trying to make nuxeo 5.3.2 with oracle 11.1 > Edited /bin/nuxeo.conf file and restarted nuxeo 5.3.2, I did not get > any error messages on > boot.log > nuxeo-error.log > but I get error log in "stderr.log" when I try to log in from the > nuxeo interface. the error in "stderr.log" I have cut and pasted > " > java.lang.RuntimeException: java.lang.RuntimeException: Unkown user > directory userDirectory > 2010-10-13 04:26:09,331 ERROR [STDERR] at > > org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postConstruct(LifecycleInterceptorHandler.java:113) > 2010-10-13 04:26:09,331 ERROR [STDERR] at > org.jboss.ejb3.EJBContainer.invokePostConstruct(EJBContainer.java:623) > 2010-10-13 04:26:09,331 ERROR [STDERR] at > org.jboss.ejb3.AbstractPool.create(AbstractPool.java:131) > 2010-10-13 04:26:09,331 ERROR [STDERR] at > org.jboss.ejb3.InfinitePool.get(InfinitePool.java:49) > 2010-10-13 04:26:09,331 ERROR [STDERR] at > org.jboss.ejb3.ThreadlocalPool.create(ThreadlocalPool.java:50) > 2010-10-13 04:26:09,331 ERROR [STDERR] at > org.jboss.ejb3.ThreadlocalPool.get(ThreadlocalPool.java:90) > 2010-10-13 04:26:09,331 ERROR [STDERR] at > > org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:54) > 2010-10-13 04:26:09,332 ERROR [STDERR] at > > org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) > 2010-10-13 04:26:09,332 ERROR [STDERR] at org.jboss.aspects.security > > ... > .. > 2010-10-13 04:26:09,336 ERROR [STDERR] Caused by: > org.nuxeo.ecm.directory.DirectoryException: > org.nuxeo.ecm.core.api.WrappedException: Exception: > org.nuxeo.ecm.directory.DirectoryException. message: could not obtain > a connection > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getDirectory(SQLDirectoryProxy.java:52) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getSchema(SQLDirectoryProxy.java:67) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.directory.DirectoryServiceImpl.getDirectorySchema(DirectoryServiceImpl.java:154) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.platform.usermanager.UserManagerImpl.setUserDirectoryName(UserManagerImpl.java:181) > 2010-10-13 04:26:09,336 ERROR [STDERR] ... 61 more > 2010-10-13 04:26:09,336 ERROR [STDERR] Caused by: > org.nuxeo.ecm.core.api.WrappedException: Exception: > org.nuxeo.ecm.directory.DirectoryException. message: could not obtain > a connection > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.directory.sql.SQLDirectory.getConnection(SQLDirectory.java:216) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.directory.sql.SQLDirectory.buildDialect(SQLDirectory.java:297) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > org.nuxeo.ecm.directory.sql.SQLDirectory.<init>(SQLDirectory.java:90) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.directory.sql.SQLDirectoryProxy.getDirectory(SQLDirectoryProxy.java:50) > 2010-10-13 04:26:09,336 ERROR [STDERR] ... 64 more > 2010-10-13 04:26:09,336 ERROR [STDERR] Caused by: > org.nuxeo.ecm.core.api.WrappedException: Exception: > org.jboss.util.NestedSQLException. message: Could not create > connection; - nested throwable: > (org.jboss.resource.JBossResourceException: Failed to register driver > for: oracle.jdbc.driver.OracleDriver; - nested throwable: > (java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver)); > - nested throwable: (org.jboss.resource.JBossResourceException: Could > not create connection; - nested throwable: > (org.jboss.resource.JBossResourceException: Failed to register driver > for: oracle.jdbc.driver.OracleDriver; - nested throwable: > (java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver))) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:95) > 2010-10-13 04:26:09,336 ERROR [STDERR] at > > org.nuxeo.ecm.directory.sql.SQLDirectory.getConnection(SQLDirectory.java:214) > 2010-10-13 04:26:09,336 ERROR [STDERR] ... 67 more > 2010-10-13 04:26:09,337 ERROR [STDERR] Caused by: > org.nuxeo.ecm.core.api.WrappedException: Exception: > org.jboss.resource.JBossResourceException. message: Could not create > connection; - nested throwable: > (org.jboss.resource.JBossResourceException: Failed to register driver > for: oracle.jdbc.driver.OracleDriver; - nested throwable: > (java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver)) > > # > Going through the error, I have a feeling that there is no information > of nuxeo users on oracle database, Do I need to import some tables and > values to make it work > > > -- > Thanks > Joseph John > http://www.oss101.com/ > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm >
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
