Closed jgarciasm closed 2 years ago
Hi Jonad,
Thanks for reporting the issue. Proxool is very old and has no maintainers but it's the default data source shipped with quickfixj.
For the time being I have pushed a fix for the problem, basically setting the DataSource
bean in the jdbc factories:
public MessageStoreFactory clientMessageStoreFactory(SessionSettings clientSessionSettings, DataSource dataSource) {
JdbcStoreFactory jdbcStoreFactory = new JdbcStoreFactory(clientSessionSettings);
jdbcStoreFactory.setDataSource(dataSource);
return jdbcStoreFactory;
}
public LogFactory clientLogFactory(SessionSettings clientSessionSettings, DataSource dataSource) {
JdbcLogFactory jdbcLogFactory = new JdbcLogFactory(clientSessionSettings);
jdbcLogFactory.setDataSource(dataSource);
return jdbcLogFactory;
}
Let me know if that works for you. Thanks
Thank you a lot @esanchezros!!!
Now it works like a charm.
I tried to create a project based on quickfixj-spring-boot-starter-examples (simple-client-with-database) but with postgresql. I am using JDK 17. I'm pretty sure it's my mistake and I've tried to fix it in many ways but I can't find the problem. Please help me if it is my mistake.
The problem is this:
When I tried to start my application it fails and show nest message:
That happens when the applications tries to load the MessageStoreFactory and/or LogFactory.
I think is a problem with overlapping org.logicalcobwebs.proxool dependency but I don´t know.
This is my quickfixj.cfg file:
And my pom.xml: