HTTP Status 500 - Servlet.init() for servlet ObjectInspectorServlet threw exception

2014-06-15
2014-07-11
  • ismet sener

    ismet sener - 2014-06-15

    Dear OpenCRX friends/experts/users,

    I installed OpenCRX (opencrxServer-2.12.0) on a Windows7 64 bit machine, without problem.
    Now i do the same on q Windows Vista 32bit machine, I have problem

    HTTP Status 500 - Servlet.init() for servlet ObjectInspectorServlet threw exception

    Details below:
    type Exception report

    message Servlet.init() for servlet ObjectInspectorServlet threw exception

    description The server encountered an internal error that prevented it from fulfilling this request.

    exception

    javax.servlet.ServletException: Servlet.init() for servlet ObjectInspectorServlet threw exception
    org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    java.lang.Thread.run(Thread.java:662)
    root cause

    javax.jdo.JDOFatalDataStoreException: Prepare failure
    NestedThrowables:
    javax.jdo.JDOFatalDataStoreException
    ExceptionDomain = DefaultDomain
    ExceptionCode = ROLLBACK
    Description = Prepare failure
    Timestamp = 2014-06-15T21:28:41.916Z

    org.openmdx.base.accessor.rest.UnitOfWork_1.toFatalDataStoreException(UnitOfWork_1.java:285)
    org.openmdx.base.accessor.rest.UnitOfWork_1.commit(UnitOfWork_1.java:739)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.application.persistence.adapter.TransactionAdapter.commit(TransactionAdapter.java:89)
    org.openmdx.portal.servlet.loader.DataLoader.loadData(DataLoader.java:227)
    org.openmdx.portal.servlet.ObjectInspectorServlet.init(ObjectInspectorServlet.java:386)
    org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    java.lang.Thread.run(Thread.java:662)
    

    root cause

    javax.jdo.JDOFatalDataStoreException
    ExceptionDomain = DefaultDomain
    ExceptionCode = ROLLBACK
    Description = Prepare failure
    Timestamp = 2014-06-15T21:28:41.916Z

    org.openmdx.base.accessor.rest.UnitOfWork_1.toFatalDataStoreException(UnitOfWork_1.java:285)
    org.openmdx.base.accessor.rest.UnitOfWork_1.commit(UnitOfWork_1.java:739)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.application.persistence.adapter.TransactionAdapter.commit(TransactionAdapter.java:89)
    org.openmdx.portal.servlet.loader.DataLoader.loadData(DataLoader.java:227)
    org.openmdx.portal.servlet.ObjectInspectorServlet.init(ObjectInspectorServlet.java:386)
    org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    java.lang.Thread.run(Thread.java:662)
    

    root cause

    org.openmdx.kernel.exception.BasicException
    ExceptionDomain = DefaultDomain
    ExceptionCode = ROLLBACK
    Description = Prepare failure
    Timestamp = 2014-06-15T21:28:41.910Z

    root cause

    org.openmdx.base.exception.ServiceException
    ExceptionDomain = DefaultDomain
    ExceptionCode = NOT_FOUND
    Description = principal not found
    Timestamp = 2014-06-15T21:28:41.910Z
    Parameters:
    0: realm = org::openmdx::security::realm1/provider/CRX/segment/Root/realm/Root
    1: principal = admin-Root

    org.opencrx.kernel.layer.model.AccessControl_1$DefaultRealm.getPrincipal(AccessControl_1.java:414)
    org.opencrx.kernel.layer.model.AccessControl_1.getRealm(AccessControl_1.java:2098)
    org.opencrx.kernel.layer.model.AccessControl_1$LayerInteraction.create(AccessControl_1.java:1298)
    org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    org.opencrx.kernel.layer.application.OpenCrxKernel_1$StandardLayerInteraction.create(OpenCrxKernel_1.java:243)
    org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    org.openmdx.application.dataprovider.layer.type.Standard_1$LayerInteraction.create(Standard_1.java:369)
    org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:246)
    org.openmdx.base.rest.spi.AbstractRestInteraction.create(AbstractRestInteraction.java:334)
    org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:676)
    org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:499)
    org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:520)
    org.openmdx.base.accessor.rest.DataObject_1.flushStructuralFeatures(DataObject_1.java:1864)
    org.openmdx.base.accessor.rest.DataObject_1.flush(DataObject_1.java:1625)
    org.openmdx.base.accessor.rest.UnitOfWork_1.flush(UnitOfWork_1.java:398)
    org.openmdx.base.accessor.rest.UnitOfWork_1.commit(UnitOfWork_1.java:698)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    org.openmdx.application.persistence.adapter.TransactionAdapter.commit(TransactionAdapter.java:89)
    org.openmdx.portal.servlet.loader.DataLoader.loadData(DataLoader.java:227)
    org.openmdx.portal.servlet.ObjectInspectorServlet.init(ObjectInspectorServlet.java:386)
    org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
    org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    java.lang.Thread.run(Thread.java:662)
    

    note The full stack trace of the root cause is available in the Apache Tomcat (TomEE)/7.0.47 (1.6.0-SNAPSHOT) logs.

    Apache Tomcat (TomEE)/7.0.47 (1.6.0-SNAPSHOT

    Also when try to start: HSQLDB Console for opencrxServer-2.12.0 (9001)

    I get the next message:
    Database Manager Swing Error
    java.sql.SQLTransientConnectionExceltion: connection exception: connection failure:java.io.EOFExcepton

    Psease can you help me?

    Kind regards,
    Ismet

     
  • ismet sener

    ismet sener - 2014-06-15
            at java.lang.Thread.run(Thread.java:662)
    

    15-jun-2014 23:45:14 org.opencrx.kernel.layer.model.AccessControl_1$DefaultRealm getPrincipal
    WARNING: Sys|principal not found|admin-Root
    15-jun-2014 23:45:14 org.openmdx.portal.servlet.loader.DataLoader loadData
    INFO: Sys|Creating org::opencrx::kernel::code1/provider/CRX/segment/Root
    15-jun-2014 23:45:14 org.opencrx.kernel.layer.model.AccessControl_1$DefaultRealm getPrincipal
    WARNING: Connection acquisition failed
    java.sql.SQLException: DefaultDomain.MEDIA_ACCESS_FAILURE
    BasicException[0]
    Class = org.openmdx.application.dataprovider.kernel.LateBindingDataSource
    Method = getConnection
    Line = 128
    ExceptionClass = java.sql.SQLException
    ExceptionDomain = DefaultDomain
    ExceptionCode = MEDIA_ACCESS_FAILURE
    Description = Connection acquisition failed
    Timestamp = 2014-06-15T21:45:14.362Z
    Parameters:
    0: jndiName = java:comp/env/jdbc_opencrx_CRX
    StackTrace:
    at org.openmdx.application.dataprovider.kernel.LateBindingDataSource.getConnection(LateBindingDataSource.java:128)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1.getConnection(AbstractDatabase_1.java:4671)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.getConnection(AbstractDatabase_1.java:5083)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.get(AbstractDatabase_1.java:5101)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.application.dataprovider.layer.model.Standard_1$LayerInteraction.get(Standard_1.java:277)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.opencrx.security.layer.application.OpenCrxSecurity_1$LayerInteraction.get(OpenCrxSecurity_1.java:513)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.application.dataprovider.layer.type.Standard_1$LayerInteraction.get(Standard_1.java:343)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:486)
    at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:246)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.get(AbstractRestInteraction.java:214)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:486)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:676)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:499)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:520)
    at org.openmdx.base.accessor.rest.DataObject_1.unconditionalLoad(DataObject_1.java:846)
    at org.openmdx.base.accessor.rest.DataObject_1.objRetrieve(DataObject_1.java:2466)
    at org.openmdx.base.accessor.rest.DataObject_1.objGetClass(DataObject_1.java:679)
    at org.openmdx.base.aop1.PlugIn_1.getInterceptor(PlugIn_1.java:132)
    at org.openmdx.base.accessor.view.ObjectView_1.initialize(ObjectView_1.java:431)
    at org.openmdx.base.accessor.view.ObjectView_1.getDelegate(ObjectView_1.java:446)
    at org.openmdx.base.accessor.view.ObjectView_1.getDelegate(ObjectView_1.java:85)
    at org.openmdx.base.accessor.spi.DelegatingObject_1.objGetClass(DelegatingObject_1.java:212)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1.marshal(RefRootPackage_1.java:453)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1.refObject(RefRootPackage_1.java:510)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1$StandardPersistenceManager_1.getObjectById(RefRootPackage_1.java:1672)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1$StandardPersistenceManager_1.getObjectById(RefRootPackage_1.java:1729)
    at org.opencrx.kernel.layer.model.AccessControl_1$DefaultRealm.getPrincipal(AccessControl_1.java:370)
    at org.opencrx.kernel.layer.model.AccessControl_1.getRealm(AccessControl_1.java:2098)
    at org.opencrx.kernel.layer.model.AccessControl_1$LayerInteraction.create(AccessControl_1.java:1298)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.opencrx.kernel.layer.application.OpenCrxKernel_1$StandardLayerInteraction.create(OpenCrxKernel_1.java:243)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.openmdx.application.dataprovider.layer.type.Standard_1$LayerInteraction.create(Standard_1.java:369)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:246)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.create(AbstractRestInteraction.java:334)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:676)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:499)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:520)
    at org.openmdx.base.accessor.rest.DataObject_1.flushStructuralFeatures(DataObject_1.java:1864)
    at org.openmdx.base.accessor.rest.DataObject_1.flush(DataObject_1.java:1625)
    at org.openmdx.base.accessor.rest.UnitOfWork_1.flush(UnitOfWork_1.java:398)
    at org.openmdx.base.accessor.rest.UnitOfWork_1.commit(UnitOfWork_1.java:698)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.application.persistence.adapter.TransactionAdapter.commit(TransactionAdapter.java:89)
    at org.openmdx.portal.servlet.loader.DataLoader.loadData(DataLoader.java:227)
    at org.openmdx.portal.servlet.ObjectInspectorServlet.init(ObjectInspectorServlet.java:386)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:865)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:136)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    BasicException[1]
    Class = org.hsqldb.jdbc.JDBCUtil
    Method = sqlException
    Line = -1
    ExceptionClass = java.sql.SQLTransientConnectionException
    ExceptionDomain = DefaultDomain
    ExceptionCode = GENERIC
    Description = connection exception: connection failure: java.io.EOFException
    Timestamp = 2014-06-15T21:45:14.362Z
    Parameters:
    0: sqlErrorCode = -1305
    1: sqlState = 08006
    StackTrace:
    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
    at org.hsqldb.jdbc.JDBCUtil.sqlException(Unknown Source)
    at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
    at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
    at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
    at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
    at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
    at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
    at org.apache.openejb.resource.jdbc.managed.local.ManagedDataSource.getConnection(ManagedDataSource.java:51)
    at org.openmdx.application.dataprovider.kernel.LateBindingDataSource.getConnection(LateBindingDataSource.java:125)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1.getConnection(AbstractDatabase_1.java:4671)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.getConnection(AbstractDatabase_1.java:5083)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.get(AbstractDatabase_1.java:5101)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.application.dataprovider.layer.model.Standard_1$LayerInteraction.get(Standard_1.java:277)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.opencrx.security.layer.application.OpenCrxSecurity_1$LayerInteraction.get(OpenCrxSecurity_1.java:513)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.application.dataprovider.layer.type.Standard_1$LayerInteraction.get(Standard_1.java:343)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:486)
    at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:246)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.get(AbstractRestInteraction.java:214)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:486)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:676)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:499)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:520)
    at org.openmdx.base.accessor.rest.DataObject_1.unconditionalLoad(DataObject_1.java:846)
    at org.openmdx.base.accessor.rest.DataObject_1.objRetrieve(DataObject_1.java:2466)
    at org.openmdx.base.accessor.rest.DataObject_1.objGetClass(DataObject_1.java:679)
    at org.openmdx.base.aop1.PlugIn_1.getInterceptor(PlugIn_1.java:132)
    at org.openmdx.base.accessor.view.ObjectView_1.initialize(ObjectView_1.java:431)
    at org.openmdx.base.accessor.view.ObjectView_1.getDelegate(ObjectView_1.java:446)
    at org.openmdx.base.accessor.view.ObjectView_1.getDelegate(ObjectView_1.java:85)
    at org.openmdx.base.accessor.spi.DelegatingObject_1.objGetClass(DelegatingObject_1.java:212)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1.marshal(RefRootPackage_1.java:453)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1.refObject(RefRootPackage_1.java:510)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1$StandardPersistenceManager_1.getObjectById(RefRootPackage_1.java:1672)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1$StandardPersistenceManager_1.getObjectById(RefRootPackage_1.java:1729)
    at org.opencrx.kernel.layer.model.AccessControl_1$DefaultRealm.getPrincipal(AccessControl_1.java:370)
    at org.opencrx.kernel.layer.model.AccessControl_1.getRealm(AccessControl_1.java:2098)
    at org.opencrx.kernel.layer.model.AccessControl_1$LayerInteraction.create(AccessControl_1.java:1298)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.opencrx.kernel.layer.application.OpenCrxKernel_1$StandardLayerInteraction.create(OpenCrxKernel_1.java:243)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.openmdx.application.dataprovider.layer.type.Standard_1$LayerInteraction.create(Standard_1.java:369)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:246)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.create(AbstractRestInteraction.java:334)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:676)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:499)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:520)
    at org.openmdx.base.accessor.rest.DataObject_1.flushStructuralFeatures(DataObject_1.java:1864)
    at org.openmdx.base.accessor.rest.DataObject_1.flush(DataObject_1.java:1625)
    at org.openmdx.base.accessor.rest.UnitOfWork_1.flush(UnitOfWork_1.java:398)
    at org.openmdx.base.accessor.rest.UnitOfWork_1.commit(UnitOfWork_1.java:698)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.application.persistence.adapter.TransactionAdapter.commit(TransactionAdapter.java:89)
    at org.openmdx.portal.servlet.loader.DataLoader.loadData(DataLoader.java:227)
    at org.openmdx.portal.servlet.ObjectInspectorServlet.init(ObjectInspectorServlet.java:386)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:865)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:136)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    BasicException[2]
    Class = org.hsqldb.error.Error
    Method = error
    Line = -1
    ExceptionClass = org.hsqldb.HsqlException
    ExceptionDomain = DefaultDomain
    ExceptionCode = GENERIC
    Description = connection exception: connection failure: java.io.EOFException
    StackTrace:
    at org.hsqldb.error.Error.error(Unknown Source)
    at org.hsqldb.error.Error.error(Unknown Source)
    at org.hsqldb.ClientConnection.execute(Unknown Source)
    at org.hsqldb.ClientConnection.<init>(Unknown Source)
    at org.hsqldb.jdbc.JDBCConnection.<init>(Unknown Source)
    at org.hsqldb.jdbc.JDBCDriver.getConnection(Unknown Source)
    at org.hsqldb.jdbc.JDBCDriver.connect(Unknown Source)
    at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
    at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
    at org.apache.tomcat.jdbc.pool.ConnectionPool.getConnection(ConnectionPool.java:188)
    at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:128)
    at org.apache.openejb.resource.jdbc.managed.local.ManagedDataSource.getConnection(ManagedDataSource.java:51)
    at org.openmdx.application.dataprovider.kernel.LateBindingDataSource.getConnection(LateBindingDataSource.java:125)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1.getConnection(AbstractDatabase_1.java:4671)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.getConnection(AbstractDatabase_1.java:5083)
    at org.openmdx.application.dataprovider.layer.persistence.jdbc.AbstractDatabase_1$LayerInteraction.get(AbstractDatabase_1.java:5101)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.application.dataprovider.layer.model.Standard_1$LayerInteraction.get(Standard_1.java:277)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.opencrx.security.layer.application.OpenCrxSecurity_1$LayerInteraction.get(OpenCrxSecurity_1.java:513)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.application.dataprovider.layer.type.Standard_1$LayerInteraction.get(Standard_1.java:343)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.get(Layer_1.java:359)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:486)
    at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:246)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.get(AbstractRestInteraction.java:214)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:486)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:676)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:499)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:520)
    at org.openmdx.base.accessor.rest.DataObject_1.unconditionalLoad(DataObject_1.java:846)
    at org.openmdx.base.accessor.rest.DataObject_1.objRetrieve(DataObject_1.java:2466)
    at org.openmdx.base.accessor.rest.DataObject_1.objGetClass(DataObject_1.java:679)
    at org.openmdx.base.aop1.PlugIn_1.getInterceptor(PlugIn_1.java:132)
    at org.openmdx.base.accessor.view.ObjectView_1.initialize(ObjectView_1.java:431)
    at org.openmdx.base.accessor.view.ObjectView_1.getDelegate(ObjectView_1.java:446)
    at org.openmdx.base.accessor.view.ObjectView_1.getDelegate(ObjectView_1.java:85)
    at org.openmdx.base.accessor.spi.DelegatingObject_1.objGetClass(DelegatingObject_1.java:212)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1.marshal(RefRootPackage_1.java:453)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1.refObject(RefRootPackage_1.java:510)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1$StandardPersistenceManager_1.getObjectById(RefRootPackage_1.java:1672)
    at org.openmdx.base.accessor.jmi.spi.RefRootPackage_1$StandardPersistenceManager_1.getObjectById(RefRootPackage_1.java:1729)
    at org.opencrx.kernel.layer.model.AccessControl_1$DefaultRealm.getPrincipal(AccessControl_1.java:370)
    at org.opencrx.kernel.layer.model.AccessControl_1.getRealm(AccessControl_1.java:2098)
    at org.opencrx.kernel.layer.model.AccessControl_1$LayerInteraction.create(AccessControl_1.java:1298)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.opencrx.kernel.layer.application.OpenCrxKernel_1$StandardLayerInteraction.create(OpenCrxKernel_1.java:243)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.openmdx.application.dataprovider.layer.type.Standard_1$LayerInteraction.create(Standard_1.java:369)
    at org.openmdx.application.dataprovider.spi.Layer_1$LayerInteraction.create(Layer_1.java:379)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    at org.openmdx.base.accessor.rest.spi.Switch_2$SwitchingInteraction.pass(Switch_2.java:246)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.create(AbstractRestInteraction.java:334)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:526)
    at org.openmdx.base.rest.spi.AbstractRestInteraction.execute(AbstractRestInteraction.java:676)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:499)
    at org.openmdx.base.rest.spi.ConnectionAdapter$InteractionAdapter.execute(ConnectionAdapter.java:520)
    at org.openmdx.base.accessor.rest.DataObject_1.flushStructuralFeatures(DataObject_1.java:1864)
    at org.openmdx.base.accessor.rest.DataObject_1.flush(DataObject_1.java:1625)
    at org.openmdx.base.accessor.rest.UnitOfWork_1.flush(UnitOfWork_1.java:398)
    at org.openmdx.base.accessor.rest.UnitOfWork_1.commit(UnitOfWork_1.java:698)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.base.accessor.spi.AbstractUnitOfWork_1.commit(AbstractUnitOfWork_1.java:151)
    at org.openmdx.application.persistence.adapter.TransactionAdapter.commit(TransactionAdapter.java:89)
    at org.openmdx.portal.servlet.loader.DataLoader.loadData(DataLoader.java:227)
    at org.openmdx.portal.servlet.ObjectInspectorServlet.init(ObjectInspectorServlet.java:386)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1280)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1193)
    at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:865)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:136)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
    at org.apache.tomee.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:611)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:603)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    15-jun-2014 23:45:14 org.opencrx.kernel.layer.model.AccessControl_1$DefaultRealm getPrincipal
    WARNING: Sys|principal not found|admin-Root

     
  • Werner Froidevaux

    It seems as if the HSQLDB database is not running. It should be started automatically with the opencrx.sh / .bat script. Or you can start it manually with the ./opencrxServer-2.12.0/data/hsqldb/db.sh / .bat script.

     
    • ismet sener

      ismet sener - 2014-07-08

      Dear Werner,

      Can you help me please, the HSQLDB will not start manually.
      also net the server in the tomcat folder "opencrx.bat"

      Regards,
      Ismet

       
    • ismet sener

      ismet sener - 2014-07-08

      Problem SOLVED

      database Port 9001 was in use

      I changed the port nr
      Now it works

      regards,
      Ismet

       
  • ismet sener

    ismet sener - 2014-06-20

    Dear Werner,

    If I try to start database from:
    C:\opencrxServer-2.12.0\data\hsqldb\db.bat

    it does not work. (I see black screen/the dissaper)

    If I start from:
    C:\opencrxServer-2.12.0\apache-tomee-webprofile-1.6.0\bin\opencrx.bat run

    I receive the next message:

    C:\opencrxServer-2.12.0\apache-tomee-webprofile-1.6.0\bin>set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_32

    C:\opencrxServer-2.12.0\apache-tomee-webprofile-1.6.0\bin>set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_32

    C:\opencrxServer-2.12.0\apache-tomee-webprofile-1.6.0\bin>set PATH=C:\Program Files\Java\jdk1.6.0_32\bin;C:\Program Files\Java\jdk1.6.0_32\bin;C:\PHP\;C:\Program Files\Common Files\Microsoft Shared\Wi
    ndows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\CyberLink\Power2Go\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Windows Live\Shared;C:\Program File
    s\MySQL\MySQL Server 5.5\bin;C:\MySQL\bin;C:\Apache-Ant\bin;C:\PostgresPlus\8.3R2AS\dbserver\bin;C:\PostgreSQL\9.3\bin;C:\Program Files\Calibre2\;C:\Program Files\TortoiseHg\

    C:\opencrxServer-2.12.0\apache-tomee-webprofile-1.6.0\bin>cd C:\opencrxServer-2.12.0\data\hsqldb

    C:\opencrxServer-2.12.0\data\hsqldb>java -Xmx800M -cp .\hsqldb.jar org.hsqldb.server.Server --port 9001 --database.0 file:crx --dbname.0 CRX
    [Server@578ceb]: [Thread[main,5,main]]: checkRunning(false) entered
    [Server@578ceb]: [Thread[main,5,main]]: checkRunning(false) exited
    [Server@578ceb]: Startup sequence initiated from main() method
    [Server@578ceb]: Could not load properties from file
    [Server@578ceb]: Using cli/default properties only
    [Server@578ceb]: Initiating startup sequence...
    [Server@578ceb]: Server socket opened successfully in 30 ms.
    [Server@578ceb]: Database [index=0, id=0, db=file:crx, alias=crx] opened sucessfully in 6698 ms.
    [Server@578ceb]: Startup sequence completed in 6732 ms.
    [Server@578ceb]: 2014-06-20 14:46:43.576 HSQLDB server 2.2.8 is online on port 9001
    [Server@578ceb]: To close normally, connect and execute SHUTDOWN SQL
    [Server@578ceb]: From command line, use [Ctrl]+[C] to abort abruptly

    So still not work, please help me

    With Kind Regards,
    Ismet

     
  • ismet sener

    ismet sener - 2014-07-11

    SOLVED SOLVED

    OPencrx installation HSQLDB database was uisng port 9001, this was in use with a windows program (dont know which)

    Then I used a other port for HSQLDB (example 9090) then it worked

     

Log in to post a comment.