You can subscribe to this list here.
| 2003 |
Jan
|
Feb
(14) |
Mar
(107) |
Apr
(211) |
May
(93) |
Jun
(158) |
Jul
(159) |
Aug
(368) |
Sep
(188) |
Oct
(151) |
Nov
(115) |
Dec
(98) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(25) |
Feb
|
Mar
(33) |
Apr
(28) |
May
(116) |
Jun
(2) |
Jul
(117) |
Aug
(19) |
Sep
(9) |
Oct
(2) |
Nov
|
Dec
(4) |
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(9) |
Dec
|
| 2006 |
Jan
|
Feb
|
Mar
(22) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(267) |
Sep
|
Oct
|
Nov
(6) |
Dec
(512) |
| 2008 |
Jan
(187) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
(6) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <tr...@us...> - 2003-06-27 00:15:06
|
Update of /cvsroot/babeldoc/babeldoc/modules/init
In directory sc8-pr-cvs1:/tmp/cvs-serv19206/modules/init
Modified Files:
build.xml
Log Message:
Updated the build system using an explicit modular ant task. This is better than the method previously employed which added "hidden" tasks to the build and clean etc targets. Additionally using a more robust module sorting algorithm.
Index: build.xml
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/init/build.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** build.xml 11 Jun 2003 00:07:30 -0000 1.2
--- build.xml 27 Jun 2003 00:14:55 -0000 1.3
***************
*** 43,46 ****
--- 43,47 ----
<target name="format">
<echo message="Formatting ${Module}"/>
+ <!--
<jalopy fileformat="${jalopy.fileformat}"
convention="${jalopy.convention}"
***************
*** 52,55 ****
--- 53,57 ----
</fileset>
</jalopy>
+ -->
</target>
</project>
|
|
From: Leech, J. <jl...@vi...> - 2003-06-26 17:03:08
|
Bruce,
Thanks for the information on the local configuration.
I have found the demons causing my No suitable driver error.
java.sql.DriverManager attempts to load the drivers in the jdbc.drivers
system property explicitly using the system class loader, whereas the
classes12.jar for oracle was not in my system classpath. What was confusing
was that I could load the class, using Class.forName(), or call
DriverManager.registerDriver() using a new instance of the oracle driver,
which made things work, because the babeldoc classloader is loading it. So
the answer is to explicity add it to the classpath.
Also, the line that's missing from query.properties that makes the oracle
journal able to store documents is:
journalSelectBlobForUpdate-oracle=select jrn_data from journal where
jrn_log_id=? and jrn_log_step=? for update
Dejan mentioned in the Open Discussion forum to me that you might have
written a pipeline stage that uses the HttpClient library... Is that true?
Sincerely,
Jonathan Leech
Senior Software Engineer
Virtela Communications, Inc.
-----Original Message-----
From: Bruce McDonald [mailto:br...@mc...]
Sent: Wednesday, June 25, 2003 7:27 PM
To: Leech, Jonathan; bab...@li...
Subject: Re: [Babeldoc-devel] retrieving a document from the journal
Hmm,
Yes, that should do it. Are you sure its in the classpath?
But, what I mean about local configuration path is this:
You override the babeldoc configurations (as given in the babeldoc module
jar
files) by setting the BABELDOC_USER environment variable to a configuration
directory of your own. This is always takes precedence over whatever is
built into babeldoc. So, a practical example, in windows:
1. Your babeldoc is installed in c:\babeldoc, and therefore the
BABELDOC_HOME=c:\babeldoc
2. Your configuration data is stored in c:\work, and therefore the
BABELDOC_USER=c:\work
3. Create a subdirectory c:\work\env
4. Create a file in there called config.properties. Set the property (or
whatever properties) needed for your code to run.
Try this, let me know.
regards,
Bruce.
On Wednesday 25 June 2003 07:20 pm, Leech, Jonathan wrote:
> Bruce,
>
> I'm not sure what you mean by local configuration directory... I changed
> the babeldoc/modules/sql/config/env/config.properties to have the
> jdbc.drivers=oracle.jdbc.driver.OracleDriver, rebuilt from scratch, and
> still
> get the No suitable driver error.
>
> Sincerely,
> Jonathan Leech
> Senior Software Engineer
> Virtela Communications, Inc.
>
> -----Original Message-----
> From: Bruce McDonald [mailto:br...@mc...]
> Sent: Wednesday, June 25, 2003 4:43 PM
> To: Leech, Jonathan; bab...@li...
> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>
>
> Jon,
>
> In the config/env/config.properties (this file contains properties which
> are
>
> added to the system properties) - so in your local configuration
directory,
> create an identical env/config.properties and add the line:
>
> jdbc.drivers=oracle.jdbc.driver.OracleDriver
>
> regards,
> Bruce.
>
> On Wednesday 25 June 2003 06:09 pm, Leech, Jonathan wrote:
> > Stefan,
> >
> > I tried the system property approach
> > (-Djdbc.drivers=oracle.jdbc.driver.OracleDriver), on the command line to
> > babeldoc, but that didn't work. Where did you add your JVM system
> > property?
> >
> > -Jonathan
> >
> > -----Original Message-----
> > From: Stefan Krieger [mailto:ste...@co...]
> > Sent: Wednesday, June 25, 2003 4:55 PM
> > To: bab...@li...
> > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
> >
> >
> > Jonathan,
> >
> > we had the same problems with the query.properties und driver.
Obviously,
> > the property is missing.
> > A workmate added a statement, but I don't know which. I will post our
> > query.properties for Oracle tomorrow.
> >
> > We added the driver as system property to the JVM. Anyway, in production
>
> we
>
> > will retrieve a preconfigured datastore from JNDI.
> >
> > Regards,
> > Stefan
> >
> > ----- Original Message -----
> > From: "Leech, Jonathan" <jl...@vi...>
> > To: <bab...@li...>
> > Sent: Wednesday, June 25, 2003 10:35 PM
> > Subject: RE: [Babeldoc-devel] retrieving a document from the journal
> >
> > > Thanks Dejan,
> > > That makes sense and I found the spot in the userguide that says that.
>
> I
>
> > > tested it out with the SimpleJournal and I can retrieve documents just
> >
> > fine.
> >
> > > However, now I'm trying out the Oracle journal and I am having
> > > problems.
> >
> > It
> >
> > > looks to me like the code in CVS isn't quite in sync with the
> > > query.properties in CVS, because the journalSelectBlobForUpdate-oracle
> > > property doesn't exist in query.properties, but OracleJournal.java
> > > needs
> >
> > it.
> >
> > > This causes a SQLException. Can somebody tell me what the value
should
> > > be for this?
> > >
> > > I had another problem with OracleJournal that I got past, which was a
> > > No Suitable driver exception. I suspect whoever uses the
OracleJournal
> > > has
> >
> > the
> >
> > > code that fixes the problem and it just isn't checked in, or is using
> > > babeldoc in an environment that registers the Oracle driver for them.
> > > I would be happy to check the code in, what do I need to do to get CVS
> >
> > commit
> >
> > > access? Here's the code I would add to OracleJournal.java:
> > >
> > > static {
> > > try {
> > > DriverManager.registerDriver(new
> > > oracle.jdbc.driver.OracleDriver()); }
> > > catch (SQLException sqle) {
> > > throw new RuntimeException(sqle);
> > > }
> > > }
> > >
> > > Sincerely,
> > > Jonathan Leech
> > > Senior Software Engineer
> > > Virtela Communications, Inc.
> > >
> > > -----Original Message-----
> > > From: Dejan Krsmanovic [mailto:dej...@ya...]
> > > Sent: Wednesday, June 25, 2003 1:47 PM
> > > To: 'bab...@li...'
> > > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
> > >
> > >
> > > By default document are NOT stored into jjournal
> > > because it is time-consuming operation. If you want to
> > > store document into journal, you should set tracked
> > > property to true (tracked=true) for pipeline stage in
> > > which you want to store document.
> > >
> > > Dejan
> > >
> > > --- "Leech, Jonathan" <jl...@vi...> wrote:
> > > > Hi,
> > > >
> > > > I am getting started with babeldoc and trying to
> > > > understand the journal
> > > > capabilities. From what I've read in the
> > > > documentation, I should be able to
> > > > retrieve a document from the journal, and even
> > > > replay tickets etc. However,
> > > > if I run the svg-transcode example, and then try
> > > > babeldoc journal -D
> > > > 1056495510901.2, I get a JornalException: No
> > > > document stored at (
> > >
> > > com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
>
>
<mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901]
>
> >,
> >
> > > > 2> ). I added some debug code and rebuilt it, and
> > > > the cause is a
> > > > ClassCastException trying to cast a String into a
> > > > PipelineDocument. I have
> > > > looked through the code to some extent, and I am
> > > > quite confused. I am
> > > > getting the same problem in babeldoc-1.0.1 and the
> > > > current version I checked
> > > > out from CVS yesterday. What am I doing wrong?
> > > >
> > > > Sincerely,
> > > > Jonathan Leech
> > > > Senior Software Engineer
> > > > Virtela Communications, Inc.
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > SBC Yahoo! DSL - Now only $29.95 per month!
> > > http://sbc.yahoo.com
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting
> > > Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
> > > Commission! INetU Dedicated Managed Hosting
> > > http://www.inetu.net/partner/index.php
> > > _______________________________________________
> > > Babeldoc-devel mailing list
> > > Bab...@li...
> > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting
> > > Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
> > > Commission! INetU Dedicated Managed Hosting
> > > http://www.inetu.net/partner/index.php
> > > _______________________________________________
> > > Babeldoc-devel mailing list
> > > Bab...@li...
> > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Vincent H. <vin...@hu...> - 2003-06-26 14:26:25
|
Hi, I used to work on xdoclet but this is no more the case nowadays. Anyway I know it quite well. scanner and pipeline stages: service/query.properties could be generated by a xdoclet task as you propose. module: A MyShinyModule could also have xdoclet tags to generate the build.properties (there is an overlap between Depends there and the depends in MyShinyModule.java), the services/com.babeldoc.core.module.BabeldocModule file I am not sure this would be a good idea : a good doc would be more simple to catch by the beginners i18n: The properties files could also be generated from xdoclet tags : xdoclet itself uses a special module to do that. servlet: the web.xml can be generated Apart from that I do not see anything else, but xdoclet can quickly help a lot. Vincent > Dejan, Vincent, All: > > Looking good - thanks for the good work. We really need lots of work > here with the web console. Vincent, I believe that you are involved > with XDoclet. Would you be prepared to think about how to get xdoclet > into babeldoc. I have some code that uses xdoclet in the build. My > code (not checked in) allows you to put a tag (@babeldoc.service > PipelineStage.MyShinyStage) in code which needs to become a service - > this then gets added to the config/service/config.properties file. I > have also added the @web tags to the console, and httpfeeder servlets. > What else can you think of that can benefit from this most excellent > tool? Also when we start on the J2EE module, we will need to get > XDoclet working with this. Additionally we can use its tags for JMX to > help us make MBeans. > > looking forward to hearing some ideas here! > > regards, > Bruce. > > On Wednesday 25 June 2003 03:25 am, Dejan Krsmanovic wrote: >> On how to commitHi Vincent >> >> > - The addMessage tin the error handler saves the complete statck >> trace in >> >> case of exception (with jakarta commans lang ExceptionUtils) >> >> >> >> To be honest this method was a workaround for some problems I had (I >> needed some way to inform users what happend to their document). I >> guess there are better ways of doing it. At least, I don't like this >> method's name. But if you have found this method usefull - feel free >> to change it. >> >> > - SmtpWriter will not add a Body in case smtpMessage is blank (A >> blank >> >> body is not good, No body is better) : else that breaks smtp/x400 >> gateway >> >> >> >> OK. I like that. I guess this won't break existing pipelines, right? >> >> > - I added some velocity pages to see only failed tickets, and in >> general >> >> to make the web console look a bit nicer. This is a place where I ant >> to do some more in the near future. >> >> >> >> Cool. We need much improvements here. I think that part of Babeldoc is >> still in the same state as before. >> >> > - The Lock mechanism on FtpWriter : optional parameter to send a >> lock >> >> file before sending the file and look if it does not exist before >> sending them >> >> >> >> I guess it is OK as long as this stage works as before when locks are >> not used. >> >> > - etc. >> > Are you OK with these ? >> > I have done all that on branch 1.0 so I want now to patch back the >> main >> >> branch. >> >> >> Excelent. I am OK with all these. Others? Vincent, could you also >> update changes file? >> >> > I have seen the changes on the scanner : It is great but at the same >> time, >> >> running babeldoc in "synchronized" mode is sometimes more easy to >> debug (else the threads gets mixed together) : Have you think a >> parameter at the scanner level to force it to work "as before" in >> synchronize mode ? >> >> >> Scanner module is still in development phase. I haven't switched all >> workers to use new way of feeding. As you might noticed scanner works >> with IFeeder, so it could work with Synchronous and Asynchronous >> feeder. It will use ScannerFactory to get IFeeder implementation >> class. Right now, this method d oes not use configuration file - it is >> hardcoded and it only returns new Asynchronous feeder. But we plan to >> make that configurable, too. >> >> What is your opinion is it better to keep this configuration in >> separate file or it should be part of scanner configuration? Also, >> should this be hardcoded (something like switch) or we should let >> users to specify its implementation class like we do with >> ScanerWorkers? That way users will have more freedom but currently I >> don't see some benefits of it! >> >> >> All, note that 1.1 release will be developmental - many new features >> but not stable enough. I suggest we should soon release one stable >> version - 1.0.2 with Vincent's changes, and probably some other >> changes. Are you all OK with that? Are there other changes/fixes we >> should put in this release? >> >> >> Dejan >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: INetU >> Attention Web Developers & Consultants: Become An INetU Hosting >> Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly >> Commission! INetU Dedicated Managed Hosting >> http://www.inetu.net/partner/index.php >> _______________________________________________ >> Babeldoc-devel mailing list >> Bab...@li... >> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Vincent H. <vin...@hu...> - 2003-06-26 12:06:35
|
I was struggling on a similar problem running the console for one hour
when I discovered that commons-dbcp and commons-pool are in
tomcat/commons/lib
So I MUST copy the mysql/oracle/... jar there as well.
Having them in babeldoc-console/web-inf/lib or in tomcat/shared/lib does
not help because of the hierarchies of classloaders in tomcat.
I am not sure it is linked to your problem but if you are inside a J2EE
server be aware of these stupidities (and it is a small word)
Cheers,
Vincent
> I am using oracle journal without problems. However, I haven't stored
> documents into journal so I guess you are right about missing statement.
> All my configuration for one project is stored in one folder. In that
> folder I have folders scanner, pipeline, journal, resource, env. I don't
> use BABELDOC_USER env property. Instead when I want to run some project
> (I always use scanners) I just run "babeldoc scanner" in that project's
> directory. Babeldoc will merge properties defined for that specific
> folder with its internal configuration. So
>
> 1. You don't need to use -d option when starting babeldoc for setting
> system properties. All these properties can be set as name=value pairs
> in folder env/config.properties. So, if you want to use Oracle first you
> should do is to put this line in env/config.properites.
>
> jdbc.drivers=oracle.jdbc.driver.OracleDriver
>
> If you want to use more than one database (for example MySQL and Oracle)
> you can set this:
> jdbc.drivers=oracle.jdbc.driver.OracleDriver:org.gjt.mm.mysql.Driver
>
> 2. You must have define database connection as resource. This is done by
> putting file conName.properties where conName is name of the connection.
> You can have define many different connections and each should be
> defined in separate file. Here is configuration for one of mine Oracle
> connections. The file name is resource/babel.properties:
>
> type=pooled
>
> dbUser=babel
> dbPassword=babel
> dbUrl=jdbc:oracle:thin:@10.2.16.10:1521:DAF1
>
> 3. By default Babeldoc use SimpleJournal. If you want to change this
> default you should change file journal/config.properties. This is the
> line that should exist here:
>
> journal=oracle
>
> 4. You need to tell Babeldoc which connection it should use for journal.
> Since oracle journal is subtype of sql journal, configuration is stored
> inside journal/sql/config.properties. This file should have following
> line:
>
> resourceName=babel
>
>
>
> This is all configuration you need to use oracle journal. I hope this
> will help. Note that you don't need to recompile Babeldoc. Every project
> can have different configuration. Just like you can have different
> scanner and pipeline configuration for every project.
>
> Dejan
>
> P.S.
>
> Stefan, if you have made Oracle journal document retreiving work, could
> you send us statement(s) you added in query.properties!
>
>
>
>
>
> ----- Original Message -----
> From: "Leech, Jonathan" <jl...@vi...>
> To: <bab...@li...>
> Sent: Thursday, June 26, 2003 12:09 AM
> Subject: RE: [Babeldoc-devel] retrieving a document from the journal
>
>
>> Stefan,
>>
>> I tried the system property approach
>> (-Djdbc.drivers=oracle.jdbc.driver.OracleDriver), on the command line
>> to babeldoc, but that didn't work. Where did you add your JVM system
> property?
>>
>> -Jonathan
>>
>> -----Original Message-----
>> From: Stefan Krieger [mailto:ste...@co...]
>> Sent: Wednesday, June 25, 2003 4:55 PM
>> To: bab...@li...
>> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>>
>>
>> Jonathan,
>>
>> we had the same problems with the query.properties und driver.
>> Obviously, the property is missing.
>> A workmate added a statement, but I don't know which. I will post our
>> query.properties for Oracle tomorrow.
>>
>> We added the driver as system property to the JVM. Anyway, in
>> production
> we
>> will retrieve a preconfigured datastore from JNDI.
>>
>> Regards,
>> Stefan
>>
>> ----- Original Message -----
>> From: "Leech, Jonathan" <jl...@vi...>
>> To: <bab...@li...>
>> Sent: Wednesday, June 25, 2003 10:35 PM
>> Subject: RE: [Babeldoc-devel] retrieving a document from the journal
>>
>>
>> > Thanks Dejan,
>> > That makes sense and I found the spot in the userguide that says
>> that.
> I
>> > tested it out with the SimpleJournal and I can retrieve documents
>> just
>> fine.
>> >
>> > However, now I'm trying out the Oracle journal and I am having
>> problems.
>> It
>> > looks to me like the code in CVS isn't quite in sync with the
>> > query.properties in CVS, because the
>> journalSelectBlobForUpdate-oracle property doesn't exist in
>> query.properties, but OracleJournal.java needs
>> it.
>> > This causes a SQLException. Can somebody tell me what the value
>> should
> be
>> > for this?
>> >
>> > I had another problem with OracleJournal that I got past, which was
>> a No Suitable driver exception. I suspect whoever uses the
>> OracleJournal has
>> the
>> > code that fixes the problem and it just isn't checked in, or is
>> using babeldoc in an environment that registers the Oracle driver
>> for them. I would be happy to check the code in, what do I need to
>> do to get CVS
>> commit
>> > access? Here's the code I would add to OracleJournal.java:
>> >
>> > static {
>> > try {
>> > DriverManager.registerDriver(new
> oracle.jdbc.driver.OracleDriver());
>> > }
>> > catch (SQLException sqle) {
>> > throw new RuntimeException(sqle);
>> > }
>> > }
>> >
>> > Sincerely,
>> > Jonathan Leech
>> > Senior Software Engineer
>> > Virtela Communications, Inc.
>> >
>> > -----Original Message-----
>> > From: Dejan Krsmanovic [mailto:dej...@ya...]
>> > Sent: Wednesday, June 25, 2003 1:47 PM
>> > To: 'bab...@li...'
>> > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>> >
>> >
>> > By default document are NOT stored into jjournal
>> > because it is time-consuming operation. If you want to
>> > store document into journal, you should set tracked
>> > property to true (tracked=true) for pipeline stage in
>> > which you want to store document.
>> >
>> > Dejan
>> >
>> >
>> > --- "Leech, Jonathan" <jl...@vi...> wrote:
>> > > Hi,
>> > >
>> > > I am getting started with babeldoc and trying to
>> > > understand the journal
>> > > capabilities. From what I've read in the
>> > > documentation, I should be able to
>> > > retrieve a document from the journal, and even
>> > > replay tickets etc. However,
>> > > if I run the svg-transcode example, and then try
>> > > babeldoc journal -D
>> > > 1056495510901.2, I get a JornalException: No
>> > > document stored at (
>> > >
>> > com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
>> > >
>> >
>>
> <mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],
>> > > 2> ). I added some debug code and rebuilt it, and
>> > > the cause is a
>> > > ClassCastException trying to cast a String into a
>> > > PipelineDocument. I have
>> > > looked through the code to some extent, and I am
>> > > quite confused. I am
>> > > getting the same problem in babeldoc-1.0.1 and the
>> > > current version I checked
>> > > out from CVS yesterday. What am I doing wrong?
>> > >
>> > > Sincerely,
>> > > Jonathan Leech
>> > > Senior Software Engineer
>> > > Virtela Communications, Inc.
>> > >
>> >
>> >
>> > __________________________________
>> > Do you Yahoo!?
>> > SBC Yahoo! DSL - Now only $29.95 per month!
>> > http://sbc.yahoo.com
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.Net email is sponsored by: INetU
>> > Attention Web Developers & Consultants: Become An INetU Hosting
>> Partner. Refer Dedicated Servers. We Manage Them. You Get 10%
>> Monthly Commission! INetU Dedicated Managed Hosting
>> http://www.inetu.net/partner/index.php
>> _______________________________________________
>> > Babeldoc-devel mailing list
>> > Bab...@li...
>> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>> >
>> >
>> > -------------------------------------------------------
>> > This SF.Net email is sponsored by: INetU
>> > Attention Web Developers & Consultants: Become An INetU Hosting
>> Partner. Refer Dedicated Servers. We Manage Them. You Get 10%
>> Monthly Commission! INetU Dedicated Managed Hosting
>> http://www.inetu.net/partner/index.php
>> _______________________________________________
>> > Babeldoc-devel mailing list
>> > Bab...@li...
>> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>> >
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: INetU
>> Attention Web Developers & Consultants: Become An INetU Hosting
>> Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
>> Commission! INetU Dedicated Managed Hosting
>> http://www.inetu.net/partner/index.php
>> _______________________________________________
>> Babeldoc-devel mailing list
>> Bab...@li...
>> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: INetU
>> Attention Web Developers & Consultants: Become An INetU Hosting
>> Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
>> Commission! INetU Dedicated Managed Hosting
>> http://www.inetu.net/partner/index.php
>> _______________________________________________
>> Babeldoc-devel mailing list
>> Bab...@li...
>> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Dejan K. <dej...@nb...> - 2003-06-26 07:29:28
|
I am using oracle journal without problems. However, I haven't stored
documents into journal so I guess you are right about missing statement.
All my configuration for one project is stored in one folder. In that folder
I have folders scanner, pipeline, journal, resource, env. I don't use
BABELDOC_USER env property. Instead when I want to run some project (I
always use scanners) I just run "babeldoc scanner" in that project's
directory. Babeldoc will merge properties defined for that specific folder
with its internal configuration. So
1. You don't need to use -d option when starting babeldoc for setting system
properties. All these properties can be set as name=value pairs in folder
env/config.properties. So, if you want to use Oracle first you should do is
to put this line in env/config.properites.
jdbc.drivers=oracle.jdbc.driver.OracleDriver
If you want to use more than one database (for example MySQL and Oracle) you
can set this:
jdbc.drivers=oracle.jdbc.driver.OracleDriver:org.gjt.mm.mysql.Driver
2. You must have define database connection as resource. This is done by
putting file conName.properties where conName is name of the connection. You
can have define many different connections and each should be defined in
separate file. Here is configuration for one of mine Oracle connections. The
file name is resource/babel.properties:
type=pooled
dbUser=babel
dbPassword=babel
dbUrl=jdbc:oracle:thin:@10.2.16.10:1521:DAF1
3. By default Babeldoc use SimpleJournal. If you want to change this default
you should change file journal/config.properties. This is the line that
should exist here:
journal=oracle
4. You need to tell Babeldoc which connection it should use for journal.
Since oracle journal is subtype of sql journal, configuration is stored
inside journal/sql/config.properties. This file should have following line:
resourceName=babel
This is all configuration you need to use oracle journal. I hope this will
help. Note that you don't need to recompile Babeldoc. Every project can have
different configuration. Just like you can have different scanner and
pipeline configuration for every project.
Dejan
P.S.
Stefan, if you have made Oracle journal document retreiving work, could you
send us statement(s) you added in query.properties!
----- Original Message -----
From: "Leech, Jonathan" <jl...@vi...>
To: <bab...@li...>
Sent: Thursday, June 26, 2003 12:09 AM
Subject: RE: [Babeldoc-devel] retrieving a document from the journal
> Stefan,
>
> I tried the system property approach
> (-Djdbc.drivers=oracle.jdbc.driver.OracleDriver), on the command line to
> babeldoc, but that didn't work. Where did you add your JVM system
property?
>
> -Jonathan
>
> -----Original Message-----
> From: Stefan Krieger [mailto:ste...@co...]
> Sent: Wednesday, June 25, 2003 4:55 PM
> To: bab...@li...
> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>
>
> Jonathan,
>
> we had the same problems with the query.properties und driver. Obviously,
> the property is missing.
> A workmate added a statement, but I don't know which. I will post our
> query.properties for Oracle tomorrow.
>
> We added the driver as system property to the JVM. Anyway, in production
we
> will retrieve a preconfigured datastore from JNDI.
>
> Regards,
> Stefan
>
> ----- Original Message -----
> From: "Leech, Jonathan" <jl...@vi...>
> To: <bab...@li...>
> Sent: Wednesday, June 25, 2003 10:35 PM
> Subject: RE: [Babeldoc-devel] retrieving a document from the journal
>
>
> > Thanks Dejan,
> > That makes sense and I found the spot in the userguide that says that.
I
> > tested it out with the SimpleJournal and I can retrieve documents just
> fine.
> >
> > However, now I'm trying out the Oracle journal and I am having problems.
> It
> > looks to me like the code in CVS isn't quite in sync with the
> > query.properties in CVS, because the journalSelectBlobForUpdate-oracle
> > property doesn't exist in query.properties, but OracleJournal.java needs
> it.
> > This causes a SQLException. Can somebody tell me what the value should
be
> > for this?
> >
> > I had another problem with OracleJournal that I got past, which was a No
> > Suitable driver exception. I suspect whoever uses the OracleJournal has
> the
> > code that fixes the problem and it just isn't checked in, or is using
> > babeldoc in an environment that registers the Oracle driver for them. I
> > would be happy to check the code in, what do I need to do to get CVS
> commit
> > access? Here's the code I would add to OracleJournal.java:
> >
> > static {
> > try {
> > DriverManager.registerDriver(new
oracle.jdbc.driver.OracleDriver());
> > }
> > catch (SQLException sqle) {
> > throw new RuntimeException(sqle);
> > }
> > }
> >
> > Sincerely,
> > Jonathan Leech
> > Senior Software Engineer
> > Virtela Communications, Inc.
> >
> > -----Original Message-----
> > From: Dejan Krsmanovic [mailto:dej...@ya...]
> > Sent: Wednesday, June 25, 2003 1:47 PM
> > To: 'bab...@li...'
> > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
> >
> >
> > By default document are NOT stored into jjournal
> > because it is time-consuming operation. If you want to
> > store document into journal, you should set tracked
> > property to true (tracked=true) for pipeline stage in
> > which you want to store document.
> >
> > Dejan
> >
> >
> > --- "Leech, Jonathan" <jl...@vi...> wrote:
> > > Hi,
> > >
> > > I am getting started with babeldoc and trying to
> > > understand the journal
> > > capabilities. From what I've read in the
> > > documentation, I should be able to
> > > retrieve a document from the journal, and even
> > > replay tickets etc. However,
> > > if I run the svg-transcode example, and then try
> > > babeldoc journal -D
> > > 1056495510901.2, I get a JornalException: No
> > > document stored at (
> > >
> > com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
> > >
> >
>
<mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],
> > > 2> ). I added some debug code and rebuilt it, and
> > > the cause is a
> > > ClassCastException trying to cast a String into a
> > > PipelineDocument. I have
> > > looked through the code to some extent, and I am
> > > quite confused. I am
> > > getting the same problem in babeldoc-1.0.1 and the
> > > current version I checked
> > > out from CVS yesterday. What am I doing wrong?
> > >
> > > Sincerely,
> > > Jonathan Leech
> > > Senior Software Engineer
> > > Virtela Communications, Inc.
> > >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Bruce M. <br...@mc...> - 2003-06-26 01:33:27
|
Dejan, Vincent, All: Looking good - thanks for the good work. We really need lots of work here with the web console. Vincent, I believe that you are involved with XDoclet. Would you be prepared to think about how to get xdoclet into babeldoc. I have some code that uses xdoclet in the build. My code (not checked in) allows you to put a tag (@babeldoc.service PipelineStage.MyShinyStage) in code which needs to become a service - this then gets added to the config/service/config.properties file. I have also added the @web tags to the console, and httpfeeder servlets. What else can you think of that can benefit from this most excellent tool? Also when we start on the J2EE module, we will need to get XDoclet working with this. Additionally we can use its tags for JMX to help us make MBeans. looking forward to hearing some ideas here! regards, Bruce. On Wednesday 25 June 2003 03:25 am, Dejan Krsmanovic wrote: > On how to commitHi Vincent > > > - The addMessage tin the error handler saves the complete statck trace in > > case of exception (with jakarta commans lang ExceptionUtils) > > > > To be honest this method was a workaround for some problems I had (I needed > some way to inform users what happend to their document). I guess there are > better ways of doing it. At least, I don't like this method's name. But if > you have found this method usefull - feel free to change it. > > > - SmtpWriter will not add a Body in case smtpMessage is blank (A blank > > body is not good, No body is better) : else that breaks smtp/x400 gateway > > > > OK. I like that. I guess this won't break existing pipelines, right? > > > - I added some velocity pages to see only failed tickets, and in general > > to make the web console look a bit nicer. This is a place where I ant to > do some more in the near future. > > > > Cool. We need much improvements here. I think that part of Babeldoc is > still in the same state as before. > > > - The Lock mechanism on FtpWriter : optional parameter to send a lock > > file before sending the file and look if it does not exist before sending > them > > > > I guess it is OK as long as this stage works as before when locks are not > used. > > > - etc. > > Are you OK with these ? > > I have done all that on branch 1.0 so I want now to patch back the main > > branch. > > > Excelent. I am OK with all these. Others? Vincent, could you also update > changes file? > > > I have seen the changes on the scanner : It is great but at the same > > time, > > running babeldoc in "synchronized" mode is sometimes more easy to debug > (else the threads gets mixed together) : Have you think a parameter at the > scanner level to force it to work "as before" in synchronize mode ? > > > Scanner module is still in development phase. I haven't switched all > workers to use new way of feeding. As you might noticed scanner works with > IFeeder, so it could work with Synchronous and Asynchronous feeder. It will > use ScannerFactory to get IFeeder implementation class. Right now, this > method d oes not use configuration file - it is hardcoded and it only > returns new Asynchronous feeder. But we plan to make that configurable, > too. > > What is your opinion is it better to keep this configuration in separate > file or it should be part of scanner configuration? Also, should this be > hardcoded (something like switch) or we should let users to specify its > implementation class like we do with ScanerWorkers? That way users will > have more freedom but currently I don't see some benefits of it! > > > All, note that 1.1 release will be developmental - many new features but > not stable enough. I suggest we should soon release one stable version - > 1.0.2 with Vincent's changes, and probably some other changes. Are you all > OK with that? Are there other changes/fixes we should put in this release? > > > Dejan > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Bruce M. <br...@mc...> - 2003-06-26 01:27:08
|
Hmm,
Yes, that should do it. Are you sure its in the classpath?
But, what I mean about local configuration path is this:
You override the babeldoc configurations (as given in the babeldoc module jar
files) by setting the BABELDOC_USER environment variable to a configuration
directory of your own. This is always takes precedence over whatever is
built into babeldoc. So, a practical example, in windows:
1. Your babeldoc is installed in c:\babeldoc, and therefore the
BABELDOC_HOME=c:\babeldoc
2. Your configuration data is stored in c:\work, and therefore the
BABELDOC_USER=c:\work
3. Create a subdirectory c:\work\env
4. Create a file in there called config.properties. Set the property (or
whatever properties) needed for your code to run.
Try this, let me know.
regards,
Bruce.
On Wednesday 25 June 2003 07:20 pm, Leech, Jonathan wrote:
> Bruce,
>
> I'm not sure what you mean by local configuration directory... I changed
> the babeldoc/modules/sql/config/env/config.properties to have the
> jdbc.drivers=oracle.jdbc.driver.OracleDriver, rebuilt from scratch, and
> still
> get the No suitable driver error.
>
> Sincerely,
> Jonathan Leech
> Senior Software Engineer
> Virtela Communications, Inc.
>
> -----Original Message-----
> From: Bruce McDonald [mailto:br...@mc...]
> Sent: Wednesday, June 25, 2003 4:43 PM
> To: Leech, Jonathan; bab...@li...
> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>
>
> Jon,
>
> In the config/env/config.properties (this file contains properties which
> are
>
> added to the system properties) - so in your local configuration directory,
> create an identical env/config.properties and add the line:
>
> jdbc.drivers=oracle.jdbc.driver.OracleDriver
>
> regards,
> Bruce.
>
> On Wednesday 25 June 2003 06:09 pm, Leech, Jonathan wrote:
> > Stefan,
> >
> > I tried the system property approach
> > (-Djdbc.drivers=oracle.jdbc.driver.OracleDriver), on the command line to
> > babeldoc, but that didn't work. Where did you add your JVM system
> > property?
> >
> > -Jonathan
> >
> > -----Original Message-----
> > From: Stefan Krieger [mailto:ste...@co...]
> > Sent: Wednesday, June 25, 2003 4:55 PM
> > To: bab...@li...
> > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
> >
> >
> > Jonathan,
> >
> > we had the same problems with the query.properties und driver. Obviously,
> > the property is missing.
> > A workmate added a statement, but I don't know which. I will post our
> > query.properties for Oracle tomorrow.
> >
> > We added the driver as system property to the JVM. Anyway, in production
>
> we
>
> > will retrieve a preconfigured datastore from JNDI.
> >
> > Regards,
> > Stefan
> >
> > ----- Original Message -----
> > From: "Leech, Jonathan" <jl...@vi...>
> > To: <bab...@li...>
> > Sent: Wednesday, June 25, 2003 10:35 PM
> > Subject: RE: [Babeldoc-devel] retrieving a document from the journal
> >
> > > Thanks Dejan,
> > > That makes sense and I found the spot in the userguide that says that.
>
> I
>
> > > tested it out with the SimpleJournal and I can retrieve documents just
> >
> > fine.
> >
> > > However, now I'm trying out the Oracle journal and I am having
> > > problems.
> >
> > It
> >
> > > looks to me like the code in CVS isn't quite in sync with the
> > > query.properties in CVS, because the journalSelectBlobForUpdate-oracle
> > > property doesn't exist in query.properties, but OracleJournal.java
> > > needs
> >
> > it.
> >
> > > This causes a SQLException. Can somebody tell me what the value should
> > > be for this?
> > >
> > > I had another problem with OracleJournal that I got past, which was a
> > > No Suitable driver exception. I suspect whoever uses the OracleJournal
> > > has
> >
> > the
> >
> > > code that fixes the problem and it just isn't checked in, or is using
> > > babeldoc in an environment that registers the Oracle driver for them.
> > > I would be happy to check the code in, what do I need to do to get CVS
> >
> > commit
> >
> > > access? Here's the code I would add to OracleJournal.java:
> > >
> > > static {
> > > try {
> > > DriverManager.registerDriver(new
> > > oracle.jdbc.driver.OracleDriver()); }
> > > catch (SQLException sqle) {
> > > throw new RuntimeException(sqle);
> > > }
> > > }
> > >
> > > Sincerely,
> > > Jonathan Leech
> > > Senior Software Engineer
> > > Virtela Communications, Inc.
> > >
> > > -----Original Message-----
> > > From: Dejan Krsmanovic [mailto:dej...@ya...]
> > > Sent: Wednesday, June 25, 2003 1:47 PM
> > > To: 'bab...@li...'
> > > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
> > >
> > >
> > > By default document are NOT stored into jjournal
> > > because it is time-consuming operation. If you want to
> > > store document into journal, you should set tracked
> > > property to true (tracked=true) for pipeline stage in
> > > which you want to store document.
> > >
> > > Dejan
> > >
> > > --- "Leech, Jonathan" <jl...@vi...> wrote:
> > > > Hi,
> > > >
> > > > I am getting started with babeldoc and trying to
> > > > understand the journal
> > > > capabilities. From what I've read in the
> > > > documentation, I should be able to
> > > > retrieve a document from the journal, and even
> > > > replay tickets etc. However,
> > > > if I run the svg-transcode example, and then try
> > > > babeldoc journal -D
> > > > 1056495510901.2, I get a JornalException: No
> > > > document stored at (
> > >
> > > com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
>
> <mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901]
>
> >,
> >
> > > > 2> ). I added some debug code and rebuilt it, and
> > > > the cause is a
> > > > ClassCastException trying to cast a String into a
> > > > PipelineDocument. I have
> > > > looked through the code to some extent, and I am
> > > > quite confused. I am
> > > > getting the same problem in babeldoc-1.0.1 and the
> > > > current version I checked
> > > > out from CVS yesterday. What am I doing wrong?
> > > >
> > > > Sincerely,
> > > > Jonathan Leech
> > > > Senior Software Engineer
> > > > Virtela Communications, Inc.
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > SBC Yahoo! DSL - Now only $29.95 per month!
> > > http://sbc.yahoo.com
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting
> > > Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
> > > Commission! INetU Dedicated Managed Hosting
> > > http://www.inetu.net/partner/index.php
> > > _______________________________________________
> > > Babeldoc-devel mailing list
> > > Bab...@li...
> > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting
> > > Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
> > > Commission! INetU Dedicated Managed Hosting
> > > http://www.inetu.net/partner/index.php
> > > _______________________________________________
> > > Babeldoc-devel mailing list
> > > Bab...@li...
> > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Leech, J. <jl...@vi...> - 2003-06-25 23:21:45
|
Bruce,
I'm not sure what you mean by local configuration directory... I changed
the babeldoc/modules/sql/config/env/config.properties to have the
jdbc.drivers=oracle.jdbc.driver.OracleDriver, rebuilt from scratch, and
still
get the No suitable driver error.
Sincerely,
Jonathan Leech
Senior Software Engineer
Virtela Communications, Inc.
-----Original Message-----
From: Bruce McDonald [mailto:br...@mc...]
Sent: Wednesday, June 25, 2003 4:43 PM
To: Leech, Jonathan; bab...@li...
Subject: Re: [Babeldoc-devel] retrieving a document from the journal
Jon,
In the config/env/config.properties (this file contains properties which are
added to the system properties) - so in your local configuration directory,
create an identical env/config.properties and add the line:
jdbc.drivers=oracle.jdbc.driver.OracleDriver
regards,
Bruce.
On Wednesday 25 June 2003 06:09 pm, Leech, Jonathan wrote:
> Stefan,
>
> I tried the system property approach
> (-Djdbc.drivers=oracle.jdbc.driver.OracleDriver), on the command line to
> babeldoc, but that didn't work. Where did you add your JVM system
> property?
>
> -Jonathan
>
> -----Original Message-----
> From: Stefan Krieger [mailto:ste...@co...]
> Sent: Wednesday, June 25, 2003 4:55 PM
> To: bab...@li...
> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>
>
> Jonathan,
>
> we had the same problems with the query.properties und driver. Obviously,
> the property is missing.
> A workmate added a statement, but I don't know which. I will post our
> query.properties for Oracle tomorrow.
>
> We added the driver as system property to the JVM. Anyway, in production
we
> will retrieve a preconfigured datastore from JNDI.
>
> Regards,
> Stefan
>
> ----- Original Message -----
> From: "Leech, Jonathan" <jl...@vi...>
> To: <bab...@li...>
> Sent: Wednesday, June 25, 2003 10:35 PM
> Subject: RE: [Babeldoc-devel] retrieving a document from the journal
>
> > Thanks Dejan,
> > That makes sense and I found the spot in the userguide that says that.
I
> > tested it out with the SimpleJournal and I can retrieve documents just
>
> fine.
>
> > However, now I'm trying out the Oracle journal and I am having problems.
>
> It
>
> > looks to me like the code in CVS isn't quite in sync with the
> > query.properties in CVS, because the journalSelectBlobForUpdate-oracle
> > property doesn't exist in query.properties, but OracleJournal.java needs
>
> it.
>
> > This causes a SQLException. Can somebody tell me what the value should
> > be for this?
> >
> > I had another problem with OracleJournal that I got past, which was a No
> > Suitable driver exception. I suspect whoever uses the OracleJournal has
>
> the
>
> > code that fixes the problem and it just isn't checked in, or is using
> > babeldoc in an environment that registers the Oracle driver for them. I
> > would be happy to check the code in, what do I need to do to get CVS
>
> commit
>
> > access? Here's the code I would add to OracleJournal.java:
> >
> > static {
> > try {
> > DriverManager.registerDriver(new
> > oracle.jdbc.driver.OracleDriver()); }
> > catch (SQLException sqle) {
> > throw new RuntimeException(sqle);
> > }
> > }
> >
> > Sincerely,
> > Jonathan Leech
> > Senior Software Engineer
> > Virtela Communications, Inc.
> >
> > -----Original Message-----
> > From: Dejan Krsmanovic [mailto:dej...@ya...]
> > Sent: Wednesday, June 25, 2003 1:47 PM
> > To: 'bab...@li...'
> > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
> >
> >
> > By default document are NOT stored into jjournal
> > because it is time-consuming operation. If you want to
> > store document into journal, you should set tracked
> > property to true (tracked=true) for pipeline stage in
> > which you want to store document.
> >
> > Dejan
> >
> > --- "Leech, Jonathan" <jl...@vi...> wrote:
> > > Hi,
> > >
> > > I am getting started with babeldoc and trying to
> > > understand the journal
> > > capabilities. From what I've read in the
> > > documentation, I should be able to
> > > retrieve a document from the journal, and even
> > > replay tickets etc. However,
> > > if I run the svg-transcode example, and then try
> > > babeldoc journal -D
> > > 1056495510901.2, I get a JornalException: No
> > > document stored at (
> >
> > com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
>
>
<mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901]
>,
>
> > > 2> ). I added some debug code and rebuilt it, and
> > > the cause is a
> > > ClassCastException trying to cast a String into a
> > > PipelineDocument. I have
> > > looked through the code to some extent, and I am
> > > quite confused. I am
> > > getting the same problem in babeldoc-1.0.1 and the
> > > current version I checked
> > > out from CVS yesterday. What am I doing wrong?
> > >
> > > Sincerely,
> > > Jonathan Leech
> > > Senior Software Engineer
> > > Virtela Communications, Inc.
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Bruce M. <br...@mc...> - 2003-06-25 22:43:22
|
Jon,
In the config/env/config.properties (this file contains properties which are
added to the system properties) - so in your local configuration directory,
create an identical env/config.properties and add the line:
jdbc.drivers=oracle.jdbc.driver.OracleDriver
regards,
Bruce.
On Wednesday 25 June 2003 06:09 pm, Leech, Jonathan wrote:
> Stefan,
>
> I tried the system property approach
> (-Djdbc.drivers=oracle.jdbc.driver.OracleDriver), on the command line to
> babeldoc, but that didn't work. Where did you add your JVM system
> property?
>
> -Jonathan
>
> -----Original Message-----
> From: Stefan Krieger [mailto:ste...@co...]
> Sent: Wednesday, June 25, 2003 4:55 PM
> To: bab...@li...
> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>
>
> Jonathan,
>
> we had the same problems with the query.properties und driver. Obviously,
> the property is missing.
> A workmate added a statement, but I don't know which. I will post our
> query.properties for Oracle tomorrow.
>
> We added the driver as system property to the JVM. Anyway, in production we
> will retrieve a preconfigured datastore from JNDI.
>
> Regards,
> Stefan
>
> ----- Original Message -----
> From: "Leech, Jonathan" <jl...@vi...>
> To: <bab...@li...>
> Sent: Wednesday, June 25, 2003 10:35 PM
> Subject: RE: [Babeldoc-devel] retrieving a document from the journal
>
> > Thanks Dejan,
> > That makes sense and I found the spot in the userguide that says that. I
> > tested it out with the SimpleJournal and I can retrieve documents just
>
> fine.
>
> > However, now I'm trying out the Oracle journal and I am having problems.
>
> It
>
> > looks to me like the code in CVS isn't quite in sync with the
> > query.properties in CVS, because the journalSelectBlobForUpdate-oracle
> > property doesn't exist in query.properties, but OracleJournal.java needs
>
> it.
>
> > This causes a SQLException. Can somebody tell me what the value should
> > be for this?
> >
> > I had another problem with OracleJournal that I got past, which was a No
> > Suitable driver exception. I suspect whoever uses the OracleJournal has
>
> the
>
> > code that fixes the problem and it just isn't checked in, or is using
> > babeldoc in an environment that registers the Oracle driver for them. I
> > would be happy to check the code in, what do I need to do to get CVS
>
> commit
>
> > access? Here's the code I would add to OracleJournal.java:
> >
> > static {
> > try {
> > DriverManager.registerDriver(new
> > oracle.jdbc.driver.OracleDriver()); }
> > catch (SQLException sqle) {
> > throw new RuntimeException(sqle);
> > }
> > }
> >
> > Sincerely,
> > Jonathan Leech
> > Senior Software Engineer
> > Virtela Communications, Inc.
> >
> > -----Original Message-----
> > From: Dejan Krsmanovic [mailto:dej...@ya...]
> > Sent: Wednesday, June 25, 2003 1:47 PM
> > To: 'bab...@li...'
> > Subject: Re: [Babeldoc-devel] retrieving a document from the journal
> >
> >
> > By default document are NOT stored into jjournal
> > because it is time-consuming operation. If you want to
> > store document into journal, you should set tracked
> > property to true (tracked=true) for pipeline stage in
> > which you want to store document.
> >
> > Dejan
> >
> > --- "Leech, Jonathan" <jl...@vi...> wrote:
> > > Hi,
> > >
> > > I am getting started with babeldoc and trying to
> > > understand the journal
> > > capabilities. From what I've read in the
> > > documentation, I should be able to
> > > retrieve a document from the journal, and even
> > > replay tickets etc. However,
> > > if I run the svg-transcode example, and then try
> > > babeldoc journal -D
> > > 1056495510901.2, I get a JornalException: No
> > > document stored at (
> >
> > com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
>
> <mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901]
>,
>
> > > 2> ). I added some debug code and rebuilt it, and
> > > the cause is a
> > > ClassCastException trying to cast a String into a
> > > PipelineDocument. I have
> > > looked through the code to some extent, and I am
> > > quite confused. I am
> > > getting the same problem in babeldoc-1.0.1 and the
> > > current version I checked
> > > out from CVS yesterday. What am I doing wrong?
> > >
> > > Sincerely,
> > > Jonathan Leech
> > > Senior Software Engineer
> > > Virtela Communications, Inc.
> >
> > __________________________________
> > Do you Yahoo!?
> > SBC Yahoo! DSL - Now only $29.95 per month!
> > http://sbc.yahoo.com
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: INetU
> > Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > _______________________________________________
> > Babeldoc-devel mailing list
> > Bab...@li...
> > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Leech, J. <jl...@vi...> - 2003-06-25 22:10:14
|
Stefan,
I tried the system property approach
(-Djdbc.drivers=oracle.jdbc.driver.OracleDriver), on the command line to
babeldoc, but that didn't work. Where did you add your JVM system property?
-Jonathan
-----Original Message-----
From: Stefan Krieger [mailto:ste...@co...]
Sent: Wednesday, June 25, 2003 4:55 PM
To: bab...@li...
Subject: Re: [Babeldoc-devel] retrieving a document from the journal
Jonathan,
we had the same problems with the query.properties und driver. Obviously,
the property is missing.
A workmate added a statement, but I don't know which. I will post our
query.properties for Oracle tomorrow.
We added the driver as system property to the JVM. Anyway, in production we
will retrieve a preconfigured datastore from JNDI.
Regards,
Stefan
----- Original Message -----
From: "Leech, Jonathan" <jl...@vi...>
To: <bab...@li...>
Sent: Wednesday, June 25, 2003 10:35 PM
Subject: RE: [Babeldoc-devel] retrieving a document from the journal
> Thanks Dejan,
> That makes sense and I found the spot in the userguide that says that. I
> tested it out with the SimpleJournal and I can retrieve documents just
fine.
>
> However, now I'm trying out the Oracle journal and I am having problems.
It
> looks to me like the code in CVS isn't quite in sync with the
> query.properties in CVS, because the journalSelectBlobForUpdate-oracle
> property doesn't exist in query.properties, but OracleJournal.java needs
it.
> This causes a SQLException. Can somebody tell me what the value should be
> for this?
>
> I had another problem with OracleJournal that I got past, which was a No
> Suitable driver exception. I suspect whoever uses the OracleJournal has
the
> code that fixes the problem and it just isn't checked in, or is using
> babeldoc in an environment that registers the Oracle driver for them. I
> would be happy to check the code in, what do I need to do to get CVS
commit
> access? Here's the code I would add to OracleJournal.java:
>
> static {
> try {
> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
> }
> catch (SQLException sqle) {
> throw new RuntimeException(sqle);
> }
> }
>
> Sincerely,
> Jonathan Leech
> Senior Software Engineer
> Virtela Communications, Inc.
>
> -----Original Message-----
> From: Dejan Krsmanovic [mailto:dej...@ya...]
> Sent: Wednesday, June 25, 2003 1:47 PM
> To: 'bab...@li...'
> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>
>
> By default document are NOT stored into jjournal
> because it is time-consuming operation. If you want to
> store document into journal, you should set tracked
> property to true (tracked=true) for pipeline stage in
> which you want to store document.
>
> Dejan
>
>
> --- "Leech, Jonathan" <jl...@vi...> wrote:
> > Hi,
> >
> > I am getting started with babeldoc and trying to
> > understand the journal
> > capabilities. From what I've read in the
> > documentation, I should be able to
> > retrieve a document from the journal, and even
> > replay tickets etc. However,
> > if I run the svg-transcode example, and then try
> > babeldoc journal -D
> > 1056495510901.2, I get a JornalException: No
> > document stored at (
> >
> com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
> >
>
<mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],
> > 2> ). I added some debug code and rebuilt it, and
> > the cause is a
> > ClassCastException trying to cast a String into a
> > PipelineDocument. I have
> > looked through the code to some extent, and I am
> > quite confused. I am
> > getting the same problem in babeldoc-1.0.1 and the
> > current version I checked
> > out from CVS yesterday. What am I doing wrong?
> >
> > Sincerely,
> > Jonathan Leech
> > Senior Software Engineer
> > Virtela Communications, Inc.
> >
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
|
From: Stefan K. <ste...@co...> - 2003-06-25 21:55:05
|
Jonathan,
we had the same problems with the query.properties und driver. Obviously,
the property is missing.
A workmate added a statement, but I don't know which. I will post our
query.properties for Oracle tomorrow.
We added the driver as system property to the JVM. Anyway, in production we
will retrieve a preconfigured datastore from JNDI.
Regards,
Stefan
----- Original Message -----
From: "Leech, Jonathan" <jl...@vi...>
To: <bab...@li...>
Sent: Wednesday, June 25, 2003 10:35 PM
Subject: RE: [Babeldoc-devel] retrieving a document from the journal
> Thanks Dejan,
> That makes sense and I found the spot in the userguide that says that. I
> tested it out with the SimpleJournal and I can retrieve documents just
fine.
>
> However, now I'm trying out the Oracle journal and I am having problems.
It
> looks to me like the code in CVS isn't quite in sync with the
> query.properties in CVS, because the journalSelectBlobForUpdate-oracle
> property doesn't exist in query.properties, but OracleJournal.java needs
it.
> This causes a SQLException. Can somebody tell me what the value should be
> for this?
>
> I had another problem with OracleJournal that I got past, which was a No
> Suitable driver exception. I suspect whoever uses the OracleJournal has
the
> code that fixes the problem and it just isn't checked in, or is using
> babeldoc in an environment that registers the Oracle driver for them. I
> would be happy to check the code in, what do I need to do to get CVS
commit
> access? Here's the code I would add to OracleJournal.java:
>
> static {
> try {
> DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
> }
> catch (SQLException sqle) {
> throw new RuntimeException(sqle);
> }
> }
>
> Sincerely,
> Jonathan Leech
> Senior Software Engineer
> Virtela Communications, Inc.
>
> -----Original Message-----
> From: Dejan Krsmanovic [mailto:dej...@ya...]
> Sent: Wednesday, June 25, 2003 1:47 PM
> To: 'bab...@li...'
> Subject: Re: [Babeldoc-devel] retrieving a document from the journal
>
>
> By default document are NOT stored into jjournal
> because it is time-consuming operation. If you want to
> store document into journal, you should set tracked
> property to true (tracked=true) for pipeline stage in
> which you want to store document.
>
> Dejan
>
>
> --- "Leech, Jonathan" <jl...@vi...> wrote:
> > Hi,
> >
> > I am getting started with babeldoc and trying to
> > understand the journal
> > capabilities. From what I've read in the
> > documentation, I should be able to
> > retrieve a document from the journal, and even
> > replay tickets etc. However,
> > if I run the svg-transcode example, and then try
> > babeldoc journal -D
> > 1056495510901.2, I get a JornalException: No
> > document stored at (
> >
> com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
> >
>
<mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],
> > 2> ). I added some debug code and rebuilt it, and
> > the cause is a
> > ClassCastException trying to cast a String into a
> > PipelineDocument. I have
> > looked through the code to some extent, and I am
> > quite confused. I am
> > getting the same problem in babeldoc-1.0.1 and the
> > current version I checked
> > out from CVS yesterday. What am I doing wrong?
> >
> > Sincerely,
> > Jonathan Leech
> > Senior Software Engineer
> > Virtela Communications, Inc.
> >
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> Babeldoc-devel mailing list
> Bab...@li...
> https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
>
|
|
From: Leech, J. <jl...@vi...> - 2003-06-25 21:36:26
|
Thanks Dejan,
That makes sense and I found the spot in the userguide that says that. I
tested it out with the SimpleJournal and I can retrieve documents just fine.
However, now I'm trying out the Oracle journal and I am having problems. It
looks to me like the code in CVS isn't quite in sync with the
query.properties in CVS, because the journalSelectBlobForUpdate-oracle
property doesn't exist in query.properties, but OracleJournal.java needs it.
This causes a SQLException. Can somebody tell me what the value should be
for this?
I had another problem with OracleJournal that I got past, which was a No
Suitable driver exception. I suspect whoever uses the OracleJournal has the
code that fixes the problem and it just isn't checked in, or is using
babeldoc in an environment that registers the Oracle driver for them. I
would be happy to check the code in, what do I need to do to get CVS commit
access? Here's the code I would add to OracleJournal.java:
static {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
}
catch (SQLException sqle) {
throw new RuntimeException(sqle);
}
}
Sincerely,
Jonathan Leech
Senior Software Engineer
Virtela Communications, Inc.
-----Original Message-----
From: Dejan Krsmanovic [mailto:dej...@ya...]
Sent: Wednesday, June 25, 2003 1:47 PM
To: 'bab...@li...'
Subject: Re: [Babeldoc-devel] retrieving a document from the journal
By default document are NOT stored into jjournal
because it is time-consuming operation. If you want to
store document into journal, you should set tracked
property to true (tracked=true) for pipeline stage in
which you want to store document.
Dejan
--- "Leech, Jonathan" <jl...@vi...> wrote:
> Hi,
>
> I am getting started with babeldoc and trying to
> understand the journal
> capabilities. From what I've read in the
> documentation, I should be able to
> retrieve a document from the journal, and even
> replay tickets etc. However,
> if I run the svg-transcode example, and then try
> babeldoc journal -D
> 1056495510901.2, I get a JornalException: No
> document stored at (
>
com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2
>
<mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],
> 2> ). I added some debug code and rebuilt it, and
> the cause is a
> ClassCastException trying to cast a String into a
> PipelineDocument. I have
> looked through the code to some extent, and I am
> quite confused. I am
> getting the same problem in babeldoc-1.0.1 and the
> current version I checked
> out from CVS yesterday. What am I doing wrong?
>
> Sincerely,
> Jonathan Leech
> Senior Software Engineer
> Virtela Communications, Inc.
>
__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Babeldoc-devel mailing list
Bab...@li...
https://lists.sourceforge.net/lists/listinfo/babeldoc-devel
|
Update of /cvsroot/babeldoc/babeldoc/modules/web/docs/journal
In directory sc8-pr-cvs1:/tmp/cvs-serv19218/modules/web/docs/journal
Modified Files:
Tag: branch_1_0
ticketstep.vm view-document.vm index.vm
Added Files:
Tag: branch_1_0
failed-status.vm all-tickets.vm
Log Message:
- Add a way to query journal on ticket's STATUS
- The view of a Ticket shows a bit more information
--- NEW FILE: failed-status.vm ---
<html>
<head>
<title>Journal</title>
<link rel=stylesheet type="text/css" href="$babel.mapUrl('/site.css')">
</head>
<body>
#set($istr = $req.getParameter('start'))
#if($istr.length() > 0)
#set($index = $util.toInt($istr))
#if($index >= 20)
#set($back = $index - 20)
#else
#set($back = 0)
#set($index = 0)
#end
#set($next = $index + 20)
#else
#set($index = 0)
#set($back = 0)
#set($next = 20)
#end
#set($tickets = $babel.getJournalListing().getAllFailedTicketsToNow($index, 20))
<table width="700">
<tr bgcolor="#aaaaaa">
<td colspan=4>
<table width="700" cellpadding="0" cellspace="0">
<tr>
<td align="left">
#if($index>0)
<a href="failed-status.vm?start=$back">
<<
</a>
#else
<<
#end
</td>
<td>
<center><h2>new tickets</h2></center>
</td>
<td align="right">
<a href="failed-status.vm?start=$next">
>>
</a>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#dddddd">
<td><strong>#</strong></td>
<td><strong>steps</strong></td>
<td><strong>ticket</strong></td>
<td><strong>date</strong></td>
</tr>
#foreach( $ticket in $tickets )
#if( $velocityCount % 2 == 0 )
<tr>
#else
<tr bgcolor="#eeeeee">
#end
<td>$velocityCount</td>
<td><a href="ticketstep.vm?ticket=${ticket.Ticket.getId()}"><img src="$babel.image('search.png')"><a> </td>
<td>${ticket.Ticket.getId()}</td>
<td>$ticket.Date</td>
</tr>
#end
</table>
</body>
</html>
--- NEW FILE: all-tickets.vm ---
<html>
<head>
<title>Journal</title>
<link rel=stylesheet type="text/css" href="$babel.mapUrl('/site.css')">
</head>
<body>
#set($istr = $req.getParameter('start'))
#if($istr.length() > 0)
#set($index = $util.toInt($istr))
#if($index >= 20)
#set($back = $index - 20)
#else
#set($back = 0)
#set($index = 0)
#end
#set($next = $index + 20)
#else
#set($index = 0)
#set($back = 0)
#set($next = 20)
#end
#set($tickets = $babel.getJournalListing().getAllTicketsToNow($index, 20))
<table width="700">
<tr bgcolor="#aaaaaa">
<td colspan=4>
<table width="700" cellpadding="0" cellspace="0">
<tr>
<td align="left">
#if($index>0)
<a href="all-tickets.vm?start=$back">
<<
</a>
#else
<<
#end
</td>
<td>
<center><h2>new tickets</h2></center>
</td>
<td align="right">
<a href="all-tickets.vm?start=$next">
>>
</a>
</td>
</tr>
</table>
</td>
</tr>
<tr bgcolor="#dddddd">
<td><strong>#</strong></td>
<td><strong>steps</strong></td>
<td><strong>ticket</strong></td>
<td><strong>date</strong></td>
</tr>
#foreach( $ticket in $tickets )
#if( $velocityCount % 2 == 0 )
<tr>
#else
<tr bgcolor="#eeeeee">
#end
<td>$velocityCount</td>
<td><a href="ticketstep.vm?ticket=${ticket.Ticket.getId()}"><img src="$babel.image('search.png')"><a> </td>
<td>${ticket.Ticket.getId()}</td>
<td>$ticket.Date</td>
</tr>
#end
</table>
</body>
</html>
Index: ticketstep.vm
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/web/docs/journal/ticketstep.vm,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.8.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.8.1
*** ticketstep.vm 24 Feb 2003 22:48:07 -0000 1.1.1.1
--- ticketstep.vm 25 Jun 2003 21:11:30 -0000 1.1.1.1.8.1
***************
*** 21,25 ****
<table width="700">
<tr bgcolor="#aaaaaa">
! <td colspan="4">
<center><h2>ticket: $tstring</h2></center>
</td>
--- 21,25 ----
<table width="700">
<tr bgcolor="#aaaaaa">
! <td colspan="5">
<center><h2>ticket: $tstring</h2></center>
</td>
***************
*** 30,33 ****
--- 30,34 ----
<td><strong>operation</strong></td>
<td><strong>pipelinestage</strong></td>
+ <td><strong>status</strong></td>
</tr>
#foreach( $queryticket in $querytickets )
***************
*** 50,62 ****
</td>
<td>$queryticket.stage</td>
</tr>
#end
! <tr><td colspan=4><br></td></tr>
#set($children = $babel.JournalListing.getChildTickets($ticket))
<tr bgcolor="#dddddd">
! <td colspan=4><center><strong>children</strong></center></td>
</tr>
<tr>
! <td colspan=4>
<table width="600">
#set($count=0)
--- 51,64 ----
</td>
<td>$queryticket.stage</td>
+ <td>$queryticket.other</td>
</tr>
#end
! <tr><td colspan=5><br></td></tr>
#set($children = $babel.JournalListing.getChildTickets($ticket))
<tr bgcolor="#dddddd">
! <td colspan=5><center><strong>children</strong></center></td>
</tr>
<tr>
! <td colspan=5>
<table width="600">
#set($count=0)
Index: view-document.vm
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/web/docs/journal/view-document.vm,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.8.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.8.1
*** view-document.vm 24 Feb 2003 22:48:07 -0000 1.1.1.1
--- view-document.vm 25 Jun 2003 21:11:31 -0000 1.1.1.1.8.1
***************
*** 25,40 ****
</tr>
<tr>
! <td bgcolor="#eeeeee" colspan=2>
! <pre>
! $doccontents
! </pre>
</td>
</tr>
<tr><td><br></td></tr>
<tr bgcolor="#dddddd">
! <td colspan="2">
<center>
<strong>attributes</strong>
</center>
</td>
</tr>
--- 25,55 ----
</tr>
<tr>
! <td>
! Document Name
! </td>
! <td align="left">
! $document.Name
! </td>
! </tr>
!
! <tr>
! <td>
! Document Content
! </td>
! <td bgcolor="#eeeeee">
! <pre>
! $doccontents
! </pre>
</td>
</tr>
<tr><td><br></td></tr>
<tr bgcolor="#dddddd">
! <td>
<center>
<strong>attributes</strong>
</center>
+ </td>
+ <td>
+
</td>
</tr>
Index: index.vm
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/web/docs/journal/index.vm,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.8.1
diff -C2 -d -r1.1.1.1 -r1.1.1.1.8.1
*** index.vm 24 Feb 2003 22:48:06 -0000 1.1.1.1
--- index.vm 25 Jun 2003 21:11:31 -0000 1.1.1.1.8.1
***************
*** 10,13 ****
--- 10,14 ----
</tr>
<tr>
+ <td><a href="all-tickets.vm"><strong>all tickets</strong></a></td>
<td><a href="new-tickets.vm"><strong>new tickets</strong></a></td>
<td><a href="forked-tickets.vm"><strong>forked tickets</strong></a></td>
|
|
From: <vh...@us...> - 2003-06-25 21:07:59
|
Update of /cvsroot/babeldoc/babeldoc/modules/web/src/com/babeldoc/web/context
In directory sc8-pr-cvs1:/tmp/cvs-serv18584/modules/web/src/com/babeldoc/web/context
Modified Files:
Tag: branch_1_0
JournalListingContext.java
Log Message:
Add a way to query journal on ticket's STATUS
Index: JournalListingContext.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/web/src/com/babeldoc/web/context/JournalListingContext.java,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** JournalListingContext.java 15 Mar 2003 23:45:37 -0000 1.2
--- JournalListingContext.java 25 Jun 2003 21:07:55 -0000 1.2.4.1
***************
*** 112,115 ****
--- 112,136 ----
/**
+ * get all failed tickets to now.
+ *
+ * @param start the index to start getting tickets
+ * @param number no more than this number of tickets to get
+ * @return
+ */
+ public QueryTicket[] getAllFailedTicketsToNow(int start, int number) {
+ try {
+ QueryOption qopts[] = {QueryOption.newestFirst,QueryOption.failedOnly};
+ JournalQuery jQuery = new JournalQuery(
+ start, number,
+ null, null, qopts, null);
+ jQuery.setStatus("fail");
+ return journal.getTickets(jQuery);
+ } catch (Exception e) {
+ com.babeldoc.core.LogService.getInstance().logError(e);
+ }
+ return null;
+ }
+
+ /**
* get all tickets steps for this ticket
*
|
|
From: <vh...@us...> - 2003-06-25 21:05:06
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/journal/simple
In directory sc8-pr-cvs1:/tmp/cvs-serv18052/modules/core/src/com/babeldoc/core/journal/simple
Modified Files:
Tag: branch_1_0
SimpleJournal.java
Log Message:
Add a way to query journal on ticket's STATUS
Index: SimpleJournal.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/journal/simple/SimpleJournal.java,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -C2 -d -r1.3 -r1.3.4.1
*** SimpleJournal.java 15 Mar 2003 19:22:16 -0000 1.3
--- SimpleJournal.java 25 Jun 2003 21:05:02 -0000 1.3.4.1
***************
*** 421,424 ****
--- 421,427 ----
int foundstep = Integer.parseInt(values[1]);
String other = (values[4].equals(NULL)) ? NULL : values[4];
+ if ((jQuery.getStatus() != null && other != null && other.indexOf(jQuery.getStatus()) != -1)
+ || jQuery.getStatus() == null){
+
String stage = (values[5].equals(NULL)) ? NULL : values[5];
String additional = "";
***************
*** 428,431 ****
--- 431,435 ----
vec.add(qt);
++count;
+ }
}
}
|
|
From: <vh...@us...> - 2003-06-25 21:05:06
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/journal/query
In directory sc8-pr-cvs1:/tmp/cvs-serv18052/modules/core/src/com/babeldoc/core/journal/query
Modified Files:
Tag: branch_1_0
JournalQuery.java QueryOption.java
Log Message:
Add a way to query journal on ticket's STATUS
Index: JournalQuery.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/journal/query/JournalQuery.java,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** JournalQuery.java 15 Mar 2003 19:22:16 -0000 1.2
--- JournalQuery.java 25 Jun 2003 21:05:02 -0000 1.2.4.1
***************
*** 44,47 ****
--- 44,48 ----
private QueryOption[] queryOptions;
private JournalOperation[] journalOperations;
+ private String status;
/**
***************
*** 124,127 ****
--- 125,132 ----
}
+ public String getStatus(){
+ return status;
+ }
+
/**
* Set the enddate. If a null is passed, the enddate is set to the
***************
*** 183,194 ****
/**
! * private int startIndex;
! private int numResults;
! private Date startDate;
! private Date endDate;
! private QueryOption[] queryOptions;
! private JournalOperation[] journalOperations;
!
*/
public String toString() {
return new ToStringBuilder(this).
--- 188,197 ----
/**
! * @param string
*/
+ public void setStatus(String status) {
+ this.status = status;
+ }
+
public String toString() {
return new ToStringBuilder(this).
Index: QueryOption.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/journal/query/QueryOption.java,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** QueryOption.java 15 Mar 2003 19:22:16 -0000 1.2
--- QueryOption.java 25 Jun 2003 21:05:02 -0000 1.2.4.1
***************
*** 37,40 ****
--- 37,41 ----
public final static QueryOption oldestFirst = new QueryOption(0);
public final static QueryOption newestFirst = new QueryOption(1);
+ public final static QueryOption failedOnly = new QueryOption(2);
/**
***************
*** 43,46 ****
--- 44,48 ----
public final static String OLDEST_FIRST = "oldestFirst";
public final static String NEWEST_FIRST = "newestFirst";
+ public final static String FAILED_ONLY = "failedOnly";
/**
***************
*** 76,79 ****
--- 78,83 ----
} else if (qopt.equals(NEWEST_FIRST)) {
return newestFirst;
+ } else if (qopt.equals(FAILED_ONLY)) {
+ return failedOnly;
} else {
return null;
***************
*** 94,97 ****
--- 98,104 ----
case 1:
return NEWEST_FIRST;
+
+ case 2:
+ return FAILED_ONLY;
default:
|
|
From: <vh...@us...> - 2003-06-25 21:00:47
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage
In directory sc8-pr-cvs1:/tmp/cvs-serv17345/modules/core/src/com/babeldoc/core/pipeline/stage
Modified Files:
Tag: branch_1_0
FtpWriterPipelineStage.java
Log Message:
- Remove an uneeded "static" on a method
- print a message with this classname and not another one
Index: FtpWriterPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/FtpWriterPipelineStage.java,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -C2 -d -r1.3 -r1.3.4.1
*** FtpWriterPipelineStage.java 7 Apr 2003 22:29:22 -0000 1.3
--- FtpWriterPipelineStage.java 25 Jun 2003 21:00:45 -0000 1.3.4.1
***************
*** 97,101 ****
* @param document
*/
! public static void sendFtpMessage(String ftpHost, String ftpUsername,
String ftpPassword, String ftpFolder, String ftpFilename,
com.babeldoc.core.pipeline.PipelineDocument document) throws Exception {
--- 97,101 ----
* @param document
*/
! public void sendFtpMessage(String ftpHost, String ftpUsername,
String ftpPassword, String ftpFolder, String ftpFilename,
com.babeldoc.core.pipeline.PipelineDocument document) throws Exception {
***************
*** 140,144 ****
return super.processHelper();
} catch (Exception except) {
! throw new com.babeldoc.core.pipeline.PipelineException("[FlatToXmlPipelineStage.process] Exception", except);
}
}
--- 140,144 ----
return super.processHelper();
} catch (Exception except) {
! throw new com.babeldoc.core.pipeline.PipelineException("[FtpWriterPipelineStage.process] Exception", except);
}
}
|
|
From: <vh...@us...> - 2003-06-25 20:58:35
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage
In directory sc8-pr-cvs1:/tmp/cvs-serv16908/modules/core/src/com/babeldoc/core/pipeline/stage
Modified Files:
Tag: branch_1_0
SmtpWriterPipelineStage.java
Log Message:
Avoid to create an empty body when ther is no "smtpMessage" defined
Index: SmtpWriterPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/SmtpWriterPipelineStage.java,v
retrieving revision 1.5
retrieving revision 1.5.4.1
diff -C2 -d -r1.5 -r1.5.4.1
*** SmtpWriterPipelineStage.java 8 May 2003 12:57:02 -0000 1.5
--- SmtpWriterPipelineStage.java 25 Jun 2003 20:58:32 -0000 1.5.4.1
***************
*** 279,296 ****
}
! //First create message body
! BodyPart messageBody = new MimeBodyPart();
! if (message == null) {
! message = "";
! }
! //messageBody.setText(message);
! messageBody.setContent(message, contentType);
!
! //Multipart will hold body and attachments
! Multipart multipart = new MimeMultipart();
!
! //set body
! multipart.addBodyPart(messageBody);
//now set all attachments
try {
--- 279,292 ----
}
! //Multipart will hold body and attachments
! Multipart multipart = new MimeMultipart();
+ //First create message body
+ if (message != null){
+ BodyPart messageBody = new MimeBodyPart();
+ messageBody.setContent(message, contentType);
+ multipart.addBodyPart(messageBody);
+ }
+
//now set all attachments
try {
|
|
From: <vh...@us...> - 2003-06-25 20:56:30
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline
In directory sc8-pr-cvs1:/tmp/cvs-serv16557/modules/core/src/com/babeldoc/core/pipeline
Modified Files:
Tag: branch_1_0
DefaultPipelineStageErrorHandler.java
Log Message:
Save the complete StackTrace in addMessage() for better analyse of errors afterwards
Index: DefaultPipelineStageErrorHandler.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/DefaultPipelineStageErrorHandler.java,v
retrieving revision 1.2
retrieving revision 1.2.4.1
diff -C2 -d -r1.2 -r1.2.4.1
*** DefaultPipelineStageErrorHandler.java 10 May 2003 18:46:52 -0000 1.2
--- DefaultPipelineStageErrorHandler.java 25 Jun 2003 20:56:27 -0000 1.2.4.1
***************
*** 20,23 ****
--- 20,25 ----
package com.babeldoc.core.pipeline;
+ import org.apache.commons.lang.exception.ExceptionUtils;
+
import com.babeldoc.core.I18n;
import com.babeldoc.core.LogService;
***************
*** 51,55 ****
//add message to document
! pstage.getDocument().addMessage(pe.toString());
boolean stop = pstage.getFailOnError();
--- 53,57 ----
//add message to document
! pstage.getDocument().addMessage(ExceptionUtils.getStackTrace(pe));
boolean stop = pstage.getFailOnError();
|
|
From: <vh...@us...> - 2003-06-25 20:51:59
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core
In directory sc8-pr-cvs1:/tmp/cvs-serv15864/modules/core/src/com/babeldoc/core
Modified Files:
Tag: branch_1_0
ResourceLoader.java
Log Message:
Add the "J2EE way" of ClassLoading in getClass
Index: ResourceLoader.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/ResourceLoader.java,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -C2 -d -r1.3 -r1.3.4.1
*** ResourceLoader.java 15 Mar 2003 22:53:50 -0000 1.3
--- ResourceLoader.java 25 Jun 2003 20:51:56 -0000 1.3.4.1
***************
*** 282,286 ****
public static Class getClass(String className) {
try {
! return Class.forName(className);
} catch (Exception e) {
LogService.getInstance().logError(I18n.get("002001", className), e);
--- 282,290 ----
public static Class getClass(String className) {
try {
! Class clazz = Class.forName(className);
! if (clazz == null){
! clazz = Thread.currentThread().getContextClassLoader().loadClass(className);
! }
! return clazz;
} catch (Exception e) {
LogService.getInstance().logError(I18n.get("002001", className), e);
|
|
From: <vh...@us...> - 2003-06-25 20:46:43
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/config/service
In directory sc8-pr-cvs1:/tmp/cvs-serv15244/modules/core/config/service
Modified Files:
Tag: branch_1_0
query.properties
Log Message:
I can not understand how the web console could work without this line
Index: query.properties
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/config/service/query.properties,v
retrieving revision 1.2.4.1
retrieving revision 1.2.4.2
diff -C2 -d -r1.2.4.1 -r1.2.4.2
*** query.properties 21 May 2003 22:42:32 -0000 1.2.4.1
--- query.properties 25 Jun 2003 20:46:40 -0000 1.2.4.2
***************
*** 34,35 ****
--- 34,36 ----
Command.module=com.babeldoc.core.module.BabeldocModuleCommand
+ userResourceFactory.simple=com.babeldoc.core.user.simple.SimpleUserResourceFactory
\ No newline at end of file
|
|
From: <vh...@us...> - 2003-06-25 20:35:57
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker
In directory sc8-pr-cvs1:/tmp/cvs-serv13501/modules/scanner/src/com/babeldoc/scanner/worker
Modified Files:
Tag: branch_1_0
DirectoryScanner.java
Log Message:
Change a method to protected to allow subclassing
Index: DirectoryScanner.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker/DirectoryScanner.java,v
retrieving revision 1.9
retrieving revision 1.9.6.1
diff -C2 -d -r1.9 -r1.9.6.1
*** DirectoryScanner.java 11 Apr 2003 14:26:27 -0000 1.9
--- DirectoryScanner.java 25 Jun 2003 20:35:54 -0000 1.9.6.1
***************
*** 297,301 ****
return files;
}
! private void addFilesFromDir(File dir, List files) {
//inner class that implements FileFilter interface
--- 297,301 ----
return files;
}
! protected void addFilesFromDir(File dir, List files) {
//inner class that implements FileFilter interface
|
|
From: Dejan K. <dej...@ya...> - 2003-06-25 19:46:37
|
By default document are NOT stored into jjournal because it is time-consuming operation. If you want to store document into journal, you should set tracked property to true (tracked=true) for pipeline stage in which you want to store document. Dejan --- "Leech, Jonathan" <jl...@vi...> wrote: > Hi, > > I am getting started with babeldoc and trying to > understand the journal > capabilities. From what I've read in the > documentation, I should be able to > retrieve a document from the journal, and even > replay tickets etc. However, > if I run the svg-transcode example, and then try > babeldoc journal -D > 1056495510901.2, I get a JornalException: No > document stored at ( > com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2 > <mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901], > 2> ). I added some debug code and rebuilt it, and > the cause is a > ClassCastException trying to cast a String into a > PipelineDocument. I have > looked through the code to some extent, and I am > quite confused. I am > getting the same problem in babeldoc-1.0.1 and the > current version I checked > out from CVS yesterday. What am I doing wrong? > > Sincerely, > Jonathan Leech > Senior Software Engineer > Virtela Communications, Inc. > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
|
From: Leech, J. <jl...@vi...> - 2003-06-25 17:57:50
|
Hi, I am getting started with babeldoc and trying to understand the journal capabilities. From what I've read in the documentation, I should be able to retrieve a document from the journal, and even replay tickets etc. However, if I run the svg-transcode example, and then try babeldoc journal -D 1056495510901.2, I get a JornalException: No document stored at ( com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901],2 <mailto:com.babeldoc.core.journal.JournalTicket@763f5d[value=1056495510901], 2> ). I added some debug code and rebuilt it, and the cause is a ClassCastException trying to cast a String into a PipelineDocument. I have looked through the code to some extent, and I am quite confused. I am getting the same problem in babeldoc-1.0.1 and the current version I checked out from CVS yesterday. What am I doing wrong? Sincerely, Jonathan Leech Senior Software Engineer Virtela Communications, Inc. |
|
From: Dejan K. <dej...@nb...> - 2003-06-25 14:11:51
|
Hi all, I have set up CVS e-mail notification. On every commit operation an e-mail will be sent to mailing list with information about chages that has been made. I think this is quite important because Babeldoc team has grown and developers should be notified when source file are changed on CVS. Do you think we can use this mailig list for notifications or we should open new mailing list only for this purpose? Dejan |