|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0Hi,
We are trying to use Oracle 9i release 2 with Nuxeo 5.3.0 (VCS repository) but we get this error: javax.persistence.PersistenceException: org.hibernate.HibernateException: unknown Oracle major version [0] ... and so. Is possible to use Oracle 9i ? We know that Oracle 9i driver only supports Java 1.4, it could be this our problem ? Any clue will be thankful. Regards. -- Posted by "danieltellez" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8705> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
|
|
Re: Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0Hi all.
We've solved this issue using the JDBC driver of Oracle 11. Regards. -- Posted by "enriqueperez" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8711> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
|
|
Re: Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0Note that Oracle 9i is completely unsupported (and untested) by Nuxeo.
We only support Oracle starting with 10g. And for the JDBC driver, 10.2.0.3.0 minimum. -- Posted by "fguillaume" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8737> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
|
|
Re: Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0Unfortunately, Nuxeo 5.3 also throws the same error with Oracle 11.2 drivers.
-- Posted by "mroessler" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8739> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
|
|
Re: Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0Oracle 11 support seems to be a hibernate issue. Trying to use 11g with Nuxeo is throwing unknown major version [11].
According to JIRA, setting <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/> in persistence.xml should resolve the issue. I've had no luck adding this when trying to use Nuxeo 5.3 with Oracle 11.2. Unknown major version [11] continues to be produced on startup. -- Posted by "mroessler" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8740> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
|
|
Re: Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0We have been able to deploy Nuxeo 5.3.0 on JBoss and Oracle 11g by substituting the hibernate dependency shipped with Nuxeo for the one from the Hibernate project. We also add the 11.2 Oracle JDBC driver to the server/default/lib directory.
<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> <version>3.2.4.sp1</version> </dependency> <dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc5</artifactId> <version>11.2.0.1.0</version> </dependency> -- Posted by "bkzoller" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8770> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
|
|
Re: Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0Thank you very much for sharing that valuable information. With your assistance, I was able to clear the unknown major version [11] issue. JBOSS starts without errors in server.log.
But when login is attempted, Nuxeo is unable to create the user2group table in Oracle due to a ORA-02089: COMMIT is not allowed in a subordinate session error. Did you encounter this issue? Environment: Nuxeo 5.3 Oracle 11.2.0.1 jdk1.6.0_16 ojdbc6.jar Hibernate 3.2.4SP1 from Hibernate project replacing Nuxeo distribution All datasources set to Oracle (repository, and NuxeoDS) 2009-11-04 12:07:30,544 ERROR [org.nuxeo.ecm.platform.login.NuxeoLoginModule] org.nuxeo.ecm.directory.DirectoryException: Table 'Table(user2group)' creation failed: ORA-02089: COMMIT is not allowed in a subordinate session org.nuxeo.ecm.directory.DirectoryException: Table 'Table(user2group)' creation failed: ORA-02089: COMMIT is not allowed in a subordinate session at org.nuxeo.ecm.directory.sql.SQLHelper.createTable(SQLHelper.java:137) at org.nuxeo.ecm.directory.sql.SQLHelper.setupTable(SQLHelper.java:107) at org.nuxeo.ecm.directory.sql.TableReference.initialize(TableReference.java:94) at org.nuxeo.ecm.directory.sql.TableReference.getSQLSession(TableReference.java:421) at org.nuxeo.ecm.directory.sql.TableReference.getIdsFor(TableReference.java:232) at org.nuxeo.ecm.directory.sql.TableReference.getSourceIdsForTarget(TableReference.java:252) at org.nuxeo.ecm.directory.InverseReference.getTargetIdsForSource(InverseReference.java:98) at org.nuxeo.ecm.directory.sql.SQLSession.getEntryFromSource(SQLSession.java:267) at org.nuxeo.ecm.directory.DirectoryCache.getEntry(DirectoryCache.java:67) at org.nuxeo.ecm.directory.sql.SQLSession.getEntry(SQLSession.java:233) at org.nuxeo.ecm.directory.sql.SQLSession.getEntry(SQLSession.java:228) at org.nuxeo.ecm.directory.sql.SQLSession.authenticate(SQLSession.java:771) at org.nuxeo.ecm.platform.usermanager.UserManagerImpl.checkUsernamePassword(UserManagerImpl.java:289) at org.nuxeo.ecm.platform.usermanager.ejb.UserManagerBean.checkUsernamePassword(UserManagerBean.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:240) at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:210) at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84) at $Proxy147.checkUsernamePassword(Unknown Source) at org.nuxeo.ecm.platform.login.NuxeoLoginModule.validateUserIdentity(NuxeoLoginModule.java:317) at org.nuxeo.ecm.platform.login.NuxeoLoginModule.getPrincipal(NuxeoLoginModule.java:210) at org.nuxeo.ecm.platform.login.NuxeoLoginModule.login(NuxeoLoginModule.java:263) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doAuthenticate(NuxeoAuthenticationFilter.java:208) at org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter.doFilter(NuxeoAuthenticationFilter.java:401) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.web.common.requestcontroller.filter.NuxeoRequestControllerFilter.doFilter(NuxeoRequestControllerFilter.java:133) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.nuxeo.ecm.platform.web.common.exceptionhandling.NuxeoExceptionFilter.doFilter(NuxeoExceptionFilter.java:80) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.sql.SQLSyntaxErrorException. message: ORA-02089: COMMIT is not allowed in a subordinate session at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395) at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802) at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436) at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186) at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521) at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194) at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1000) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307) at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1882) at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1847) at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:301) at org.jboss.resource.adapter.jdbc.WrappedStatement.execute(WrappedStatement.java:91) at org.nuxeo.ecm.directory.sql.SQLHelper.createTable(SQLHelper.java:135) -- Posted by "mroessler" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8788> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
|
|
Re: Unknow Oracle major version error with Oracle 9i and Nuxeo 5.3.0It seems as though the autocommit status in XA connections causes ora-02089 error. Fix: don't use an XA connection. Switched to oracle.jdbc.OracleDriver.
-- Posted by "mroessler" at Nuxeo Discussions <http://nuxeo.org/discussions> View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2958#8791> _______________________________________________ ECM mailing list ECM@... http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm |
| Free embeddable forum powered by Nabble | Forum Help |