Re: AW: How can I send XML as HTTP POST to a URL?

2003-01-29 Thread SAXESS - Hussayn Dabbous
It may be adequate to write a protocol Handler for this purpose. I think you can get hold on the original request from the Environment. Maybe .../components/source/URLSource.java is a good starting point ... hussayn Marco Rolappe wrote: you should probably code that as an action, that you can

Re: AW: How to run 2 tomcat-coocon web server

2003-01-29 Thread SAXESS - Hussayn Dabbous
Hy: this message: VGJ0607E - Une inadéquation de version s'est produite entre le serveur et le circuit my.pkg.JAH0001WUIBean. translates to something like: differing versions between server and package my.pkg.JAH0001WUIBean seems to point to EJBeans stuff ... ??? i cant help more ...

Re: auth problem

2003-01-29 Thread Olivier GUCKERT
Carsten Ziegeler a écrit : This is of course because of your redirect statement. Usually, if your login-page is called it gets a request parameter named resource that contains the protected resource. So, you have to take care that you pass this parameter (e.g. via a hidden input field) to

Re: mail errors and eclipse revisited

2003-01-29 Thread Christian Haul
On 29.Jan.2003 -- 12:52 AM, Geoff Howard wrote: I've deleted the old email, but I asked about the 60 or so mail related errors I've been getting in the eclipse task area. Carsten suggested that I needed mail.jar on my classpath in eclipse. I just checked and it was already there - in

Re: Using the results of an aggregate part.

2003-01-29 Thread SAXESS - Hussayn Dabbous
thats interesting... i got a similar usecase yesterday: o An application can be asked to give away some configuration parameters in an XML stream. i.e a list of search engines with names, links, search-parameter-descriptors and so on. o now i ask my application once for the config to get

Re: AW: How to run 2 tomcat-coocon web server

2003-01-29 Thread CARLETTA ANGELO
--- Reçu de INFETUDE.G145193 02/250.96.71 29-01-03 10.10 Hy, I have tomcat 4.1.12, cocoon 2.04, JDK 1.3.1, MySQL 3.21 and VisualAge for genarate the JSP I have the first Tomcat in c:\tomcat and the second in c:\tomcatProd In startup.bat i have add the environement var

AW: AW: How to run 2 tomcat-coocon web server

2003-01-29 Thread Jan Harms
Hi, not quite sure, but it seems you want to use Tomcat standalone *without* a WebServer. In that case you can disable all the Non-HTTP-Connectors in Tomcats server.xml. The port 8009 is typically the Ajp13Connector used to communicate with Apache. -Jan -Ursprüngliche Nachricht-

Re: AW: How to run 2 tomcat-coocon web server

2003-01-29 Thread SAXESS - Hussayn Dabbous
Probably you must change two things : 1.) in cocoon/WEB-INF/cocoon.xconf This section may cause the problem ... hsqldb-server class=org.apache.cocoon.components.hsqldb.ServerImpl logger=core.hsqldb-server pool-max=1 pool-min=1 parameter name=port value=9002/ parameter

[heads-up] Re: Wiki broken with IE (was: The Newbies CompetenceCenter)

2003-01-29 Thread Steven Noels
Steven Noels wrote: I'm not on IE, nor have I the huge screen to test this particular condition... I'm working on the Wiki this morning, and I might find something out, but any HTML/CSS enthusiast on the list might give it a go, too. I cannot fathom what is going on, except for IE-weirdness.

Re: [heads-up] Re: Wiki broken with IE (was: The Newbies Competence Center)

2003-01-29 Thread Konstantin Piroumian
From: Steven Noels [EMAIL PROTECTED] Steven Noels wrote: I'm not on IE, nor have I the huge screen to test this particular condition... I'm working on the Wiki this morning, and I might find something out, but any HTML/CSS enthusiast on the list might give it a go, too. I cannot

Re: [heads-up] Re: Wiki broken with IE (was: The Newbies Competence Center)

2003-01-29 Thread Konstantin Piroumian
From: Konstantin Piroumian [EMAIL PROTECTED] From: Steven Noels [EMAIL PROTECTED] Steven Noels wrote: ... Sorry, it shoud be read as: You can easily notice that this problem is NOT present on the Forrest site and it looks like a typo or so in CSS. -- Konstantin

Re: [heads-up] Re: Wiki broken with IE (was: The Newbies CompetenceCenter)

2003-01-29 Thread Steven Noels
Konstantin Piroumian wrote: Sorry, it shoud be read as: You can easily notice that this problem is NOT present on the Forrest site and it looks like a typo or so in CSS. Sure. Now has anyone an idea how to fix it? ;-) /Steven -- Steven Noels

Re: [heads-up] Re: Wiki broken with IE (was: The Newbies Competence Center)

2003-01-29 Thread Konstantin Piroumian
From: Steven Noels [EMAIL PROTECTED] Konstantin Piroumian wrote: Sorry, it shoud be read as: You can easily notice that this problem is NOT present on the Forrest site and it looks like a typo or so in CSS. Sure. Now has anyone an idea how to fix it? ;-) Let's try. You have

Link Livesites: http://www.gynae.uk.com/ Cocoon 2

2003-01-29 Thread Alex McLintock
Please add the following info to http://xml.apache.org/cocoon/link/livesites.html Site: gynae.uk.com URL: http://www.gynae.uk.com Description: Site is for UK doctors and provides medical leaflets which can be printed out and given to female patients. Doctors are often rather busy and giving

Re: Unsubscribe

2003-01-29 Thread Webframework
Hey Mom, I sent another email to unsubscribe. Hopefully it works this time. Did you have any luck? Neil - Please check that your question has not already been answered in the FAQ before posting.

Eclipse on MacOSX

2003-01-29 Thread Jeremy Quinn
Hi All, Has anyone managed to get Cocoon compiling under Eclipse on MacOSX? I am struggling to do so . ui.jar not loading from the JRE so missing lots of Swing etc. (?) Thanks for any help regards Jeremy - Please check

Re: Unsubscribe

2003-01-29 Thread Joerg Heinicke
Have a look on the mail footer: To unsubscribe, e-mail: [EMAIL PROTECTED] Joerg -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 [EMAIL PROTECTED] www.virbus.de - Please check that your

Re: AW: How to run 2 tomcat-coocon web server

2003-01-29 Thread CARLETTA ANGELO
--- Reçu de INFETUDE.G145193 02/250.96.71 29-01-03 13.59 I think the probleme come with ibm gateway (start /min java com.ibm.hpt.gateway.SessionIDManager ) I have run the JSP but it's instable. after some time, the gateway not found the session manager Thanks for help. Angelo

XMLFormTransformer error

2003-01-29 Thread Sylvain.Thevoz
Hello, The XMLFormTransformer send me back an error: it find a group tag that is not in my view page! The error message is: ERROR Thread-5/XMLFormTransformer: pass through element [group] ERROR Thread-5/XMLFormTransformer: unknown element [group] Here is the log (cleaned): DEBUG

Re: [heads-up] Re: Wiki broken with IE (was: The Newbies CompetenceCenter)

2003-01-29 Thread Steven Noels
Konstantin Piroumian wrote: You have a class assigned to menu items (a class=wikipage/a), but don't have a CSS style for this in the page.css, so I assume that default a.hover is used, which has font color the same as the menu background. So, either remove the class from the link or add style

RE: mail errors and eclipse revisited

2003-01-29 Thread Geoff Howard
ok, thanks. i'll probably be content to leave it now that i know i'm in good company. clearly an annoyance more than a problem. maybe there's a filter that would work... Geoff -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:34

RE: XMLForms Versus Traditional HTML forms.

2003-01-29 Thread Geoff Howard
not a problem - i figured you were in anger management counseling to deal with that last screw up of mine ... ;) Geoff -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 3:31 AM To: [EMAIL PROTECTED] Subject: Re: XMLForms Versus

RE: proposal: The Newbies Competence Center (XSLT)

2003-01-29 Thread Geoff Howard
You're right that file generator should automatically cache based on last modified stamp of the file(s) involved. You could monitor the logs to see if it's serving cached content for that or not. If not, first check for steps in the pipeline which may not cache - if it's just

WARP, Jserv or mod_jk?

2003-01-29 Thread Richard Cunliffe
Hi, Im upgrading! Can anyone suggest the best way to connect Apache 2.0.42 and Tomcat 4.0.6. I will be using Cocoon 2.0.4. I have read that the WARP connecter is the best, but I used Jserv on my older version. There is also the mod_jk. Which is the most reliable etc. Thanks

Re: WARP, Jserv or mod_jk?

2003-01-29 Thread Lajos
Hi Richard - mod_jk by far is the best. WARP is buggy and is may not even be actively developed any more. mod_jk is stable, widely used, and generally has few bugs reported. If you need help with the integration, my FlashGuides (www.galatea.com/flashguides) have instructions on connecting

How to use an action correctly?

2003-01-29 Thread Johannes . Becker
Hi, I've written an action and compiled without errors. package test.acting; import java.util.Map; import java.util.HashMap; import org.apache.avalon.framework.parameters.Parameters; import org.apache.cocoon.acting.AbstractAction; import org.apache.cocoon.environment.Request; import

Using an action correctly?

2003-01-29 Thread Johannes . Becker
Hi, I have written an action and compiled it successfully. I put it in the cocoon/WEB-INF/lib folder as a jar: package test.acting; import java.util.Map; import java.util.HashMap; import org.apache.avalon.framework.parameters.Parameters; import org.apache.cocoon.acting.AbstractAction; import

Re: Using an action correctly?

2003-01-29 Thread Konstantin Piroumian
From: [EMAIL PROTECTED] Hi, Thats how I use it in the sitemap: ... map:match pattern=blabla map:generate src=sampleoutput.xml/ map:act type=xslSelect map:transform src=stylesheets/{results}.xsl/ map:serialize type=fo2pdf/

Re: WARP, Jserv or mod_jk?

2003-01-29 Thread Michael Melhem
On Wed, Jan 29, 2003 at 07:45:31AM -0700, Lajos wrote: Hi Richard - mod_jk by far is the best. WARP is buggy and is may not even be actively developed any more. mod_jk is stable, widely used, and generally has few bugs reported. If you need help with the integration, my FlashGuides

RE: WARP, Jserv or mod_jk?

2003-01-29 Thread Richard Cunliffe
Lajos, The following link is not working http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3/src/j akarta-tomcat-connectors-4.0.2-01-src.zip. If you have the zip file could you e-mail it to me at [EMAIL PROTECTED] Thanks for the advice Richard. -Original Message-

AW: Using an action correctly?

2003-01-29 Thread Andres, Judith
Hi Johannes, This part of your action: // Now choose the suitable XSL for the output if(report_id.equals(16)) results.put(report_16,report_16); else if(report_id.equals(17) service_id.equals(GSM))

RE: Using an action correctly?

2003-01-29 Thread Geoff Howard
i've confused you on the use of the hash map. i corrected the code below with what you need . they hashmap key name is arbitrary notice i've changed it in your code and your sitemap. Hopefully the fixed code will make what needs to happen clear, but if not I can explain in more detail later.

Re: WARP, Jserv or mod_jk?

2003-01-29 Thread SAXESS - Hussayn Dabbous
You may also look into http://www.saxess.com/JSPWiki/Wiki.jsp?page=Howto if you need more infos about building and configuring apache/tomcat/mod_jk ... (unfortunately some of the pages are only in german, but maybe it still can help. seems as if it would have been better to write it in english

Re: Using an action correctly?

2003-01-29 Thread Konstantin Piroumian
From: Andres, Judith [EMAIL PROTECTED] ... should read: // Now choose the suitable XSL for the output if(report_id.equals(16)) results.put(result,report_16); KP results.put(results,report_16); KP --^ KP results and not result, to be exact. KP KP-- Konstantin

Re:Presloading Parts of Cocoon

2003-01-29 Thread Julian Klein
http://xml.apache.org/cocoon/faq/faq-sitemap.html -see the first FAQ on this page -Julian In reply to: Greetings. Whenever I change a page in my sitemap and redeploy, I notice that the first time I hit a page it takes cocoon a few seconds to start the page. Is there any way we can get cocoon

AW: AW: How can I send XML as HTTP POST to a URL?

2003-01-29 Thread Marco Rolappe
but wouldn't a source be primarily useful only when generating or serializing? in this case he didn't say anything about data being generated in repsonse to the request he wants to send. so, if it doesn't generate anything as response, it probably wouldn't be a good 'source'. -Ursprüngliche

AW: WARP, Jserv or mod_jk?

2003-01-29 Thread Marco Rolappe
hi richard, I'm currently using Cocoon 2.0.4, Tomcat 4.1.18, Apache 1.3.26 and mod_jk2 (which I didn't have problems with yet). -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Richard Cunliffe Gesendet: Mittwoch, 29. Januar 2003 15:08 An: [EMAIL

Lucene index for multiple channels

2003-01-29 Thread Guido Casper
Hi all, the menu structure of my site looks different (i.e. certain menu items are disabled etc.) for different user-agents. The content of the disabled items shouldn't appear in the search result as well of course. Therefore I need to build different indexes for each user agent class. I could

Cocoon for persistent URLs

2003-01-29 Thread I-Lin Kuo
Has anybody here used Cocoon to implement persistent URLs? I don't mean just technical using Cocoon to make the URL independent of the actual file location (that's simple using sitemaps), but am interested in how to manage this. For example, some of the issues are: - making sure the file

RE: proposal: The Newbies Competence Center (XSP?)

2003-01-29 Thread Hunsberger, Peter
Title: Message Well, you carefully (or not?) snipped out my point that, in the end, the XSPs are converted to Java That's irrelevant; you're still writing proprietary code... - and at least one of theCocoon books I read suggests this as a perfectly vaild way to start off doing your

RE: Presloading Parts of Cocoon

2003-01-29 Thread Geoff Howard
that wouldn't apply anymore with the interpreted sitemap would it? i'm pretty sure 2.0.4 is using that out of the box. Robert, the sitemap engine can be configured in cocoon.xconf and there have been two different implementations to date -- interpreted and compiled. Interpreted is newer and

RE: Cocoon for persistent URLs

2003-01-29 Thread Geoff Howard
don't know how one would keep track of moved files automatically, but the resource exists action could help with the first part. you could keep a lookup table in database or xml with old location and new location and use it to lookup new location when resource exists action fails. Geoff

RE: Presloading Parts of Cocoon

2003-01-29 Thread Geoff Howard
actually, i think i know where this would be - the reason it's happening that way is that when CocoonServlet processes a request, it requests an/the instance of Cocoon (can't remember if that's pooled or singleton) and passes a boolean like isReloadable to trigger checking of the sitemap source

Re: XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)

2003-01-29 Thread Josema Alonso
Hello Sylvain, I see you have still some problems with the XMLForms... I have investigated them more and more and wrote a new howto at Wiki about using XMLForm with Xindice. I do not remember if you were using a relational database or a native XML one. If the latter, you could find some new

RE: Cocoon for persistent URLs

2003-01-29 Thread I-Lin Kuo
That's what I was thinking, more or less. I'd have a monitoring application check URLs once a day and generate emails if the files were moved or modified. But I was wondering if there were other approaches... There's also the contract issue of what a persistentURL promises: does it merely

RE: Cocoon for persistent URLs

2003-01-29 Thread Robert Koberg
Hi, The forrest project has much of this problem solved (though the config file needs adjusting :) for smaller type sites. The idea is to use an explicit site 'map' (site.xml). There you hierarchically store the site structure. Your content links point to an identifier in the site.xml. Then

AW: Cocoon for persistent URLs

2003-01-29 Thread Marco Rolappe
I think you're mixing up the concepts of files and resources. persistent URLs should AFAIR bind to resources, which in turn may represent a file (and may redirect to a URL for that file, or something like that). example (contrived): http://cocoon.apache.org/manuals/BeginnersGuide this, being a

Re: AW: Cocoon for persistent URLs

2003-01-29 Thread I-Lin Kuo
Thanks. You explained the distinction between files and resources better than I did. I think what I'll do is to specify two different types of contracts for pURLs: a resource-type contract and a file-type contract, the first one being the newest version while the second being always the same

Aggregating XML

2003-01-29 Thread Jeff Ramsdale
Hi there, I'm relatively new to Cocoon and XML and I've been lurking on the list for a while. I have a problem that's stymied me--perhaps someone could help me? I want to build an aggregate web page from a set of simple XHTML pages by extracting the contents of their bodies and aggregating them.

RE: Aggregating XML

2003-01-29 Thread Geoff Howard
you could use map:aggregate, but because of the structure you'd need to do it in two steps - one to aggregate modules into a column element, and then one to aggregate the columns into a page element. if you have the flexibility to change the structure, you could use xinclude or cinclude so for

Re: Aggregating XML

2003-01-29 Thread jcallahan
Jeff, There are several ways to accomplish content aggregation in Cocoon: (1) cinclude and xinclude (2) The XSLT document() function (this seems to match your approach best) (3) map:aggregate in a sitemap (4) XSP includes Each method has advantages/disadvantages relative to flexibility,

Re: Aggregating XML

2003-01-29 Thread Miles Elam
Note that with the document() function, you will run into other problems with the default XSLT transformer. Caching, for one, will be wrong. If you edit a document referenced by the document() function after the stylesheet has been cached, it will not reflect the change (someone correct me

RE: WARP, Jserv or mod_jk?

2003-01-29 Thread Richard Cunliffe
Lajos, I have reached point 6, where you build ant, but it is coming up with the following error: Warning: JAVA_HOME environment variable not set. If build fails because sun.* classes could not not be found You will need to set the JAVA_HOME environment

build.xml

2003-01-29 Thread Richard Cunliffe
Lajos, I have fixed the Java problem, but it is still coming up with the following error: Bulidfile: build.xml does not exist! Build failed What does this mean? Do I have to build the build.xml myself? If so how would I go about doing this. Richard.

RE: build.xml

2003-01-29 Thread Richard Cunliffe
Me again, Fixed the does not exist problem but I'm now getting the following error: BUILD FAILED C:\tomcat_connectors\jk\build.xml:379: Classorg.apache.tools.ant.taskdefs.condition.Not doesn't support the nested isset element. What should I do to correct this? Richard. -Original

Form processign and control flow?

2003-01-29 Thread Robert Simmons
Well, my newbieness to cocoon continues as does my frustration. Anyway, another burning question. I have a series of forms with pseudo code such as if (user invokes edit) { open edit form; on submit of form { attempt to execute change. if (attempt succeeds) route to view page.

Cocoon Competence Center Updates

2003-01-29 Thread Robert Simmons
Greetings, I have added the following information to the cocoon competence center page on installing cocoon. Please feel free to review the following sections and smack me around if I said anything incorrect. The new sections are. *Deploying on an application server. *What is essential?

Re: Cocoon Competence Center Updates

2003-01-29 Thread Robert Simmons
On the same topic, I am more distressed at this editing policy. Someone could easily be malicious and log in and erase everything. Are we sure there isn't a better way to do this? -- Robert - Original Message - From: Robert Simmons To: Cocoon Users Sent: Thursday,

Re: build.xml

2003-01-29 Thread Lajos
Hi Richard - Just catching up - I was up in Denver all day today. You need Ant 1.5.1 - I think that's the problem. IIRC, isset is not in 1.4. Regards, Lajos Richard Cunliffe wrote: Me again, Fixed the does not exist problem but I'm now getting the following error: BUILD FAILED

XSP Compiler Issue: Class Not found

2003-01-29 Thread Robert Simmons
Greetings. I decided that I wanted to try writing an XSP page. I know about logicsheets but just to start I figured Idgo the brute force approach. The following is theXSP page. ?xml version="1.0" encoding="UTF-8"?xsp:page language="java" xmlns:xsp="http://apache.org/xsp"

Re: XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)

2003-01-29 Thread Ivelin Ivanov
Sylvain, did you try to debug the AbstractXMLFormAction and the XMLFormTransformer. This is probably your best bet for finding the problem. -=Ivelin=- - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 10:02 AM

Re: XSP Compiler Issue: Class Not found

2003-01-29 Thread Robert Simmons
More information. I think this might have to do with the classpath setting on the compiler. It seems to be creating its own classpath instead of passing the current cocoon classpath to the compiler. The classloader, being different, cannot find any classes outside of the current WAR to

RE: FW: i18n problem with i18n:attr : ArrayIndexOutOfBoundsException

2003-01-29 Thread Thomas Haselberger
thx joerg, I tried again to get this work, putting the xalan and xerces jars in jre/lib/endorsed, in tomcats common/endorsed, trying the lates xalan etc. - no way. finally switched to j2sdk 1.4.1_01 and all works ok now. regards, tom -Original Message- From: Joerg Heinicke

convert text in xml wel form

2003-01-29 Thread CARLETTA ANGELO
--- Reçu de INFETUDE.G145193 02/250.96.71 30-01-03 08.25 Hi, I am beginner with cocoon. I want convert a file text in xml wel form. The string text is .SE NAME 'toto ' .SE ADRESS 'xxyy jj' .SE TEL '01236547' ... I want convert data in xml NAMEtoto/NAME

RE: Portal - Coplets / Sunlet

2003-01-29 Thread Carsten Ziegeler
-Original Message- From: Richard Reyes [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 29, 2003 8:28 AM To: [EMAIL PROTECTED] Subject: Re: Portal - Coplets / Sunlet Hi Carsten,, this is the google.xml, ?xml version=1.0? data

Re: Portal - Coplets / Sunlet

2003-01-29 Thread Richard Reyes
which error log? the one thats on the browser? here it is == org.apache.cocoon.ProcessingException: Failed to execute pipeline.:

XMLForm problem: PLEASE HELP (att. XMLForm architects and specialists)

2003-01-29 Thread Sylvain.Thevoz
Hello, Is there someone in the list that could help me to find a XMLForm problem that I have for few weeks! I have read all the XMLForm doc and source code but I really don't understand what is this problem. I don't have enough experience to find the solution. My project is totally based on