Session-Timeout

2002-09-03 Thread Michael Mangeng
Hi I was wondering where i can define the session timeout for my cocoon application. I get errors if i try to set it anywhere in the web.xml with the following entry: session-config session-timeout60/session-timeout /session-config --- How can i change the default timeout value of my webapp

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Michael Mangeng
Hi! You can use the xsp-request:get-parameter name=bar/ tag even inside the a xsp:logic tag. so you can do: xsp:logic String myString = xsp-request:get-parameter name=bar/; /xsp:logic (xsp-request must be mapped to http://apache.org/xsp/request/2.0 ) greetings mike - Original Message

Re: How to get URL parameters in an xsp:logic area ?

2002-08-26 Thread Michael Mangeng
?foo=bar), it doesn't work... I can't acces to my variable (even if it appears in the URL area of my navigator). Do you have any idea ??? Many thanks... On Mon, 2002-08-26 at 16:11, Michael Mangeng wrote: Hi! You can use the xsp-request:get-parameter name=bar/ tag even inside

Re: Error no connections in the pool with mySQL?

2002-08-16 Thread Michael Mangeng
Hi Which version of Cocoon are you using? You only mentioned Cocoon 2.0 which isn´t enought. Cocoon 2.0.2 has a problem with the connection pooling caused by the JDBC update in JDK 1.4.0. I had a similar problem - a update to cocoon 2.0.3 solved my problem. greetings mike - Original

Re: Usage of in URLs

2002-08-12 Thread Michael Mangeng
Hi Since is a special char you have to mark it as character data. urlhttp://www.foo.com/some-path?arg1=value1![CDATA[]]arg2=value2/url greetings mike - Original Message - From: Themba Mbatha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 12, 2002 8:19 PM Subject: Usage

Re: Cocoon mysql

2002-08-09 Thread Michael Mangeng
Hi Jessica You do not have to mention a JARs in contextroot/WEB-INF/lib/ in web.xml. Restoring the old web.xml and restart tomcat. If the error is still there, try to locate it in contextroot/WEB-INF/logs/*.logs. greetings mike - Original Message - From: Jessica Niewint [EMAIL

Connection pooling w. 1.4.0.

2002-07-07 Thread Michael Mangeng
Hi I know about the connection pooling problem with 1.4.0. So i´ve used 1.3.1 so far. Now i need to update to 1.4.0 and I´m wondering what i can do to use connection pooling with 1.4.0 thanx for help greetings mike - Please

Re: php-xml-cocoon-html | wml --- query string lost

2002-07-07 Thread Michael Mangeng
I haven´t done anything with PHPcocoon yet but i think you have to use the PHPGenerator. Since you are not specifing a generator to the map:generate tag cocoon uses the filegenerator (if this is the default one in your sitemap). try using: map:generate

Re: Multiple Instances / Second does not serve data...

2002-07-05 Thread Michael Mangeng
Hi Log file - messages? One common problem is that the hypersonic sql db cannot startup on the second machine because the port is blocked from the first hsqldb instance. Search for hsql in the 2nd cocoon.xconf and change the port or deaktivate the whole db if this is the problem. greetings mike

Re: DatabaseAuthenticatorAction

2002-07-01 Thread Michael Mangeng
Hi You can use both the formval and the dbauth action. if you get no error from the formvalidator action but null from the dbauth action, the supplied username and password is invalid. greetings mike - Original Message - From: Chris [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday,

Esql build error

2002-06-27 Thread Michael Mangeng
Hi I´ m trying to build the actual CVS sources. After the warnings about the missings libs (php, jndi, ...) i get the following error and the build process stops: ... Compiling with Java 1.4, debug on, optimize off, deprecation off Compiling 524 source files to

Re: Unicode-Problems

2002-06-18 Thread Michael Mangeng
Hi I´m not sure if you can set the encoding in the map:serialize tag. AFAIK you have to set it in the map:serializeR tag. example: map:components ... map:serializers ... map:serializer type=html... encodingISO-8859-1/encoding /map:serializer .. /map:serializers ...

ESQL, Multiple Queries

2002-06-12 Thread Michael Mangeng
Hi I´m wondering how i can do multiple selects with the esql logicsheet. thanx mike

Re: ESQL, Multiple Queries

2002-06-12 Thread Michael Mangeng
Hi thanx it works perfectly. greetings mike - Original Message - From: Derek Hohls [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 9:54 AM Subject: Re: ESQL, Multiple Queries Mike Suggest you work through the IBM Developer Works Tutorial -

Re: Tomcat/cocoon encoding problem

2002-06-10 Thread Michael Mangeng
components? Roman Michael Mangeng wrote: That didn´t do it ;-( *searching* thanx anywaymike - Original Message - From: Jan Uyttenhove To: [EMAIL PROTECTED] Sent: Friday, June 07, 2002 5:30 PM Subject: RE: Tomcat/cocoon encoding problem Try

Re: Tomcat/cocoon encoding problem

2002-06-08 Thread Michael Mangeng
-Dfile.encoding=ISO8859_1 Maybe you should choose another encoding, I used ISO8859_1 to solve a similar problem with french characters. Hope this helps. Greetz, Jan visit us @ http://www.xume.be -Original Message-From: Michael Mangeng [mailto

Tomcat/cocoon encoding problem

2002-06-07 Thread Michael Mangeng
Hi I´ve set the encoding of both the xsp and the xml serializer correctly. Afteri requestthe xml i get the right encoding - ISO-8859-1 in the ?xml ... ? tag but german umlaut´s like äöü are replacedby '?'. I´ve noticed the same problem when i use beans on my JSP Pages (without cocoon;

Re: mm.mysql-2.0.14 + JRE1.4.0 + Cocoon2.0.2 problem resolution?

2002-06-03 Thread Michael Mangeng
Hi Yes... i would like to know that too. After several frustrating days i´ve discovered that i simply have to use jdk1.3.1... But thats no solution... only a 'workaround'... Such things would be _VERY_ important to be noted somewhere in the docus and not only, very good hidden, somewhere in the

Database pooling problems

2002-06-02 Thread Michael Mangeng
Hi My problem with cocoon is that i cannot get a pooled connection. (tomcat 4.1.2-le, jdk1.4.0, cocoon 2.0.2) Instead i get the followind error message: org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource

Database access problem - Linux

2002-05-29 Thread Michael Mangeng
HiI´ve encountered a funny Problem. I´ve started developing a little webappwhich uses esql to grab data from the db, the DatabaseAuthenticatorAction tologin and a self written action to auth the user at each request whichsimply checks for a attribute in the session. I´ve started creating

Database Access Problems with Linux

2002-05-29 Thread Michael Mangeng
Hi I´ve encountered a funny Problem. I´ve started developing a little webapp which uses esql to grab data from the db, the DatabaseAuthenticatorAction to login and a self written action to auth the user at each request which simply checks for a attribute in the session. I´ve started creating

Databases Action

2002-05-13 Thread Michael Mangeng
Hi I was wondering how i can access a pooled db connection within a action... in the turorial at http://xml.apache.org/cocoon/developing/datasources.htmlis mentioned in the action example: import org.apache.cocoon.Roles;- the problem is that this class doesn´t exist in

Re: Actions Programming

2002-05-01 Thread Michael Mangeng
Hi here more information... my hello_world.xsp: --- ?xml version=1.0 encoding=UTF-8? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:i18n=http://apache.org/cocoon/i18n/2.0;

Actions Programming

2002-04-30 Thread Michael Mangeng
Hi I´ve encountered a little/funny problem when trying to recreate the simple hello world action. I´ve used the sample code (without the org.xml.sax.EntityResolver import because i think i do not need it here). Cocoon realizes that it needs to replace {world} with 'hello' in the stiemap