RE: Cocoon, sockets and not a web browser.

2002-10-09 Thread JohnsBrn
I think I may be doing something similar to what you want to do. I am calling cocoon from an axis provider, and also directly from within an ejb. There are several things you need to do to accomplish this: The first thing you should look at is the commandline context under

RE: post data in XML format

2002-09-30 Thread JohnsBrn
I haven't worked with 2.1, but in 2.03, you can use the stream generator to capture form data and use it in a cocoon pipeline. The form-name parameter specifies the form input tag that contains your xml data. b Cocoon User [EMAIL PROTECTED] wrote: think about how POST work. with POST we can

RE: XMLHTTP and cocoon

2002-09-30 Thread JohnsBrn
I'm not that familiar with XMLHTTP, but you can echo back the input of any cocoon stream by placing an xml serializer after the generator. If, for instance, you were using the 2.0.3 StreamGenerator to post the data, your pipeline would look like this: map:match pattern=test map:generate

RE: ESQL Query

2002-09-30 Thread JohnsBrn
You can do this with a standard xsl stylesheet and xsl:call-template. Something like this xsl:template match=member TABLE xsl:apply-templates/ /TABLE /xsl:template xsl:template match=profilHairColor TRTDHair Color/TDTD!-- xsl:call-template goes here with . as arg --/TD/TR /xsl:template You

Re: problem with database connection

2002-09-27 Thread JohnsBrn
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

RE: problem with database connection

2002-09-25 Thread JohnsBrn
What component are you using? SQLTransformer? Database Action? Can you post the relevant portions of cocoon.xconf/sitemap.xmap? Olivier GUCKERT [EMAIL PROTECTED] wrote: hi all I have a problem with my connection to my sql. when i try cto connect i get the folowing message : Could not get

RE: The DataSourceComponent which returning OtherConnection

2002-09-25 Thread JohnsBrn
There are 2 files you need to modify to add a component: cocoon.xconf and user.roles. Checkout cocoon.roles in the org.apache.cocoon source directory to see the format to use for the user.roles files (goes in WEB-INF directory), as I think it doesn't exist by default. Hiloliddin Karimov

Re: pipeline or sql transformer problem

2002-09-25 Thread JohnsBrn
I had a similar namespace problem with SQLTransformer. I switched from Xalan to Saxon 6.5.2 (because of multi-thread issues with database XA transactions) for xslt transformations and the problem seems to be gone. Michael Maluck [EMAIL PROTECTED] wrote: Now I tried it with esql and a

RE: Using J2EE datasources

2002-09-23 Thread JohnsBrn
By default org.apache.avalon.excalibur.datasource.J2eeDataSource looks for your J2EE datasource in the java:/comp/env/jdbc context. You can change this using the lookup-name parameter: j2ee logger=core.datasources.j2ee.firebird name=FirebirdDS lookup-namejava:/FirebirdDS/lookup-name /j2ee I'm

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
Are you sure you have a valid datasource in Tomcat? Looks like it's having trouble creating a connection. I noticed valueoracl.jdbc.driver.OracleDriver/value contains a type-o. Shouldn't it be oracle.jdbc.driver.OracleDriver instead of oracl with no e? Ugo Cei [EMAIL PROTECTED] wrote: Ugo

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
This looks like a Tomcat issue to me at this point. After looking around at some Tomcat docs, the only two suggestions I have are that you do not have an AuthType specified in your Resource tag (auth=Container). I don't know if this is required. Also, did you check to make sure you updated the

Re: Using J2EE datasources

2002-09-23 Thread JohnsBrn
Also, I'd check out the commons source to see what exactly it's choking on. [EMAIL PROTECTED] wrote: This looks like a Tomcat issue to me at this point. After looking around at some Tomcat docs, the only two suggestions I have are that you do not have an AuthType specified in your Resource