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-08-04 23:41:06
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage
In directory sc8-pr-cvs1:/tmp/cvs-serv15597
Modified Files:
XslTransformPipelineStage.java
Log Message:
Bug 783139: Added in transformer for non-file or non-cached XSL documents
Index: XslTransformPipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/stage/XslTransformPipelineStage.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** XslTransformPipelineStage.java 27 Jun 2003 02:19:59 -0000 1.15
--- XslTransformPipelineStage.java 4 Aug 2003 23:41:03 -0000 1.16
***************
*** 177,180 ****
--- 177,182 ----
String urlStr = url.toString();
xslSource.setSystemId(urlStr);
+ TransformerFactory transFact = TransformerFactory.newInstance();
+ transformer = transFact.newTransformer(xslSource);
}
} else if (xslscript != null) {
|
|
From: David G. <dg...@co...> - 2003-08-04 23:40:55
|
I found some code in LightConfigService that parsed the config files, so I copied it and things seem to be working. Now I have a couple of questions: 1. It appears that an entry will need to be added to the resource bundles to support the debug switch. Is there a procedure for this? I'm not sure how the numbers are assigned, nor how babelfish is used to generate the other translations. 2. How do I submit this? Should I even do so, or is this of interest to only me? Thanks, David On Monday 04 August 2003 3:48 pm, David Glick wrote: > Dejan, > > Taking your suggestion that contributions are welcome (you were *serious*, > right? :-)), I'm trying to implement a '-d' option to dump configuration > info. I've gotten to the point where I can set and recognize the -d switch > and I'm ready to dump the info. However, I can't seem to track where the > configuration file is actually loaded. Could I ask for a pointer, module > name, or even a riddle that might point me in the right direction? > > Thanks, > > David > > On Monday 04 August 2003 6:27 am, Dejan Krsmanovic wrote: > > Note that some other features are not yet implemented in 1.1. Remote > > scanner option is not implemented yet. > > There are really many new features that can be implemented in scanner > > module (I like your idea) but as always - there are not much time! So > > every contribution is more than welcome. > > > > Dejan > > P.S. > > You can submit your suggestion on Source Forge as new feature suggestion. > > Just to prevent forgetting it... > > > > ----- Original Message ----- > > From: "David Glick" <dg...@co...> > > To: "Dejan Krsmanovic" <dej...@nb...>; > > <bab...@li...> > > Sent: Monday, August 04, 2003 3:21 PM > > Subject: Re: [Babeldoc-devel] Current directory scanner broken? > > > > > Thanks, Dejan (and welcome back!) > > > > > > I'd also like to suggest that, for me at least, one of the most > > > difficult things to do is to figure out where initialization parameters > > > are coming from, and whether they are correct. It would be very helpful > > > to have a command line switch that would print out the path and > > > contents of config files. Just a suggestion... :-) > > > > > > Thanks again for your help. I see that you've already made changes to > > > > CVS, so > > > > > I'll pull them down and try it again. > > > > > > > > > Best regards, > > > > > > David > > > > > > On Monday 04 August 2003 1:41 am, Dejan Krsmanovic wrote: > > > > Obiviously, no workers (threads) is started. I guess the problem is > > > > using > > > > > > -s argument. Probably not implemented in 1.1.5 version. Try to put > > > > configuration in default (scanner), directory. I'll try to fix this > > > > bug > > > > as > > > > > > soon as possible... Note that I have just returned from vacation ;) > > > > > > > > Dejan > > > > > > > > ----- Original Message ----- > > > > From: "David Glick" <dg...@co...> > > > > To: "Bruce McDonald" <br...@mc...>; > > > > <bab...@li...> > > > > Sent: Monday, August 04, 2003 6:23 AM > > > > Subject: Re: [Babeldoc-devel] Current directory scanner broken? > > > > > > > > > Following the instructions in the scanner example, I created > > > > > /tmp/in > > > > and > > > > > > > /tmp/done. I copy the file stats.xml into /tmp/in. > > > > > > > > > > When I start the scanner under 1.1.5: > > > > > > > > > > dglick@athlon:/home/dglick/acct/cvs/babeldoc> build/bin/babeldoc > > > > > > > > scanner -s > > > > > > > > > build/examples/scanner/config.properties > > > > > > > > > > <2003-08-03 19:24:27,977> INFO [main] : Starting feeder... > > > > > <2003-08-03 19:24:28,023> INFO [main] : Initializing workers: > > > > > <2003-08-03 19:24:28,039> INFO [main] : Starting workers... > > > > > > > > > > Then it just sits forever until I kill it. > > > > > > > > > > Starting the scanner under 1.0.2: > > > > > > > > > > dglick@athlon:/home/dglick/bin/babeldoc1.0.2> build/bin/babeldoc > > > > > > > > scanner -s > > > > > > > > > build/examples/scanner/config.properties > > > > > Scanner directory config = directory > > > > > <2003-08-03 19:23:09,623> INFO [main] : Starting thread: > > > > directory... > > > > > > > <2003-08-03 19:23:09,639> INFO [main] : Thread directory scanning > > > > > <2003-08-03 19:23:19,662> INFO [directory] : Scanner directory > > > > > found > > > > 1 > > > > > > > messages > > > > > <2003-08-03 19:23:19,731> INFO [directory] : Processing 1 of > > > > > total 1 messages > > > > > <2003-08-03 19:23:19,857> INFO [directory] : Allocate ticket > > > > > > > > 1059963799837 > > > > > > > > > for message stats.xml > > > > > <2003-08-03 19:23:19,961> INFO [directory] : PipelineStage name: > > > > entry > > > > > > > <2003-08-03 19:23:20,087> INFO [directory] : PipelineStage name: > > > > > > > > transform > > > > > > > > > <2003-08-03 19:23:21,121> INFO [directory] : PipelineStage name: > > > > choose > > > > > > > <2003-08-03 19:23:21,137> INFO [directory] : PipelineStage name: > > > > writer > > > > > > > I'm using JDK 1.4.1_01 under Suse Linux 8.1. > > > > > > > > > > > > > > > Thanks for any help, > > > > > > > > > > David > > > > > > > > > > On Sunday 03 August 2003 8:18 pm, Bruce McDonald wrote: > > > > > > David, all: > > > > > > > > > > > > Plenty has changed - in fact the entire scanner codebase has > > > > changed. > > > > > > > > I have used the directory scanner recently and it seems to work > > > > fine. > > > > > > What > > > > > > > > > > are you seeing? > > > > > > > > > > > > regards, > > > > > > Bruce. > > > > > > > > > > > > On Sunday 03 August 2003 10:31 pm, David Glick wrote: > > > > > > > Hi List, > > > > > > > > > > > > > > I have been running the directory scanner regularly using the > > > > 1.0.2 > > > > > > > > > release. I've recently switched to the current CVS release > > > > > > > (1.1.5-dev) and the directory scanner appears to not be well. > > > > I've > > > > > > > > > gone back and tried the examples, and the scanner example works > > > > fine > > > > > > > > > in 1.0.2, but > > > > > > > > not > > > > > > > > > > > in 1.1.5. Has something changed? > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > > > David Glick > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > > > > including > > > > > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > >01 > > > > > > > > _______________________________________________ > > > > > > Babeldoc-devel mailing list > > > > > > Bab...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > > > -- > > > > > David Glick > > > > > 619-475-4052 > > > > > dg...@co... > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > > > > > including Data Reports, E-commerce, Portals, and Forums are > > > > > available now. Download today and enter to win an XBOX or Visual > > > > > Studio .NET. > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > >01 > > > > > > > _______________________________________________ > > > > > Babeldoc-devel mailing list > > > > > Bab...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > > > > including Data Reports, E-commerce, Portals, and Forums are available > > > > now. Download today and enter to win an XBOX or Visual Studio .NET. > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > >01 > > > > > > _______________________________________________ > > > > Babeldoc-devel mailing list > > > > Bab...@li... > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > -- > > > David Glick > > > 619-475-4052 > > > dg...@co... > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > >01 _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick 619-475-4052 dg...@co... |
|
From: David G. <dg...@co...> - 2003-08-04 22:37:23
|
Dejan, Taking your suggestion that contributions are welcome (you were *serious*, right? :-)), I'm trying to implement a '-d' option to dump configuration info. I've gotten to the point where I can set and recognize the -d switch and I'm ready to dump the info. However, I can't seem to track where the configuration file is actually loaded. Could I ask for a pointer, module name, or even a riddle that might point me in the right direction? Thanks, David On Monday 04 August 2003 6:27 am, Dejan Krsmanovic wrote: > Note that some other features are not yet implemented in 1.1. Remote > scanner option is not implemented yet. > There are really many new features that can be implemented in scanner > module (I like your idea) but as always - there are not much time! So every > contribution is more than welcome. > > Dejan > P.S. > You can submit your suggestion on Source Forge as new feature suggestion. > Just to prevent forgetting it... > > ----- Original Message ----- > From: "David Glick" <dg...@co...> > To: "Dejan Krsmanovic" <dej...@nb...>; > <bab...@li...> > Sent: Monday, August 04, 2003 3:21 PM > Subject: Re: [Babeldoc-devel] Current directory scanner broken? > > > Thanks, Dejan (and welcome back!) > > > > I'd also like to suggest that, for me at least, one of the most difficult > > things to do is to figure out where initialization parameters are coming > > from, and whether they are correct. It would be very helpful to have a > > command line switch that would print out the path and contents of config > > files. Just a suggestion... :-) > > > > Thanks again for your help. I see that you've already made changes to > > CVS, so > > > I'll pull them down and try it again. > > > > > > Best regards, > > > > David > > > > On Monday 04 August 2003 1:41 am, Dejan Krsmanovic wrote: > > > Obiviously, no workers (threads) is started. I guess the problem is > > using > > > > -s argument. Probably not implemented in 1.1.5 version. Try to put > > > configuration in default (scanner), directory. I'll try to fix this bug > > as > > > > soon as possible... Note that I have just returned from vacation ;) > > > > > > Dejan > > > > > > ----- Original Message ----- > > > From: "David Glick" <dg...@co...> > > > To: "Bruce McDonald" <br...@mc...>; > > > <bab...@li...> > > > Sent: Monday, August 04, 2003 6:23 AM > > > Subject: Re: [Babeldoc-devel] Current directory scanner broken? > > > > > > > Following the instructions in the scanner example, I created /tmp/in > > and > > > > > /tmp/done. I copy the file stats.xml into /tmp/in. > > > > > > > > When I start the scanner under 1.1.5: > > > > > > > > dglick@athlon:/home/dglick/acct/cvs/babeldoc> build/bin/babeldoc > > > > > > scanner -s > > > > > > > build/examples/scanner/config.properties > > > > > > > > <2003-08-03 19:24:27,977> INFO [main] : Starting feeder... > > > > <2003-08-03 19:24:28,023> INFO [main] : Initializing workers: > > > > <2003-08-03 19:24:28,039> INFO [main] : Starting workers... > > > > > > > > Then it just sits forever until I kill it. > > > > > > > > Starting the scanner under 1.0.2: > > > > > > > > dglick@athlon:/home/dglick/bin/babeldoc1.0.2> build/bin/babeldoc > > > > > > scanner -s > > > > > > > build/examples/scanner/config.properties > > > > Scanner directory config = directory > > > > <2003-08-03 19:23:09,623> INFO [main] : Starting thread: > > directory... > > > > > <2003-08-03 19:23:09,639> INFO [main] : Thread directory scanning > > > > <2003-08-03 19:23:19,662> INFO [directory] : Scanner directory > > > > found > > 1 > > > > > messages > > > > <2003-08-03 19:23:19,731> INFO [directory] : Processing 1 of total > > > > 1 messages > > > > <2003-08-03 19:23:19,857> INFO [directory] : Allocate ticket > > > > > > 1059963799837 > > > > > > > for message stats.xml > > > > <2003-08-03 19:23:19,961> INFO [directory] : PipelineStage name: > > entry > > > > > <2003-08-03 19:23:20,087> INFO [directory] : PipelineStage name: > > > > > > transform > > > > > > > <2003-08-03 19:23:21,121> INFO [directory] : PipelineStage name: > > choose > > > > > <2003-08-03 19:23:21,137> INFO [directory] : PipelineStage name: > > writer > > > > > I'm using JDK 1.4.1_01 under Suse Linux 8.1. > > > > > > > > > > > > Thanks for any help, > > > > > > > > David > > > > > > > > On Sunday 03 August 2003 8:18 pm, Bruce McDonald wrote: > > > > > David, all: > > > > > > > > > > Plenty has changed - in fact the entire scanner codebase has > > changed. > > > > > > I have used the directory scanner recently and it seems to work > > fine. > > > > What > > > > > > > > are you seeing? > > > > > > > > > > regards, > > > > > Bruce. > > > > > > > > > > On Sunday 03 August 2003 10:31 pm, David Glick wrote: > > > > > > Hi List, > > > > > > > > > > > > I have been running the directory scanner regularly using the > > 1.0.2 > > > > > > > release. I've recently switched to the current CVS release > > > > > > (1.1.5-dev) and the directory scanner appears to not be well. > > I've > > > > > > > gone back and tried the examples, and the scanner example works > > fine > > > > > > > in 1.0.2, but > > > > > > not > > > > > > > > > in 1.1.5. Has something changed? > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > David Glick > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > > including > > > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > > > _______________________________________________ > > > > > Babeldoc-devel mailing list > > > > > Bab...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > -- > > > > David Glick > > > > 619-475-4052 > > > > dg...@co... > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > > > > including Data Reports, E-commerce, Portals, and Forums are available > > > > now. Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > > _______________________________________________ > > > > Babeldoc-devel mailing list > > > > Bab...@li... > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > -- > > David Glick > > 619-475-4052 > > dg...@co... > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick 619-475-4052 dg...@co... |
|
From: Leech, J. <jl...@vi...> - 2003-08-04 14:32:02
|
I didn't notice that you can control transaction rollback - that's a great feature to have. I'll also take a look at the batch capability. I'll let you know if I have any ideas. -Jonathan -----Original Message----- From: Dejan Krsmanovic [mailto:dej...@ya...] Sent: Sunday, August 03, 2003 11:03 AM To: bab...@li... Subject: [Babeldoc-devel] SqlWriter stage --- "Leech, Jonathan" <jl...@vi...> wrote: > Incidentally, I modified my pipeline configuration > from this: > XPathSplitter->XPathExtractor->SqlWriter > to this: > XslTransform->SqlWriter > and it really flies. So I used to split up the XML, > extract values from it, > then write each row to the database. Now I just > transform the XML into a > bunch of SQL statements and run them. Its much > faster and it might be a > good pattern in general. > > -Jonathan I did the same thing in pipeline configuration for one of projects I have been working on. In fact I wrote SqlWriter stage for that purpose. Since I had to manage few other problems I have introduced few properties that might be confusing at first. For example, you can define messages that should be returned in case of error instead of returning database error message. I guess you have noticed that you can control wether transaciton should be rolled back on first error or after all statements are executed. This was important for my project. You can also use batch statements altough I haven't noticed some improvements in my project when using batch statements with different batch sizes (I am using Oracle database). If you have some other ideas how to improve or simplify this class I would be glad to hear. Dejan __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: McDonald, B. <Bru...@ba...> - 2003-08-04 14:04:41
|
Thats a very interesting suggestion... It is in theory possible. -----Original Message----- From: David Glick [mailto:dg...@co...] Sent: Monday, August 04, 2003 9:21 AM To: Dejan Krsmanovic; bab...@li... Subject: Re: [Babeldoc-devel] Current directory scanner broken? Thanks, Dejan (and welcome back!) I'd also like to suggest that, for me at least, one of the most difficult things to do is to figure out where initialization parameters are coming from, and whether they are correct. It would be very helpful to have a command line switch that would print out the path and contents of config files. Just a suggestion... :-) Thanks again for your help. I see that you've already made changes to CVS, so I'll pull them down and try it again. Best regards, David On Monday 04 August 2003 1:41 am, Dejan Krsmanovic wrote: > Obiviously, no workers (threads) is started. I guess the problem is using > -s argument. Probably not implemented in 1.1.5 version. Try to put > configuration in default (scanner), directory. I'll try to fix this bug as > soon as possible... Note that I have just returned from vacation ;) > > Dejan > > ----- Original Message ----- > From: "David Glick" <dg...@co...> > To: "Bruce McDonald" <br...@mc...>; > <bab...@li...> > Sent: Monday, August 04, 2003 6:23 AM > Subject: Re: [Babeldoc-devel] Current directory scanner broken? > > > Following the instructions in the scanner example, I created /tmp/in and > > /tmp/done. I copy the file stats.xml into /tmp/in. > > > > When I start the scanner under 1.1.5: > > > > dglick@athlon:/home/dglick/acct/cvs/babeldoc> build/bin/babeldoc > > scanner -s > > > build/examples/scanner/config.properties > > > > <2003-08-03 19:24:27,977> INFO [main] : Starting feeder... > > <2003-08-03 19:24:28,023> INFO [main] : Initializing workers: > > <2003-08-03 19:24:28,039> INFO [main] : Starting workers... > > > > Then it just sits forever until I kill it. > > > > Starting the scanner under 1.0.2: > > > > dglick@athlon:/home/dglick/bin/babeldoc1.0.2> build/bin/babeldoc > > scanner -s > > > build/examples/scanner/config.properties > > Scanner directory config = directory > > <2003-08-03 19:23:09,623> INFO [main] : Starting thread: directory... > > <2003-08-03 19:23:09,639> INFO [main] : Thread directory scanning > > <2003-08-03 19:23:19,662> INFO [directory] : Scanner directory found 1 > > messages > > <2003-08-03 19:23:19,731> INFO [directory] : Processing 1 of total 1 > > messages > > <2003-08-03 19:23:19,857> INFO [directory] : Allocate ticket > > 1059963799837 > > > for message stats.xml > > <2003-08-03 19:23:19,961> INFO [directory] : PipelineStage name: entry > > <2003-08-03 19:23:20,087> INFO [directory] : PipelineStage name: > > transform > > > <2003-08-03 19:23:21,121> INFO [directory] : PipelineStage name: choose > > <2003-08-03 19:23:21,137> INFO [directory] : PipelineStage name: writer > > > > I'm using JDK 1.4.1_01 under Suse Linux 8.1. > > > > > > Thanks for any help, > > > > David > > > > On Sunday 03 August 2003 8:18 pm, Bruce McDonald wrote: > > > David, all: > > > > > > Plenty has changed - in fact the entire scanner codebase has changed. > > > I have used the directory scanner recently and it seems to work fine. > > What > > > > are you seeing? > > > > > > regards, > > > Bruce. > > > > > > On Sunday 03 August 2003 10:31 pm, David Glick wrote: > > > > Hi List, > > > > > > > > I have been running the directory scanner regularly using the 1.0.2 > > > > release. I've recently switched to the current CVS release > > > > (1.1.5-dev) and the directory scanner appears to not be well. I've > > > > gone back and tried the examples, and the scanner example works fine > > > > in 1.0.2, but > > not > > > > > in 1.1.5. Has something changed? > > > > > > > > > > > > Thanks, > > > > > > > > David Glick > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > -- > > David Glick > > 619-475-4052 > > dg...@co... > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick 619-475-4052 dg...@co... ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: <de...@us...> - 2003-08-04 13:50:39
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker
In directory sc8-pr-cvs1:/tmp/cvs-serv3775/modules/scanner/src/com/babeldoc/scanner/worker
Modified Files:
DirectoryScanner.java
Log Message:
Fixed wrong resource key for DirectoryScanner description
Index: DirectoryScanner.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker/DirectoryScanner.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** DirectoryScanner.java 4 Aug 2003 12:46:06 -0000 1.15
--- DirectoryScanner.java 4 Aug 2003 13:50:36 -0000 1.16
***************
*** 310,314 ****
*/
public String getDescription() {
! return I18n.get("scanner.DirectoryScanner.description");
}
--- 310,314 ----
*/
public String getDescription() {
! return I18n.get("scanner.DirectoryScannerInfo.description");
}
|
|
From: Dejan K. <dej...@nb...> - 2003-08-04 13:29:46
|
Note that some other features are not yet implemented in 1.1. Remote scanner option is not implemented yet. There are really many new features that can be implemented in scanner module (I like your idea) but as always - there are not much time! So every contribution is more than welcome. Dejan P.S. You can submit your suggestion on Source Forge as new feature suggestion. Just to prevent forgetting it... ----- Original Message ----- From: "David Glick" <dg...@co...> To: "Dejan Krsmanovic" <dej...@nb...>; <bab...@li...> Sent: Monday, August 04, 2003 3:21 PM Subject: Re: [Babeldoc-devel] Current directory scanner broken? > Thanks, Dejan (and welcome back!) > > I'd also like to suggest that, for me at least, one of the most difficult > things to do is to figure out where initialization parameters are coming > from, and whether they are correct. It would be very helpful to have a > command line switch that would print out the path and contents of config > files. Just a suggestion... :-) > > Thanks again for your help. I see that you've already made changes to CVS, so > I'll pull them down and try it again. > > > Best regards, > > David > > > > On Monday 04 August 2003 1:41 am, Dejan Krsmanovic wrote: > > Obiviously, no workers (threads) is started. I guess the problem is using > > -s argument. Probably not implemented in 1.1.5 version. Try to put > > configuration in default (scanner), directory. I'll try to fix this bug as > > soon as possible... Note that I have just returned from vacation ;) > > > > Dejan > > > > ----- Original Message ----- > > From: "David Glick" <dg...@co...> > > To: "Bruce McDonald" <br...@mc...>; > > <bab...@li...> > > Sent: Monday, August 04, 2003 6:23 AM > > Subject: Re: [Babeldoc-devel] Current directory scanner broken? > > > > > Following the instructions in the scanner example, I created /tmp/in and > > > /tmp/done. I copy the file stats.xml into /tmp/in. > > > > > > When I start the scanner under 1.1.5: > > > > > > dglick@athlon:/home/dglick/acct/cvs/babeldoc> build/bin/babeldoc > > > > scanner -s > > > > > build/examples/scanner/config.properties > > > > > > <2003-08-03 19:24:27,977> INFO [main] : Starting feeder... > > > <2003-08-03 19:24:28,023> INFO [main] : Initializing workers: > > > <2003-08-03 19:24:28,039> INFO [main] : Starting workers... > > > > > > Then it just sits forever until I kill it. > > > > > > Starting the scanner under 1.0.2: > > > > > > dglick@athlon:/home/dglick/bin/babeldoc1.0.2> build/bin/babeldoc > > > > scanner -s > > > > > build/examples/scanner/config.properties > > > Scanner directory config = directory > > > <2003-08-03 19:23:09,623> INFO [main] : Starting thread: directory... > > > <2003-08-03 19:23:09,639> INFO [main] : Thread directory scanning > > > <2003-08-03 19:23:19,662> INFO [directory] : Scanner directory found 1 > > > messages > > > <2003-08-03 19:23:19,731> INFO [directory] : Processing 1 of total 1 > > > messages > > > <2003-08-03 19:23:19,857> INFO [directory] : Allocate ticket > > > > 1059963799837 > > > > > for message stats.xml > > > <2003-08-03 19:23:19,961> INFO [directory] : PipelineStage name: entry > > > <2003-08-03 19:23:20,087> INFO [directory] : PipelineStage name: > > > > transform > > > > > <2003-08-03 19:23:21,121> INFO [directory] : PipelineStage name: choose > > > <2003-08-03 19:23:21,137> INFO [directory] : PipelineStage name: writer > > > > > > I'm using JDK 1.4.1_01 under Suse Linux 8.1. > > > > > > > > > Thanks for any help, > > > > > > David > > > > > > On Sunday 03 August 2003 8:18 pm, Bruce McDonald wrote: > > > > David, all: > > > > > > > > Plenty has changed - in fact the entire scanner codebase has changed. > > > > I have used the directory scanner recently and it seems to work fine. > > > > What > > > > > > are you seeing? > > > > > > > > regards, > > > > Bruce. > > > > > > > > On Sunday 03 August 2003 10:31 pm, David Glick wrote: > > > > > Hi List, > > > > > > > > > > I have been running the directory scanner regularly using the 1.0.2 > > > > > release. I've recently switched to the current CVS release > > > > > (1.1.5-dev) and the directory scanner appears to not be well. I've > > > > > gone back and tried the examples, and the scanner example works fine > > > > > in 1.0.2, but > > > > not > > > > > > > in 1.1.5. Has something changed? > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > David Glick > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > > > _______________________________________________ > > > > Babeldoc-devel mailing list > > > > Bab...@li... > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > -- > > > David Glick > > > 619-475-4052 > > > dg...@co... > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > -- > David Glick > 619-475-4052 > dg...@co... > |
|
From: David G. <dg...@co...> - 2003-08-04 13:10:32
|
Thanks, Dejan (and welcome back!) I'd also like to suggest that, for me at least, one of the most difficult things to do is to figure out where initialization parameters are coming from, and whether they are correct. It would be very helpful to have a command line switch that would print out the path and contents of config files. Just a suggestion... :-) Thanks again for your help. I see that you've already made changes to CVS, so I'll pull them down and try it again. Best regards, David On Monday 04 August 2003 1:41 am, Dejan Krsmanovic wrote: > Obiviously, no workers (threads) is started. I guess the problem is using > -s argument. Probably not implemented in 1.1.5 version. Try to put > configuration in default (scanner), directory. I'll try to fix this bug as > soon as possible... Note that I have just returned from vacation ;) > > Dejan > > ----- Original Message ----- > From: "David Glick" <dg...@co...> > To: "Bruce McDonald" <br...@mc...>; > <bab...@li...> > Sent: Monday, August 04, 2003 6:23 AM > Subject: Re: [Babeldoc-devel] Current directory scanner broken? > > > Following the instructions in the scanner example, I created /tmp/in and > > /tmp/done. I copy the file stats.xml into /tmp/in. > > > > When I start the scanner under 1.1.5: > > > > dglick@athlon:/home/dglick/acct/cvs/babeldoc> build/bin/babeldoc > > scanner -s > > > build/examples/scanner/config.properties > > > > <2003-08-03 19:24:27,977> INFO [main] : Starting feeder... > > <2003-08-03 19:24:28,023> INFO [main] : Initializing workers: > > <2003-08-03 19:24:28,039> INFO [main] : Starting workers... > > > > Then it just sits forever until I kill it. > > > > Starting the scanner under 1.0.2: > > > > dglick@athlon:/home/dglick/bin/babeldoc1.0.2> build/bin/babeldoc > > scanner -s > > > build/examples/scanner/config.properties > > Scanner directory config = directory > > <2003-08-03 19:23:09,623> INFO [main] : Starting thread: directory... > > <2003-08-03 19:23:09,639> INFO [main] : Thread directory scanning > > <2003-08-03 19:23:19,662> INFO [directory] : Scanner directory found 1 > > messages > > <2003-08-03 19:23:19,731> INFO [directory] : Processing 1 of total 1 > > messages > > <2003-08-03 19:23:19,857> INFO [directory] : Allocate ticket > > 1059963799837 > > > for message stats.xml > > <2003-08-03 19:23:19,961> INFO [directory] : PipelineStage name: entry > > <2003-08-03 19:23:20,087> INFO [directory] : PipelineStage name: > > transform > > > <2003-08-03 19:23:21,121> INFO [directory] : PipelineStage name: choose > > <2003-08-03 19:23:21,137> INFO [directory] : PipelineStage name: writer > > > > I'm using JDK 1.4.1_01 under Suse Linux 8.1. > > > > > > Thanks for any help, > > > > David > > > > On Sunday 03 August 2003 8:18 pm, Bruce McDonald wrote: > > > David, all: > > > > > > Plenty has changed - in fact the entire scanner codebase has changed. > > > I have used the directory scanner recently and it seems to work fine. > > What > > > > are you seeing? > > > > > > regards, > > > Bruce. > > > > > > On Sunday 03 August 2003 10:31 pm, David Glick wrote: > > > > Hi List, > > > > > > > > I have been running the directory scanner regularly using the 1.0.2 > > > > release. I've recently switched to the current CVS release > > > > (1.1.5-dev) and the directory scanner appears to not be well. I've > > > > gone back and tried the examples, and the scanner example works fine > > > > in 1.0.2, but > > not > > > > > in 1.1.5. Has something changed? > > > > > > > > > > > > Thanks, > > > > > > > > David Glick > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > -- > > David Glick > > 619-475-4052 > > dg...@co... > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick 619-475-4052 dg...@co... |
|
From: Bruce M. <br...@mc...> - 2003-08-04 12:55:16
|
No, The license on this library is basically public domain - except where the author has modified the Sun classes, then the license is the same as the JDK. PS. Welcome back dejan! Bruce. On Monday 04 August 2003 04:17 am, Dejan Krsmanovic wrote: > Is there any licence issues with this library? > Dejan > > ----- Original Message ----- > From: "McDonald, Bruce" <Bru...@ba...> > To: "Ken Geis" <kg...@ga...>; > <bab...@li...> > Sent: Thursday, July 31, 2003 5:14 PM > Subject: RE: [Babeldoc-devel] Re: Babeldoc-devel digest, Vol 1 #156 - 2 > msgs > > > Ok, Thanks > > > > This does look good. I propose that we move to this library for all our > > synchonization needs. What do you all say to this? > > > regards, > > Bruce. > > > > -----Original Message----- > > From: Ken Geis [mailto:kg...@ga...] > > Sent: Thursday, July 31, 2003 2:28 AM > > To: bab...@li... > > Subject: [Babeldoc-devel] Re: Babeldoc-devel digest, Vol 1 #156 - 2 msgs > > > > > > From the page: > > > > PooledExecutor > > A tunable, extensible thread pool class > > > > Last year, I looked at Commons Threadpool and went with util.concurrent > > to do what I needed. > > > > bab...@li... wrote: > > > From: Bruce McDonald <br...@mc...> > > > Subject: Re: [Babeldoc-devel] Commons sandbox components > > > > > > Ken, > > > > > > I have looked at this in the past (this even used to be part of the > > babeldoc > > > > distribution in the pre-1.0 days). There are some very usefull classes > > in > > > > here. I don't however see a thread pool implementation. It looks like > > it > > > > will be easy to fashion one out of the multiplicity of classes in that > > > package, but, time is not on my side here... > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: <de...@us...> - 2003-08-04 12:46:09
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker In directory sc8-pr-cvs1:/tmp/cvs-serv26095/modules/scanner/src/com/babeldoc/scanner/worker Modified Files: DirectoryScanner.java Log Message: Fixing bug with s argument Index: DirectoryScanner.java =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/worker/DirectoryScanner.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** DirectoryScanner.java 27 Jun 2003 14:00:14 -0000 1.14 --- DirectoryScanner.java 4 Aug 2003 12:46:06 -0000 1.15 *************** *** 66,69 **** --- 66,78 ---- package com.babeldoc.scanner.worker; + import java.io.ByteArrayOutputStream; + import java.io.File; + import java.io.FileFilter; + import java.io.FileInputStream; + import java.util.ArrayList; + import java.util.Collection; + import java.util.Date; + import java.util.HashMap; + import com.babeldoc.core.I18n; import com.babeldoc.core.LogService; *************** *** 72,93 **** import com.babeldoc.core.option.IConfigOptionType; import com.babeldoc.core.pipeline.PipelineDocument; - import com.babeldoc.core.pipeline.feeder.FeedDocument; - import com.babeldoc.scanner.IScanDocuments; - import com.babeldoc.scanner.ScanDocument; import com.babeldoc.scanner.ScannerConfigurationException; import com.babeldoc.scanner.ScannerException; import com.babeldoc.scanner.ScannerWorker; import com.babeldoc.scanner.ScannerWorkerInfo; - - import java.io.ByteArrayOutputStream; - import java.io.File; - import java.io.FileFilter; - import java.io.FileInputStream; - - import java.util.ArrayList; - import java.util.Collection; - import java.util.Date; - import java.util.HashMap; --- 81,89 ---- |
|
From: <de...@us...> - 2003-08-04 12:46:09
|
Update of /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner
In directory sc8-pr-cvs1:/tmp/cvs-serv26095/modules/scanner/src/com/babeldoc/scanner
Modified Files:
Scanner.java ScannerFactory.java
Log Message:
Fixing bug with s argument
Index: Scanner.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/Scanner.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** Scanner.java 30 Jun 2003 22:16:42 -0000 1.20
--- Scanner.java 4 Aug 2003 12:46:06 -0000 1.21
***************
*** 98,101 ****
--- 98,102 ----
public static final String SCANNER_FEEDER = "scanner";
+ public String scannerConfig;
/**
***************
*** 126,131 ****
* @param commandLine DOCUMENT ME!
*/
! public void execute(CommandLine commandLine) {
super.execute(commandLine);
try {
--- 127,135 ----
* @param commandLine DOCUMENT ME!
*/
! public void execute(CommandLine commandLine) {
super.execute(commandLine);
+ if (commandLine.hasOption('s')) {
+ scannerConfig = commandLine.getOptionValue('s');
+ }
try {
***************
*** 167,173 ****
/**
! * TODO: DOCUMENT ME!
*
! * @return DOCUMENT ME!
*/
public ScannerWorkerVO[] listWorkers() {
--- 171,177 ----
/**
! * List all workers in scanner
*
! * @return Array of scanner workers
*/
public ScannerWorkerVO[] listWorkers() {
***************
*** 209,213 ****
*/
public void start() throws ScannerException {
! factory = ScannerFactory.getInstance();
log.logInfo("Starting feeder...");
--- 213,217 ----
*/
public void start() throws ScannerException {
! factory = ScannerFactory.getInstance(scannerConfig);
log.logInfo("Starting feeder...");
Index: ScannerFactory.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/scanner/src/com/babeldoc/scanner/ScannerFactory.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** ScannerFactory.java 30 Jun 2003 22:16:42 -0000 1.7
--- ScannerFactory.java 4 Aug 2003 12:46:06 -0000 1.8
***************
*** 123,126 ****
--- 123,129 ----
*/
public static ScannerFactory getInstance(String scannerConfigName) {
+ if (scannerConfigName == null || scannerConfigName.equals("")) {
+ scannerConfigName = DEFAULT_SCANNER_CONFIGURATION;
+ }
ScannerFactory factory = (ScannerFactory) factories.get(scannerConfigName);
|
|
From: <de...@us...> - 2003-08-04 09:45:00
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/lib In directory sc8-pr-cvs1:/tmp/cvs-serv31225/modules/core/lib Modified Files: csv19.jar Log Message: Changing to binary Index: csv19.jar =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/modules/core/lib/csv19.jar,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 |
|
From: Dejan K. <dej...@nb...> - 2003-08-04 08:43:48
|
Obiviously, no workers (threads) is started. I guess the problem is using -s argument. Probably not implemented in 1.1.5 version. Try to put configuration in default (scanner), directory. I'll try to fix this bug as soon as possible... Note that I have just returned from vacation ;) Dejan ----- Original Message ----- From: "David Glick" <dg...@co...> To: "Bruce McDonald" <br...@mc...>; <bab...@li...> Sent: Monday, August 04, 2003 6:23 AM Subject: Re: [Babeldoc-devel] Current directory scanner broken? > Following the instructions in the scanner example, I created /tmp/in and > /tmp/done. I copy the file stats.xml into /tmp/in. > > When I start the scanner under 1.1.5: > > dglick@athlon:/home/dglick/acct/cvs/babeldoc> build/bin/babeldoc scanner -s > build/examples/scanner/config.properties > > <2003-08-03 19:24:27,977> INFO [main] : Starting feeder... > <2003-08-03 19:24:28,023> INFO [main] : Initializing workers: > <2003-08-03 19:24:28,039> INFO [main] : Starting workers... > > Then it just sits forever until I kill it. > > Starting the scanner under 1.0.2: > > dglick@athlon:/home/dglick/bin/babeldoc1.0.2> build/bin/babeldoc scanner -s > build/examples/scanner/config.properties > Scanner directory config = directory > <2003-08-03 19:23:09,623> INFO [main] : Starting thread: directory... > <2003-08-03 19:23:09,639> INFO [main] : Thread directory scanning > <2003-08-03 19:23:19,662> INFO [directory] : Scanner directory found 1 > messages > <2003-08-03 19:23:19,731> INFO [directory] : Processing 1 of total 1 > messages > <2003-08-03 19:23:19,857> INFO [directory] : Allocate ticket 1059963799837 > for message stats.xml > <2003-08-03 19:23:19,961> INFO [directory] : PipelineStage name: entry > <2003-08-03 19:23:20,087> INFO [directory] : PipelineStage name: transform > <2003-08-03 19:23:21,121> INFO [directory] : PipelineStage name: choose > <2003-08-03 19:23:21,137> INFO [directory] : PipelineStage name: writer > > I'm using JDK 1.4.1_01 under Suse Linux 8.1. > > > Thanks for any help, > > David > > > On Sunday 03 August 2003 8:18 pm, Bruce McDonald wrote: > > David, all: > > > > Plenty has changed - in fact the entire scanner codebase has changed. I > > have used the directory scanner recently and it seems to work fine. What > > are you seeing? > > > > regards, > > Bruce. > > > > On Sunday 03 August 2003 10:31 pm, David Glick wrote: > > > Hi List, > > > > > > I have been running the directory scanner regularly using the 1.0.2 > > > release. I've recently switched to the current CVS release (1.1.5-dev) > > > and the directory scanner appears to not be well. I've gone back and > > > tried the examples, and the scanner example works fine in 1.0.2, but not > > > in 1.1.5. Has something changed? > > > > > > > > > Thanks, > > > > > > David Glick > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > -- > David Glick > 619-475-4052 > dg...@co... > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Dejan K. <dej...@nb...> - 2003-08-04 08:19:26
|
Is there any licence issues with this library? Dejan ----- Original Message ----- From: "McDonald, Bruce" <Bru...@ba...> To: "Ken Geis" <kg...@ga...>; <bab...@li...> Sent: Thursday, July 31, 2003 5:14 PM Subject: RE: [Babeldoc-devel] Re: Babeldoc-devel digest, Vol 1 #156 - 2 msgs > Ok, Thanks > > This does look good. I propose that we move to this library for all our synchonization needs. What do you all say to this? > > regards, > Bruce. > > -----Original Message----- > From: Ken Geis [mailto:kg...@ga...] > Sent: Thursday, July 31, 2003 2:28 AM > To: bab...@li... > Subject: [Babeldoc-devel] Re: Babeldoc-devel digest, Vol 1 #156 - 2 msgs > > > From the page: > > PooledExecutor > A tunable, extensible thread pool class > > Last year, I looked at Commons Threadpool and went with util.concurrent > to do what I needed. > > bab...@li... wrote: > > From: Bruce McDonald <br...@mc...> > > Subject: Re: [Babeldoc-devel] Commons sandbox components > > > > Ken, > > > > I have looked at this in the past (this even used to be part of the babeldoc > > distribution in the pre-1.0 days). There are some very usefull classes in > > here. I don't however see a thread pool implementation. It looks like it > > will be easy to fashion one out of the multiplicity of classes in that > > package, but, time is not on my side here... > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: David G. <dg...@co...> - 2003-08-04 04:12:51
|
Following the instructions in the scanner example, I created /tmp/in and /tmp/done. I copy the file stats.xml into /tmp/in. When I start the scanner under 1.1.5: dglick@athlon:/home/dglick/acct/cvs/babeldoc> build/bin/babeldoc scanner -s build/examples/scanner/config.properties <2003-08-03 19:24:27,977> INFO [main] : Starting feeder... <2003-08-03 19:24:28,023> INFO [main] : Initializing workers: <2003-08-03 19:24:28,039> INFO [main] : Starting workers... Then it just sits forever until I kill it. Starting the scanner under 1.0.2: dglick@athlon:/home/dglick/bin/babeldoc1.0.2> build/bin/babeldoc scanner -s build/examples/scanner/config.properties Scanner directory config = directory <2003-08-03 19:23:09,623> INFO [main] : Starting thread: directory... <2003-08-03 19:23:09,639> INFO [main] : Thread directory scanning <2003-08-03 19:23:19,662> INFO [directory] : Scanner directory found 1 messages <2003-08-03 19:23:19,731> INFO [directory] : Processing 1 of total 1 messages <2003-08-03 19:23:19,857> INFO [directory] : Allocate ticket 1059963799837 for message stats.xml <2003-08-03 19:23:19,961> INFO [directory] : PipelineStage name: entry <2003-08-03 19:23:20,087> INFO [directory] : PipelineStage name: transform <2003-08-03 19:23:21,121> INFO [directory] : PipelineStage name: choose <2003-08-03 19:23:21,137> INFO [directory] : PipelineStage name: writer I'm using JDK 1.4.1_01 under Suse Linux 8.1. Thanks for any help, David On Sunday 03 August 2003 8:18 pm, Bruce McDonald wrote: > David, all: > > Plenty has changed - in fact the entire scanner codebase has changed. I > have used the directory scanner recently and it seems to work fine. What > are you seeing? > > regards, > Bruce. > > On Sunday 03 August 2003 10:31 pm, David Glick wrote: > > Hi List, > > > > I have been running the directory scanner regularly using the 1.0.2 > > release. I've recently switched to the current CVS release (1.1.5-dev) > > and the directory scanner appears to not be well. I've gone back and > > tried the examples, and the scanner example works fine in 1.0.2, but not > > in 1.1.5. Has something changed? > > > > > > Thanks, > > > > David Glick > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel -- David Glick 619-475-4052 dg...@co... |
|
From: Bruce M. <br...@mc...> - 2003-08-04 03:19:04
|
David, all: Plenty has changed - in fact the entire scanner codebase has changed. I have used the directory scanner recently and it seems to work fine. What are you seeing? regards, Bruce. On Sunday 03 August 2003 10:31 pm, David Glick wrote: > Hi List, > > I have been running the directory scanner regularly using the 1.0.2 > release. I've recently switched to the current CVS release (1.1.5-dev) and > the directory scanner appears to not be well. I've gone back and tried the > examples, and the scanner example works fine in 1.0.2, but not in 1.1.5. > Has something changed? > > > Thanks, > > David Glick |
|
From: David G. <dg...@co...> - 2003-08-04 02:20:57
|
Hi List, I have been running the directory scanner regularly using the 1.0.2 release. I've recently switched to the current CVS release (1.1.5-dev) and the directory scanner appears to not be well. I've gone back and tried the examples, and the scanner example works fine in 1.0.2, but not in 1.1.5. Has something changed? Thanks, David Glick -- David Glick Transmit Consulting, Inc 619-475-4052 dg...@tr... |
|
From: Dejan K. <dej...@ya...> - 2003-08-03 17:03:22
|
--- "Leech, Jonathan" <jl...@vi...> wrote: > Incidentally, I modified my pipeline configuration > from this: > XPathSplitter->XPathExtractor->SqlWriter > to this: > XslTransform->SqlWriter > and it really flies. So I used to split up the XML, > extract values from it, > then write each row to the database. Now I just > transform the XML into a > bunch of SQL statements and run them. Its much > faster and it might be a > good pattern in general. > > -Jonathan I did the same thing in pipeline configuration for one of projects I have been working on. In fact I wrote SqlWriter stage for that purpose. Since I had to manage few other problems I have introduced few properties that might be confusing at first. For example, you can define messages that should be returned in case of error instead of returning database error message. I guess you have noticed that you can control wether transaciton should be rolled back on first error or after all statements are executed. This was important for my project. You can also use batch statements altough I haven't noticed some improvements in my project when using batch statements with different batch sizes (I am using Oracle database). If you have some other ideas how to improve or simplify this class I would be glad to hear. Dejan __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
|
From: <tr...@us...> - 2003-08-01 02:41:30
|
Update of /cvsroot/babeldoc/babeldoc
In directory sc8-pr-cvs1:/tmp/cvs-serv10157
Modified Files:
Tag: branch_1_0
build.properties
Log Message:
Index: build.properties
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/build.properties,v
retrieving revision 1.8.2.2
retrieving revision 1.8.2.3
diff -C2 -d -r1.8.2.2 -r1.8.2.3
*** build.properties 28 Jun 2003 18:02:29 -0000 1.8.2.2
--- build.properties 1 Aug 2003 02:41:27 -0000 1.8.2.3
***************
*** 1,4 ****
src = ./src
! babeldoc_version = 1.0.2
config = ./config
modules = ./modules
--- 1,4 ----
src = ./src
! babeldoc_version = 1.0.3
config = ./config
modules = ./modules
|
|
From: <tr...@us...> - 2003-08-01 02:39:31
|
Update of /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline
In directory sc8-pr-cvs1:/tmp/cvs-serv9832
Modified Files:
Tag: branch_1_0
PipelineStage.java
Log Message:
Index: PipelineStage.java
===================================================================
RCS file: /cvsroot/babeldoc/babeldoc/modules/core/src/com/babeldoc/core/pipeline/PipelineStage.java,v
retrieving revision 1.9
retrieving revision 1.9.4.1
diff -C2 -d -r1.9 -r1.9.4.1
*** PipelineStage.java 9 May 2003 12:25:16 -0000 1.9
--- PipelineStage.java 1 Aug 2003 02:39:27 -0000 1.9.4.1
***************
*** 54,67 ****
implements IPipelineStage {
! /** constant: output document mime type */
! public final static String OUTPUT_TYPE = "outType";
! /** constant: intput document mime type */
! public final static String INPUT_TYPE = "inType";
/** constant: name of the document in this stage */
! public static final String DOCUMENT_NAME = "docName";
/** constant: should fail if an error occurs */
- public static final String FAIL_ON_ERROR = "failOnError";
- /** constant: should fail if an error occurs */
public static final String ERROR_STAGE = "errorStage";
/** constant: is stage ignored */
--- 54,67 ----
implements IPipelineStage {
! /** constant: output document mime type */
! public final static String OUTPUT_TYPE = "outType";
! /** constant: intput document mime type */
! public final static String INPUT_TYPE = "inType";
/** constant: name of the document in this stage */
! public static final String DOCUMENT_NAME = "docName";
! /** constant: should fail if an error occurs */
! public static final String FAIL_ON_ERROR = "failOnError";
/** constant: should fail if an error occurs */
public static final String ERROR_STAGE = "errorStage";
/** constant: is stage ignored */
***************
*** 175,179 ****
*
* @return journal
! * @throws com.babeldoc.core.pipeline.PipelineException
*/
public IJournal getJournal()
--- 175,179 ----
*
* @return journal
! * @throws PipelineException
*/
public IJournal getJournal()
***************
*** 256,260 ****
try {
String value = getMyConfiguration().get(key).getValue();
! return templatization ? templatize(this.getDocument(), this.getTicket(),value) : value;
} catch (Exception e) {
//getLog().logWarn("Error resolving " + this.getName() + "." + key);
--- 256,260 ----
try {
String value = getMyConfiguration().get(key).getValue();
! return templatization ? templatize(this.getDocument(), this.getTicket(), value) : value;
} catch (Exception e) {
//getLog().logWarn("Error resolving " + this.getName() + "." + key);
***************
*** 328,348 ****
public NameValuePair[] getOptionList(String[] keys, boolean templatization) {
NameValuePair[] nvpairs = null;
! PipelineStageConfig config = getMyConfiguration();
! for (int i = 0; i < keys.length; ++i) {
! config = config.get(keys[i]);
! }
!
! if (config != null) {
! ArrayList array = new ArrayList();
! for (Iterator configKeys = config.keys().iterator(); configKeys.hasNext();) {
! String name = (String) configKeys.next();
! String value = templatization ? templatize(this.getDocument(),
! this.getTicket(), config.get(name).getValue()) :
! config.get(name).getValue();
! array.add(new NameValuePair(name, value));
! }
! nvpairs = (NameValuePair[]) (array.toArray(new NameValuePair[0]));
}
return nvpairs;
}
--- 328,348 ----
public NameValuePair[] getOptionList(String[] keys, boolean templatization) {
NameValuePair[] nvpairs = null;
! PipelineStageConfig config = getMyConfiguration();
! for (int i = 0; i < keys.length; ++i) {
! config = config.get(keys[i]);
! }
! if (config != null) {
! ArrayList array = new ArrayList();
! for (Iterator configKeys = config.keys().iterator(); configKeys.hasNext();) {
! String name = (String) configKeys.next();
! String value = templatization ? templatize(this.getDocument(),
! this.getTicket(), config.get(name).getValue()) :
! config.get(name).getValue();
! array.add(new NameValuePair(name, value));
}
+
+ nvpairs = (NameValuePair[]) (array.toArray(new NameValuePair[0]));
+ }
return nvpairs;
}
***************
*** 352,356 ****
*
* @return
- * @throws com.babeldoc.core.pipeline.PipelineException
*/
protected PipelineStageConfig getMyConfiguration() {
--- 352,355 ----
***************
*** 366,371 ****
*/
public boolean hasOption(String key) {
! String name = this.getOptions(key);
! return name != null;
}
--- 365,370 ----
*/
public boolean hasOption(String key) {
! String name = this.getOptions(key);
! return name != null;
}
***************
*** 378,383 ****
*/
public boolean hasOption(String key, String subkey) {
! String name = this.getOptions(key, subkey);
! return name != null;
}
--- 377,382 ----
*/
public boolean hasOption(String key, String subkey) {
! String name = this.getOptions(key, subkey);
! return name != null;
}
***************
*** 489,495 ****
-
-
-
/**
* Update the status
--- 488,491 ----
***************
*** 509,567 ****
! /**
! * ProcessPipelineStage. This method gets called from the process method that calls the
! * the pipeline stage and handles the errors
! *
! * @param name
! * @param pstage
! * @return array
! * @throws PipelineException
! */
! public PipelineStageResult[] processStage()
! throws PipelineException {
! PipelineStageResult[] psResults = null;
! try {
! // If the stage is not ignored, process usually
! if (!this.isIgnored()) {
! //set name for this document if provided
! this.getDocument().setName(this.getOptions(DOCUMENT_NAME));
! //set mime-type
! this.getDocument().setMimeType(this.getOptions(INPUT_TYPE));
! psResults = this.process();
!
! //Set output type if given
! if (psResults != null) {
! String outputType = this.getOptions(OUTPUT_TYPE);
! for (int i = 0; i < psResults.length; i++) {
! psResults[i].document.setMimeType(outputType);
! }
! }
! this.updateJournalStatus(JournalStatus.SUCCESS);
! } else {
! //stage is ignored. Ignore it!
! this.processIgnored();
! this.updateJournalStatus(JournalStatus.IGNORED);
! }
! } catch (PipelineException pe) {
! // If an error gets caught - handle the error. if the handler returns a
! //false flag then get the process ignored to get the next stage etc.
! if (!this.getErrorHandler().handlePipelineStageError(this, pe)) {
! try {
! psResults = this.processOnError();
! } catch (PipelineException e) {
! // Throw the Exception that caused the problem, not the one that
! // resulted as due to processing the problem
! throw pe;
! }
! } else {
! // Throw the Exception that caused the problem.
! throw pe;
! }
! }
! return psResults;
! }
--- 505,560 ----
! /**
! * ProcessPipelineStage. This method gets called from the process method that calls the
! * the pipeline stage and handles the errors
! *
! * @return array
! * @throws PipelineException
! */
! public PipelineStageResult[] processStage()
! throws PipelineException {
! PipelineStageResult[] psResults = null;
! try {
! // If the stage is not ignored, process usually
! if (!this.isIgnored()) {
! //set name for this document if provided
! this.getDocument().setName(this.getOptions(DOCUMENT_NAME));
! //set mime-type
! this.getDocument().setMimeType(this.getOptions(INPUT_TYPE));
! psResults = this.process();
! //Set output type if given
! if (psResults != null) {
! String outputType = this.getOptions(OUTPUT_TYPE);
! for (int i = 0; i < psResults.length; i++) {
! psResults[i].document.setMimeType(outputType);
! }
! }
! this.updateJournalStatus(JournalStatus.SUCCESS);
! } else {
! //stage is ignored. Ignore it!
! psResults = this.processIgnored();
! this.updateJournalStatus(JournalStatus.IGNORED);
! }
! } catch (PipelineException pe) {
! // If an error gets caught - handle the error. if the handler returns a
! //false flag then get the process ignored to get the next stage etc.
! if (!this.getErrorHandler().handlePipelineStageError(this, pe)) {
! try {
! psResults = this.processOnError();
! } catch (PipelineException e) {
! // Throw the Exception that caused the problem, not the one that
! // resulted as due to processing the problem
! throw pe;
! }
! } else {
! // Throw the Exception that caused the problem.
! throw pe;
! }
! }
+ return psResults;
+ }
***************
*** 572,639 ****
* @return
*/
! private IPipelineStageErrorHandler getErrorHandler()
! throws PipelineException {
! String errorHandler = this.getOptions(ERROR_HANDLER);
! if (errorHandler != null ) {
! try {
! return (IPipelineStageErrorHandler)ServiceFactory.getService(errorHandler);
! } catch (ServiceException se){
! throw new PipelineException(se.getMessage(), se);
! }
! }
! return new DefaultPipelineStageErrorHandler();
! }
! /**
! * Should processing document in this pipeline stage be skipped
! *
! * @return true - skip processing
! */
! public boolean isIgnored() {
! if (hasOption(IGNORED)) {
! return "true".equalsIgnoreCase(this.getOptions(IGNORED));
! } else {
! return false;
! }
! }
! /**
! * Must this pipeline stage track its data object?
! *
! * @return true - track the document
! */
! public boolean isTracked() {
! if (hasOption(TRACKED)) {
! return "true".equalsIgnoreCase(this.getOptions(TRACKED));
! } else {
! return false;
! }
! }
! public abstract PipelineStageResult[] process() throws PipelineException;
! /**
! * Default error Handler this stage which is in error. The default processing
! * updates the journal with a fail flag. Logs an error and returns a true fatality
! * flag.
! *
! * @param stage
! * @param pe
! * @return fatality flag - stop the pipeline processing if true
! */
! public boolean handlePipelineStageError(IPipelineStage stage,
! PipelineException pe) {
! JournalStatus status = JournalStatus.FAIL;
! ((PipelineStage) stage).setAdditionalInfo(pe.toString());
! ((PipelineStage) stage).updateJournalStatus(status);
! //add message to document
! stage.getDocument().addMessage(pe.toString());
! boolean stop = ((PipelineStage) stage).getFailOnError();
! LogService.getInstance().logError(com.babeldoc.core.I18n.get("019009",
! stage.getName(),
! pe.toString()), null);
! return stop;
! }
}
--- 565,633 ----
* @return
*/
! private IPipelineStageErrorHandler getErrorHandler()
! throws PipelineException {
! String errorHandler = this.getOptions(ERROR_HANDLER);
! if (errorHandler != null) {
! try {
! return (IPipelineStageErrorHandler) ServiceFactory.getService(errorHandler);
! } catch (ServiceException se) {
! throw new PipelineException(se.getMessage(), se);
! }
! }
! return new DefaultPipelineStageErrorHandler();
! }
! /**
! * Should processing document in this pipeline stage be skipped
! *
! * @return true - skip processing
! */
! public boolean isIgnored() {
! if (hasOption(IGNORED)) {
! return "true".equalsIgnoreCase(this.getOptions(IGNORED));
! } else {
! return false;
! }
! }
! /**
! * Must this pipeline stage track its data object?
! *
! * @return true - track the document
! */
! public boolean isTracked() {
! if (hasOption(TRACKED)) {
! return "true".equalsIgnoreCase(this.getOptions(TRACKED));
! } else {
! return false;
! }
! }
! public abstract PipelineStageResult[] process() throws PipelineException;
! /**
! * Default error Handler this stage which is in error. The default processing
! * updates the journal with a fail flag. Logs an error and returns a true fatality
! * flag.
! *
! * @param stage
! * @param pe
! * @return fatality flag - stop the pipeline processing if true
! */
! public boolean handlePipelineStageError(IPipelineStage stage,
! PipelineException pe) {
! JournalStatus status = JournalStatus.FAIL;
! ((PipelineStage) stage).setAdditionalInfo(pe.toString());
! ((PipelineStage) stage).updateJournalStatus(status);
! //add message to document
! stage.getDocument().addMessage(pe.toString());
!
! boolean stop = ((PipelineStage) stage).getFailOnError();
! LogService.getInstance().logError(com.babeldoc.core.I18n.get("019009",
! stage.getName(),
! pe.toString()), null);
! return stop;
! }
}
|
|
From: Bruce M. <br...@mc...> - 2003-08-01 02:18:35
|
I have been thinking about this for some time now and no insights strike me... Can you debug (or put System.out.printlns) in the console servlet and try to figure out where the execution path is failing? regards, Bruce. On Thursday 31 July 2003 12:30 am, Bill Harrelson wrote: > I'm having what looks to me like a configuration problem: > > I'm using Babeldoc 1.0, tomcat 4.1.24. I'm doing this on my personal > machine for testing. > > The log entries for Tomcat are: > 2003-07-22 17:56:38 HostConfig[localhost]: Deploying web application > directory babeldoc-console > 2003-07-22 17:56:38 StandardHost[localhost]: Installing web application at > context path /babeldoc- > console from URL file:C:\jakarta-tomcat-4.1.24\webapps\babeldoc-console > 2003-07-22 17:56:38 WebappLoader[/babeldoc-console]: Deploying class > repositories to work > directory > C:\jakarta-tomcat-4.1.24\work\Standalone\localhost\babeldoc-console > 2003-07-22 17:56:38 StandardManager[/babeldoc-console]: Seeding random > number generator > class java.security.SecureRandom > 2003-07-22 17:56:38 StandardManager[/babeldoc-console]: Seeding of > random > number generator > has been completed > 2003-07-22 17:56:40 StandardWrapper[/babeldoc-console:default]: Loading > container servlet default > 2003-07-22 17:56:40 StandardWrapper[/babeldoc-console:invoker]: Loading > container servlet > invoker > 2003-07-22 17:58:49 StandardWrapper[/manager:HTMLManager]: Loading > container servlet > HTMLManager > 2003-07-22 17:58:49 HTMLManager: init: Associated with Deployer > 'localhost' > 2003-07-22 17:58:49 HTMLManager: init: Global resources are available > 2003-07-22 17:58:49 HTMLManager: list: Listing contexts for virtual host > 'localhost' > > > > Which all seem okay. There is also a velocity log indicating that > velocity has started successfully. > > When I reference the url: > http://localhost/babeldoc-console/servlet/Console the response returned > is: > > <html><body></body></html> > So, the servlet is serving, but I must have something wrong in the > configuration somewhere. > > When I reference localhost/babeldoc-console/index.html the response is: > > <html> > <head> > </head> > <frameset cols="100,*"> > <frame name="navigation" src="navigation.vm" noresize > frameborder=0> > <frame name="main" src="main.vm" noresize > frameborder=0> > </frameset> > <body></body> > </html> > > but the screen is blank. > > When i reference localhost/babeldoc-console/navigation.vm the response > is: > <html><body></body></html> > > When I reference localhost/babeldoc-console/main.vm the response is the > same. > > I am suspecting a velocity set-up problem, but don't know where to start > looking, as the web.xml file has the mapping: > <servlet-mapping> > <servlet-name>ConsoleServlet</servlet-name> > <url-pattern>*.vm</url-pattern> > </servlet-mapping> > > Which seems to indicate to me that the console servlet is processing the > velocity files. > > The web.xml file seems to reference a <init-param>: > <init-param> > <param-name>properties</param-name> > <param-value>/velocity.properties</param-value> > </init-param> > > I found this file in the babeldoc-console directory but all it has in it > is: file.resource.loader.path = . > runtime.log = velocity.log > > beyond that I'm searching... not sure what to look at next. > > Thanks for any help. > > Bill > > On 24 Jul 2003 at 11:57, McDonald, Bruce wrote: > > Bill, is there any logging that you can can find? > > > > What version of babeldoc and tomcat are you using? > > > > What is your url? > > > > regards, > > Bruce. > > > > PS. Please post through the mailing list. > > > > -----Original Message----- > > From: Bill Harrelson [mailto:Bil...@ac...] > > Sent: Wednesday, July 23, 2003 8:28 PM > > To: McDonald, Bruce > > Subject: Babeldoc console configuration. > > > > > > Bruce, > > > > I don't seem to be having much luck getting babeldoc to work under > > Tomcat, and I wondered if you could point me to any configuration > > information? > > > > I've read through the .bat file, and made what seem to be the > > appropriate modifications, and I get a log indicating that velocity > > has started, and the Tomcat manager says that the babeldoc-console > > servlet is started, but the console servlet just serves a blank page. > > > > Is there any documentation or tips anywhere on how to approach this? > > > > Thanks, > > > > Bill > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_ > > 01/01 _______________________________________________ Babeldoc- > > devel > > > mailing list Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: <tr...@us...> - 2003-08-01 01:49:33
|
Update of /cvsroot/babeldoc/babeldoc/readme In directory sc8-pr-cvs1:/tmp/cvs-serv2297 Modified Files: CHANGES Log Message: Update the ChangeLog - VERSION 1.1.5-DEV - Released. Index: CHANGES =================================================================== RCS file: /cvsroot/babeldoc/babeldoc/readme/CHANGES,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** CHANGES 17 Jul 2003 03:18:18 -0000 1.22 --- CHANGES 1 Aug 2003 01:49:30 -0000 1.23 *************** *** 1,2 **** --- 1,118 ---- + 2003-07-30 19:24 triphop + + * readme/userguide/chapter1.xml: Some small changes. + + 2003-07-30 19:17 triphop + + * build.properties, build.xml: Updated version number, updated the + distribution build targets. + + 2003-07-30 19:14 triphop + + * + modules/conversion/src/com/babeldoc/conversion/digester/DigesterConversionUnmarshaller.java: + Bad imports, etc fixed. + + 2003-07-30 18:48 triphop + + * modules/core/src/com/babeldoc/core/pipeline/: PipelineStage.java, + stage/DomifyPipelineStage.java: Fixed bug with ignored stages + stopping the pipeline processing and the missing DOM_KEY on the + DomifyPipelineStage + + 2003-07-28 17:34 stefan_krieger + + * modules/sql/src/com/babeldoc/sql/journal/GenericSqlJournal.java: + added synchronization in log. getNextStep and DB update must be a + single unit. + + 2003-07-25 09:21 triphop + + * modules/core/src/com/babeldoc/core/pipeline/stage/: + DomifyPipelineStage.java, EntityResolverDiskCache.java: [no log + message] + + 2003-07-24 19:51 triphop + + * modules/core/src/com/babeldoc/core/pipeline/stage/: + EntityResolverDiskCache.java, EntityResolverMemoryCache.java: Added + the apache license + + 2003-07-24 10:06 jonathan_leech + + * modules/core/src/com/babeldoc/core/pipeline/stage/: + DomifyPipelineStage.java, EntityResolverDiskCache.java, + EntityResolverMemoryCache.java, XpathSplitterPipelineStage.java: + added XML Entity Resolving (local dtd cache), preemptive DOM + caching of documents out of XpathSplitter. Changed DOM caching + implementation from document attribute to WeakHashMap in + DomifyPipelineStage, as the previous exposed a java serialization + bug when journaling large XML documents. + + 2003-07-19 11:32 triphop + + * modules/: + babelfish/src/com/babeldoc/babelfish/BabelfishTranslator.java, + conversion/lib/csv19.jar, core/lib/csv19.jar, + core/src/com/babeldoc/core/EnvironmentLoader.java, + core/src/com/babeldoc/core/TieredConfigurationHelper.java, + core/src/com/babeldoc/core/VelocityUtilityContext.java, + core/src/com/babeldoc/core/journal/command/JournalCommand.java, + core/src/com/babeldoc/core/journal/simple/SimpleJournal.java, + core/src/com/babeldoc/core/option/ConfigInfo.java, + core/src/com/babeldoc/core/pipeline/simple/SimplePipelineStageResolver.java, + core/src/com/babeldoc/core/user/UserResource.java, + sql/src/com/babeldoc/sql/user/SqlUserFactory.java: Removed + ostermiller utils from babeldoc + + 2003-07-19 09:16 triphop + + * modules/conversion/: config/service/query.properties, + lib/csv19.jar, src/com/babeldoc/conversion/ConversionClient.java, + src/com/babeldoc/conversion/ConversionException.java, + src/com/babeldoc/conversion/ConversionHelper.java, + src/com/babeldoc/conversion/ConversionUnmarshaller.java, + src/com/babeldoc/conversion/FieldData.java, + src/com/babeldoc/conversion/LineSegmentData.java, + src/com/babeldoc/conversion/excel/ExcelConversionClient.java, + src/com/babeldoc/conversion/excel/ExcelConverter.java, + src/com/babeldoc/conversion/flatfile/ConversionUnmarshaller.java, + src/com/babeldoc/conversion/flatfile/FieldData.java, + src/com/babeldoc/conversion/flatfile/FlatFileConversionClient.java, + src/com/babeldoc/conversion/flatfile/FlatFileConverter.java, + src/com/babeldoc/conversion/flatfile/LineSegmentData.java, + src/com/babeldoc/conversion/flatfile/digester/Conversion.java, + src/com/babeldoc/conversion/flatfile/digester/DigesterConversionUnmarshaller.java, + src/com/babeldoc/conversion/flatfile/digester/Field.java, + src/com/babeldoc/conversion/flatfile/digester/Header.java, + src/com/babeldoc/conversion/flatfile/digester/InputDocument.java, + src/com/babeldoc/conversion/flatfile/digester/LineSegment.java, + src/com/babeldoc/conversion/flatfile/digester/OutputDocument.java, + src/com/babeldoc/conversion/pipeline/stage/FlatToXmlPipelineStage.java, + src/com/babeldoc/conversion/pipeline/stage/XlsToXmlPipelineStage.java: + Lots of rearrangement of the conversion module - now using dom4j in + the flatfile code - moved packages around. + + 2003-07-18 07:54 dejank + + * + modules/conversion/src/com/babeldoc/conversion/pipeline/stage/XlsToXmlPipelineStage.java: + Fixed some bugs. Removed some unnecessery stuff + + 2003-07-17 10:49 dejank + + * modules/conversion/: build.xml, config/service/query.properties, + lib/poi.jar: Excel files to XML conversion pipeline stage + + 2003-07-17 10:45 dejank + + * + modules/conversion/src/com/babeldoc/conversion/pipeline/stage/XlsToXmlPipelineStage.java: + Excel files to XML conversion pipeline stage + + 2003-07-16 23:18 triphop + + * readme/CHANGES: update the change log + 2003-07-16 20:22 triphop |
|
From: McDonald, B. <Bru...@ba...> - 2003-07-31 22:49:36
|
Ken, Dejan is out for the week (or is that two weeks). What code are you referring to in particular? Bruce. -----Original Message----- From: Ken Geis [mailto:kg...@ga...] Sent: Thursday, July 31, 2003 5:24 PM To: bab...@li... Subject: [Babeldoc-devel] 1.1 scanner config I assume this question is for Dejan. Is there some reason you don't use the ConfigService to do configuration in the new Scanner? Ken ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Babeldoc-devel mailing list Bab...@li... https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |
|
From: Ken G. <kg...@ga...> - 2003-07-31 21:53:39
|
My mistake. A confusion in my local build environment made me think that. Differences between our local copy versus 1.1, with respect to commons-discovery for ConfigService lookup. McDonald, Bruce wrote: > Ken, > > Dejan is out for the week (or is that two weeks). What code are you referring to in particular? > > Bruce. > > -----Original Message----- > From: Ken Geis [mailto:kg...@ga...] > Sent: Thursday, July 31, 2003 5:24 PM > To: bab...@li... > Subject: [Babeldoc-devel] 1.1 scanner config > > > I assume this question is for Dejan. > > Is there some reason you don't use the ConfigService to do configuration > in the new Scanner? > > > Ken |
|
From: Ken G. <kg...@ga...> - 2003-07-31 21:30:16
|
I assume this question is for Dejan. Is there some reason you don't use the ConfigService to do configuration in the new Scanner? Ken |