|
From: Christoph J. <chr...@ma...> - 2020-06-18 12:34:13
|
Don't know if it applies to you, but did you read this? https://www.quickfixj.org/usermanual/2.1.0/installation.html#oracle So you don't have any error messages? Do you have event messages in your log at all? Try to use a file log and only use DB for messages. Does this yield any error messages? Cheers, Chris. On 18.06.20 14:18, Alexandre Galmiche wrote: > QuickFIX/J Documentation: http://www.quickfixj.org/documentation/ > QuickFIX/J Support: http://www.quickfixj.org/support/ > > > > Hi, > Still working on this issue. > The pb is not related to oracle database, proxool and connections. I tried this simple script and > it worked : > $ more testjdbc.java > import java.sql.Connection; > import java.sql.ResultSet; > import java.sql.Statement; > > import org.logicalcobwebs.proxool.ProxoolDataSource; > > > public class testjdbc { > public static void main(String[] args) { > > Connection con = null; > Statement st = null; > ResultSet rs = null; > > try { > ProxoolDataSource ds = new ProxoolDataSource(); > ds.setDriver("oracle.jdbc.OracleDriver"); > ds.setDriverUrl("jdbc:oracle:thin:@localhost:1521:XE"); > ds.setUser("xxx"); > ds.setPassword("xxx"); > ds.setMinimumConnectionCount(5); > ds.setMaximumConnectionCount(10); > > con = ds.getConnection(); > st = con.createStatement(); > rs = st.executeQuery("select sysdate from dual"); > > System.out.println("Value"); > System.out.println("-------"); > while(rs.next()){ > System.out.print(rs.getString("SYSDATE")+"\t"); > } > } catch (Exception e){ > e.printStackTrace(); > } finally{ > try { > rs.close(); > st.close(); > con.close(); > } > catch (Exception e){ > e.printStackTrace(); > } > > } > } > } > > My tables are OK : > SQL> desc messages > Nom NULL ? Type > ----------------------------------------- -------- ---------------------------- > BEGINSTRING NOT NULL VARCHAR2(8) > SENDERCOMPID NOT NULL VARCHAR2(64) > SENDERSUBID NOT NULL VARCHAR2(64) > SENDERLOCID NOT NULL VARCHAR2(64) > TARGETCOMPID NOT NULL VARCHAR2(64) > TARGETSUBID NOT NULL VARCHAR2(64) > TARGETLOCID NOT NULL VARCHAR2(64) > SESSION_QUALIFIER NOT NULL VARCHAR2(64) > MSGSEQNUM NOT NULL NUMBER(38) > MESSAGE NOT NULL VARCHAR2(4000) > > SQL> desc sessions > Nom NULL ? Type > ----------------------------------------- -------- ---------------------------- > BEGINSTRING NOT NULL VARCHAR2(8) > SENDERCOMPID NOT NULL VARCHAR2(64) > SENDERSUBID NOT NULL VARCHAR2(64) > SENDERLOCID NOT NULL VARCHAR2(64) > TARGETCOMPID NOT NULL VARCHAR2(64) > TARGETSUBID NOT NULL VARCHAR2(64) > TARGETLOCID NOT NULL VARCHAR2(64) > SESSION_QUALIFIER NOT NULL VARCHAR2(64) > CREATION_TIME NOT NULL TIMESTAMP(6) > INCOMING_SEQNUM NOT NULL NUMBER(38) > OUTGOING_SEQNUM NOT NULL NUMBER(38) > > SQL> > > > I added > > JdbcStoreSessionsTableName=sessions > JdbcStoreMessagesTableName=messages > JdbcLogEventTable=event_log > JdbcLogOutgoingTable=messages_log > JdbcLogIncomingTable=messages_log > in the cfg file > > > I'm still facing the issue. > > > > > *Alexandre GALMICHE - Développeur* > > */Salamander/* > > aga...@sa... <mailto:aga...@sa...> > |http://www.salamander-soft.com <http://www.salamander-soft.com/> > > -- Christoph John Software Engineering T +49 241 557080-28 chr...@ma... MACD GmbH Oppenhoffallee 103 52066 Aachen, Germany www.macd.com Amtsgericht Aachen: HRB 8151 Ust.-Id: DE 813021663 Geschäftsführer: George Macdonald |