Re: InputStream as source or generator

2004-05-20 Thread Geoff Howard
Craig Christophersen wrote: The data I will be getting from the bean is xml tagged. Most of it will be a full section of a document, tagged by , etc. I am hoping to find a way to stream that into the pipeline and output as an html page. Looking at Betwixt I am not sure that is the right solutio

Re: [Heads-Up] List Etiquette & Return Recipts (Was: Re: Asking again Portal framework login issue)

2004-05-12 Thread Geoff Howard
Sylvain Wallez wrote: Tony Collen wrote: This is a just general FYI for anyone who posts to the user and -dev lists: *Please un-set the option which causes your mail client to request a return receipt!* ... A good way to "invite" people to disable this option is for everybody to send the retu

Re: Problem rebuilding Cocoon 2.1.2

2004-05-10 Thread Geoff Howard
off On Sat, 08 May 2004 Geoff Howard wrote : sameer nanda wrote: Hello Geoff, When you say runs of cocoon, what do you mean by that??? Actually what I interpret is Cocoon is not running as a service, nor am I deplying the cocoon war file in the servlet engine, which in my case would ne Tomc

Re: Problem rebuilding Cocoon 2.1.2

2004-05-08 Thread Geoff Howard
he pid number use kill or kill -9 on it. Solaris makes it harder to find the pid IIRC. Geoff On Sat, 08 May 2004 Geoff Howard wrote : Actually, from the stack trace, it looks like the bind exception is happening during HSQL startup which is historically the leading cause of this in cocoon sta

Re: Problem rebuilding Cocoon 2.1.2

2004-05-07 Thread Geoff Howard
Actually, from the stack trace, it looks like the bind exception is happening during HSQL startup which is historically the leading cause of this in cocoon startups. Make sure that previous runs of Cocoon are shut down before restarting. If you have otherwise ensured that Cocoon shut down (or

Re: Problem: Enabling uploads

2004-04-24 Thread Geoff Howard
f you can confirm that, please enter a bug report on bugzilla. Shouldn't be hard to track down but I can't personally do it now, and don't want it to get lost. Geoff On Tue, 20 Apr 2004, Geoff Howard wrote: Steve Schwarz wrote: Tuomo I believe the behavior changed in 2.1 so th

Re: Problem: Enabling uploads

2004-04-20 Thread Geoff Howard
Steve Schwarz wrote: Tuomo I believe the behavior changed in 2.1 so that that is no longer true: http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadsWithCocoon2.1 Steve Exactly - and the general security weakness of the old system (unlimited uploads to any url handled by any cocoon server with upl

Re: Flowscript to Uploadfile

2004-04-20 Thread Geoff Howard
Jeroen Reijn wrote: Hi, maybe i'm thinking in the wrong direction, but the error messege says that it's getting a String. Is your form type correct("multipart") ? Just my 2 cents. That (String) can also happen if uploads are not turned on in web.xml - in case these are different webapps, or on

Re: Serving arbitrary OutputStreams with Cocoon

2004-04-13 Thread Geoff Howard
Oscar Picasso wrote: Hi, I have a Java application that can generate Postscript or PDF to OutputStreams. I would like to be able serve these OutputStreams with Cocoon. I have looked at ReaderResource but it seems to read resources from the file system. I also looked at implementing a Serializer b

Re: Logging all HTTP Requests to a database

2004-04-06 Thread Geoff Howard
Surjan Singh wrote: Geoff Howard wrote: Steve Krulewitz wrote: > Surjan Singh wrote: > >> I already have a Component that can be called in an action which logs >> request details asynchronously to a database. What I'd like to do, is >> to somehow use the same Co

Re: Logging all HTTP Requests to a database

2004-04-06 Thread Geoff Howard
Steve Krulewitz wrote: Surjan Singh wrote: I already have a Component that can be called in an action which logs request details asynchronously to a database. What I'd like to do, is to somehow use the same Component to log _all_ requests. I'm not sure if this is the answer you're looking for

Re: xml file caching ??

2004-04-06 Thread Geoff Howard
Jim Emerson wrote: Hi All, I'd like an example of how to cache an xml file in a pipeline, I haven't found any examples online, the documentation helped a little but didn't explain how to do it. I have this in my sitemap componenents: On

Re: WebGate Availability

2004-04-05 Thread Geoff Howard
[EMAIL PROTECTED] wrote: This continues to look good - wish I had time right now to play with it. Thanks! I'm curious about how you integrated the wordnet dictionary searching. It looks like they are written in C - did you use JNI, or Runtime.exec(), direct database access, etc? I went

Re: WebGate Availability

2004-04-05 Thread Geoff Howard
This continues to look good - wish I had time right now to play with it. I'm curious about how you integrated the wordnet dictionary searching. It looks like they are written in C - did you use JNI, or Runtime.exec(), direct database access, etc? Geoff [EMAIL PROTECTED] wrote: I just wanted

Re: How do you obtain the virtual host name without the port.

2004-04-04 Thread Geoff Howard
dave- wrote: That does not work because {1} appears to pick up both the host AND the port. For example, {1} picks up www.example1.com:8080 and not www.example1.com . I think there's a regexp host matcher - have you tried it? Geoff dave- wrote: How can you obtain the virtual host name without

Re: Strange errors with IE and multipart forms - HELP!!

2004-03-30 Thread Geoff Howard
Mark Lundquist wrote: On Mar 30, 2004, at 10:42 AM, Marcin Okraszewski wrote: Hi, Users of Internet Explorer experiences a strange error using my webapp. Sometimes it works, and sometimes the IE says (a translation from Polish): "It isn't possible to find server or an error of DNS in Internet

Re: 95 Warnings later...

2004-03-24 Thread Geoff Howard
George Hester wrote: Building the latest Cocoon. Why and how to fix. Thank George Hester Probably no need. What were the warnings? Did the build report that it was successful or failed? Geoff - To unsubscribe, e-mail: [EMAI

Re: Calendar Generator

2004-03-23 Thread Geoff Howard
Alan wrote: * Geoff Howard <[EMAIL PROTECTED]> [2004-03-23 12:27]: Alan wrote: I asked this question. Now I'm back. :^) Would the above simply generate a calendar without an iCal source? My blog entries are not stored in iCal. Nope. But in this case, you'd need to find

Re: Calendar Generator

2004-03-23 Thread Geoff Howard
Alan wrote: I asked this question. Now I'm back. :^) Would the above simply generate a calendar without an iCal source? My blog entries are not stored in iCal. Nope. But in this case, you'd need to find a way to convert a list of your entries to whatever intermediate format and then

Re: Calendar Generator

2004-03-21 Thread Geoff Howard
CHNEdesign http://www.arachnedesign.net On Mar 20, 2004, at 6:40 PM, Geoff Howard wrote: Alan wrote: I'd like to generate an XML calendar for navigation of my blog. Is there a Calendar generator for Cocoon? One doesn't yet exist - how would you p

Re: [RT] Re: Calendar Generator

2004-03-21 Thread Geoff Howard
Ryan Hoegg wrote: Geoff Howard wrote: Alan wrote: I'd like to generate an XML calendar for navigation of my blog. Is there a Calendar generator for Cocoon? One doesn't yet exist - how would you picture it working? Geoff WARNING: I tried to compress many hours of brainstormin

Re: Calendar Generator

2004-03-20 Thread Geoff Howard
Alan wrote: I'd like to generate an XML calendar for navigation of my blog. Is there a Calendar generator for Cocoon? One doesn't yet exist - how would you picture it working? Geoff - To unsubscribe, e-mail: [EMAIL PROT

Re: Revising Documentation (not as off-topic as one might think)

2004-03-20 Thread Geoff Howard
John Lianoglou wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey folks, I know there's a whole mailing list dedicated to the documentation, but I've tried posting there in the past, and it doesn't seem very productive, as it winds up being a sea of Wiki update notifications... In fact, we

Re: performance with transformation on BIG xml files

2004-03-18 Thread Geoff Howard
[EMAIL PROTECTED] wrote: So nobody ever served big xml files with Cocoon ? Don't confuse no answer given with no answer existing. I have not personally (although I was involved with using Cocoon to present the bible in xml format - but we split it up into 66 files - one file per book - instead

Re: New to Cocoon - best practice for setting up sandbox?

2004-03-17 Thread Geoff Howard
David Swearingen wrote: I'm new to Cocoon. I'm trying to understand how to set up an area on my server where I can 1) start doing some testing and 2) eventually deploy production code. I've scoured the docs and several websites but have had no luck in finding an answer to my question, below. I'v

Re: HSQLDB Trigger

2004-03-15 Thread Geoff Howard
Johannes Goerke wrote: Hello, I've written a Trigger for my HSQLDB. Trigger classes in HSQLDB are Java - classes implementing org.hsqldb.Trigger. They have to be in the CLASSPATH of the JVM that is running HSQLDB. Normally something like "java -classpath hsqldb.jar;MyTriggers.jar org.hsqldb.Serve

Re: Jetty/Cocoon Config Question

2004-03-12 Thread Geoff Howard
Steve Schwarz wrote: Hi I've been using the 2.1 bundled Jetty and would like to change the configuration to remove the "cocoon" from the uri as described here (for Tomcat): http://cocoon.apache.org/2.1/faq/faq-configure-environment.html#faq-N10005 Can someone give me the clue for how to setup

Re: Eventcache - Invalidate from XSP?

2004-03-12 Thread Geoff Howard
Thomas Zehetbauer wrote: On Fre, 2004-03-12 at 08:40 -0500, Geoff Howard wrote: Hopefully you meant an XSP action. No, I mean an XSP page. I use a Java bean to update the database and output a XML document containing some information about this update. Do you recommend another approach

Re: Eventcache - Invalidate from XSP?

2004-03-12 Thread Geoff Howard
Thomas Zehetbauer wrote: Is it possible invalidate cache entries from an XSP page? Yes, but I'm not sure it should be encouraged According to the samples one can either use flowscript (event.js) or the CacheEventAction to invalidate entries. I would however prefer to raise the necessary ev

Re: Component initialization at cocoon startup

2004-03-11 Thread Geoff Howard
Torsten Curdt wrote: Viswashanti Kadiyala wrote: Thanks for the reply. I did readup on Avalon lifecycle doc. And I also implmented the Configurable interface. But the problem i am facing is that cocoon loads up Components dynamically (i.e) when they are first referred. What i want is cocoon

Re: Indexing cocoon for search engines

2004-03-11 Thread Geoff Howard
Schultz, Gary - COMM wrote: After trying to get this working, I've determined I'm having trouble getting cocoon indexed properly outside of the Lucene example. Eventually I need to have Cocoon indexed by Google, Inktomi etc. Yesterday someone posted a reply showing that something served by Cocoon

Re: Q: I wrote my custom component - and now?

2004-03-10 Thread Geoff Howard
Francesco Rossi (Milano, Italy) wrote: Hi y'all I just finished writing my own custom component - a transformer - following precious advice I found in the book "Cocoon: building XML applications" everything went pretty smooth so far what got me a little stuck is: what JAR files in the WEB-INF/li

Re: Problems Loading Generator Component

2004-03-08 Thread Geoff Howard
Joel Sookram wrote: Thanks for your response. I'm using the Jetty server provided with Cocoon 2.1.3. I did restart the server several times but I keep getting the same error. I know this could be a deployment problem but it is quite stubborn. Is there a location besides the 'build\webapp\WEB-INF\

Re: Packages naming best practises

2004-03-08 Thread Geoff Howard
Oscar Picasso wrote: Hi, I am writing a Cocoon application. I would like to avoid renaming my packages in case there are useful for the cocoon community. Let's say I have the following classes: // Sitemap components - com.mycompany.cocoon.generation.CacheableVelocityGenerator - com.mycompany.co

Re: binding params in dynamic queries in ESQL

2004-03-05 Thread Geoff Howard
Geoff Howard wrote: How are you protecting against SQL Injection attacks? select * from foo where foo.x = '' if you take myVar in any way from a request parameter, what happens if I pass in a value like bar=abc;delete%20from%20foo (try it on your app). Oops, changed my examp

Re: binding params in dynamic queries in ESQL

2004-03-05 Thread Geoff Howard
Joel McConaughy wrote: It WOULD be interesting if that's what I did. I actually didn't end up using any bound parameters; just dynamically created the statement. Are you required to use a prepared statement? If so, I'd be interested in why -- it may be somethig I need to do with my app as w

Re: How to set properties for jdbc connection

2004-03-05 Thread Geoff Howard
Vlad Ali wrote: hi all again! i read docs on coocoon.org & cocoon.wiki but i hasn't found answer on may question I need to set two properties for my jdbc connection (for xsp page) (mySQL driver) useUnicode = true; characterEncoding = Cp866 if i use ... connInfo.put("use

Re: Cocoon 2.1.4 and ProcessingException error with 'large' xml file ?

2004-03-05 Thread Geoff Howard
Stefan Geelen wrote: Hi, when indexing some XML files I get this strange error: org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Cannot parse!: org.xml.sax.SAXParseException: The string "--" is not permitted within comments. column: 1

Re: [XConfToolTask] java.net.ConnectException: Connection timed out: connect

2004-03-02 Thread Geoff Howard
Joerg Heinicke wrote: On 02.03.2004 21:48, Geoff Howard wrote: Alex Romayev wrote: Hi, Most of the time when I run XConfToolTask, it works fine, but sometimes I get the following error: IOException: java.net.ConnectException: Connection timed out: connect Any idea what's the problem

Re: [XConfToolTask] java.net.ConnectException: Connection timed out: connect

2004-03-02 Thread Geoff Howard
k if I CVS HEAD, it'll fix it? Maybe - we did upgrade to Xerces 2.6.2 from 2.6.1 about six days ago. You may just try upgrading Xerces (I think Xpatch will use the version in tools/lib??) Geoff Thanks, -Alex --- Geoff Howard <[EMAIL PROTECTED]> wrote: Alex Romayev wrote: Hi

Re: [XConfToolTask] java.net.ConnectException: Connection timed out: connect

2004-03-02 Thread Geoff Howard
Alex Romayev wrote: Hi, Most of the time when I run XConfToolTask, it works fine, but sometimes I get the following error: IOException: java.net.ConnectException: Connection timed out: connect Any idea what's the problem here? Which version of Cocoon? The xpatch task is supposed to disable r

Re: mysql -> No suitable driver

2004-03-02 Thread Geoff Howard
yangontha Maung wrote: Hi, On Linux, after I put the .jar file in /usr/local/cocoon/build/webapp/WEB-INF/lib, it works. I am not sure about Windows environment. All environments are the same in this regard. the WEB-INF/lib folder of your webapp context is where the jars go. Buf probably, y

Re: deleting file

2004-02-29 Thread Geoff Howard
Yves Vindevogel wrote: Got this once but you can read what Steven Noels thinks about it ... Yves Vindevogel wrote: Is there anything within Cocoon that interacts with the (*nix)-shell ? Or a way to do this ? System.exec() from Java, but evil as hell. Don't!!! Not sure what that

Re: NullPointerException @ cocoon+ mysql //thank you!

2004-02-29 Thread Geoff Howard
Liqiao Han wrote: I set up a mysql server in my own machine. and it work fine with my cocoon. does it say that mysql driver works fine? I am almost frustrated... That is a strong indication that the IP access permissions are not set up correctly. What you posted before looked correct, but it'

Re: NullPointerException @ cocoon+ mysql //thank you!

2004-02-28 Thread Geoff Howard
Liqiao Han wrote: Textor, thank you for your reply, actually i set a user and password, still doesn't work I just find the message sent by my machine contains no data at all following is what I get from windump. I don't know if this has something to do with the different os of my machine an

Re: Cocoon efficiency and .jar files

2004-02-27 Thread Geoff Howard
carl latimer wrote: Hi, I am a member of a small group developing a web site using Tomcat and Cocoon and we are having some problems with the efficiency of the site. We were wondering if all of the lib jar files for Cocoon were loaded into memory, by default, on start up or whether they are loa

Re: Aggregating unknown sources

2004-02-26 Thread Geoff Howard
Alex Romayev wrote: I'm trying to parse an html page, which contains links to other pages, which I need to aggregate. I understand I can develop a pipeline like this: http://foo.org"/> This will produce: http://foo.org/page1.html http://foo.org/some-other-page.html http://foo.org/and-a

Re: Aggregating unknown sources

2004-02-26 Thread Geoff Howard
Alex Romayev wrote: Oh, good point... feel silly now ;-) :). Don't. --- Geoff Howard <[EMAIL PROTECTED]> wrote: Alex Romayev wrote: I'm trying to parse an html page, which contains links to other pages, which I need to aggregate. I understand I can de

Re: Automatically starting Cocoon

2004-02-26 Thread Geoff Howard
Kyle Brentnell wrote: Hello, I am trying to have Cocoon automatically start when my linux box starts up. I am using: Cocoon 2.1.3 Tomcat ??? Apache 2.0.40 Linux RedHat8 All I can find in the docs/FAQs/etc are instructions for starting Tomcat using tomcat.sh or catalina.sh. There are no tomcat.s

Re: ESQL update and select statements in the same map:match problem

2004-02-25 Thread Geoff Howard
It's not a bug -- and I wouldn't recommend using a workaround like the one below (which would probably work). Don't try to modify the data model while it's being turned into sax (the job of the generator). Other non-MVC friendly frameworks force this but Cocoon almost forces you not to becaus

Re: Starting problem with Cocoon

2004-02-25 Thread Geoff Howard
Liesen, Dr. Arndt wrote: Hello, here is an absolute novice to Cocoon trying to get running 2.0.4 under Tomcat 3.2. Instead of the Welcome page http://localhost:8080/cocoon gets me a (judging from the format: cocoon - ) page "Internal servlet error" indicating "Cocoon was not initialized. Cannot

Re: having fun with wiki ?

2004-02-22 Thread Geoff Howard
Stéphane Delort wrote: Hello, As I'm trying to understand how to run actions, I had a look at this wiki page : http://wiki.cocoondev.org/Wiki.jsp?page=FileUploadWithAction Once I downloaded the file attached I had the surprise to discover that the .jsp was in fact a .jpeg : $file cnoteDetails.jsp

Re: Error compiling fresh CVS download

2004-02-22 Thread Geoff Howard
Johan Kok wrote: Got the following error trying to compile cocoon after CVS download: C:\Apache\cocoon\cocoon-2.2\src\java\org\apache\cocoon\components\flow\AbstractI Don't use 2.2 yet. http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=107600552608370&w=2 Geoff -

Re: Incomplete image requests

2004-02-21 Thread Geoff Howard
beyaNet Consultancy wrote: forgot to attach the the svg file, here it is I just looked quickly at your xsp and before we get any further into this, can you explain why you're not using an image/database reader for this? Is it because of the hibernate support? I don't see any purpose for put

Re: Incomplete image requests

2004-02-21 Thread Geoff Howard
beyaNet Consultancy wrote: Hi, I have constructed a pipe which handles image requests and spits out an svg. On the page in question there are 3 images. The pipe is: Huh? You have two wildcard tokens in your pattern and reference only the second and the non-existant third. Did you typ

Re: [Flow] Releasing components

2004-02-21 Thread Geoff Howard
Andreas Hartmann wrote: Hi Cocoon community, I just took a look at the cron block sample. It obtains a component: cocoon.getComponent(Packages.org.apache.cocoon.components.cron.JobScheduler.ROLE); but I can't find the place where it is released. Is this done automatically now? Not (yet?) done

Re: combining coocon with my web application

2004-02-19 Thread Geoff Howard
reza x wrote: hi all. I am going to combine cocoon with my current framework and web application.I don't want use the WAR file which is ready in cocoon distribution. how can i do this combination? This might be an area where "if you have to ask, I don't recommend you try" might apply. the only

Re: FileUploadsWithFlow problem

2004-02-16 Thread Geoff Howard
Mark Lundquist wrote: On Feb 16, 2004, at 5:03 AM, Bert Van Kets wrote: Hmmm... well, it looks like if you use a relative path there, it's relative to the working directory of the process that started the servlet container. I'm using Jetty on Unix, so YMMV. Anyway, I do this:

Re: Processing issue.....

2004-02-15 Thread Geoff Howard
beyaNet Consultancy wrote: Hi, I am having problems with an image string which prints the string to the screen instead of loading the image! 1. in my xsp page I first build up the image string as so: String num = "39"; StringBuffer sb = new StringBuffer() .append("

Re: Recursive resources...

2004-02-13 Thread Geoff Howard
Sounds like the resource exists selector would accomplish what you want without recursion: http://wiki.cocoondev.org/Wiki.jsp?page=ResourceExistsSelector Does that work for you? Geoff Gabriel Egolf wrote: Hi all, I have what I hope is a simple question. Is it possible to create a resource

Re: org.apache.cocoon.transformation.SourceWritingTransformer

2004-02-12 Thread Geoff Howard
Anthony Davies wrote: Hi, I'm trying to get this transformer working so that I can write xml on the fly on my server. Unfortunately, I can't get this component to work. What error do you get? The relevant sitemap bits as I have them are: ... altersubmit.xsl is: ... file://poo.xml

Re: FileUploadsWithFlow problem

2004-02-11 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I have finally gotten the FileUploadsWithFlow sample working without errors, but I still can't see anything arriving on the server. :-( Finally got a chance to look at this tonight, and I think I have answers. I have not tested any of this, so it's all fresh from 5 m

Re: Windows/Tomcat/Cocoon Installation --htm attached.

2004-02-11 Thread Geoff Howard
Michael Wolf wrote: what about putting the info on the wiki-page? So people don't have to keep this email and people not in this list can access the information too. That'd be great, but there is very little here which is specific to your set up. These same instructions should work for: 1) any r

Re: Excel Spreadsheet Generator|Transformer

2004-02-11 Thread Geoff Howard
Sure - submit a patch to bugzilla and we'll take a look at it. Won't make it in 2.1.4 which now looks once again like it'll be this week, but it'd be considered after that. Geoff JD Daniels wrote: Yes!! I was just about to start something like it. :) JD Derek Hohls wrote: I think it woul

Re: upload dir cleared at Cocoon startup

2004-02-11 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I have a very annoying problem regarding uploads. To be able to do multi part uploads I went to web.xml and set the enable-uploads init-param to true and the upload-directory to "data" (no quotes of course). As I need ony one upload directory, it looked like the obviou

Re: Memory Leak with Tomcat (was Re: A notebook for Cocoon development)

2004-02-10 Thread Geoff Howard
Brent L Johnson wrote: None that I've noticed. But unlike John, I dont wait for OutOfMemory.. once performance drops I can't stand it so I just restart Tomcat. I thought you were saying this problem spanned restarts - obviously we're talking about re-deploys in a running container then. So h

Re: A notebook for Cocoon development

2004-02-10 Thread Geoff Howard
Brent L Johnson wrote: - John, do you also use Tomcat? Which version do you both use? I'm using 4.1.27. - For a trial, do you get the same behavior deployed on Jetty? (either the bundled version or the full version from mortbay.org) Haven't tried it with Jetty. - Are there any symptomatic erro

Re: A notebook for Cocoon development

2004-02-10 Thread Geoff Howard
u both use? - For a trial, do you get the same behavior deployed on Jetty? (either the bundled version or the full version from mortbay.org) - Are there any symptomatic errors in cocoon's or tomcat's logs? - How do you restart? - Which Cocoon blocks do you have installed? Geoff Geoff H

Re: Is it possible to have poolable actions ?

2004-02-10 Thread Geoff Howard
MAHE Vincent FTRD/DIH/REN wrote: Do you mean that every action already implements the Poolable interface ? If so, why do I have these messages about "decommissioning instance of" ? Some of the base action classes do, so it depends on your inheritance tree. If your action just implements Action

Re: A notebook for Cocoon development

2004-02-09 Thread Geoff Howard
Brent L Johnson wrote: I've noticed something very similar. I've got a production box running right now out of Florida and it runs Cocoon with Tomcat just fine.. been running for well over a month now (with small amounts of traffic though, since it isnt scheduled to go live until next month). But

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
my bad. JD was not refering to the problem I reported. :-/ The cocoon-portal duplicate container name only appears when you add the openJMS library to Cocoon, so that is why I reported it in one mail. Bert - Original Message - From: "Geoff Howard" <[EMAIL PROTECTED]> To

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
Bert Van Kets wrote: Checking the logs I saw that I got an ClassNotFoundException org.exolab.jms.jndi.InitialContextFactory. So, I go to Sourceforge, get the needed classes, build and add the lib to Cooon. Yes, this comes from the jms block which by default is configured to use OpenJMS but we do

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
Sorry, didn't finish my sentence: Geoff Howard wrote: If you do need jms, either get OpenJMS, start it, and put its client jar in WEB-INF\lib (and/or in %COCOON_HOME%\optional so it's added there after any future rebuilds) or configure the JMS block in cocoon.xconf to use some

Re: ClassNotFoundException and not unique container name : cocoon-portal

2004-02-09 Thread Geoff Howard
Bert Van Kets wrote: Hi all, I just did an update of my CVS Head and built the whole thing (clean built!). Checking the logs I saw that I got an ClassNotFoundException org.exolab.jms.jndi.InitialContextFactory. So, I go to Sourceforge, get the needed classes, build and add the lib to Cooon. Now, w

Re: FileUpload with Cocoon

2004-02-08 Thread Geoff Howard
Nicolas Toper wrote: Hi, I'm writing an XSP to manage uploading of file and I'm wondering how do you know which class is used between PartOnDisk and PartInMemory? I thought the wiki page answered this pretty clearly. PartOnDisk is used when autosave-uploads is set to true, PartInMemory when it

Re: Encoding Params in the Sitemap

2004-02-07 Thread Geoff Howard
Brent L Johnson wrote: Is there a way I can encode the {request-param:paramname} in a sitemap? I'm trying to use a request parameter in the HTMLGenerator as part of a GET request, but using {request-param:paramname} decodes the parameter. So if the parameter has a space - instead of putting a %2

Re: AW: record pipeline result

2004-02-07 Thread Geoff Howard
Thorsten Mauch wrote: the request for the mail don't come from a user, but from a database changes (i poll the datbase for certain event). If this event occur i want to generate the content with a pipeline and the send the result via mail. Also look into the quartz scheduling block - I think it le

Re: record pipeline result

2004-02-07 Thread Geoff Howard
Thorsten Mauch wrote: Hi My application needs to send the the result of a pipeline as mail. Is it possible to call a pipleline with a (faked ) request object and the save the output stream ? There is the sendmail action, xsp logicsheet, and I think also transformer. With the cocoon protocol you

Re: [BUG ?] "ModuleHelper is not setup correctly"

2004-02-07 Thread Geoff Howard
Found that the input module logicsheet was broken in 2.1.3. Just now committed a fix for this which will be in the imminent 2.1.4 release. see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26754 Geoff Luca Morandini wrote: Today I tried to switch from 2.1.2 to 2.1.3. After the compilatio

Re: Multipart form upload

2004-02-06 Thread Geoff Howard
Chris Wilder-Smith wrote: Geoff, On Fri, 2004-02-06 at 14:08, Geoff Howard wrote: Are you using cinclude or something like it? Can you send the relevant bit of your pipeline? Also, try the upload sample if you have it or can hack it into your set up (really just a pipeline and associated xsp

Re: Multipart form upload

2004-02-06 Thread Geoff Howard
Chris Wilder-Smith wrote: Geoff, On Fri, 2004-02-06 at 11:42, Geoff Howard wrote: hmmm, I would be suspicious that uploads were broken in 2.1.3 but I really don't think so. Can you triple check that the web.xml used in this case really has enable-uploads set properly? After that, i&#x

Re: Multipart form upload

2004-02-06 Thread Geoff Howard
Chris Wilder-Smith wrote: Geoff, On Thu, 2004-02-05 at 19:45, Geoff Howard wrote: Chris Wilder-Smith wrote: I get ** request class: org.apache.cocoon.environment.http.HttpRequest Right - and that's the point. Sorry I didn't explain more, but a change was made to the environment a

Re: Multipart form upload

2004-02-05 Thread Geoff Howard
Chris Wilder-Smith wrote: On Thu, 2004-02-05 at 17:23, Geoff Howard wrote: Chris Wilder-Smith wrote: snip the sanity check stuff. all sounds right. 4) Did you say you were getting a HttpRequest? That brings up a change to the Request stored in the objectModel which may make that code on the

Re: Multipart form upload

2004-02-05 Thread Geoff Howard
instanceof String) { // upload is disabled - I think. } Geoff On Thu, 2004-02-05 at 16:35, Geoff Howard wrote: Chris Wilder-Smith wrote: Hi, We're trying to use a multipart/form-data post to upload audio files recorded on the client machine to our cocoon-based backend. All of the web.xml fil

Re: Multipart form upload

2004-02-05 Thread Geoff Howard
Chris Wilder-Smith wrote: Hi, We're trying to use a multipart/form-data post to upload audio files recorded on the client machine to our cocoon-based backend. All of the web.xml file upload params seem to be set correctly: request-factory=org.apache.cocoon.components.request.MultipartRequestFactor

Re: samples

2004-02-05 Thread Geoff Howard
James Cummings wrote: Hi there, I checked out cocoon-2.2-dev from CVS today, and build seem to go fine. I then was looking at the samples and some seem to work and others didn't. Simple: don't use 2.2 yet. It is still in the middle of a massive reworking including replacing the underlying frame

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-05 Thread Geoff Howard
Phil Blake wrote: While you are at it, can you give more info about what part of the Cayenne API relies on this? It is odd that they need an http session object - what if you wanted to use this code outside of a webapp? From what I can see, cayenne is simply using the HttpSession as a

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-05 Thread Geoff Howard
Phil Blake wrote: Ok, I think the proposal to do this is not going to go anywhere, but there is a solution. You'll probably need to give more info (or remind us of it) of what code you are calling this from (action, flow, generator, transformer, etc.). While you are at it, can

Re: cocoon +jetty +vhosts

2004-02-05 Thread Geoff Howard
[EMAIL PROTECTED] wrote: hi, How can i configure Jetty to have a particular sub-sitemap mounted on a given vhost? eg: vhost1 -> mounts sitemap in dir1 vhost2 -> mounts sitemap in dir2 ... You can do that in the root sitemap with a host matcher. Geoff ---

Re: FileGenerator making two HTTP requests

2004-02-04 Thread Geoff Howard
Teator, Michael wrote: So, how do I make it stop??? Not good when the XML is dynamically generated. -Original Message- From: Ivo Limmen [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:00 AM To: [EMAIL PROTECTED] Subject: Re: FileGenerator making two HTTP requests My take:

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-03 Thread Geoff Howard
Geoff Howard wrote: Phil Blake wrote: By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line in

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-03 Thread Geoff Howard
Geoff Howard wrote: Phil Blake wrote: By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line in

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-03 Thread Geoff Howard
Phil Blake wrote: By the way, it's important that people know the basic reason Cocoon doesn't give you an HTTP session. Cocoon abstracts the environment so that it can be run from many different environments, not just http/servlet. Currently the command line interface is the only other implem

Re: javax.servlet.http.HttpSession access from XSP?

2004-02-02 Thread Geoff Howard
Joerg Heinicke wrote: On 02.02.2004 23:20, Phil Blake wrote: How do I access the javax.servlet.http.HttpSession from within XSP? I know I have xsp-session but it is a org.apache.cocoon.environment.Session And request.getSession() also returns a org.apache.cocoon.environment.Session I've seen tha

Re: Evaluation of Cocoon

2004-02-02 Thread Geoff Howard
Ralph Goers wrote: You are under a slight misperception. In a clustered environment all requests must go to the cluster, but to any server in the cluster - not just the one the user logged into. Cocoon needs to make sure that it either a) stores what it needs in the session so that the session c

Re: JDBC-Driver and web.xml

2004-02-02 Thread Geoff Howard
Nicolas Toper wrote: What do you mean if cocoon doesn't run as a webapp? Cocoon is not tied to the servlet environment, and can be run from an arbitrary environment in theory. In practice, there are two (three?) environments: servlet/http and command-line. IIRC the command-line environment ha

Re: [HELP]Unable to get transformer handler for factium/.xsl

2004-01-31 Thread Geoff Howard
Antonio Gallardo wrote: Hi: Can you be more specific? Please show the a snipet of the sitemap. But from: Unable to get transformer handler for factium/.xsl ^ Seems like a wildcard is not well given. Best Regards, Antonio Gallardo van der Weide d

Re: Question about eclipse

2004-01-28 Thread Geoff Howard
Patrick Hess wrote: Han Jon Theus wrote: Anyone can say me how to set the path, where eclipse creates its class files (after compiling the *.java Source). I always have to copy the *.class file into the WEB-INF folder. Thats realy annoying if there are more then 1 file to copy. Btw. i am worki

Re: problems creating file......

2004-01-28 Thread Geoff Howard
beyaNet Consultancy wrote: Hi, I am in the process of re-building cocoon 2.1.3 (binary dstribution) and have forgotten how to create a war file. Could someone kindly refresh my memory as I can't find the howto details in the documentation. I am using OS X 10.3. ./build.sh war this was asked a

Re: [SOLVED] Calling an external http resource from an HTML anchor

2004-01-28 Thread Geoff Howard
[EMAIL PROTECTED] wrote: Hi Sorry, simple error, someone had typed url as http//: rather than http:// Cocoon was just adding its path to something that it saw wasnt a proper http address ... Clever Cocoon :) Correction: your browser was doing it. Look at the html source to confirm. Cocoon is

  1   2   3   4   5   >