|
From: Bruce M. <br...@mc...> - 2003-04-15 13:35:59
|
Yes - both are needed. The scandir helps babeldoc find its modules dynamically when running in a web container. On Tuesday 15 April 2003 07:18 am, Hans Benedict wrote: > Ok, I think I found it: Adding babeldoc.home and babeldoc.scandir to > tomcat's system properties did the job. Is this the only way to do this? > > Hans > > On Tue, 15 Apr 2003, Hans Benedict wrote: > > On Tue, 15 Apr 2003, Dejan Krsmanovic wrote: > > > I am not sure if I can help you since I haven't used it. Have you > > > checked if jar files contains necessery config properites? I mean the > > > jar files inside war... > > > > There aren't any in the war that build.sh creates: > > >jar tf build/lib/babeldoc_soapfeed.war > > > > META-INF/ > > META-INF/MANIFEST.MF > > WEB-INF/ > > WEB-INF/com/ > > WEB-INF/com/babeldoc/ > > WEB-INF/com/babeldoc/soap/ > > WEB-INF/com/babeldoc/soap/pipeline/ > > WEB-INF/com/babeldoc/soap/pipeline/util/ > > WEB-INF/com/babeldoc/soap/pipeline/command/ > > WEB-INF/com/babeldoc/soap/pipeline/servlet/ > > WEB-INF/com/babeldoc/soap/pipeline/stage/ > > WEB-INF/web.xml > > WEB-INF/com/babeldoc/soap/pipeline/util/SoapHelper.class > > WEB-INF/com/babeldoc/soap/pipeline/command/SoapPipelineFeeder.class > > WEB-INF/com/babeldoc/soap/pipeline/servlet/SoapPipelineFeeder.class > > WEB-INF/com/babeldoc/soap/pipeline/stage/SoapWriterPipelineStage.class > > WEB-INF/com/babeldoc/soap/pipeline/stage/SoapWriterPipelineStage$1.class > > > > But anyway I repacked everything into a directory, because tomcat seems > > to expect the classes in WEB-INF/classes/... and the libraries in > > WEB-INF/lib. > > > > So I now have: > > > > WEB-INF/ > > WEB-INF/classes > > WEB-INF/classes/service > > WEB-INF/classes/service/query.properties > > WEB-INF/classes/i18n > > WEB-INF/classes/i18n/messages.properties > > WEB-INF/classes/com > > WEB-INF/classes/com/babeldoc > > WEB-INF/classes/com/babeldoc/soap > > WEB-INF/classes/com/babeldoc/soap/pipeline > > WEB-INF/classes/com/babeldoc/soap/pipeline/util > > WEB-INF/classes/com/babeldoc/soap/pipeline/util/SoapHelper.class > > WEB-INF/classes/com/babeldoc/soap/pipeline/stage > > WEB-INF/classes/com/babeldoc/soap/pipeline/stage/SoapWriterPipelineStage. > >class > > WEB-INF/classes/com/babeldoc/soap/pipeline/stage/SoapWriterPipelineStage$ > >1.class WEB-INF/classes/com/babeldoc/soap/pipeline/servlet > > WEB-INF/classes/com/babeldoc/soap/pipeline/servlet/SoapPipelineFeeder.cla > >ss WEB-INF/classes/com/babeldoc/soap/pipeline/command > > WEB-INF/classes/com/babeldoc/soap/pipeline/command/SoapPipelineFeeder.cla > >ss WEB-INF/lib > > WEB-INF/lib/dom4j.jar > > WEB-INF/lib/jaxm-api.jar > > WEB-INF/lib/jaxm-runtime.jar > > WEB-INF/lib/saaj-api.jar > > WEB-INF/lib/saaj-ri.jar > > WEB-INF/lib/JTidy.jar > > WEB-INF/lib/activation.jar > > WEB-INF/lib/avalon-framework.jar > > WEB-INF/lib/babeldoc-scanner.jar > > WEB-INF/lib/babeldoc_babelfish.jar > > WEB-INF/lib/babeldoc_conversion.jar > > WEB-INF/lib/babeldoc_core.jar > > WEB-INF/lib/babeldoc_crypto.jar > > WEB-INF/lib/babeldoc_gui.jar > > WEB-INF/lib/babeldoc_soap.jar > > WEB-INF/lib/babeldoc_sql.jar > > WEB-INF/lib/babeldoc_web.jar > > WEB-INF/lib/batik.jar > > WEB-INF/lib/bsf.jar > > WEB-INF/lib/classes12.jar > > WEB-INF/lib/commons-beanutils.jar > > WEB-INF/lib/commons-cli.jar > > WEB-INF/lib/commons-collections.jar > > WEB-INF/lib/commons-dbcp.jar > > WEB-INF/lib/commons-digester.jar > > WEB-INF/lib/commons-lang.jar > > WEB-INF/lib/commons-logging.jar > > WEB-INF/lib/commons-net-1.0.0-dev.jar > > WEB-INF/lib/commons-pool.jar > > WEB-INF/lib/fop.jar > > WEB-INF/lib/js.jar > > WEB-INF/lib/junit.jar > > WEB-INF/lib/log4j.jar > > WEB-INF/lib/mail.jar > > WEB-INF/lib/mm.mysql-2.0.14-bin.jar > > WEB-INF/lib/ostermiller-utils.jar > > WEB-INF/lib/servlet.jar > > WEB-INF/lib/velocity.jar > > WEB-INF/lib/xalan.jar > > WEB-INF/lib/xerces.jar > > WEB-INF/lib/xml-apis.jar > > WEB-INF/lib/xmlsec.jar > > > > And babeldoc_core.jar contains besides the classes: > > > > journal/config.properties > > journal/simple/config.properties > > user/factory.properties > > user/resource-factory.properties > > pipeline/config.properties > > pipeline/xml/pipeline-defn.xml > > pipeline/simple/documentation.properties > > pipeline/simple/test.properties > > pipeline/compiler.properties > > i18n/messages_es.properties > > i18n/messages_fr.properties > > i18n/messages_de.properties > > i18n/messages.properties > > i18n/messages_sr.properties > > i18n/messages_it.properties > > i18n/messages_zu.properties > > service/query.properties > > scripts/attrcheck.js > > scripts/attrdefault.js > > env/config.properties > > env/build.properties > > test/quickstart/stats-html.xsl > > test/quickstart/stats.xml > > mime/mappings.properties > > VM_global_library.vm > > log/config.properties > > log4j.properties > > > > > What is the error you get? > > > > I get a JournalException because JournalFactory.getJournal() returns > > null. I assume that the merge of the property files fails, because it > > doesn't find those in the jar files. But it finds the classes - why not > > the property files? Do I have to set a path for that somewhere? > > > > > P.S. Have you created babeledoc_v1 module on CVS? ;-) > > > > Ooops - I told you, I would break the repository! :-( > > My fingers allways keep stumbling over the spelling of babel - propably > > because it sounds like table... And obviously my IDE (just started using > > eclipse) thought it had to create that module, if it isn't there... > > I am sorry! Can we remove this? > > > > Hans > > > > > ----- Original Message ----- > > > From: "Hans Benedict" <ben...@ch...> > > > To: <bab...@li...> > > > Sent: Tuesday, April 15, 2003 12:01 PM > > > Subject: Re: [Babeldoc-devel] deploy task > > > > > > > Sorry guys, > > > > > > > > I am still to stupid to get that servlet running correctly, because > > > > allthough it has all the jar files it does not find the config > > > > property files like service/query... or i18n/.... > > > > > > > > Could anybody give me a hint how to deploy babeldoc servlets to > > > > tomcat correctly? > > > > > > > > Hans > > > > > > > > On Fri, 11 Apr 2003, Bruce McDonald wrote: > > > > > On Friday 11 April 2003 12:08 pm, Hans Benedict wrote: > > > > > > I would like to test my port of the SoapPipelineFeeder servlet. > > > > > > Is there a way to get the deploy task in the build files to do > > > > > > anything besides echoing, or do I have to do this myself? > > > > > > > > > > > > Regards, > > > > > > Hans > > > > > > > > > > Correct - you add the code for deploy to the build.xml > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.net email is sponsored by: Etnus, makers of TotalView, > > > > > > The > > > > > > debugger > > > > > > > > > for complex code. Debugging C/C++ programs can leave you feeling > > > > > > lost > > > > > > and > > > > > > > > > disoriented. TotalView can help you find your way. Available on > > > > > > major > > > > > > UNIX > > > > > > > > > and Linux platforms. Try it free. www.etnus.com > > > > > > _______________________________________________ > > > > > > Babeldoc-devel mailing list > > > > > > Bab...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Babeldoc-devel mailing list > > > > Bab...@li... > > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Babeldoc-devel mailing list > > > Bab...@li... > > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Babeldoc-devel mailing list > > Bab...@li... > > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Babeldoc-devel mailing list > Bab...@li... > https://lists.sourceforge.net/lists/listinfo/babeldoc-devel |