Hi,
I have the following problem:
When I configure the RMTxStore via Spring Bean configuration file the
storage works fine.
If I attach the RMTxStore to the bus programmatically I recognized that the
RMTxStore.init() is not called and thus the CXF_* database tables are not
created. Do somebody knows what I am doing wrong?
Here is the exception:
...
java.sql.SQLSyntaxErrorException: Table/View 'CXF_RM_SRC_SEQUENCES' does not
exist.
at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown
Source)
at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
..
Caused by: java.sql.SQLException: Table/View 'CXF_RM_SRC_SEQUENCES' does not
exist.
at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source)
at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
... 43 more
Caused by: ERROR 42X05: Table/View 'CXF_RM_SRC_SEQUENCES' does not exist.
at org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
Here the code snippet:
...
bf = new SpringBusFactory();
bus = bf.createBus();
bf.setDefaultBus(bus);
add WSRM interceptors to the chain...
RMManager aRMManager = bus.getExtension(RMManager.class);
wsrm_dbURL="jdbc:derby:rmdb;create=true";
RMTxStore aStore = new STPF_RMTxStore();
aStore.setUrl(wsrm_dbURL);
aRMManager.setStore(aStore);
bus.setExtension(aRMManager,RMManager.class);
...
--
View this message in context:
http://cxf.547215.n5.nabble.com/RMTxStore-enabled-programmatically-tp3291020p3291020.html
Sent from the cxf-user mailing list archive at Nabble.com.