RE: Random ArrayIndexOutOfBoundsException

2003-06-26 Thread Schaper, Christoph
We got a very similar looking problem with a different jdk and different app server (but as well cocoon 2.0.4). Difference was that the exception was not in endElement but in comment. We never really traced it down. I happended only on one certain page, and after we restructured it a bit the

Where I put my business logic ?

2003-06-26 Thread Alberto Zanon
Hello, as I written in a previous message (see below), I have to build an intranet and I want to use a solid system (= Cocoon) that helps me to separate presentation, logic and database. At this moment I don't know where to put the "logic". For example, when a user of my sitepostsan

Tool to validate xsp file?

2003-06-26 Thread Manish Jain
Hi, Is there any tool to validate/compile all xsp file of a site and get the error results? Manish - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Random ArrayIndexOutOfBoundsException

2003-06-26 Thread Jorg Heymans
randomly receiving the content of 2 unrelated pages together smells like some non-threadsafe code to me. -Original Message- From: Gabriel Egolf [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 25. Juni 2003 20:48 To: [EMAIL PROTECTED] Subject: Random ArrayIndexOutOfBoundsException Hello all.

Re: esql:query problem

2003-06-26 Thread Christian Haul
On 26.Jun.2003 -- 10:04 AM, Dmitry Diskin wrote: Hello I noticed that if I insert any tag between closing /esql:query and opening esql:results - nothing works. Is it a known situation and documented somewhere? Example below doesn't work: esql:connection

Re: problems with new coplets in my portal

2003-06-26 Thread Matthias Wessendorf
Hi Holger! everything is exactly the same... where can i flush the cache? greetings... PS: all my coplets do not work... (they all get remove-xml over http) [EMAIL PROTECTED] wrote: Hi Matthias, please check whether your sitemap entry for that particular coplet is corresponding to the

Re: cocoon interface for HSQLDB

2003-06-26 Thread Christian Haul
On 25.Jun.2003 -- 11:58 PM, Bruno Pierre wrote: Hi everybody, I'm looking for a cocoon interface (mounted subsitemap) for managing a HSQLDB like phpmyadmin for mysql. Has anyone heard about this? Do I have to do it by myself? None that I am aware of. if i have to, does someone have a

Beautify XML?

2003-06-26 Thread Dmitry Diskin
Hello Is there a way to get resulting XML document without those blank lines? For example, if I write: esql:row-results tsl xsp:attribute name=tsl_numberesql:get-int column=tsl //xsp:attribute xsp:attribute name=subslotesql:get-int column=subslot //xsp:attribute xsp:attribute

Re: Error message not displayed

2003-06-26 Thread Joerg Heinicke
No problem. You can read something about it here: http://wiki.cocoondev.org/Wiki.jsp?page=ErrorHandling Joerg Dmitry Diskin wrote: Hi Joerg, Thanks for your answer. Would you mind to show me the example - I was unable to find it.. Dmitry. Joerg Heinicke wrote: That's a logging issue, so

Re: Where I put my business logic ?

2003-06-26 Thread Joerg Heinicke
What about http://wiki.cocoondev.org/Search.jsp?query=databaseSearch=Find or more specific http://wiki.cocoondev.org/Wiki.jsp?page=DatabaseActions. ESQL is another possibility (http://wiki.cocoondev.org/Wiki.jsp?page=ESQL). It's an XSP logicsheet, which adds further separation to XSP

Re: Beautify XML?

2003-06-26 Thread Joerg Heinicke
It's mentioned as ToDo for XSP (first entry for medium priority): http://cocoon.apache.org/2.0/todo.html. At the moment you will need a custom stylesheet I guess. Joerg Dmitry Diskin wrote: Hello Is there a way to get resulting XML document without those blank lines? For example, if I write:

Re: cocoon interface for HSQLDB

2003-06-26 Thread Bruno PIERRE
Thanks, It was already in my favorites, but it is not clear. i don't know how to list all the table, all the column of a table with their type (in SQL). and some stuff like that. Bruno - Original Message - From: Christian Haul [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday,

Help required: outline of a solution

2003-06-26 Thread scott
Hey all, I want to achieve the following with cocoon, but I'm getting lost in the documentation / examples / terminology so I could use a good steer in the right direction. I want to build a web app that uses SOAP to communicate with a back-end, and I want to populate a web-app with the data as

Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Akhona Damane
Hello I am stuck! I want to start with Publishing XML Documents in HTML and PDF, but I can't seem to find a way of working on my Cocoon. The tutorials command me to work on http://localhost:8080/cocoon/mount/ but I can't open up mount directory. Please, help me asap Thank you Mr.

Re: cocoon interface for HSQLDB

2003-06-26 Thread Christian Haul
On 26.Jun.2003 -- 10:12 AM, Bruno PIERRE wrote: Thanks, It was already in my favorites, but it is not clear. i don't know how to list all the table, all the column of a table with their type (in SQL). Most DBMS have special tables for the meta data. I don't know how hsqldb does it. Anyway,

generic forms handling - looking for solution hints

2003-06-26 Thread christian.ruess
Hi - I'm looking for a solution for a form handling problem. I'm beginner to cocoon and would appreciate any hint. I extract an xml fragment like the following from a relational database. The structure is not static. asset id / title / description /

Can i invoke cocoon from within a swing application

2003-06-26 Thread David Cypers
Hi there, I need to generate PDF and Excel output from within a swing application. Is this possible with Cocoon, without deploying cocoon on a webserver? What I mean is that, can I package the cocoon libraries (and configuration files) with my swing application, and invoke it at the client

sitemap map:resource

2003-06-26 Thread Lionel Crine
Hello, In my sitemap, I have some similar pipelines so I have decided to use the map:resource element But I read that when you make the map:call the pipeline finish in the map:resource. So this example is not working : map:components .. map:resources map:resource name=modifyUser

Re: Can i invoke cocoon from within a swing application

2003-06-26 Thread Alexander Schatten
David Cypers wrote: Hi there, I need to generate PDF and Excel output from within a swing application. Is this possible with Cocoon, without deploying cocoon on a webserver? What I mean is that, can I package the cocoon libraries (and configuration files) with my swing application, and invoke

Re: Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Geoff Howard
At 08:00 AM 6/26/2003, you wrote: Akhona Damane wrote: Hello I am stuck! I want to start with Publishing XML Documents in HTML and PDF, but I can't seem to find a way of working on my Cocoon. The tutorials command me to work on http://localhost:8080/cocoon/mount/ but I can't open up mount

Re: Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Andreas Kuckartz
which version of cocoon are you using? Also, which servlet container are you running cocoon in? See mail-subject... Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Just started with Cocoon 2.0.4 on Tomcat 4.1.24

2003-06-26 Thread Geoff Howard
At 09:25 AM 6/26/2003, you wrote: which version of cocoon are you using? Also, which servlet container are you running cocoon in? See mail-subject... Andreas Oops, needed to widen my window. So, which tutorial? Geoff - To

Re: xsp question

2003-06-26 Thread Roger I Martin PhD
I use Netbeans to check the xml. It can also be used for performing xslt per file rather than building the cocoon war and redeploying it on tomcat. For some xml I've also got it to validate the xml to the dtd and xsd's. For xsp I've only verified checking it for wellformness. I also recommend

Re: Random ArrayIndexOutOfBoundsException

2003-06-26 Thread Gabriel Egolf
Sadly, I don't think it's gonna be a fix for this problem. I ran the Environment Check stylesheet and it looks like my servlet engine is using the correct Xalan version - 2.3.1. I'll attach the relevant XML output at the end. There was an observation that I might have some threadsafe coding

auto-redirect XSP page with timer

2003-06-26 Thread Maxime.Gheysen
Is there a way to redirect an XSP-page after 3seconds? that means I want to display a page for about 3seconds and then automaticly redirect it to another. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

email virus scanner malfunctioining

2003-06-26 Thread Steven Noels
Dear, we (the [EMAIL PROTECTED] mailing list moderators) are being bombarded with moderation requests for misguided return mails from an overzealous virus scanner on your mail system - could you please check this with your network administrators? If this situation persists, we will be forced

[OT] Re: email virus scanner malfunctioining

2003-06-26 Thread Andreas Kuckartz
The message was blocked because of its subject. The subject is Random ArrayIndexOutOfBoundsException. ( Can you find the problematic three letter word hidden in this subject - somewhere near the end? And another five letter in front of that. That combination is really not allowed in Java source

Re: email virus scanner malfunctioining

2003-06-26 Thread Sorin Marti
I am terribly sorry. I will remove myself from the list and check this with the administrators. I'll come back when everything is fixed. sorry again Sorin Marti Steven Noels wrote: Dear, we (the [EMAIL PROTECTED] mailing list moderators) are being bombarded with moderation requests for

Re: auto-redirect XSP page with timer

2003-06-26 Thread Geoff Howard
This has absolutely nothing to do with XSP. Your question should be is it possible to redirect an HTML page after 3 seconds. And yes, of course there is but this is not the right list for that question. You should look at meta refresh tags in the header, or javascript - a simple google search

book recommendations

2003-06-26 Thread Peter Ross
Hi, Does anyone have any recommendations of books that they found useful for learning cocoon? Here are some titles of books that I have found. * Cocoon Developer's Handbook * Cocoon: Building XML Applications * Cocoon 2 Programming: Web Publishing with XML and Java Regards, Peter

store data in DB

2003-06-26 Thread Markus Blasl
Hello, i have cocoon 2.0.4 with tomcat 4.1.x running. I have a postgres db whith some content in it. I also can display the date using cocoon, everything fine My problem now is, that i want to write a page that is like that --- -- - |

Cocoon, SOAP and Basic Authentication

2003-06-26 Thread Scott
In addition to my previous questions, I was wondering how to use Cocoon to get data via SOAP, connecting to a web-server that requires basic authentication? I can't find any docs/references on this at all ! :( I've been using the following as a reference, as well as the standard Cocoon soap

xsl question

2003-06-26 Thread Tim Bachta
How would I do an if statement in xsl were I am testing for the value of an element? Example xsl:if test=deviation = 1 . where my incoming xml looks like this: de deviation0/deviation compleated-byN/A/compleated-by Thanks for

[joke] Error message

2003-06-26 Thread Lorenzo De Sio
This isfor all us often complaining about cryptic Cocoon error messages: look at what could happen using MSXML ;-)... msxml3.dll error '8000' Catastrophic failure /lib.asp, line 35

C2.1-m2 problems with Xalan

2003-06-26 Thread Perry Molendijk
BlankI have encountered some problems running C21-m2. The problem appears to be with the version of Xalan that comes with the distribution, replacing it with the one from C21-m1 didn't fix the problem, however using Saxon as the xslt transformer fixed the problem. I tried this on: W2K / JDK1.4 /

AW: book recommendations

2003-06-26 Thread Markus Heussen
Hi Peter, the very best book is definitively the first one the developer's handbook. Also a very good choice is the second I can advise. But don't buy the third one. It's not worth the money. Good practise :-) Markus -Ursprungliche Nachricht- Von: Peter ROSS [mailto:[EMAIL PROTECTED]

RE: xsl question

2003-06-26 Thread Yan, Charlene
You should ask [EMAIL PROTECTED] They are really good on xsl questions. xsl:if test=deviation ='1' Charlene -Original Message- From: Joydeep Bose [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 12:49 PM To: [EMAIL PROTECTED]; Tim Bachta Subject: Re: xsl question To be on the

Re: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Jacob L E Blain Christen
I can't get milestone 1 or 2 of v2.1 working. I've copied xalan,xercesImpl and xml-apis to Tomcat's endorsed directory but I still get the following error: java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/SerializationContext have you tried putting the jars in the jre endorsed directory

request parameter documentation?

2003-06-26 Thread Dominic Chambers
I need to learn exactly what names can be used to access the various request parameters from the sitemap (e.g. {request:serverName} and {requestQuery}. Sorry for not RTFM on this one, but I can't find the info I want anywhere on the site, although others seem to know bits about it, so it must

Tomcat 5.0.3 ?

2003-06-26 Thread Ramsés Morales
Hi. Has anyone tried Cocoon 2.0.4 with Tomcat 5.0.3? When I tried to load Cocoon's start page, I just get the directory listing (cocoon never starts). There are no ERROR messages on Cocoon's logs. Any ideas? Thanks. - To

Re: C2.1-m2 problems with Xalan

2003-06-26 Thread Ralph Goers
Have you tried Xalan 2.5.1? Beware that Xalan now ships two forms of binaries. In one the XSLT compiler is in the same jar as the interpreter. This causes problems in some environments where classes the XSLT compiler is dependent upon are being used by other components (i.e. BEA Weblogic

AW: request parameter documentation?

2003-06-26 Thread Markus Heussen
It isn't quit a large info but take a look an this url: http://www.cocooncenter.de/cc/documents/resources/request-params/requestpara maction.html Greetings, Markus -Ursprüngliche Nachricht- Von: Dominic Chambers [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 26. Juni 2003 16:07 An:

AbstractGenerator and Poolable

2003-06-26 Thread Gould, Troy (ELS)
I see that the AbstractGenerator implements Poolable. I was wondering what object in the Cocoon framework is responsible for using Excalibur's Pool implementation or another implementation based on the AbstractPool. Does anyone know what object is requesting a Generator from some Pool

Re: request parameter documentation?

2003-06-26 Thread Geoff Howard
Look in the samples for the input modules sample. That should have all of the options demonstrated on one page. HTH, Geoff At 10:06 AM 6/26/2003, you wrote: I need to learn exactly what names can be used to access the various request parameters from the sitemap (e.g. {request:serverName} and

RE: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Mark H
have you tried putting the jars in the jre endorsed directory as well ? Yes, I have, no difference, though you should only need to have one endorsed directory, I've added the endorsed switch to make sure java is using Tomcat's endorsed directory (-Djava.endorsed.dirs=) but it's looking for

Re: Tomcat 5.0.3 ?

2003-06-26 Thread Jens Maukisch
Hi, Has anyone tried Cocoon 2.0.4 with Tomcat 5.0.3? I've tried it with the M1 and it just runs fine and very fast When I tried to load Cocoon's start page, I just get the directory listing check if cocoon is deployed (cocoon never starts). There are no ERROR messages on Cocoon's logs. what

Deleting from a database - Cocoon 2.0.3

2003-06-26 Thread tcanaday
Hi all - I've got a problem using Cocoon 2.0.3 in that I can't seem to delete a record from the database I'm using. Didn't see anything on the archive list related to this. I can add records just fine, but when I execute the code to delete a record, I get the following:

RE: Can't get v2.1, m1 or m2 working

2003-06-26 Thread Mark H
Uncommenting #exclude.block.axis=true from local.blocks.properties file and rebuilding it seems to have done the trick. -Original Message- From: Mark H [mailto:[EMAIL PROTECTED] Sent: 26 June 2003 19:40 To: [EMAIL PROTECTED] Subject: RE: Can't get v2.1, m1 or m2 working have you tried

Sendmail within xsp page under Cocoon 2.0.4 problem

2003-06-26 Thread Markus Heussen
Hi all, I try to get the sendmail logicsheet running within a xsp page, but it doesn't work :-( I followed the instruction under http://wiki.cocoondev.org/Wiki.jsp?page=SendingEmail and put the following code in my xsp page: sendmail:send-mail sendmail:from[EMAIL

RE: Can i invoke cocoon from within a swing application

2003-06-26 Thread Reinhard Pötz
Title: Nachricht There is a Cocoon bean in Cocoon 2.1dev. Using it should do the job. Reinhard -Original Message-From: David Cypers [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 1:56 PMTo: [EMAIL PROTECTED]Subject: Can i invoke cocoon from within a swing

WG: Sendmail within xsp page under Cocoon 2.0.4 problem

2003-06-26 Thread Markus Heussen
Sorry for my precipitate posting. I've solved the problem :-) My smpt host was the problem, sorry. I was offline and the new IP address was not allowed to give mails to my smpt host. Although I don't understand why there was no log file entry? Markus -Ursprüngliche Nachricht- Von:

Re: request parameter documentation?

2003-06-26 Thread Christian Haul
Dominic Chambers wrote: I need to learn exactly what names can be used to access the various request parameters from the sitemap (e.g. {request:serverName} and {requestQuery}. Sorry for not RTFM on this one, but I can't find the info I want anywhere on the site, although others seem to know bits

RE: public pages with the new portal framework?

2003-06-26 Thread Alex Romayev
I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build portal pages, i.e., assuming there is an identifiable user and there are differences between what you show to different users. I also found the generator

RE: public pages with the new portal framework?

2003-06-26 Thread Ralph Goers
Is the new framework documented anywhere? Ralph At 6/26/2003 02:42 PM, you wrote: I'm not sure about the new portal generator, but the old one requires authentication. I suspect that initially it was designed only to build portal pages, i.e., assuming there is an identifiable user and there are

sax event into XSP

2003-06-26 Thread Ramsés Morales
Hi. Would it be possible to create a class with a method that returns an xml document object, call that method inside my xsp logicsheet and include the returned xml document object in my xsp? How would it be done? Thanks. -

RE : public pages with the new portal framework?

2003-06-26 Thread Laurent Trillaud
Yes, I'm afraid of. Laurent -Message d'origine- De : Alex Romayev [mailto:[EMAIL PROTECTED] Envoyé : jeudi 26 juin 2003 23:43 À : [EMAIL PROTECTED] Objet : RE: public pages with the new portal framework? I'm not sure about the new portal generator, but the old one requires