Hi Matteo,
I gave it another try with tomcat and it worked now! What was missing was a
servlet and a filter. This guy
[url=http://viralpatel.net/blogs/tutorial-java-servlet-filter-example-using-eclipse-apache-tomcat/]here
[/url]explains it very well how to create it.
In the end you will have to copy the filter he explains in
[code]<tomcat>\webapps\<magnoliaInstanze>\WEB-INF\web.xml[/code] and also to
save the jar file you generated from the servlet class into
[code]tomcat>\webapps\<magnoliaInstanze>\WEB-INF\lib[/code].
And for the valve, this version works:
[code]<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="${magnolia.logs.home}"
prefix="queryStr" suffix=".log" rotatable="false" pattern="common"
conditionIf="This parameter is for testing."/>[/code]
this part: [quote]This parameter is for testing.[/quote] i wrote it the same as
the guy of link did, but you should replace this both in the filter and here at
the valve with a parameter like e.g. queryStrParameter. HTH someone else too!
But you gave me a great idea with the valve from the beginning, thanks a lot!
Cheers,
Soni
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=2a320e9b-3e9b-4e9f-acf9-088c65cd45c9
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------