The following error appears when trying to use it:
C:\babeldoc>babeldoc journal -L
<2003-10-21 17:35:10,267> ERROR [main] : [GenericSqlJournal.getTickets]
com.babeldoc.core.resource.ResourceException: [ResourceException.checkIn]
at com.babeldoc.sql.resource.SimpleJdbc.checkIn(Unknown Source)
at com.babeldoc.sql.journal.GenericSqlJournal.getTickets(Unknown Source)
at com.babeldoc.core.journal.command.JournalCommand.doList(Unknown Sourc
e)
at com.babeldoc.core.journal.command.JournalCommand.execute(Unknown Sour
ce)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.journal.command.JournalCommand.<init>(Unknown Sourc
e)
at com.babeldoc.core.journal.command.JournalCommand.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
Caused by: java.lang.NullPointerException
... 20 more
Error: com.babeldoc.core.journal.query.JournalQueryException: [getTickets]
C:\babeldoc>
I have in my the sql/config.properties:
resourceName=TCSEAI
I think there is no problem with the resource because it works fine for pipeline stages when using a simple journal configuration ( file system ).
I really apreciate your help.
Thanks in advance, Esteban.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Journal configuration has changed since 1.0 version so maybe it is outdated in User Manual, too. Here is what you should have in journal/config.properties
journalType=oracle
resourceName=TCSEAI
Dejan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Babeldoc 1.2.0-RC1/RC2 - jdk1.4.1:
journalType=oracle seems that doesn't work.
The following error appears when trying to use it:
C:\babeldoc>babeldoc journal -L
<2003-10-21 17:35:10,267> ERROR [main] : [GenericSqlJournal.getTickets]
com.babeldoc.core.resource.ResourceException: [ResourceException.checkIn]
at com.babeldoc.sql.resource.SimpleJdbc.checkIn(Unknown Source)
at com.babeldoc.sql.journal.GenericSqlJournal.getTickets(Unknown Source)
at com.babeldoc.core.journal.command.JournalCommand.doList(Unknown Sourc
e)
at com.babeldoc.core.journal.command.JournalCommand.execute(Unknown Sour
ce)
at com.babeldoc.core.BabeldocCommand.executeCommand(Unknown Source)
at com.babeldoc.core.BabeldocCommand.<init>(Unknown Source)
at com.babeldoc.core.journal.command.JournalCommand.<init>(Unknown Sourc
e)
at com.babeldoc.core.journal.command.JournalCommand.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.core.Main.handleCommand(Unknown Source)
at com.babeldoc.core.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.babeldoc.init.Main.runBabeldocMain(Unknown Source)
at com.babeldoc.init.Main.main(Unknown Source)
Caused by: java.lang.NullPointerException
... 20 more
Error: com.babeldoc.core.journal.query.JournalQueryException: [getTickets]
C:\babeldoc>
I have in my the sql/config.properties:
resourceName=TCSEAI
I think there is no problem with the resource because it works fine for pipeline stages when using a simple journal configuration ( file system ).
I really apreciate your help.
Thanks in advance, Esteban.
Journal configuration has changed since 1.0 version so maybe it is outdated in User Manual, too. Here is what you should have in journal/config.properties
journalType=oracle
resourceName=TCSEAI
Dejan
Many thanks Dejan; It's working now.
Esteban.