> From: Renzo Kottmann [mailto:[EMAIL PROTECTED]] > > Hello,
Renzo, > > > I want to run Cocoon 2.0.2 as a commandline tool. > > > > > > > > > 1. In which way do I have to write the 'URI- file'? > > > > One URL per line, I believe. > > > > May someone give me a detailed discription of the URL or URI (I just > don't know)? Because everytime I do this: If your page can be invoked from browser like: http://localhost:8080/cocoon/myapp/mypage Then in uris.txt you should have: myapp/mypage But not 'file:/......'. Vadim > java org.apache.cocoon.Main -w temp -f ~/cocoonstuff/uris.txt -C > webapp/WEB-INF/cocoon.xconf -d result -b brokenlinks -r > > I get something like that: > > > INFO 10237 [ ] (): Processing URI: > file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar > DEBUG 10237 [ ] (): > mangle("file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar") > DEBUG 10237 [ ] (): > file_/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar > DEBUG 10237 [ ] (): FileSavingEnvironment: uri = > file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar > DEBUG 10237 [ ] (): DEBUGGING INFORMATION: > REQUEST: file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar > > CONTEXT PATH: null > SERVLET PATH: file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar > PATH INFO: null > > REMOTE HOST: localhost > REMOTE ADDRESS: 127.0.0.1 > REMOTE USER: rkottman > REQUEST SESSION ID: null > REQUEST PREFERRED LOCALE: en > SERVER HOST: Apache Cocoon 2.0.2 > SERVER PORT: -1 > > METHOD: get > CONTENT LENGTH: -1 > PROTOCOL: cli > SCHEME: cli > AUTH TYPE: null > > CURRENT ACTIVE REQUESTS: 1 > REQUEST PARAMETERS: > > PARAM: 'accept' VALUES: '[text/html, */*]' > PARAM: 'user-agent' VALUES: '[Apache Cocoon 2.0.2]' > HEADER PARAMETERS: > > > SESSION ATTRIBUTES: > > > DEBUG 10237 [ ] (): Changing Cocoon context > DEBUG 10237 [ ] (): from > context(file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/./webapp/) and prefix() > DEBUG 10237 [ ] (): to context(sitemap.xmap) and prefix() > DEBUG 10237 [ ] (): at URI > file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar > DEBUG 10237 [ ] (): New context is > file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/ > DEBUG 10237 [manager ] (): Retrieving a > org.apache.cocoon.components.pipeline.CachingEventPipeline from the pool > DEBUG 10237 [manager ] (): Retrieving a > org.apache.cocoon.components.pipeline.CachingStreamPipeline from the pool > DEBUG 10237 [manager ] (): Recycling of CachingEventPipeline > DEBUG 10237 [manager ] (): Returning a > org.apache.cocoon.components.pipeline.CachingEventPipeline to the pool > DEBUG 10237 [manager ] (): Recycling of CachingStreamPipeline > DEBUG 10237 [manager ] (): Returning a > org.apache.cocoon.components.pipeline.CachingStreamPipeline to the pool > DEBUG 10237 [ ] (): Set the URI Prefix (OLD=, NEW=) > DEBUG 10237 [ ] (): Reset context to > file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/./webapp/ > WARN 10237 [ ] (): [broken link]--> > file:/amnt/eiche/volumes/pi04/pi/scratch/renzo/cocoon- > 2.0.2/build/cocoon/webapp/mount/test/glossar > > > And at stderr I get this: > > Cannot find CatalogManager.properties > Cannot find CatalogManager.properties > Cannot find CatalogManager.properties > Cannot find CatalogManager.properties > Cannot find CatalogManager.properties > > Is my problem related to wrong URIs/ URLs or to the > CatalogManager.properties? > > Thanks > > > -- > Renzo Kottmann > Student of Computer Science in the Natural and Cognitive Sciences --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>