cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sven Kitschke <ki...@web.de>
Subject [FEEDBACK] Cocoon 2.0.3
Date Sun, 14 Jul 2002 13:56:06 GMT
Hi Developers,
cause the form doesn't work with Netscape 6, my feedback in this form.

OS(?): Win98,
JDK: Sun 1.3.1_02,
Servlet Engine: Tomcat 4.0.4,
Summary: Testing search demo / caching under win98

Details: XSLT default, Compiler default

Testing the search demo:
------------------------
1.) Caching (Creating Index): I hope that's no showstopper, at least
for real OSs (I use Win98). Snippet from error.log:

ERROR   (2002-07-14) 13:26.23:590   [core.store.transient] 
(/cocoon/documents/plan/release.html) 
HttpProcessor[8080][3]/MRUMemoryStore: Error storing object on fs
java.io.FileNotFoundException: 
E:\Diplom\playground\jakarta-tomcat-4.0.4\work\Standalone\localhost\cocoon\cocoon-files\cache-dir\PCK%253ACCK%253A1-file-nolabel--6916410070770424317CCK%253A2-xslt-1963165167827819318CCK%253A2-xslt-814362926057190208CCK%253A2-xslt--8881233491641239340CCK%253A2-xslt--3313611440545716408

(Filename too long)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:62)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:132)
	at org.apache.cocoon.util.IOUtils.serializeObject(IOUtils.java:141)
	at 
org.apache.cocoon.components.store.FilesystemStore.store(FilesystemStore.java:228)
	at 
org.apache.cocoon.components.store.MRUMemoryStore.free(MRUMemoryStore.java:325)
	at 
org.apache.cocoon.components.store.MRUMemoryStore.hold(MRUMemoryStore.java:204)
	at 
org.apache.cocoon.components.store.MRUMemoryStore.store(MRUMemoryStore.java:184)
	at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:253)
	at 
org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:353)
	at 
org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:148)
	at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250)
[snip]

------------------------
2.) More or less cosmetical problem?:

***********
2a.) Searching (XSP): NPEs with the XSP search form with (not allowed) 
queries like: body:*
snippet from error.log:
ERROR   (2002-07-14) 14:07.09:310   [sitemap] (/cocoon/search/search) 
HttpProcessor[8080][1]/sitemap_xmap: Sitemap
org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.NullPointerException
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:270)
[snip]
java.lang.NullPointerException
	at 
org.apache.cocoon.www.search.search_index_xsp.generate(E:\Diplom\playground\jakarta-tomcat-4.0.4\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/search\search_index_xsp.java:1081)
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:258)
	at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250)
	at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399)
[snip]
java.lang.NullPointerException
	at 
org.apache.cocoon.www.search.search_index_xsp.generate(E:\Diplom\playground\jakarta-tomcat-4.0.4\work\Standalone\localhost\cocoon\cocoon-files\org/apache/cocoon/www/search\search_index_xsp.java:1081)
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:258)
	at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:250)
	at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399)
[snip]
java.lang.NullPointerException
[snip]
ERROR   (2002-07-14) 14:07.09:310   [sitemap] (/cocoon/search/search) 
HttpProcessor[8080][1]/sitemap_xmap: Sitemap
org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.NullPointerException
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:270)
[snip]
java.lang.NullPointerException
[snip]
java.lang.NullPointerException
[snip]
ERROR   (2002-07-14) 14:07.09:420   [access] (/cocoon/search/search) 
HttpProcessor[8080][1]/CocoonServlet: Problem with Cocoon servlet
org.apache.cocoon.ProcessingException: Exception in 
ServerPagesGenerator.generate(): java.lang.NullPointerException
	at 
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:270)
[snip]
java.lang.NullPointerException
[snip]
java.lang.NullPointerException

***********
2b.) Searching with Cocoon SearchGenerator (QueryString body:*): I get a 
ParseException.
snippet from error.log:
ERROR   (2002-07-14) 14:04.13:270   [core.manager] 
(/cocoon/search/findIt) HttpProcessor[8080][1]/sitemap_xmap: Sitemap
org.apache.cocoon.ProcessingException: Cannot parse query body:*: 
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at 
org.apache.cocoon.components.search.SimpleLuceneCocoonSearcherImpl.search(SimpleLuceneCocoonSearcherImpl.java:414)
	at 
org.apache.cocoon.generation.SearchGenerator.buildHits(SearchGenerator.java:795)
	at 
org.apache.cocoon.generation.SearchGenerator.generateResults(SearchGenerator.java:650)
	at 
org.apache.cocoon.generation.SearchGenerator.generate(SearchGenerator.java:578)
[snip]
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
	at 
org.apache.cocoon.components.search.SimpleLuceneCocoonSearcherImpl.search(SimpleLuceneCocoonSearcherImpl.java:404)
	at 
org.apache.cocoon.generation.SearchGenerator.buildHits(SearchGenerator.java:795)
[snip]
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
	at 
org.apache.cocoon.components.search.SimpleLuceneCocoonSearcherImpl.search(SimpleLuceneCocoonSearcherImpl.java:404)
	at 
org.apache.cocoon.generation.SearchGenerator.buildHits(SearchGenerator.java:795)
[snip]
ERROR   (2002-07-14) 14:04.13:380   [sitemap] (/cocoon/search/findIt) 
HttpProcessor[8080][1]/sitemap_xmap: Sitemap
org.apache.cocoon.ProcessingException: Cannot parse query body:*: 
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
[snip]
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
[snip]
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
[snip]
ERROR   (2002-07-14) 14:04.13:380   [access] (/cocoon/search/findIt) 
HttpProcessor[8080][1]/CocoonServlet: Problem with Cocoon servlet
org.apache.cocoon.ProcessingException: Cannot parse query body:*: 
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at 
org.apache.cocoon.components.search.SimpleLuceneCocoonSearcherImpl.search(SimpleLuceneCocoonSearcherImpl.java:414)
[snip]
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)
[snip]
org.apache.lucene.queryParser.ParseException: Lexical error at line 1, 
column 7.  Encountered: <EOF> after : ""
	at org.apache.lucene.queryParser.QueryParser.parse(Unknown Source)

------------------------
3.) Cosmetics: a lot of debug(?) messages in the console window from
SearchGenerator.

------------------------
4.) Cosmetics?: Replacing lucene-1.2rc2.jar with lucene-1.2.jar:
- queries like: lucen? are now evaluated right,
- indexing is slightly faster on my machine (near by statistical
noise):
  * 250sec against 255 (incl. creating cache files),
  * 148sec against 154 (cache always created).

HTH, Sven.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message