Can anybody help me with trying to store the Journal in a db2 database? I see that there's a class GenericSqlJournal, but no service redirection in the query.properties file.
I'm also having problems trying to extend PipelineStage: my jar seems to be ignored completely, although I have:
- com.babeldoc.core.module.BabeldocModule in META-INF/services pointing to my extension.
- query.properties in the (module)/service directory referencing my stage.
[Babeldoc v1.2]
Any ideas?
Thanks,
Chris
ps: found a bug in the FtpScanner: when using the attribute 'ftpOutFolder', the last letter of the 'ftpFolder' is appended to the outFolder prior to 'rename'.
(eg:
ftpFolder: in
ftpOutFolder: done
tries to access /in/donen/xxx.txt
)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
GenericSqlJournal is abstract class so it needs to be subclasses. The cause for such implementation was the way different databases handle BLOB type (and some other things).
So if you need to use DB2 you should implement few abstract methods in the new class (look at the other implementations).
About module: Have you created BabeldocModule subclass, too?
I will try to investigate ftpScanner bug you reported as soon as possible.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
Can anybody help me with trying to store the Journal in a db2 database? I see that there's a class GenericSqlJournal, but no service redirection in the query.properties file.
I'm also having problems trying to extend PipelineStage: my jar seems to be ignored completely, although I have:
- com.babeldoc.core.module.BabeldocModule in META-INF/services pointing to my extension.
- query.properties in the (module)/service directory referencing my stage.
[Babeldoc v1.2]
Any ideas?
Thanks,
Chris
ps: found a bug in the FtpScanner: when using the attribute 'ftpOutFolder', the last letter of the 'ftpFolder' is appended to the outFolder prior to 'rename'.
(eg:
ftpFolder: in
ftpOutFolder: done
tries to access /in/donen/xxx.txt
)
GenericSqlJournal is abstract class so it needs to be subclasses. The cause for such implementation was the way different databases handle BLOB type (and some other things).
So if you need to use DB2 you should implement few abstract methods in the new class (look at the other implementations).
About module: Have you created BabeldocModule subclass, too?
I will try to investigate ftpScanner bug you reported as soon as possible.
Basically, MySqlJournal worked for me.