HSQL Db Sequences

We are experiencing a problem using an HSQL db sequence to generate an id for a table.
kodo.properties has:
kodo.jdbc.SequenceFactory: nativewhile in the package.jdo we have:
    <class name="ChannelPlan" persistence-capable-superclass="com.ea.albt.domain.model.capacityplanning.FrequencyResource">
      <extension vendor-name="kodo" key="jdbc-sequence-name" value="seq_channel_plans"/>
      <extension vendor-name="kodo" key="jdbc-sequence-factory" value="kodo.jdbc.schema.ClassSequenceFactory(TableName=DUAL,Format=SELECT NEXT VALUE FOR {0} FROM {1})"/>When run it gives this error:
kodo.util.FatalDataStoreException: Column not found: SEQ_CHANNEL_PLANS.NEXTVAL in statement [select seq_channel_plans.NEXTVAL from DUAL] {select seq_channel_plans.NEXTVAL from DUAL} [code=-28, state=S0022]
NestedThrowables:
com.solarmetric.jdbc.ReportingSQLException: Column not found: SEQ_CHANNEL_PLANS.NEXTVAL in statement [select seq_channel_plans.NEXTVAL from DUAL] {select seq_channel_plans.NEXTVAL from DUAL} [code=-28, state=S0022]
java.sql.SQLException: Column not found: SEQ_CHANNEL_PLANS.NEXTVAL in statement [select seq_channel_plans.NEXTVAL from DUAL]
     at kodo.jdbc.sql.SQLExceptions.getFatalDataStore(SQLExceptions.java:42)The format of the sequence query is wrong for HSQLDB, the supplied format is being ignored.

Look at
http://hsqldb.sourceforge.net/web/hsqlDocsFrame.html
specifically
http://hsqldb.sourceforge.net/doc/hsqlGuide.html

Similar Messages

  • Facing issue with OpenJPA and HSQL...?

    Hi All,
    I am getting the following error when running my unit test case.
    I am using Apache Openjpa and HSQL 1.8.0 , The test case runs the first time generating the mydbname.script file
    also attached ,
    Additional details alsp provided...
    But, when i run the test case again it gives the following error...
    openjpa-1.1.0-r422266:657916 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: Column already exists in statement [ALTER TABLE HS_STUDY_FP ADD COLUMN CMODEV2_FE  VARCHAR(255)] {stmnt 25709120 ALTER TABLE HS_STUDY_FP ADD COLUMN CMODEV2_FE  VARCHAR(255)} [code=-27, state=S0021]
         at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:553)
         at org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:453)
         at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.synchronizeMappings(JDBCBrokerFactory.java:159)
         at org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newBrokerImpl(JDBCBrokerFactory.java:119)
         at org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:189)
         at org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:142)
         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:192)
         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:145)
         at org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:56)
         at com.att.osd.bcs.domain.hss.TestHsStudy.setUp(TestHsStudy.java:54)
         at junit.framework.TestCase.runBare(TestCase.java:132)
         at junit.framework.TestResult$1.protect(TestResult.java:110)
         at junit.framework.TestResult.runProtected(TestResult.java:128)
         at junit.framework.TestResult.run(TestResult.java:113)
         at junit.framework.TestCase.run(TestCase.java:124)
         at junit.framework.TestSuite.runTest(TestSuite.java:232)
         at junit.framework.TestSuite.run(TestSuite.java:227)HSQL DB i am using the file approach...
    CREATE SCHEMA PUBLIC AUTHORIZATION DBA
    CREATE SEQUENCE HS_STUDY_SEQ AS INTEGER START WITH 2
    CREATE MEMORY TABLE HS_STUDY(STUDY BIGINT NOT NULL PRIMARY KEY,ADMIN_CODE VARCHAR(255),CABLE_PAIR VARCHAR(255),CABLE_PAIR_2 VARCHAR(255),CLS VARCHAR(255),CLS_2 VARCHAR(255),COLLECT_BG_DATA VARCHAR(255),COLLECT_FP_DATA VARCHAR(255),COLLECT_PM_DATA VARCHAR(255),COLLECTION_ENDTIME TIMESTAMP,COLLECTION_STARTTIME TIMESTAMP,COLLECTION_STATE VARCHAR(255),COLLECTION_TIMESTAMP TIMESTAMP,DSL_ID VARCHAR(255),EMS VARCHAR(255),EUAN VARCHAR(255),GROUP_ID VARCHAR(255),GROUP_PROFILE VARCHAR(255),NE VARCHAR(255),NE_CARD_TYPE VARCHAR(255),NE_DENSITY VARCHAR(255),NE_ID VARCHAR(255),NE_LOCATION VARCHAR(255),NE_TYPE VARCHAR(255),NE_VENDOR VARCHAR(255),PORT VARCHAR(255),PORT_2 VARCHAR(255),PROFILE VARCHAR(255),PROFILE_2 VARCHAR(255),STUDY_TYPE VARCHAR(255),SUBMIT_TIMESTAMP TIMESTAMP,SUBMIT_USER VARCHAR(255),TN VARCHAR(255),USOC VARCHAR(255),USOC_2 VARCHAR(255))
    CREATE MEMORY TABLE HS_STUDY_FP(PORT VARCHAR(255) NOT NULL,TIMESTAMP TIMESTAMP NOT NULL,STUDY BIGINT NOT NULL,ACTMODE VARCHAR(255),CPMODEA2_FE VARCHAR(255),CPMODEA2_NE VARCHAR(255),CMODEA2M_FE VARCHAR(255),CMODEA2M_NE VARCHAR(255),CPMODEA_FE VARCHAR(255),CPMODEA_NE VARCHAR(255),CURDEL_DN INTEGER,CURDEL_UP INTEGER,CELLSF_DN BIGINT,CELLSI_DN BIGINT,CURFBR_DN INTEGER,CURIBR_DN INTEGER,MAXATTAINFBR_DN INTEGER,MAXATTAINIBR_DN INTEGER,NMR_DN INTEGER,RELCAP_DN INTEGER,ATEN_DN INTEGER,PWR_DN INTEGER,IMNPROT_DN INTEGER,IMNPROT_UP INTEGER,LAST_CHANGED TIMESTAMP,LINE_ADMIN_STATE VARCHAR(255),LINE_OPER_STATE VARCHAR(255),LINEPROFID VARCHAR(255),LINEPROFNAME VARCHAR(255),LINE_SYNC_STATUS VARCHAR(255),LPATEN_DN INTEGER,LPATEN_UP INTEGER,PSD_DN INTEGER,PSD_UP INTEGER,SERVPROFID VARCHAR(255),SERVPROFNAME VARCHAR(255),SIG_ATTN_DN VARCHAR(255),SIG_ATTN_UP VARCHAR(255),SNR_DN INTEGER,SNR_UP INTEGER,STATUS_FE VARCHAR(255),STATUS_NE VARCHAR(255),CELLSF_UP BIGINT,CELLSI_UP BIGINT,CURFBR_UP INTEGER,CURIBR_UP INTEGER,MAXATTAINFBR_UP INTEGER,MAXATTAINIBR_UP INTEGER,NMR_UP INTEGER,RELCAP_UP INTEGER,ATEN_UP INTEGER,PWR_UP INTEGER,CMODEV2_FE VARCHAR(255),CMODEV2_NE VARCHAR(255),CPMODEV_FE VARCHAR(255),CPMODEV_NE VARCHAR(255),PRIMARY KEY(PORT,TIMESTAMP,STUDY))
    CREATE USER SA PASSWORD ""
    GRANT DBA TO SA
    SET WRITE_DELAY 10
    SET SCHEMA PUBLIC
    INSERT INTO HS_STUDY VALUES(1,NULL,NULL,NULL,NULL,NULL,NULL,'Y',NULL,NULL,NULL,'active',NULL,NULL,'ams7',NULL,NULL,NULL,'SANITYTEST20110811',NULL,NULL,NULL,NULL,NULL,'Catena','SANITYTEST20110811-1-1-1',NULL,NULL,NULL,'HSS',NULL,NULL,NULL,NULL,NULL)Persistence.xml
    <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="1.0">
      <persistence-unit name="testPU" transaction-type="RESOURCE_LOCAL">
      <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>  
      <!-- META DATA OF ENTITIES TO BE UNIT TESTED -->
      <class>com.att.osd.bcs.domain.hss.HsStudy</class>
      <class>com.att.osd.bcs.domain.hss.HsStudyFP</class>
      <properties>      
          <!-- property name="openjpa.jdbc.DBDictionary" value="hsql"/>  -->
          <property name="openjpa.ConnectionURL" value="jdbc:hsqldb:file:src/test/resources/db/mydbname;shutdown=true;hsqldb.write_delay=false;"/>
          <property name="openjpa.ConnectionDriverName" value="org.hsqldb.jdbcDriver"/>
          <property name="openjpa.ConnectionUserName" value="sa"/>
          <property name="openjpa.ConnectionPassword" value=""/>    
          <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema"/>
          <property name="openjpa.Log" value="SQL=TRACE"/>
          <!-- <property name="openjpa.jdbc.Schema" value="PUBLIC"/> -->              
      </properties>
    </persistence-unit>
    </persistence>

    The Exception thrown is self explanatory. Pay attention on reading the exception:
    openjpa-1.1.0-r422266:657916 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: Column already exists in statement [ALTER TABLE HS_STUDY_FP ADD COLUMN CMODEV2_FE  VARCHAR(255)] {stmnt 25709120 ALTER TABLE HS_STUDY_FP ADD COLUMN CMODEV2_FE  VARCHAR(255)} [code=-27, state=S0021]
    As you said it runs successfully first time and gives error on running next time.
    When run first time, the column is already added, and tried next time obviously it gives error.
    EDITING:
    So make sure, the added column is dropped before running the test case again.

  • Cannot connect to HSQL for ODI demo

    Hello,
    i have a linux virtual box with ODI 11.1.1.6 and try to install the demo environment. I am getting a error when i try to create a connection to the demo repository
    I Hard-coded the ODI_JAVA_HOME in the environment odiparams.sh file that it points to my java directory /usr/java/jdk1.6.0_33,
    run the './startdemo.sh' in the demo/bin directory... that seems to be ok
    OracleDI: Starting Demo Environment ...
    OracleDI: Starting Demo Source Data Server ...
    [Server@15e0be38]: [Thread[main,5,main]]: checkRunning(false) entered
    [Server@15e0be38]: [Thread[main,5,main]]: checkRunning(false) exited
    [Server@15e0be38]: Startup sequence initiated from main() method
    [Server@15e0be38]: Loaded properties from [u01/app/oracle/Middleware/Oracle_ODI1/oracledi/demo/bin/server.properties]
    [Server@15e0be38]: Initiating startup sequence...
    [Server@15e0be38]: Server socket opened successfully in 13 ms.
    [Server@15e0be38]: Database [index=0, id=0, db=file:../hsql/demo_src, alias=] opened sucessfully in 436 ms.
    [Server@15e0be38]: Startup sequence completed in 473 ms.
    [Server@15e0be38]: 2012-08-14 10:09:42.896 HSQLDB server 1.7.3 is online
    [Server@15e0be38]: To close normally, connect and execute SHUTDOWN SQL
    [Server@15e0be38]: From command line, use [Ctrl]+[C] to abort abruptly
    OracleDI: Starting Demo Target Data Server ...
    [Server@15e0be38]: [Thread[main,5,main]]: checkRunning(false) entered
    [Server@15e0be38]: [Thread[main,5,main]]: checkRunning(false) exited
    [Server@15e0be38]: Startup sequence initiated from main() method
    [Server@15e0be38]: Loaded properties from [u01/app/oracle/Middleware/Oracle_ODI1/oracledi/demo/bin/server.properties]
    [Server@15e0be38]: Initiating startup sequence...
    [Server@15e0be38]: Server socket opened successfully in 13 ms.
    [Server@15e0be38]: Database [index=0, id=0, db=file:../hsql/demo_trg, alias=] opened sucessfully in 229 ms.
    [Server@15e0be38]: Startup sequence completed in 255 ms.
    [Server@15e0be38]: 2012-08-14 10:09:47.684 HSQLDB server 1.7.3 is online
    [Server@15e0be38]: To close normally, connect and execute SHUTDOWN SQL
    [Server@15e0be38]: From command line, use [Ctrl]+[C] to abort abruptly
    OracleDI: Starting Starting Demo Repository Server (en) ...
    [Server@15e0be38]: [Thread[main,5,main]]: checkRunning(false) entered
    [Server@15e0be38]: [Thread[main,5,main]]: checkRunning(false) exited
    [Server@15e0be38]: Startup sequence initiated from main() method
    [Server@15e0be38]: Loaded properties from [u01/app/oracle/Middleware/Oracle_ODI1/oracledi/demo/bin/server.properties]
    [Server@15e0be38]: Initiating startup sequence...
    [Server@15e0be38]: Server socket opened successfully in 10 ms.
    [Server@15e0be38]: Database [index=0, id=0, db=file:../hsql/demo_repository_en, alias=] opened sucessfully in 2564 ms.
    [Server@15e0be38]: Startup sequence completed in 2590 ms.
    [Server@15e0be38]: 2012-08-14 10:09:55.034 HSQLDB server 1.7.3 is online
    [Server@15e0be38]: To close normally, connect and execute SHUTDOWN SQL
    [Server@15e0be38]: From command line, use [Ctrl]+[C] to abort abruptly
    OracleDI: Demo Environment Started. Run './stopdemo.sh all' to stop it.
    Now I execute the odi.sh and try to create a new connection.
    In 'connect to a new repository' i put in the variables as described in the doc
    ¦ Login name: Getting Started - ETL Project
    ¦ User: SUPERVISOR
    ¦ Password: SUNOPSIS
    ¦ User: sa
    ¦ Password: Leave this field empty.
    ¦ Driver List: Select Hypersonic SQL Driver from the list.
    ¦ Driver Name: org.hsqldb.jdbcDriver
    ¦ URL: jdbc:hsqldb:hsql://localhost
    when i try to connect to the work repository i get the error:
    oracle.odi.core.config.MasterRepositoryResourceFailureException: ODI-10182: Uncategorized exception during repository access.     
    Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLTransientConnectionException: connection exception: connection failure: java.io.EOFException
         at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:100)
         at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:491)
         at oracle.odi.core.OdiInstance.<init>(OdiInstance.java:544)
         at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
         at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail$1.performAction(SnpsDialogLoginDetail.java:232)
         at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6290)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6055)
         at java.awt.Container.processEvent(Container.java:2039)
         at java.awt.Component.dispatchEventImpl(Component.java:4653)
         at java.awt.Container.dispatchEventImpl(Container.java:2097)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
         at java.awt.Container.dispatchEventImpl(Container.java:2083)
         at java.awt.Window.dispatchEventImpl(Window.java:2482)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
         at java.awt.EventQueue.access$000(EventQueue.java:84)
         at java.awt.EventQueue$1.run(EventQueue.java:607)
         at java.awt.EventQueue$1.run(EventQueue.java:605)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:621)
         at java.awt.EventQueue$2.run(EventQueue.java:619)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1044)
         at java.awt.Dialog$3.run(Dialog.java:1096)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1094)
         at java.awt.Component.show(Component.java:1584)
         at java.awt.Component.setVisible(Component.java:1536)
         at java.awt.Window.setVisible(Window.java:841)
         at java.awt.Dialog.setVisible(Dialog.java:984)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
         at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
         at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
         at oracle.odi.ui.LoginFactory.createNewLogin(LoginFactory.java:259)
         at com.sunopsis.graphical.dialog.SnpsDialogLogin$4.performAction(SnpsDialogLogin.java:214)
         at oracle.odi.ui.framework.event.OdiActionListener.actionPerformed(OdiActionListener.java:69)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6290)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6055)
         at java.awt.Container.processEvent(Container.java:2039)
         at java.awt.Component.dispatchEventImpl(Component.java:4653)
         at java.awt.Container.dispatchEventImpl(Container.java:2097)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
         at java.awt.Container.dispatchEventImpl(Container.java:2083)
         at java.awt.Window.dispatchEventImpl(Window.java:2482)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
         at java.awt.EventQueue.access$000(EventQueue.java:84)
         at java.awt.EventQueue$1.run(EventQueue.java:607)
         at java.awt.EventQueue$1.run(EventQueue.java:605)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:621)
         at java.awt.EventQueue$2.run(EventQueue.java:619)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1044)
         at java.awt.Dialog$3.run(Dialog.java:1096)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1094)
         at java.awt.Component.show(Component.java:1584)
         at java.awt.Component.setVisible(Component.java:1536)
         at java.awt.Window.setVisible(Window.java:841)
         at java.awt.Dialog.setVisible(Dialog.java:984)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
         at oracle.odi.ui.framework.adapter.DefaultAdapter.displayDialog(DefaultAdapter.java:242)
         at oracle.odi.ui.framework.UIFramework.displayDialog(UIFramework.java:88)
         at oracle.odi.ui.OdiConnectController.handleEvent(OdiConnectController.java:113)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
         at oracle.odi.ui.docking.AbstractOdiDockableWindow$1.actionPerformed(AbstractOdiDockableWindow.java:203)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
         at java.awt.Component.processMouseEvent(Component.java:6290)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6055)
         at java.awt.Container.processEvent(Container.java:2039)
         at java.awt.Component.dispatchEventImpl(Component.java:4653)
         at java.awt.Container.dispatchEventImpl(Container.java:2097)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4236)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
         at java.awt.Container.dispatchEventImpl(Container.java:2083)
         at java.awt.Window.dispatchEventImpl(Window.java:2482)
         at java.awt.Component.dispatchEvent(Component.java:4481)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:648)
         at java.awt.EventQueue.access$000(EventQueue.java:84)
         at java.awt.EventQueue$1.run(EventQueue.java:607)
         at java.awt.EventQueue$1.run(EventQueue.java:605)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:621)
         at java.awt.EventQueue$2.run(EventQueue.java:619)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:618)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLTransientConnectionException: connection exception: connection failure: java.io.EOFException
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
         at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
         at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
         at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
         at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
         at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
         at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
         at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
         at oracle.odi.core.repository.support.RepositoryUtils$RepositoryInfoSource.loadRepositoryInfo(RepositoryUtils.java:182)
         at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo(RepositoryUtils.java:376)
         at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:78)
         ... 144 more
    Caused by: java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLTransientConnectionException: connection exception: connection failure: java.io.EOFException
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
         at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
         at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
         ... 154 more
    Caused by: java.sql.SQLException: Exception occurred while getting connection: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLTransientConnectionException: connection exception: connection failure: java.io.EOFException
         at oracle.ucp.util.UCPErrorHandler.newSQLException(UCPErrorHandler.java:488)
         at oracle.ucp.util.UCPErrorHandler.throwSQLException(UCPErrorHandler.java:163)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:943)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:873)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:863)
         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 oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator$DataSourceInvocationHandler.invoke(RuntimeClassLoaderDataSourceCreator.java:48)
         at $Proxy0.getConnection(Unknown Source)
         at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ConnectionProcessor.run(LoginTimeoutDatasourceAdapter.java:217)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         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)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Cannot get Connection from Datasource: java.sql.SQLTransientConnectionException: connection exception: connection failure: java.io.EOFException
         at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException(UCPErrorHandler.java:368)
         at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:49)
         at oracle.ucp.util.UCPErrorHandler.throwUniversalConnectionPoolException(UCPErrorHandler.java:80)
         at oracle.ucp.jdbc.DataSourceConnectionFactoryAdapter.createConnection(DataSourceConnectionFactoryAdapter.java:102)
         at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.createOnePooledConnectionInternal(UniversalConnectionPoolImpl.java:1610)
         at oracle.ucp.common.UniversalConnectionPoolImpl$UniversalConnectionPoolInternal.access$600(UniversalConnectionPoolImpl.java:1446)
         at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection(UniversalConnectionPoolImpl.java:514)
         at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests(UniversalConnectionPoolImpl.java:297)
         at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection(UniversalConnectionPoolImpl.java:142)
         at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection(JDBCConnectionPool.java:157)
         at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection(PoolDataSourceImpl.java:931)
         ... 15 more
    I had a look on the other posts i found but they do not help me. Do you have a solution for me?
    Thanks

    Hi,
    Thanks for the response. I have already searched the OTN forum for the answer with no luck. Thing to note here is that these are two different problems
    My issue
    Cannot get Connection from Datasource: java.sql.SQLTransientConnectionException: connection exception: connection failure: java.io.EOFException
    His/Her issue
    Caused by: java.sql.SQLException: File input/output error: java.io.IOException: Invalid argument
    at org.hsqldb.jdbc.jdbcUtil.sqlException(Unknown Source)
    As stated I have already made changes to the JAVA_HOME and ODI_JAVA_HOME variables (located in the odiparams.sh file). I have also tried moving the demo directory to other locations as stated that forum.

  • Why self-defined access sequences of free goods can not work?

    Hi gurus,
    I have maintained access sequences of free goods self-defined.but when i creat the SO it does not work!
    when i used the standard access sequences ,it is OK .
    Can anybody tell me why?
    thanks in advance

    Dear Sandy,
    Go to V/N1 transaction select your self defined access sequence then go in to the accesses and fields and check all fields are activated.
    Make sure that these fields are flowing in your sales order.
    I hope this will help you,
    Regards,
    Murali.

  • Is there a way to create a renaming preset where the sequence starts at the number "0" zero?

    What I am trying to achieve is the following:
    Fro example, I am photographing a handbag and I need to rename the file using a barcode and a barcode scanner.
    My sequence of images goes like this:
    Image 1: Tag shot
    Image 2: Front
    Image 3: Back
    Image 4: Inside bag
    Let's say the barcode once scanned produces a code such as TRE8801AZT16-Z
    Right now my current preset is "Custom Text_Image # (1)"
    This results with the images being renamed as:
    TagShot: TRE8801AST16-Z_1
    Front: TRE8801AST16-Z_2
    Back: TRE8801AST16-Z_3
    Inside bag: TRE8801AST16-Z_4
    What I need is the sequence to start at zero so the tag shot is _0 and my images are named like this:
    TagShot: TRE8801AST16-Z_0
    Front: TRE8801AST16-Z_1
    Back: TRE8801AST16-Z_2
    Inside bag: TRE8801AST16-Z_3
    Is this possible? If yes, how?
    Thanks for the help
    Cody

    About as close as you can get is to right-click on a single clip and Make Multiclip Sequence. Hit OK to make an sequence out of the single clip. Open the sequence made and delete the multiclip and edit the clip you want back into the sequence.

  • Error while creating sequence - related to xdb installation?

    I'm getting the following error while creating a sequence -
    ERROR at line 1:
    ORA-00604: error occurred at recursive SQL level 1
    ORA-20000: Trigger xdb_installation_trigger does not support object creation of
    type SEQUENCE
    ORA-06512: at line 32
    oracle xml db was installed on this instance.
    Is there a way around it? We want oracle xml db installed but we still want to be able to create and drop sequences!

    Hi Expert,
    In T-Code: OB52, We need to open the period 001 for Year - 2012 for the Account Type - S and for GL Account - 799999.
    Configure as shown below for your Posting Period Variant:
    Account Type: S
    From Account: (Only provide any GL Accounts From Range, If you require any specific GL Accounts to be open. Else leave blank)
    To Account:(Only provide any GL Accounts To Range, If you require any specific GL Accounts to be open. Else leave blank)
    From Period: 01
    Year: 2012
    To Period:01
    Year:2012
    From Period:13
    Year:2012
    To Period:16
    Year:2012
    Save
    Regards,
    GK
    SAP

  • All of a sudden I can no longer toggle or clip angles in multiclip sequence

    Hi,
    I've got a project with a number of sequences, videos, angles, etc and all of a sudden I can no longer toggle between angles in the sequence timeline. It was working last night and then stopped and it's still unresponsive. Every time I click to switch an angle or cut to an angle I get the alert beep.
    I am not out of disk space and haven't changed any settings as far as I am aware of.
    Thanks

    Not sure what the deal is...have you added any new software or upgraded/updated anything since this started?
    Have you tried opening an autosave version, to see if it works there?
    Trashed prefs, run disk utility?
    I'm not sure I've ever heard an 'alert beep', so would wonder if the drive is failing.
    Can you be a little more explicit about exactly how it 'stopped working'...were you right in the middle of working on it, or had you stepped away for a bit?
    Have you tried shutting down, then rebooting after 15-20 minutes?

  • New Access Sequence for Free Goods Determination

    Hi Guru's,
    I Have  a scenario wherein i have to maintain the free Goods Condition records in VBN1 with a new access sequence namely Customer/Distribution Channel/Plant/material.
    I have maintained all the necessary settings such as Free Goods Activation for Item Category, Assignment of free goods pricing procedure to my sales area,Positioning of R100 condition type in my pricing procedure with relevenat routines.
    At my Sale order level after maintaining the free goods condition record in VBN1 in new access sequence, my free goods determination is not happening and at the sme time if i maintain it in the standard access sequence i.e. in Sales Org/Dist.Channel/Customer/material the free goods are getting determined.
    Can anybody help me out in this..
    Regards
    Bhushan

    Hi
    There arew 2 things to be done or checked
    1. Position your access sequence before the standard one by giving step nos accordingly
    2.In the existing sequence check for the exclusive indicator in the standard sequence and i think that is ticked in your case
    Hence after getting the condition record in the standard sequence the system stops searching for the new records in your new access sequence
    If that is the casethen remove exclusive indicator from the standard one and tick the same in your new access sequence
    By this you can get the condition records of your new access sequence without positioning
    Pls reply whether mu suggestion has helped you
    Raja

  • How to keep messages in sequence of different interfaces (using queues?)

    Dear experts,
    I'm running a scenario in which a job in one system creates and deletes orders in another system via XI (using idocs). I'm sending 100 times more creations than deletions.
    These are two different interfaces. Therefore they use different queues.
    My problem now is that sometimes a deletion enters the target system before the the creation of this order has taken place. Because the queue is much shorter for deletion, these are processed earlier.
    How can I make sure that message from two different interfaces enter and then exit xi in the same sequence? Is it possible to assign them to the same outbound queue?
    Please advice.
    Thanks in advance.

    hai
    check the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972a5f6
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0401ea9-0be5-2910-b389-ce9675ab8af9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0111fef-d311-2a10-c0b9-f33a49c1f2e5
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • How to populate sequence in a text item in a form

    I have a text item in a form.I want that the doc_id i.e the text item should be automatically populated with the help of sequence.I have created sequence named seq_doc_id.on which trigger i should write the code so that everytime the doc_id gets incremented by one. What should be the code.Can anyone gv me some hint.Do i have to use the loop for this?Please help

    Hi,
    I implemented a when-new-block-instance that does just that,
    however due to navigation problems the trigger fires when it should not
    the result is I got holes in the sequence.
    Is there a system variable status to check with an If test
    to make sure the sequence is called only at inserting time?

  • How to? Populate sequence in 2 Entities comprising 1-1 View Object

    Hello all,
    In my DB model, I have modeled sub types of an entity by having a main table with the common fields and then separate tables (with 1-1 relationship) to the main table with the fields that are specific to each type. Each of these tables has an ID column as the PK. I have created a trigger on the main table to auto-populate the ID from a sequence. If I have a VO based upon 2 of the entities (in a 1-1 relationship), how can I get the sequence # from the main table in order to populate the specialized table?
    Regards,
    john

    The TreeViewAdaptor is responsible for mapping your custom data to the tree view itself.  I almost always start by making it return some fixed number of objects with names "item 1" etc. That way you get the tree view working first.
    Then, after you get it laid out and displaying properly, you can worry about using real data.  At that point, you have your adaptor return the actual number of items in your list and each individual item.  Then you can populate your list when you push your button and then invalidate the IControlView of the tree view widget to cause it to redraw.  At that point your adaptor will get called and your data should appear.
    Jon
    "Expert for hire"

  • What does it take GG to replicate Sequence

    Hello All,
    We have sequences which create values used for Primary Key. We are on the process of creating replication between Oracle Databases.
    I was going through the documentation, it has certain steps mentioned which is mostly for initial data load. (Installing Support for Oracle Sequences in Oracle Installation and Configuration Guide 12.1.2)
    My question is do I need to follow those steps for online change synchronization also? Or we can skip ?
    Thanks,
    Basu

    Hi Basu,
    Yes, The Oracle documentation is always correct. You can follow the steps which they have mentioned in the link
    https://docs.oracle.com/goldengate/1212/gg-winux/GIORA.pdf
    10.2 Installing Support for Oracle Sequences
    Regards,
    Veera

  • Media Encoder CC won't import a JPEG sequence to the queue

    I am running Media Encoder CC 7.2.2.29 (64-bit) on OSX 10.9.4.
    I have a JPEG sequence GoPro timelapse image sequence that I want to encode into a video clip. All files have a .jpg extension. They are 4000x3000 and have an RGB color space. The Color profile is SRGB IEC61966-21. All images are 3.9MB.
    According to the ME help I should do the following.
    To add an image sequence, choose File > Add Source. In the Open dialog box, choose the first file of the image sequence. Enable the  Sequence Import checkbox for your file type, and then click the Open button.
    I follow the instructions and select the first image in the sequence. The "JPEG File Sequence" checkbox is active and I check it and click the Open button. The dialog disappears and nothing happens. There are no warnings.
    How does one get JPEG sequences to import to the queue?
    Please advise.
    -Travis

    Yes, import into premiere work fine. The nice part about using AME directly is you don't have to have to create a project or use an old one every time you want to crunch a timelapse. Also, AME has this nice feature where it will autoname the output file IMG[FirstStill]-[LastStill] (ie IMG[GP001234-GP001297]). This was helpful because GoPros change the first number in the sequence every time you stop and start time lapse.

  • Media Encoder CC 2014 using cached versions of Precomps in AE and Nested Sequences in Premiere?

    I'm seeing this weird thing where Media Encoder is using older versions of certain assets when exporting a Premiere Pro CC 2014 sequence.  I'm seeing issues with nested sequences...Media Encoder uses an old version of a linked AE comp or it doesn't render a certain video track. With linked AE comps...I'm seeing Media Encoder use an earlier version of a precomp within the main comp.
    When I look at the video in the Export Settings dialogue in Media Encoder, the old version of the AE comp shows .
    If I look at the Export Settings dialogue in Premiere, it's up to date and looks right.
    Anyone dealing with this or found a workaround?  Thanks!
    Calvin

    I don't think I'd call this issue expected behavior...at best it's anticipated behavior that's going wrong.  The only reason I wouldn't call it expected behavior is because what I'm seeing is AME reverting to a cached state on a FRESH LOAD of a sequence to render directly from Premiere.  Basically, AME isn't open...sequence looks fine in PPro...load into AME via PPro export...look at export settings dialog in AME and note that the sequence is the old/cached version.  So, it's not like the export was already in AME and THEN I made changes in PPro.  It appears AME might be incorrectly identifying the newly imported sequence for export as an older, cached version.
    However, I didn't get a chance to test your original solution so I'll try that the next time I see it happen.  I also fixed the issue by clearing out the media cache and databases.  NOT an elegant solution at all and TOTAL overkill...but it did work.
    Thanks for the links!

  • ISE 1.2 Patch 2 External RADIUS Server Sequence Broken?

    Hi community,
    We have upgraded our proof of concept ISE 1.2 lab to Patch level 2.
    Our lab design includes the use of external RADIUS servers which we off-load certain authentication rules to.
    To ensure resiliency of the external RADIUS service, we have two of these which we add to a RADIUS Server Sequence, the idea being that if the first in the list is unavailable, ISE will try the second and all will be well.
    Now this worked for us in testing ISE 1.2, but I have noticed that after the upgrade to Patch 2 ISE is sending the majority RADIUS traffic to the first (failed) external RADIUS server, with only the odd RADIUS Access-Request to thte next in the list.
    Anybody else come across this??
    All helpful comments rated!
    Many thanks, Ash.

    I couldn't find any known issues with this feature. Could you please paste the screen shot of external radius sequence and configuration. Also, how are we determing that the first server in the sequence is DEAD?
    ~BR
    Jatin Katyal
    **Do rate helpful posts**

Maybe you are looking for

  • How to use "Another Report Object" in hyperlink

    Hi, I have a requirement to create a hyperlink which will navigate that link to another page of the same report. When I click on the option "Another Report Object" I get few fields like Object Name and Data Context? Does anyone has idea how to do thi

  • How do I find my model #?

    I can't find the actual model # for my Macbook Pro 15"  (early 2008) .  I have Googled the question and it led me here with an archived thread.  It said to check the hardware so I did and instead of getting "Mxxxxxxx"  I got ..........MacBookPro4,1. 

  • Getserver cookie - returns empty page

    Hi, I am using MVC, I have firstpage - a controller for that and a model class. I have second page - a controller for that and the model is the same as the first one. I am using a single model class but multiple controllers and multiple views. I am t

  • Install error for oracle 9.2.0.1 in SUN OS 5.10

    Hi, I install the oralce 9 in SUN OS 10.. When I run the runinstaller.sh in oracle account ..... I get error " %PROD_HOME%/install not exist " .... Where is the %PRDO_HOME%" define ??? How to fix it ????

  • RRI warnings

    Hi, I looked at the forums on SDN and SAP library for my issue but I still have questions. I created a sender/receiver assignment for a query. The receiver is transaction va03 display sls order in our R/3 production system, and the infosrc is 2LIS_11