REPOST: Queries in Cocoon 2.1.11 not working with AS protocol?

2009-09-14 Thread Derek Hohls
(From 2008-08-27 - I'm sure someone can check this error very easily?) I am in the process of porting my applications over from Windows to Linux as my development platform. I am now running Cocoon 2.1.11 and Mysql 5.0.67 (was 2.1.8 and 4.0.23) There is one issue I have encountered so far. When

RE: REPOST: Queries in Cocoon 2.1.11 not working with ASprotocol?

2009-09-14 Thread Robby Pelssers
Not sure if this is important to mention but whenever you port a cocoon application from windows to unix... you'll bound to see exceptions like * FileNotFoundException * table not Found exception All this due to casesensitivity on unix systems... If this is related to this problem I don't

RE: REPOST: Queries in Cocoon 2.1.11 not working with ASprotocol?

2009-09-14 Thread Derek Hohls
Thanks Robby; the production machine is running Linux and so I had assumed it was *not* a case-problem but more related to my Cocoon and/or MySQL upgrade - and obviously I do not want to upgrade the production server until its running locally... Robby Pelssers robby.pelss...@ciber.com 09/14/09

Re: Starting out with Cocoon 2.2

2009-09-14 Thread Derek Hohls
Personally, I would think that Cocoon 2.1 is the most well-developed and stable of the series. 2.0 is really out-of-date. 2.2 might be worth tackling if you're prepared to learn the associated frameworks such as Spring and Hibernate, plus be prepared to do Java coding; but, as many others have

RE: REPOST: Queries in Cocoon 2.1.11 not working withASprotocol?

2009-09-14 Thread Robby Pelssers
Only last week I ran into such an issue where my app was running flawlessly on my development environment but when I deployed it to the QA environment I got following exception: Cannot create handle for transformer SomeTransformer.xslt ... This was due to the fact that my file had two capital

Re: Restricting access by IP address

2009-09-14 Thread Peter Flynn
Thomas Markus wrote: hi, look at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#access or use a matcher/selector in your sitemap map:select type=parameter map:parameter name=parameter-selector-test value={request:remoteAddr} / map:when test=127.0.0.1 !-- actions for this

Re: Starting out with Cocoon 2.2

2009-09-14 Thread David Beasley
Thanks for all the further suggestions. I'll use Coccon 2.1. (I dont know anything about Spring/Maven/Hibernate) Derek Hohls wrote: Personally, I would think that Cocoon 2.1 is the most well-developed and stable of the series. 2.0 is really out-of-date. 2.2 might be worth tackling if you're

Re: Restricting access by IP address

2009-09-14 Thread Peter Flynn
Peter Flynn wrote: Thomas Markus wrote: hi, look at http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#access or use a matcher/selector in your sitemap map:select type=parameter map:parameter name=parameter-selector-test value={request:remoteAddr} / map:when test=127.0.0.1

RE: REPOST: Queries in Cocoon 2.1.11 not working withASprotocol?

2009-09-14 Thread Derek Hohls
Robby I understand. But, as I said before, the same application is currently running fine on both the Windows machine and the existing Linux server. It is partially working on Cocoon 2.1.11 on the new Linux machine. i.e. the app works OK except for the strange transformer result I detailed

Re: Restricting access by IP address

2009-09-14 Thread Thomas Markus
try a generic RegexMatcher (all untested :) ) greets thomas in your sitemap add this to components with your pattern: map:matchers default=wildcard map:matcher name=regular src=test.RegexMatcher pattern^192\.168\.\d+\.\d+/pattern /map:matcher /map:matchers and in your pipeline: map:match