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: 60 --- How can i change the default timeout value of my webapp ? thanx mike

Re: How to get URL parameters in an area ?

2002-08-26 Thread Michael Mangeng
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 tag e

Re: How to get URL parameters in an area ?

2002-08-26 Thread Michael Mangeng
Hi! You can use the tag even inside the a tag. so you can do: String myString = ; (xsp-request must be mapped to http://apache.org/xsp/request/2.0 ) greetings mike - Original Message - From: "Ganael LAPLANCHE" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 26,

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 Messa

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. http://www.foo.com/some-path?arg1=value1arg2=value2 greetings mike - Original Message - From: "Themba Mbatha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 8:19 PM Subject: Usage of & in URL

Re: Cocoon & mysql

2002-08-09 Thread Michael Mangeng
Yep.. The .jar´s in /WEB-INF/lib are automatically added to the classpath by tomcat. The same is true for the /WEB-INF/classes/ dir. (you can check the classpath´s value in /WEB-INF/logs/core.log Here this line looks like: DEBUG (2002-08-09) 17:02.08:026 [core] (Unknown-URI) Unknown-thread/C

Re: Cocoon & mysql

2002-08-09 Thread Michael Mangeng
Hi Jessica You do not have to mention a JARs in /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 /WEB-INF/logs/*.logs. greetings mike - Original Message - From: "Jessica Niewint" <[EMAIL PROTECTED]> To: <[EMAIL PROT

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

2002-07-07 Thread Michael Mangeng
I haven´t done anything with PHP&cocoon 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: http://localhost/test/getSomething.php" type="p

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 ch

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: Mo

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 /home/m1k3/xml-cocoon2-newest/bui

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: ... ... ISO-8859-1 .. ... If his doesn´t work either, add the encoding tag to the xslt transformer tag in as well. hope i could help. greetings 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

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: Tomcat/cocoon encoding problem

2002-06-10 Thread Michael Mangeng
ubject: Re: Tomcat/cocoon encoding problem > Hi Michael, > > Did you set the proper encoding for used cocoon's components > (generator, transformer and so on)? I imagine that serializer has it > because you wrote that the result XML encoding is ok. What about other >

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

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. After i request the xml i get the right encoding - ISO-8859-1 in the tag but german umlaut´s like äöü are replaced by '?'.   I´ve noticed the same problem when i use beans on my JSP Pages (without cocoon; only tomc

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 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 this

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 thi

DatabaseSelectAction

2002-05-25 Thread Michael Mangeng
Hi   I wondered if there is a possibility to use 'where' in the sql querys with the DatabaseSelectAction. How can i describe this in the descriptor file ?   thanx mike  

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.html is mentioned in the action example: import org.apache.cocoon.Roles;-   the problem is that this class doesn´t exist in cocoon-2.

Re: Actions Programming

2002-05-01 Thread Michael Mangeng
Hi here more information... my hello_world.xsp: --- http://apache.org/xsp"; xmlns:xsp-request="http://apache.org/xsp/request/2.0"; xmlns:i18n="http://apache.org/cocoon/i18n/2.0";> Hello . --- => There is no typo and the XSP Namespace is declared... sitema

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