From: Jonas G. <gr...@gm...> - 2004-10-06 19:59:16
|
Hi, After quite a bit of trial and error I've finally got TM4Web/Velocity sort of up and running. However, when I try to process a topic map i get the following error output: ant -f batch.xml -Dtopicmap=test.xtm topicmap Buildfile: batch.xml topicmap: [copy] Copying 1 file to C:\TEMP\tm4web\build\batch\temp [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could not locate properties file: factory.props [java] Cannot find CatalogManager.properties [java] Processing explicit mergeMap directives... [java] Merging referenced topic maps... [java] All external maps merged! [java] Making merged map consistent... [java] java.lang.StackOverflowError [java] Exception in thread "main" BUILD SUCCESSFUL Total time: 3 seconds Did I misunderstand something here? I've searched for a file named factory.props which, as anticipated, is not to be found anywhere. All references and paths to various jars should be in place. I should add that I'm running the binary package including the Velocity files (installed from file tm4web-velocity-bin-0.2rc1.zip) with version 0.9.6 (binary) of TM4J, that I have installed Apache Ant separately, and that I'm running Apache Tomcat as a part of the Ontopia Omnigator. I really hope I'm making some kind of obvious mistake.. - jonas. |
From: Kal A. <ka...@te...> - 2004-10-07 20:10:45
|
Hi Jonas, Actually I think that the stack overflow is probably not a problem with TM4Web but with TM4J. I found a couple of these issues with 0.9.6 which I have fixed for the 0.9.7 release (just uploaded to sourceforge in the last ten minutes!). TM4Web should work fine with this new version of the core library. Can you try replacing your TM4J 0.9.6 JARs with the TM4J 0.9.7 JARs and then rerun the process. If you still get a faliure, can you send me the XTM file that causes the problem so that I can track down where the stack overflow occurs ? As for the missing factory.props file, there isn't a default factory.props shipped with TM4Web, because all the default settings in the code are fine. Perhaps there should be a default factory.props to serve as a template for writing your own file. I'm going to log this as a bug to fix for the next TM4Web release. Cheers, Kal On Wed, 2004-10-06 at 20:58, Jonas Granlie wrote: > Hi, > > After quite a bit of trial and error I've finally got TM4Web/Velocity sort > of up and running. However, when I try to process a topic map i get the > following error output: > > ant -f batch.xml -Dtopicmap=test.xtm topicmap > Buildfile: batch.xml > > topicmap: > [copy] Copying 1 file to C:\TEMP\tm4web\build\batch\temp > [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could > not locate properties file: factory.props > [java] Cannot find CatalogManager.properties > [java] Processing explicit mergeMap directives... > [java] Merging referenced topic maps... > [java] All external maps merged! > [java] Making merged map consistent... > [java] java.lang.StackOverflowError > [java] Exception in thread "main" > > BUILD SUCCESSFUL > Total time: 3 seconds > > Did I misunderstand something here? I've searched for a file named > factory.props which, as anticipated, is not to be found anywhere. All > references and paths to various jars should be in place. > > I should add that I'm running the binary package including the Velocity > files (installed from file tm4web-velocity-bin-0.2rc1.zip) with version > 0.9.6 (binary) of TM4J, that I have installed Apache Ant separately, and > that I'm running Apache Tomcat as a part of the Ontopia Omnigator. > > I really hope I'm making some kind of obvious mistake.. > > - jonas. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Tm4j-users mailing list > Tm4...@li... > https://lists.sourceforge.net/lists/listinfo/tm4j-users -- Kal Ahmed <ka...@te...> techquila |
From: Jonas G. <gr...@gm...> - 2004-10-12 15:26:02
|
Hi Kal, I tried upgrading to 0.9.7, which sort of eliminitated the issue and raised a new one at the same time - the very same issue that Christoph Fr=F6hlich describes in his Oct. 11 post. But after having replaced my batch.xml with version 1.3 and added toolbox.xml as you describe, everything works perfectly. I'm very happy wit= h that. - jonas. On Thu, 07 Oct 2004 21:19:40 +0100, Kal Ahmed <ka...@te...> wrote: > Hi Jonas, >=20 > Actually I think that the stack overflow is probably not a problem with > TM4Web but with TM4J. I found a couple of these issues with 0.9.6 which > I have fixed for the 0.9.7 release (just uploaded to sourceforge in the > last ten minutes!). TM4Web should work fine with this new version of the > core library. Can you try replacing your TM4J 0.9.6 JARs with the TM4J > 0.9.7 JARs and then rerun the process. If you still get a faliure, can > you send me the XTM file that causes the problem so that I can track > down where the stack overflow occurs ? >=20 > As for the missing factory.props file, there isn't a default > factory.props shipped with TM4Web, because all the default settings in > the code are fine. Perhaps there should be a default factory.props to > serve as a template for writing your own file. I'm going to log this as > a bug to fix for the next TM4Web release. >=20 > Cheers, >=20 > Kal >=20 >=20 >=20 > On Wed, 2004-10-06 at 20:58, Jonas Granlie wrote: > > Hi, > > > > After quite a bit of trial and error I've finally got TM4Web/Velocity s= ort > > of up and running. However, when I try to process a topic map i get the > > following error output: > > > > ant -f batch.xml -Dtopicmap=3Dtest.xtm topicmap > > Buildfile: batch.xml > > > > topicmap: > > [copy] Copying 1 file to C:\TEMP\tm4web\build\batch\temp > > [java] 0 [main] WARN org.tm4j.vtl.factory.BaseFactory - Could > > not locate properties file: factory.props > > [java] Cannot find CatalogManager.properties > > [java] Processing explicit mergeMap directives... > > [java] Merging referenced topic maps... > > [java] All external maps merged! > > [java] Making merged map consistent... > > [java] java.lang.StackOverflowError > > [java] Exception in thread "main" > > > > BUILD SUCCESSFUL > > Total time: 3 seconds > > > > Did I misunderstand something here? I've searched for a file named > > factory.props which, as anticipated, is not to be found anywhere. All > > references and paths to various jars should be in place. > > > > I should add that I'm running the binary package including the Velocity > > files (installed from file tm4web-velocity-bin-0.2rc1.zip) with version > > 0.9.6 (binary) of TM4J, that I have installed Apache Ant separately, an= d > > that I'm running Apache Tomcat as a part of the Ontopia Omnigator. > > > > I really hope I'm making some kind of obvious mistake.. > > > > - jonas. > > > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJourna= l > > Use IT products in your business? Tell us what you think of them. Give = us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out = more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Tm4j-users mailing list > > Tm4...@li... > > https://lists.sourceforge.net/lists/listinfo/tm4j-users > -- > Kal Ahmed <ka...@te...> > techquila >=20 > |