[Q] Deploing Cocoon on Tomcat
Hi! Is there any way to deploy (redeploy) cocoon without restarting Tomcat? I tried to use deploytool, but unsuccessfull (100 Class not found errors when accessing http:/localhost:8080/cocoon). Ivan. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Q] Deploing Cocoon on Tomcat
Ivan Luzyanin wrote: Hi! Is there any way to deploy (redeploy) cocoon without restarting Tomcat? I tried to use deploytool, but unsuccessfull (100 Class not found errors when accessing http:/localhost:8080/cocoon). Yes. If you are using Tomcat 4.1 it's quite simple, but I struggled for a couple of days with the fact that it would deploy but wouldn't compile XSP pages. Thanks to Vadim, I found out that this is due to a missing feature in 2.0.3 that has been added in 2.0.4-dev and 2.1-dev (look for manifest-tool in build.xml). I can now deploy wars to a running Tomcat instance, even on a remote server, via Tomcat's Manager App. This is what you should do: Set up authorizations for the Tomcat Manager App as explained in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/manager-howto.html Insert a couple of targets like the following in your Ant buildfile: target name=deploy description=Deploy web application depends=war deploy url=${url} username=${username} password=${password} path=${path} war=file:${dest}/myapp.war/ /target target name=undeploy description=Undeploy web application depends=init undeploy url=${url} username=${username} password=${password} path=${path}/ /target You should of course set approprate values for the various Ant properties. ${url} should be something like http://servername:8080/manager. You can now do: ant deploy or ant undeploy and Tomcat will deploy (or undeploy) and start you application just fine. The war file is sent to Tomcat over HTTP PUT, so you don't need to copy it manually to the server. Just have a war Ant task that builds the war file in ${dest}/myapp.war. Hope this helps (ant thanks to Vadim), Ugo -- Ugo Cei - http://www.beblogging.com/blog/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to filter the data according to the user input?
Hi! I have a xml contains such data: isodocs doc category=jpg name14_84_1.jpg/name descriptiona nice pic/description location14_84_1.jpg/location /doc doc category=jpg name847_2.jpg/name descriptiona dog and a cat/description location847_2.jpg/location /doc doc category=bmp name14_84_1.bmp/name descriptionthis is a bmp/description location14_84_1.jpg/location /doc doc category=bmp name14_84_2.bmp/name descriptionthis is another bmp/description location14_84_1.jpg/location /doc /isodocs How can I let only those items whose category=jpg be showed ? Thanks a lot! best regards -- funing [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: compile problem (cvs)
The problem did not exist in the cvs snapshots... something was maybe wrong in my local cvs tree... On Thu, 26 Sep 2002 09:18:36 +0200 Michael Maluck [EMAIL PROTECTED] wrote: ./xml-cocoon2/build/cocoon/work/blocks-build.xml:25: ./xml-cocoon2/src/blocks/batik/java not found. cu Michael - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JDBC driver for MS SQL Server 2000 with blob support
I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I have to keep on using SQL Server 2000. :( Any links ? -Tuomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with database connection
[EMAIL PROTECTED] a écrit : What component are you using? SQLTransformer? Database Action? Can you post the relevant portions of cocoon.xconf/sitemap.xmap? here is my configuration : In web.xml : init-param param-nameload-class/param-name param-value !-- pour mysql -- org.gjt.mm.mysql.Driver in access.log : DEBUG (2002-09-27) 10:40.03:837 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Trying to load class: org.gjt.mm.mysql.Driver so i think the dirver is OK... in cocoon.xconf : datasources jdbc name=mysql_pool pool-controler min=5 max=10/ auto-committrue/auto-commit durljdbc:mysql://aube.loria.fr/guckdb/durl usermylogin/user passwordmypassword/password /jdbc in sitemap.xmap : map:match pattern=donnees.xml map:generate src=documents/donnees.xsp type=serverpages/ map:transform type=xslt src=stylesheets/donnees_xml.xsl/ map:serialize type=xml/ /map:match in donnees.xsp : ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; lignes esql:connection esql:poolmysql_pool/esql:pool esql:execute-query esql:querySELECT * FROM xsp-request:get-parameter name=table/ /esql:query esql:results table xsp-request:get-parameter name=table/ /table esql:row-results ligne esql:get-columns/ /ligne /esql:row-results /esql:results esql:no-results/ esql:error-results/ /esql:execute-query /esql:connection /lignes /xsp:page I work on Mandrake Linux release 8.1. jakarta-tomcat-4.1.10 jdk1.3.1_01 cocoon-2.0.3 So, if y ask : http://greau.loria.fr:8080/cocoon/referentiels/donnees/donnees.xml?table=Assistante_Structure i become the folowing message : org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource java.sql.SQLException: The url cannot be null - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to filter the data according to the user input?
funing, I think a little XSLT could do the job, something along these lines: xsl:template match=isodocs/doc[@category='jpg'] xsl:copy-of select=./ /xsl:template Wrap it into a stylesheet and put this stage into your pipeline, it will act as a filter. Best regards, P.S. I wrote this piece of code without testing it first... be aware ! - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: funing [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 11:04 AM To: [EMAIL PROTECTED] Subject: How to filter the data according to the user input? Hi! I have a xml contains such data: isodocs doc category=jpg name14_84_1.jpg/name descriptiona nice pic/description location14_84_1.jpg/location /doc doc category=jpg name847_2.jpg/name descriptiona dog and a cat/description location847_2.jpg/location /doc doc category=bmp name14_84_1.bmp/name descriptionthis is a bmp/description location14_84_1.jpg/location /doc doc category=bmp name14_84_2.bmp/name descriptionthis is another bmp/description location14_84_1.jpg/location /doc /isodocs How can I let only those items whose category=jpg be showed ? Thanks a lot! best regards -- funing [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to filter the data according to the user input?
Thank you. But, it is my fault not to state the question clearly, I need a dynamical generation.That is, which category to show is decided by user. It seems that I must use logic sheet, right? On Fri, 27 Sep 2002 11:23:37 +0200 Luca Morandini [EMAIL PROTECTED] wrote: I think a little XSLT could do the job, something along these lines: xsl:template match=isodocs/doc[@category='jpg'] xsl:copy-of select=./ /xsl:template -- funing [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
esql:parameter ?
Hi all, I want to use esql, but I've got problems with esql:parameter. It seems the parameter haven't been replaced by its real value. Here is my xsp, with a java function: xsp:logic private String createTable() throws SQLException, org.xml.sax.SAXException { String tableName = tmp123456; //Create table esql:connection esql:driver transactions=nooracle.jdbc.OracleDriver/esql:driver esql:dburljdbc:oracle:thin:@localhost:1521:OEMREP/esql:dburl esql:usernameSCOTT/esql:username esql:passwordTIGER/esql:password esql:execute-query esql:querycreate table esql:parameterxsp:exprtableName/xsp:expr/esql:parameter (id int not null primary key)/esql:query !--esql:error-results erroresql:get-message//error /esql:error-results-- /esql:execute-query /esql:connection return tableName; } /xsp:logic ... ... When I call the function from the xsp body I've got the following sql exception: Error executing statement: create table ? (cd_id int not null primary key): java.sql.SQLException: ORA-00903: invalid table name I tried to use the direction=in with the same result. Any Idea? Regards, Gabor - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to filter the data according to the user input?
Funing, no problem, you just pass a parameter (named, say, select-cat) to your stylesheet from the sitemap, and then use that parameter value to select a category; hence, your stylesheet may look like: map:param name=selected-cat/ xsl:template match=isodocs/doc[@category=$select-cat] xsl:copy-of select=./ /xsl:template To pass the select-cat request parameter to that stylesheet you may use use-request-parameters in your sitemap. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: funing [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 12:26 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: How to filter the data according to the user input? Thank you. But, it is my fault not to state the question clearly, I need a dynamical generation.That is, which category to show is decided by user. It seems that I must use logic sheet, right? On Fri, 27 Sep 2002 11:23:37 +0200 Luca Morandini [EMAIL PROTECTED] wrote: I think a little XSLT could do the job, something along these lines: xsl:template match=isodocs/doc[@category='jpg'] xsl:copy-of select=./ /xsl:template -- funing [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: esql:parameter ?
Gabor Bartha wrote: Hi all, I want to use esql, but I've got problems with esql:parameter. It seems the parameter haven't been replaced by its real value. You cannot have DDL statements with parametrized object names. At least, not in Oracle. Use string concatenation, if you must. Ugo Here is my xsp, with a java function: xsp:logic private String createTable() throws SQLException, org.xml.sax.SAXException { String tableName = tmp123456; //Create table esql:connection esql:driver transactions=nooracle.jdbc.OracleDriver/esql:driver esql:dburljdbc:oracle:thin:@localhost:1521:OEMREP/esql:dburl esql:usernameSCOTT/esql:username esql:passwordTIGER/esql:password esql:execute-query esql:querycreate table esql:parameterxsp:exprtableName/xsp:expr/esql:parameter (id int not null primary key)/esql:query !--esql:error-results erroresql:get-message//error /esql:error-results-- /esql:execute-query /esql:connection return tableName; } /xsp:logic ... ... When I call the function from the xsp body I've got the following sql exception: Error executing statement: create table ? (cd_id int not null primary key): java.sql.SQLException: ORA-00903: invalid table name I tried to use the direction=in with the same result. Any Idea? Regards, Gabor - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with database connection
Did you cut and paste the cocoon.xconf? It can't find the url, and the url tag is durl instead of dburl. I think you said this worked in a previous version of cocoon, and I don't know if the cocoon.roles has changed since then. Let me know if it's just a simple typeo before I try to load your config. Thanks. b Olivier GUCKERT [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] a écrit : What component are you using? SQLTransformer? Database Action? Can you post the relevant portions of cocoon.xconf/sitemap.xmap? here is my configuration : In web.xml : init-param param-nameload-class/param-name param-value !-- pour mysql -- org.gjt.mm.mysql.Driver in access.log : DEBUG (2002-09-27) 10:40.03:837 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Trying to load class: org.gjt.mm.mysql.Driver so i think the dirver is OK... in cocoon.xconf : datasources jdbc name=mysql_pool pool-controler min=5 max=10/ auto-committrue/auto-commit durljdbc:mysql://aube.loria.fr/guckdb/durl usermylogin/user passwordmypassword/password /jdbc in sitemap.xmap : map:match pattern=donnees.xml map:generate src=documents/donnees.xsp type=serverpages/ map:transform type=xslt src=stylesheets/donnees_xml.xsl/ map:serialize type=xml/ /map:match in donnees.xsp : ?xml version=1.0? xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp-request=http://apache.org/xsp/request/2.0; lignes esql:connection esql:poolmysql_pool/esql:pool esql:execute-query esql:querySELECT * FROM xsp-request:get-parameter name=table/ /esql:query esql:results table xsp-request:get-parameter name=table/ /table esql:row-results ligne esql:get-columns/ /ligne /esql:row-results /esql:results esql:no-results/ esql:error-results/ /esql:execute-query /esql:connection /lignes /xsp:page I work on Mandrake Linux release 8.1. jakarta-tomcat-4.1.10 jdk1.3.1_01 cocoon-2.0.3 So, if y ask : http://greau.loria.fr:8080/cocoon/referentiels/donnees/donnees.xml?table=Assistante_Structure i become the folowing message : org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource java.sql.SQLException: The url cannot be null - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ The NEW Netscape 7.0 browser is now available. Upgrade now! http://channels.netscape.com/ns/browsers/download.jsp Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: reload a page
Err, this is not a cocoon related question. Try meta http-equiv=REFRESH content=10;URL=thisPage.html or put this in your head script type=text/javascript function init() { window.setTimeout(location.href='thisPage.html',1000); } /script and body onlload=init() Manos Gabor Bartha wrote: Hi, A want a page to be reloaded automatically in determined secounds. In javascript: window.setTimeout('window.location.reload(false)', 1000 ) ; is there a solution for this purpose in xsp or xslt? Gabor - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to create db conn in action to use in esql or sql?
Each session needs to be logged into the database with a different username and password. How can I do this using a database pool? Tim [EMAIL PROTECTED] 09/26/02 04:33PM Timothy Larson wrote: I need to create a database connection, Why not: 1. Get connection from the pool, 2. do some security checks, 3. set a user role And then, run queries against the database. Using ESQL+XSP or SQL transformer. PS It's really bad idea to create connection per request. Vadim I made an action to do all of the setup, but I do not know how to make xsp/esql or xsl/sql use the established connection. Any ideas how to make esql or sql use a previously created database connection? Unless there is a trick, I do not think I can use connection pools for this, because the security checks and role setting has to be done per user. If I find a solution, I will share it with the list. Tim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to create db conn in action to use in esql or sql?
Timothy Larson wrote: Each session needs to be logged into the database with a different username and password. Do you think it's a good idea? How can I do this using a database pool? There is no way unless you know SQL command to do it. The hole purpose of a pool is to connect once, and avoid a lot of costly connects in a run. Vadim Tim [EMAIL PROTECTED] 09/26/02 04:33PM Timothy Larson wrote: I need to create a database connection, Why not: 1. Get connection from the pool, 2. do some security checks, 3. set a user role And then, run queries against the database. Using ESQL+XSP or SQL transformer. PS It's really bad idea to create connection per request. Vadim I made an action to do all of the setup, but I do not know how to make xsp/esql or xsl/sql use the established connection. Any ideas how to make esql or sql use a previously created database connection? Unless there is a trick, I do not think I can use connection pools for this, because the security checks and role setting has to be done per user. If I find a solution, I will share it with the list. Tim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: esql:parameter ?
Ok it is working now, thanks Ugo yuryx wrote: try esql:queryxsp:exprcreate table + tableName/xsp:expr/esql:parameter Ugo Cei wrote: Gabor Bartha wrote: Hi all, I want to use esql, but I've got problems with esql:parameter. It seems the parameter haven't been replaced by its real value. You cannot have DDL statements with parametrized object names. At least, not in Oracle. Use string concatenation, if you must. Ugo Here is my xsp, with a java function: xsp:logic private String createTable() throws SQLException, org.xml.sax.SAXException { String tableName = tmp123456; //Create table esql:connection esql:driver transactions=nooracle.jdbc.OracleDriver/esql:driver esql:dburljdbc:oracle:thin:@localhost:1521:OEMREP/esql:dburl esql:usernameSCOTT/esql:username esql:passwordTIGER/esql:password esql:execute-query esql:querycreate table esql:parameterxsp:exprtableName/xsp:expr/esql:parameter (id int not null primary key)/esql:query !--esql:error-results erroresql:get-message//error /esql:error-results-- /esql:execute-query /esql:connection return tableName; } /xsp:logic ... ... When I call the function from the xsp body I've got the following sql exception: Error executing statement: create table ? (cd_id int not null primary key): java.sql.SQLException: ORA-00903: invalid table name I tried to use the direction=in with the same result. Any Idea? Regards, Gabor - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Best regards, Yury. -- Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] . - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem with database connection
[EMAIL PROTECTED] a écrit : Did you cut and paste the cocoon.xconf? It can't find the url, and the url tag is durl instead of dburl. I think you said this worked in a previous version of cocoon, and I don't know if the cocoon.roles has changed since then. Let me know if it's just a simple typeo before I try to load your config. Thanks. b oh my god... I'm so sorry for this type error. Now it work fine Thank you so much ... Olivier. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Source Writing Transformer: Adding namespaces
I'm still struggling with this problem. Let me try to state it more clearly: I would like to write XML to a file. My XML contain namespaces. I declare the namespaces in the root element, just the way I would like it to be in the file and surround my XML with source:write tag. However, SourceWritingTransformer seems to be dropping the namespace declarations and writing everything else! Is this is a bug within the transformer or is there another way of getting the namespace declarations written out? I would appreciate any help. -Alex --- Alex Romayev [EMAIL PROTECTED] wrote: Not sure how I would do that, here is an example: What I would like to get is: news xmlns:pub=http://www.romayev.com/publication/1.0; item id=N100AE pub:publication pub:published-date2001-11-06/pub:published-date ... /pub:publication /item /news Here is the code I use for SourceWritingTransformer: source:write src=content/news.xml news xmlns:pub=http://www.romayev.com/publication/1.0; item id=N100AE pub:publication pub:published-date2001-11-06/pub:published-date ... /pub:publication /item /news /source:write --- funing [EMAIL PROTECTED] wrote: Can you use the insert tag? On Thu, 26 Sep 2002 02:17:56 -0700 (PDT) Alex Romayev [EMAIL PROTECTED] wrote: Hi, I'm using Source Writing Transformer to write XML to file. I need to add namespace declarations to the root node, does anyone know how to do this? Thanks, -Alex -- funing [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC driver for MS SQL Server 2000 with blob support
On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I have to keep on using SQL Server 2000. :( Any links ? Did you use the jTDS? (http://jtds.sourceforge.net/) Its a fork of the FreeTDS code, may have more support. Thats all the free options I know of. -pete -- peter royal - [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC driver for MS SQL Server 2000 with blob support
On Fri, 27 Sep 2002, Peter Royal wrote: On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I have to keep on using SQL Server 2000. :( Any links ? Did you use the jTDS? (http://jtds.sourceforge.net/) Its a fork of the FreeTDS code, may have more support. Thats all the free options I know of. Yep, tried it. Not implemented was the error, so it's no good. Thanks anyway. -Tuomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader
Hi, I want to use a webservice to start a Phython script, but always get the following exception: java.lang.IllegalArgumentException: interface TestClasses2.IScriptservice is not visible from class loader (...) at TestClasses2.TestAction.notifyActionItem(TestAction.java:1301) The Interface IScriptService is in the same directory and package as the class TestAction out of which I call the webservice. That's definitly not the problem. The exception in the method notifyActionItem() occurs only if I call the method out of a cocoon action. If I call the method out of the main() method of the class TestAction, everything works properly and the Python script is performed. This is the code of the method notifyActionItem(). The exception occurs in the line that starts with IScriptService...: try { IScriptservice myScriptService = ScriptserviceHelper.bind(); myScriptService.fire(c:\\ActionItemSystem\\newActionItem.py, null); } catch(Exception e) { e.printStackTrace();} Can anyone help me? I don't know what's the cause for my problem. Regards, Johannes - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to create db conn in action to use in esql or sql?
I am interfacing to an established system and cannot change the security model. It works like this: 1) Login as specific user with rights to public objects only 2) Run a report 3) Report does key exchange to prove its authenticity to the db 4) Database yields key to upgraded security role 5) Report uses key to switch to the new role 6) Report accesses secured objects 7) Report switches back to role with public access only 8) Repeat from step 2 or proceed to step 8 8) Logout now or when session expires or is invalidated The access rights granted are based on a combination of the logged-in user and the specific report being run. To interface with this system I wrote some working java code to do the key exchange with the db and change the security role. How can I integrate this with the reports I wrote in xsp/esql and xsl? Tim [EMAIL PROTECTED] 09/27/02 08:34AM Timothy Larson wrote: Each session needs to be logged into the database with a different username and password. Do you think it's a good idea? How can I do this using a database pool? There is no way unless you know SQL command to do it. The hole purpose of a pool is to connect once, and avoid a lot of costly connects in a run. Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC driver for MS SQL Server 2000 with blob support
On Fri, 27 Sep 2002 [EMAIL PROTECTED] wrote: This is also a free JDBC driver but I don't know if blob are supported http://www.thinweb.com/products_twfreetds.html good luck Bernard Thanks, I'll try it out. Their website is propably experiencing some technical difficulties, download doesn't work... -Tuomo Surlignage Tuomo Lesonen [EMAIL PROTECTED]: On Fri, 27 Sep 2002, Peter Royal wrote: On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I have to keep on using SQL Server 2000. :( Any links ? Did you use the jTDS? (http://jtds.sourceforge.net/) Its a fork of the FreeTDS code, may have more support. Thats all the free options I know of. Yep, tried it. Not implemented was the error, so it's no good. Thanks anyway. -Tuomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDBC driver for MS SQL Server 2000 with blob support
This is also a free JDBC driver but I don't know if blob are supported http://www.thinweb.com/products_twfreetds.html good luck Bernard Surlignage Tuomo Lesonen [EMAIL PROTECTED]: On Fri, 27 Sep 2002, Peter Royal wrote: On Friday, September 27, 2002, at 05:10 AM, Tuomo Lesonen wrote: I'm trying to use the database reader, but the JDBC driver from MS doens't support blob. We can't get one of the commercial (expensive) drivers at this point, and I already tried FreeTDS which doesn't have this either. I have to keep on using SQL Server 2000. :( Any links ? Did you use the jTDS? (http://jtds.sourceforge.net/) Its a fork of the FreeTDS code, may have more support. Thats all the free options I know of. Yep, tried it. Not implemented was the error, so it's no good. Thanks anyway. -Tuomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Output xsl --- next trap
HI it's me again. With this xml file I get the right chapters for the right sections and the right sections for the right document. Only that my output is something like this document section A section B chapter 1 chapter 2 chapter 3 I wanted to generate a document structure like this: document section A chapter 1 chapter 2 section B chapter 3 I have no idea if my way how to use the esql -query is wrong or if I have change the xsl file. But may some one just give me a hint ... Thank you in advance ... J. I will post again my xml and my xsl file. Sorry for this long posting. myfile.xml ?xml version=1.0 encoding=UTF-8? xsp:page laguage=java xmlns:xsp=http://apache.org/xsp xmlns:esql=http://apache.org/cocoon/SQL/v2 !-- Get Document -- Document xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:noNamespaceSchemaLocation=schema.xsd xmlns:esql=http://apache.org/cocoon/SQL/v2 xmlns:xsp=http://apache.org/xsp esql:connection esql:poolxmldb/esql:pool xsp:logic String document= 1;/xsp:logic esql:execute-query esql:queryselect * from document where DocID=xsp:exprdocument/xsp:expr /esql:query esql:results esql:row-results DocObj esql:get-string column=DocObject/ /DocObj DocTitle esql:get-string column=DocTitle/ /DocTitle DocVer esql:get-string column=DocVersion/ /DocVer !-- Get Sections-- Section esql:execute-query esql:queryselect * from section where SecID=xsp:exprsection/xsp:expr/esql:query esql:results esql:row-results SecTitle esql:get-string column=SecTitle/ /SecTitle SecContent esql:get-string column=SecContent/ /SecContent !-- Get Chapter for every selected Section -- Chapter esql:execute-query esql:queryselect * from chapter where ChapID=xsp:exprchapter/xsp:expr AND Section=xsp:exprsection/xsp:expr/esql:query esql:results esql:row-results ChapTitle esql:get-string column=ChapTitle/ /ChapTitle ChapContent esql:get-string column=ChapContent/ /ChapContent /esql:row-results /esql:results /esql:execute-query /Chapter /esql:row-results /esql:results /esql:execute-query /Section /esql:row-results /esql:results /esql:execute-query /esql:connection /Document /xsp:page myfile.xsl: ?xml version=1.0 encoding=UTF-8? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsl:template match=/ html head/ body xsl:for-each select=Document br/Titolo: xsl:for-each select=DocTitle xsl:apply-templates/ /xsl:for-each br/Oggetto: xsl:for-each select=DocObj xsl:apply-templates/ /xsl:for-each br/Versione:xsl:for-each select=DocVer xsl:apply-templates/ /xsl:for-each br/ !-- Output Section -- br/#160;xsl:for-each select=Section br/Sezione:br/Titolo: xsl:for-each select=SecTitle xsl:apply-templates/ /xsl:for-each br/Commento: xsl:for-each select=SecContent xsl:apply-templates/ /xsl:for-each br/ br/ !-- Output Chapter -- xsl:for-each select=Chapter br/Capitolo:br/Titolo: xsl:for-each select=ChapTitle xsl:apply-templates/ /xsl:for-each br/Commento:xsl:for-each select=ChapContent xsl:apply-templates/ /xsl:for-each br/ br/ /xsl:for-each br/ /xsl:for-each br/ br/ /xsl:for-each /body /html /xsl:template /xsl:stylesheet
Re: Plz help with this - error the requested uri /cocoon-dev/xmldb not found
I think that your URI is wrong. It should be something like xmldb:xindice:///db/mycollection/mydocument [EMAIL PROTECTED] wrote: Hi there , I'm still in the dog house as I can't seem to figure out why Cocoon 2 want serve up any Xindice data. I have started Xindice run Tomcat 4 I get the Cocoon Welcome page (http://172.**.*.**:/cocoon-dev/status and the others) . Except when I attempt http://172.**.*.**:/cocoon-dev/xmldb/addressbook/ I get the follwing error the requested uri /cocoon-dev/xmldb not found I have tried the match tag in sitemap.xmap ie localhost , ipAddress still no joy. ensured it reads src=xml:xindice:/172.**.*.**:4080/db/ {..1}# {1} / the other map:generate - src=xml:xindice:/172.**.*.**:4080/db/ {1} / Cheers chuck -- Regards Chuck Amadi ICT Dept Systems Programmer Rhaglenydd Systemau Adran ICT - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Source Writing Transformer: Adding namespaces
Alex Romayev wrote: I'm still struggling with this problem. Let me try to state it more clearly: I would like to write XML to a file. My XML contain namespaces. I declare the namespaces in the root element, just the way I would like it to be in the file and surround my XML with source:write tag. However, SourceWritingTransformer seems to be dropping the namespace declarations and writing everything else! Is this is a bug within the transformer or is there another way of getting the namespace declarations written out? Could be a bug. Try moving ns declaration into the root tag of the document you are writing, i.e. moving declaration inside the write tag. Vadim I would appreciate any help. -Alex --- Alex Romayev [EMAIL PROTECTED] wrote: Not sure how I would do that, here is an example: What I would like to get is: news xmlns:pub=http://www.romayev.com/publication/1.0; item id=N100AE pub:publication pub:published-date2001-11-06/pub:published-date ... /pub:publication /item /news Here is the code I use for SourceWritingTransformer: source:write src=content/news.xml news xmlns:pub=http://www.romayev.com/publication/1.0; item id=N100AE pub:publication pub:published-date2001-11-06/pub:published-date ... /pub:publication /item /news /source:write --- funing [EMAIL PROTECTED] wrote: Can you use the insert tag? On Thu, 26 Sep 2002 02:17:56 -0700 (PDT) Alex Romayev [EMAIL PROTECTED] wrote: Hi, I'm using Source Writing Transformer to write XML to file. I need to add namespace declarations to the root node, does anyone know how to do this? Thanks, -Alex -- funing [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Portal Exception in latest Cocoon 2.1?
Is there a known workaround or a PR open? thanks, rob On Thu, 26 Sep 2002, Kenneth J. Hughes wrote: I saw the same thing here today. At 02:37 PM 9/26/2002 -0700, Rob Johnston [EMAIL PROTECTED] wrote: Hello, In the most recent Cocoon snapshot (today - 2002-09-26), I noticed a problem with the portal example... when I enter guest/guest or cocoon/cocoon to login, I get a: description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request. exception java.lang.IllegalStateException at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:243) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1098) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [...] Is this likely a configuration issue or a problem with the portal? (this is a fresh checkout, and a standard './build.sh -Dinclude.webapp.libs=yes -Dinclude.scratchpad.libs=yes -Dinclude.sample.libs=yes webapp' build. This is under tomcat 4.0.4. [...] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JDK 1.3.1 is driving me MAD!
Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xconf and web.xml. The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 . It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 it throws no suitable driver error. I can't use jdk 1.4 on the unix server because it keep throwing java.lang.OutOfMemoryError error when i fire up tomcat. As it is a share machine each user have limited memory. I asked about this before Apparently, Tomcat is memory starved. Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine as long we don't need to connect to mysql database. Anyone? _ Send and receive Hotmail on your mobile device: http://mobile.msn.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: AW: FOP In Latest Cocoon Releases
Skladovs, Victor wrote: What would you suggest in this situation? How could I improve the Cocoon work as pdf concerns? Updating fop.jar doesn't help. First, get Xalan 2.4.0 and replace both the xalan.jar from FOP as well as the jar deployed with Cocoon. Check with the FOP command line application for problems. If this doesn't help, and you can get a small XML+XSL combo which reproduces the problem with the FOP command line app, post it to fop-user. J.Pietschmann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Output xsl --- next trap
Jessica, three things: 1) could you please post the output of myfile.xml (in other words, the input of myfile.xsl) ? 2) could you tell me why the output is in Italian ? 3) could you use plain text for messages ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Jessica Niewint [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 5:03 PM To: [EMAIL PROTECTED] Subject: Output xsl --- next trap HI it's me again. With this xml file I get the right chapters for the right sections and the right sections for the right document. Only that my output is something like this document section A section B chapter 1 chapter 2 chapter 3 I wanted to generate a document structure like this: document section A chapter 1 chapter 2 section B chapter 3 I have no idea if my way how to use the esql -query is wrong or if I have change the xsl file. But may some one just give me a hint ... Thank you in advance ... J. I will post again my xml and my xsl file. Sorry for this long posting. myfile.xml ?xml version=1.0 encoding=UTF-8? xsp:page laguage=java xmlns:xsp=http://apache.org/xsp; xmlns:esql=http://apache.org/cocoon/SQL/v2; !-- Get Document -- Document xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation=schema.xsd xmlns:esql=http://apache.org/cocoon/SQL/v2; xmlns:xsp=http://apache.org/xsp; esql:connection esql:poolxmldb/esql:pool xsp:logic String document= 1;/xsp:logic esql:execute-query esql:queryselect * from document where DocID=xsp:exprdocument/xsp:expr /esql:query esql:results esql:row-results DocObj esql:get-string column=DocObject/ /DocObj DocTitle esql:get-string column=DocTitle/ /DocTitle DocVer esql:get-string column=DocVersion/ /DocVer !-- Get Sections-- Section esql:execute-query esql:queryselect * from section where SecID=xsp:exprsection/xsp:expr/esql:query esql:results esql:row-results SecTitle esql:get-string column=SecTitle/ /SecTitle SecContent esql:get-string column=SecContent/ /SecContent !-- Get Chapter for every selected Section -- Chapter esql:execute-query esql:queryselect * from chapter where ChapID=xsp:exprchapter/xsp:expr AND Section=xsp:exprsection/xsp:expr/esql:query esql:results esql:row-results ChapTitle esql:get-string column=ChapTitle/ /ChapTitle ChapContent esql:get-string column=ChapContent/ /ChapContent /esql:row-results /esql:results /esql:execute-query /Chapter /esql:row-results /esql:results /esql:execute-query /Section /esql:row-results /esql:results
JDK 1.3.1 is driving me MAD!
Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xconf and web.xml. The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 . It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 it throws no suitable driver error. I can't use jdk 1.4 on the unix server because it keep throwing java.lang.OutOfMemoryError error when i fire up tomcat. As it is a share machine each user have limited memory. I asked about this before Apparently, Tomcat is memory starved. Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine as long we don't need to connect to mysql database. Anyone? _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: JDK 1.3.1 is driving me MAD!
Roger, Try moving the jdbc driver/connector to the Tomcat/lib directory. I had all kinds of database errors with Tomcat 4.0.4 and Cocoon 2.0.3 with jdk1.3.1_02 on a RH Linux 7.x box. I did a lot of moving of the driver around and mucked with the config files. Nothing scientific just a lot of trial and error ... and it started working!! Shortly after that I upgraded to JDK 1.4 and it is still working. Conrad Original Message: - From: Roger Ting [EMAIL PROTECTED] Date: Fri, 27 Sep 2002 18:54:28 + To: [EMAIL PROTECTED] Subject: JDK 1.3.1 is driving me MAD! Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xconf and web.xml. The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 . It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 it throws no suitable driver error. I can't use jdk 1.4 on the unix server because it keep throwing java.lang.OutOfMemoryError error when i fire up tomcat. As it is a share machine each user have limited memory. I asked about this before Apparently, Tomcat is memory starved. Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine as long we don't need to connect to mysql database. Anyone? _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] mail2web - Check your email from the web at http://mail2web.com/ . - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDK 1.3.1 is driving me MAD!
Roger Ting wrote: Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xconf and web.xml. The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 . It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 it throws no suitable driver error. I can't use jdk 1.4 on the unix server because it keep throwing java.lang.OutOfMemoryError error when i fire up tomcat. As it is a share machine each user have limited memory. I asked about this before Apparently, Tomcat is memory starved. Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine as long we don't need to connect to mysql database. Anyone? According to http://xml.apache.org/cocoon/installing/index.html Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to use Cocoon build on JDK 1.3 with JDK 1.4 when it comes to database connections. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Robert J. (Bobby) Mitchell Systems Administrator NASA Institute for Advanced Concepts 555A 14th St Atlanta, Ga. 30318 Phone: (404)347-9633 Fax: (404)347-9638 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDK 1.3.1 is driving me MAD!
yeah i agree.. i am using cocoon 2.0.3 built with jdk 1.3. So you are saying i can't use j-connector supplied by mysql? Is there any driver that i can use with cocoon built on jdk1.3? more specifically jdk1.3.1 This would help me a lot THX! From: Bobby Mitchell [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JDK 1.3.1 is driving me MAD! Date: Fri, 27 Sep 2002 15:08:45 -0400 Roger Ting wrote: Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xconf and web.xml. The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 . It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 it throws no suitable driver error. I can't use jdk 1.4 on the unix server because it keep throwing java.lang.OutOfMemoryError error when i fire up tomcat. As it is a share machine each user have limited memory. I asked about this before Apparently, Tomcat is memory starved. Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine as long we don't need to connect to mysql database. Anyone? According to http://xml.apache.org/cocoon/installing/index.html Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to use Cocoon build on JDK 1.3 with JDK 1.4 when it comes to database connections. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Robert J. (Bobby) Mitchell Systems Administrator NASA Institute for Advanced Concepts 555A 14th St Atlanta, Ga. 30318 Phone: (404)347-9633 Fax: (404)347-9638 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: JDK 1.3.1 is driving me MAD!
As Booby pointed out ... did you try and rebuild C 2.0.3 with the new JDK 1.4? I had to rebuild and it worked for me. If you don't have the old mysql jdbc driver, I can dig it up and send to your email directly. Conrad Original Message: - From: Roger Ting [EMAIL PROTECTED] Date: Fri, 27 Sep 2002 19:29:10 + To: [EMAIL PROTECTED] Subject: Re: JDK 1.3.1 is driving me MAD! yeah i agree.. i am using cocoon 2.0.3 built with jdk 1.3. So you are saying i can't use j-connector supplied by mysql? Is there any driver that i can use with cocoon built on jdk1.3? more specifically jdk1.3.1 This would help me a lot THX! From: Bobby Mitchell [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: JDK 1.3.1 is driving me MAD! Date: Fri, 27 Sep 2002 15:08:45 -0400 Roger Ting wrote: Have anyone got the prolem of using ESQL when using cocoon 2.0.3 and Tomcat 4.0.4 and jdk 1.3.1 on unix solaris? i follow all the correct instruction and cocoon just keep throwing me no suitable driver error. I have put in the j connector jar file into WEB-INF/lib directory. configure cocoon.xconf and web.xml. The weird thing is i did the same thing on my pc except my jdk is jdk 1.4 . It works perfectly okay. When i do it on a unix machine with jdk 1.3.1 it throws no suitable driver error. I can't use jdk 1.4 on the unix server because it keep throwing java.lang.OutOfMemoryError error when i fire up tomcat. As it is a share machine each user have limited memory. I asked about this before Apparently, Tomcat is memory starved. Is it a know issue that the setup of Solaris , jdk 1.3.1 or lower ,mysql, cocoon 2.0.3 and Tomcat 4.0.4 doesn't work for ESQL? all the xsp is fine as long we don't need to connect to mysql database. Anyone? According to http://xml.apache.org/cocoon/installing/index.html Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to use Cocoon build on JDK 1.3 with JDK 1.4 when it comes to database connections. _ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Robert J. (Bobby) Mitchell Systems Administrator NASA Institute for Advanced Concepts 555A 14th St Atlanta, Ga. 30318 Phone: (404)347-9633 Fax: (404)347-9638 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] mail2web - Check your email from the web at http://mail2web.com/ . - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RE: Handler information not found
Last month this thread went on for a bit and then died out. I wondering if there was a fix to the solution, e.g. using the auth-protect action I've protected a set of pages. When the user is not logged in, the login page correctly shows up, and then the authentication resource is called. After looking within the sitemap.log, I can see that the authentication resource worked correctly as a map is returned (albeit empty, but better than null). At this point my problems occur, e.g. the handler information not found exception is thrown. In looking at the stack trace, it appears as though the issue is within the auth-protect action where the protected resource is being checked again (presumably it should work this time as we've successfully logged in). The auth-protect action then calls the authentication manager where the exception is thrown. It appears as though its looking for some values found within the request object??? Anyway each of the authentication actions login, loggedIn, logout and auth-protect all have a handler parameter and successfully worked to get the login page up so I don't think this is the problem, e.g. poor sitemap configuration. Basically I can login but I cannot get to a protected page without this exception occuring. Any clues. Also cocoon:/ vs cocoon:// I don't think has anything to do with this. I use cocoon:/ Furthermore I'm unable to not use cocoon:/ as the cocoon can't resolve the URI without it (I get separate issues with that). My build is from a week or so ago, e.g. development snapshot. thanks, MD Am 30.08.2002 15:14:46, schrieb Koen Pellegrims [EMAIL PROTECTED]: AFAIK cocoon:// goes back to the higher-level sitemap; have you tried cocoon:/ ? (only one slash) Yes we have tested it but it does not work. Dirk -Oorspronkelijk bericht- Van: u15603 [mailto:[EMAIL PROTECTED]] Verzonden: vrijdag 30 augustus 2002 15:02 Aan: [EMAIL PROTECTED] Onderwerp: Handler information not found Hi all, I've some problems with the attached sitemap-fragment. I want to match 'home' and built a XML-document with the help of the aggregation! But when the pipeline calls the src cocoon://navigation there is an exception. The Handler information is not found. Has someone an idea why and maybe a solution for my problem? Thx in advance Dirk Sitemap: map:match pattern=home map:aggregate element=document map:part src=cocoon://header/ map:part src=cocoon://navigation map:parameter name=use-reguest-parameters value=true/ /map:part map:part src=cocoon://content/ /map:aggregate map:transform type=encodeURL/ map:serialize/ /map:match map:match pattern=header map:generate src=portal/resources/free/header.xml/ map:serialize/ /map:match map:match pattern=navigation map:act type=auth-loggedIn map:parameter name=handler value=mobiharzhandler/ map:act type=auth-protect map:parameter name=../handler value=mobiharzhandler/ map:aggregate element=navigation map:part src=portal/resources/toc.xml/ map:part src=portal/resources/auth/login.xml/ /map:aggregate map:serialize type=xml/ /map:act /map:act map:aggregate element=navigation map:part src=portal/resources/toc.xml/ map:part src=portal/resources/free/login.xml/ /map:aggregate map:serialize/ /map:match map:match pattern=content map:generate src=portal/resources/free/header.xml/ map:serialize/ /map:match Exception: ERROR (2002-08-30) 14:22.10:600 [sitemap] (/mh-portal/home) Thread-16/PipelineNode: Error while processing pipeline at jndi:/localhost/mh-portal/sitemap.xmap:350:16 org.apache.cocoon.ProcessingException: Handler information not found. at org.apache.cocoon.webapps.authentication.components.Authentication Manager.checkAuthenti cation(AuthenticationManager.java:651) at org.apache.cocoon.webapps.authentication.acting.AuthAction.act (AuthAction.java:119) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke (ActTypeNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessin gNode.invokeNodes (AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke (ActTypeNode.java:155) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessin gNode.invokeNodes (AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatch Node.invoke (PreparableMatchNode.java:163) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessin gNode.invokeNodes
Re: AW: FOP In Latest Cocoon Releases
May 0.20.4 be buggy ? I have this in my WEB-INF\lib, guess I got it from C... Babs -- website : www.babsfrance.fr.st ICQ : 135868405 - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 11:28 PM Subject: Re: AW: FOP In Latest Cocoon Releases Vadim Gritsenko wrote: Can you clarify - is it Cocoon's, Xalan's, or FOP's CVS? FOP CVS, branch tag fop-0_20_2-maintain PS How can I better call you; J. sounds strange :) bg Joerg Pietschmann - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros d'économies ! Et pour 1 euro de plus, reçois le CD-ROM du jeu Dark Age of Camelot + 1 mois de jeu en réseau offert ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Serializig and LF: Problem
It can't be the Cache because i used the Comandline. //Jakob - Original Message - From: Luca Morandini [EMAIL PROTECTED] To: Cocoon-users [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 10:35 PM Subject: RE: Serializig and LF: Problem Skansen, hold on a second... The indent tag recognizes only the yes value and the non yes values... I mean, whatever you put into it would do the trick (as long as it is not yes): if you try foo it will work just as well as no or 1. Why it didn't work before ? Because you forgot to touch the XML source document after changing the indent tag, hence, the result was retrieved from cache: don't worry, I did the same mistake myself :( Ok, now I think this has been solved for good. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Skansen [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 8:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Serializig and LF: Problem Thanks :) The tip on indent dit it but it should be put in the HTML serializer as indent1/indent Still got a one loose end were do it put http://www.w3.org/TR/xslt#strip;? Regards Jakob P.S sitemap.xmp Before indent1/indent was added to the serializer. --- Transformer --- map:transformers default=xslt map:transformer name=xslt src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser-capabilities-dbfalse/use-browser-capabilities-db /map:transformer /map:transformers --- Serializer --- map:serializer name=html mime-type=text/html src=org.apache.cocoon.serialization.HTMLSerializer encodingISO-8859-1/encoding /map:serializer --- Resource --- map:resource name=skinit map:transform src=stylesheets/html/{type}.xsl map:parameter name=resource value={resource}/ /map:transform map:serialize/ /map:resource --- part of Pipline --- map:match pattern=nav-*.xml map:generate src=xdocs/{1}.xml/ map:call resource=skinit map:parameter name=resource value={1}/ map:parameter name=type value=tree2menu/ /map:call /map:match - Original Message - From: Luca Morandini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 3:44 PM Subject: RE: Serializig and LF: Problem snip Must admit that I have not noticed that from the first sight. :) /snip Vadim, you corrected me many times, let me return the favour once in a while ;) snip But I would try indent=no anyway. /snip I tried that to no avail (it was my first thought, too). snip Anyway, a span will save the day :) Will it? There should be no difference in behaviour - which means that this is an issue with serializer. /snip I guess it will, since span does't break HTML text as div does... though it is included in a td... hmmm... don't really know. Anyway, the behaviour of Xalan (or the Serializer) begs further investigations. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 3:29 PM To: [EMAIL PROTECTED] Subject: Re: Serializig and LF: Problem Luca Morandini wrote: Vadim, I think the problem is not related to indentation, since the HTML output appears to have no indentation; moreover, I presume strip-space will be of no use, since there are no spaces to strip in the input elements. Look, the XSL fragment, according to Skansen, is: td class=mHidiv class=mHspaxsl:attribute name=hrefxsl:textindex.html/xsl:text/xsl:attributebHome/b/a/div/td Must admit that I have not noticed that from the first sight. :) But I would try indent=no anyway. And the result is: td class=mHi div class=mHsp a href=index.htmlbHome/b/a /div /td Which, IMHO, cannot be, given the afore-mentioned XSL fragment: therefore this might be a Xalan bug. Anyway, a span will save the day :) Will it? There should be no difference in behaviour - which means that this is an issue with serializer. Vadim Best regards, - Luca Morandini GIS Consultant
RE: Serializig and LF: Problem
Jakob (is that your name ?), I meant the Cocoon's cache, not the browser's one. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Skansen [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 28, 2002 12:08 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Serializig and LF: Problem It can't be the Cache because i used the Comandline. //Jakob - Original Message - From: Luca Morandini [EMAIL PROTECTED] To: Cocoon-users [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 10:35 PM Subject: RE: Serializig and LF: Problem Skansen, hold on a second... The indent tag recognizes only the yes value and the non yes values... I mean, whatever you put into it would do the trick (as long as it is not yes): if you try foo it will work just as well as no or 1. Why it didn't work before ? Because you forgot to touch the XML source document after changing the indent tag, hence, the result was retrieved from cache: don't worry, I did the same mistake myself :( Ok, now I think this has been solved for good. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Skansen [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 8:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Serializig and LF: Problem Thanks :) The tip on indent dit it but it should be put in the HTML serializer as indent1/indent Still got a one loose end were do it put http://www.w3.org/TR/xslt#strip;? Regards Jakob P.S sitemap.xmp Before indent1/indent was added to the serializer. --- Transformer --- map:transformers default=xslt map:transformer name=xslt src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser-capabilities-dbfalse/use-browser-capabilities-db /map:transformer /map:transformers --- Serializer --- map:serializer name=html mime-type=text/html src=org.apache.cocoon.serialization.HTMLSerializer encodingISO-8859-1/encoding /map:serializer --- Resource --- map:resource name=skinit map:transform src=stylesheets/html/{type}.xsl map:parameter name=resource value={resource}/ /map:transform map:serialize/ /map:resource --- part of Pipline --- map:match pattern=nav-*.xml map:generate src=xdocs/{1}.xml/ map:call resource=skinit map:parameter name=resource value={1}/ map:parameter name=type value=tree2menu/ /map:call /map:match - Original Message - From: Luca Morandini [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 26, 2002 3:44 PM Subject: RE: Serializig and LF: Problem snip Must admit that I have not noticed that from the first sight. :) /snip Vadim, you corrected me many times, let me return the favour once in a while ;) snip But I would try indent=no anyway. /snip I tried that to no avail (it was my first thought, too). snip Anyway, a span will save the day :) Will it? There should be no difference in behaviour - which means that this is an issue with serializer. /snip I guess it will, since span does't break HTML text as div does... though it is included in a td... hmmm... don't really know. Anyway, the behaviour of Xalan (or the Serializer) begs further investigations. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 3:29 PM To: [EMAIL PROTECTED] Subject: Re: Serializig and LF: Problem Luca Morandini wrote: Vadim, I think the problem is not related to indentation, since the HTML output appears to have no indentation; moreover, I presume strip-space will be of no use, since there are no spaces to strip in the input elements. Look, the XSL fragment, according to Skansen, is: td class=mHidiv class=mHspaxsl:attribute
displaying values in a browser from xsp:logic
Hello, I'm having a problem getting the results of a Java function wrapped in xsp:logic tags to display on my page. All I would like to do is display the value of the variables prevurl and nexturl on the page. This code below is in an xsl file outside of the main template. I'm calling this template within my main one with xsl:apply-templates select=prevnext/ I have the following in an xsl file: xsl:template match=prevnext xsp:logic String next_move_string = 1; String prev_move_string = -1; String uri = request.getRequestURI(); xsp-request:set-paramter name=movenext_move_string/xsp-request:set-paramter; String nextquery = request.getQueryString(); xsp-request:set-paramter name=moveprev_move_string/xsp-request:set-paramter; String prevquery = request.getQueryString(); String nexturl = uri + nextquery; String prevurl = uri + prevquery; nexturl = Next; // just for testing prevurl = Prev; // just for testing /xsp:logic xsp:exprprevurl/xsp:expr xsp:exprnexturl/xsp:expr /xsl:template ### Shouldn't I be seeing the values between those xsp:expr tags? This is compiling fine but I only receive an empty output for the prevresult and nextresult tags. I've tried several things including xsp:value-of ... but I haven't had any luck. Does anyone catch any glaring errors here? Thanks much, -Matt - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to create db conn in action to use in esql or sql?
Timothy Larson wrote: I am interfacing to an established system and cannot change the security model. It works like this: 1) Login as specific user with rights to public objects only 2) Run a report 3) Report does key exchange to prove its authenticity to the db 4) Database yields key to upgraded security role 5) Report uses key to switch to the new role 6) Report accesses secured objects 7) Report switches back to role with public access only 8) Repeat from step 2 or proceed to step 8 8) Logout now or when session expires or is invalidated The access rights granted are based on a combination of the logged-in user and the specific report being run. To interface with this system I wrote some working java code to do the key exchange with the db and change the security role. How can I integrate this with the reports I wrote in xsp/esql and xsl? There were an ability to create connection for one request in ESQL. You can try to use it. Vadim Tim [EMAIL PROTECTED] 09/27/02 08:34AM Timothy Larson wrote: Each session needs to be logged into the database with a different username and password. Do you think it's a good idea? How can I do this using a database pool? There is no way unless you know SQL command to do it. The hole purpose of a pool is to connect once, and avoid a lot of costly connects in a run. Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Error compiling sitemap_xmap / problems Installing cocoon-2.0.3 on fresh jwsdp1_0_01 and j2sdk1.4_0_01
Hello, I am having problems Installing cocoon-2.0.3 on top of a fresh jwsdp1_0_01 and j2sdk1.4_0_01 installation running on a winNT4.0 SP6a At the page the error shows: Cocoon 2 - Internal server error type fatal message Language Exception description : org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling sitemap_xmap: Line 22, column 49: cannot access class Component; file org\apache\avalon\framework\component\Component.class not found Line 23, column 53: cannot access class Configurable; file ... more description here... I send attached the logs. I tried to solve the problem deleting the following files from the war, but it seems that it has nothing to do with it: xml-apis.jar xercesImpl-2.0.0.jar xalan-2.3.1.jar Since I was afraid it would interfere somehow with the same libs in the jwsdp installation that in fact had the same versions. Any ideas? Thanks a lot, Dario Liberman. jwsdp is the Java Web Services Development Pack from SUN. http://java.sun.com/webservices/downloads/webservicespack.html The Java Web Services Developer Pack v1.0_01 includes the following: Java XML Pack which includes the following: Java API for XML Messaging (JAXM) v1.1_01 Java API for XML Processing (JAXP) v1.2_01 (with XML Schema support) Java API for XML Registries (JAXR) v1.0_02 Java API for XML-based RPC (JAX-RPC) v1.0_01 SOAP with Attachments API for Java (SAAJ) v1.1_02 JavaServer PagesTM Standard Tag Library (JSTL) v1.0.1 Java WSDP Registry Server v1.0_02 Web Application Deployment Tool Ant Build Tool 1.4.1 Apache Tomcat 4.1.2 container logs.zip Description: Zip compressed data - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]