RE: customize cocoon error message

2006-04-07 Thread Schultz, Gary - COMM
Thank you Simone, that is exactly what I am looking for. 

Gary

-Original Message-
From: Simone Gianni [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 07, 2006 6:04 AM
To: users@cocoon.apache.org
Subject: Re: customize cocoon error message

Hi Gary,
I think you are talking about the map:handle-errors pipeline. See
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html for
details.

Hope this helps,
Simone

Schultz, Gary - COMM wrote:

> After exhaustive searches with no results I have come here with this 
> question. Is it possible to customize the dreaded error message:
>  
> Resource not found
>  
> No pipeline matched request cd/v at  -
> file:/something/sitemap.xmap:###: ##
>  
> Where should I look for information on how to write a more user 
> friendly message. We have received complaints from users of our web 
> site and staff inside our organization about this error message. Any 
> and all help is greatly appreciated.
>  
> Gary T. Schultz
> IT Administrator
> Wisconsin Department of Commerce
> Cocoon powered http://commerce.wi.gov
> 608-266-1283
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>  

--
Simone Gianni

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: customize cocoon error message

2006-04-07 Thread Simone Gianni

Hi Gary,
I think you are talking about the map:handle-errors pipeline. See 
http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html for 
details.


Hope this helps,
Simone

Schultz, Gary - COMM wrote:

After exhaustive searches with no results I have come here with this 
question. Is it possible to customize the dreaded error message:
 
Resource not found
 
No pipeline matched request cd/v at  - 
file:/something/sitemap.xmap:###: ##
 
Where should I look for information on how to write a more user 
friendly message. We have received complaints from users of our web 
site and staff inside our organization about this error message. Any 
and all help is greatly appreciated.
 
Gary T. Schultz

IT Administrator
Wisconsin Department of Commerce
Cocoon powered http://commerce.wi.gov
608-266-1283
[EMAIL PROTECTED] 
 


--
Simone Gianni

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: customize cocoon error message

2006-04-07 Thread Bertrand Delacretaz

Le 7 avr. 06 à 05:38, Schultz, Gary - COMM a écrit :


Is it possible to customize the dreaded error message:

Resource not found

No pipeline matched request cd/v at  - file:/something/ 
sitemap.xmap:###:##


Not sure if this is what you're asking, but the easiest way to get  
rid of "no pipeline matched request" is to add a catch-all matcher at  
the end of your sitemaps:



  

-Bertrand



smime.p7s
Description: S/MIME cryptographic signature


customize cocoon error message

2006-04-06 Thread Schultz, Gary - COMM



After exhaustive 
searches with no results I have come here with this question. Is it possible to 
customize the dreaded error message:
 
Resource not found
 
No pipeline matched request cd/v at  - file:/something/sitemap.xmap:###:##
 
Where should I 
look for information on how to write a more user friendly message. We have 
received complaints from users of our web site and staff inside our organization 
about this error message. Any and all help is greatly 
appreciated.
 

Gary T. Schultz
IT Administrator
Wisconsin Department of 
Commerce
Cocoon 
powered http://commerce.wi.gov
608-266-1283
[EMAIL PROTECTED]
 


Re: Cocoon Error

2004-09-10 Thread [EMAIL PROTECTED]
try using:
jakarta-tomcat-4.1.30

copy .war, then restart tomcat, no problem ;)

On Thu, 09 Sep 2004 11:10:34 +0100, Norman Barker <[EMAIL PROTECTED]> wrote:
> 
> 
> Jyothi Giridhar wrote:
> 
> >Hi ,
> >
> >I installed Apache TOmcat 4.1.18
> >I copied the cocoon.war file from cocoon2.0.4 .
> >When i try
> >http://localhost:8080  - > Th tomcat page comes up
> >bug when i try
> >http://localhost:8080/cocoon -> I get this error
> >
> >Failed to generate program code (this may happen if
> >you use Xalan in incremental processing mode). Please
> >check log file and/or console for errors.
> >
> >Please help me.
> >
> >Regards
> >Asha
> >
> >
> Update the XML libraries in JAVA_HOME\lib\endorsed (or whereever they
> are) with the ones
> from Cocoon solves this.
> 
> Norman

-- 
Indonesia Cocoon: idcocoon-subscribe @ yahoogroups.com
Superbiji @ gmail.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon Error

2004-09-09 Thread Norman Barker
Jyothi Giridhar wrote:
Hi ,
I installed Apache TOmcat 4.1.18 
I copied the cocoon.war file from cocoon2.0.4 .
When i try 
http://localhost:8080  - > Th tomcat page comes up
bug when i try 
http://localhost:8080/cocoon -> I get this error

Failed to generate program code (this may happen if
you use Xalan in incremental processing mode). Please
check log file and/or console for errors.
Please help me. 

Regards
Asha 

		
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

Update the XML libraries in JAVA_HOME\lib\endorsed (or whereever they 
are) with the ones
from Cocoon solves this.

Norman
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Cocoon Error

2004-09-09 Thread Jyothi Giridhar
Hi ,

I installed Apache TOmcat 4.1.18 
I copied the cocoon.war file from cocoon2.0.4 .
When i try 
http://localhost:8080  - > Th tomcat page comes up
bug when i try 
http://localhost:8080/cocoon -> I get this error

Failed to generate program code (this may happen if
you use Xalan in incremental processing mode). Please
check log file and/or console for errors.

Please help me. 

Regards
Asha 



__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: javaflow Cocoon Error in jboss-4DR4 is this question has been posted ?

2004-06-30 Thread Stephan Michels
Am Mi, den 30.06.2004 schrieb andi um 6:01:
> Dear all i just experiment to implement cocoon.war  in jboss 
> the configuration like this 
> cocoon-2.1.5\build\webapp i copy all in that directory to 
> jboss_home\server\default\deploy\cocoon.war cocoon.war is directory
> 
> i get the error message when i try to 
> 
> 1. http://localhost:8080/cocoon/samples/blocks/javaflow/showEmployee.do
> 
> 2. http://localhost:8080/cocoon/samples/blocks/forms/form2xml.flow

Which error message do you get? You must tell us more information
if you want that we help you.

Stephan.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



javaflow Cocoon Error in jboss-4DR4 is this question has been posted ?

2004-06-29 Thread andi
Dear all i just experiment to implement cocoon.war  in jboss 
the configuration like this 
cocoon-2.1.5\build\webapp i copy all in that directory to 
jboss_home\server\default\deploy\cocoon.war cocoon.war is directory

i get the error message when i try to 

1. http://localhost:8080/cocoon/samples/blocks/javaflow/showEmployee.do

2. http://localhost:8080/cocoon/samples/blocks/forms/form2xml.flow

please any kind help is appreciate, thank you 
but if i change to jetty web server it's okey.

pelase help me.Thank you

best regards 

andi kusnadi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon Error in jboss-4DR4

2004-06-29 Thread Joerg Heinicke
On 28.06.2004 10:16, andi wrote:
Dear all i just experiment to implement cocoon.war  in jboss 
the configuration like this 
cocoon-2.1.5\build\webapp i copy all in that directory to 
jboss_home\server\default\deploy\cocoon.war cocoon.war is directory

i get the error message when i try to 
If you were so kind to tell us which error message?
1. http://localhost:8080/cocoon/samples/blocks/javaflow/showEmployee.do
For the JavaFlow stuff it can easily be a classloader issue: BCEL, 
XSTLC, RegExp.

2. http://localhost:8080/cocoon/samples/blocks/forms/form2xml.flow
For the flowscript, too, but there is only one problematic package: Rhino.
But maybe it's just an endorsed libs issue.
Joerg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


javaflow Cocoon Error in jboss-4DR4 is this question has been posted ?

2004-06-28 Thread andi
Dear all i just experiment to implement cocoon.war  in jboss 
the configuration like this 
cocoon-2.1.5\build\webapp i copy all in that directory to 
jboss_home\server\default\deploy\cocoon.war cocoon.war is directory

i get the error message when i try to 

1. http://localhost:8080/cocoon/samples/blocks/javaflow/showEmployee.do

2. http://localhost:8080/cocoon/samples/blocks/forms/form2xml.flow

please any kind help is appreciate, thank you 
but if i change to jetty web server it's okey.

pelase help me.Thank you

best regards 

andi kusnadi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cocoon Error in jboss-4DR4 is this question has been posted ?

2004-06-28 Thread andi


Dear all i just experiment to implement cocoon.war  in jboss 
the configuration like this 
cocoon-2.1.5\build\webapp i copy all in that directory to 
jboss_home\server\default\deploy\cocoon.war cocoon.war is directory

i get the error message when i try to 

1. http://localhost:8080/cocoon/samples/blocks/javaflow/showEmployee.do

2. http://localhost:8080/cocoon/samples/blocks/forms/form2xml.flow

please any kind help is appreciate, thank you 
but if i change to jetty web server it's okey.

pelase help me.Thank you

best regards 

andi kusnadi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Cocoon Error in jboss-4DR4

2004-06-28 Thread andi

Dear all i just experiment to implement cocoon.war  in jboss 
the configuration like this 
cocoon-2.1.5\build\webapp i copy all in that directory to 
jboss_home\server\default\deploy\cocoon.war cocoon.war is directory

i get the error message when i try to 

1. http://localhost:8080/cocoon/samples/blocks/javaflow/showEmployee.do

2. http://localhost:8080/cocoon/samples/blocks/forms/form2xml.flow

please any kind help is appreciate, thank you 
but if i change to jetty web server it's okey.

pelase help me.Thank you

best regards 

andi kusnadi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cocoon Error in jboss-4DR4

2004-06-27 Thread andi
Dear all i just experiment to implement cocoon.war  in jboss 
the configuration like this 
cocoon-2.1.5\build\webapp i copy all in that directory to 
jboss_home\server\default\deploy\cocoon.war cocoon.war is directory

i get the error message when i try to 

1. http://localhost:8080/cocoon/samples/blocks/javaflow/showEmployee.do

2. http://localhost:8080/cocoon/samples/blocks/forms/form2xml.flow

please any kind help is appreciate, thank you 

best regards 

andi kusnadi


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon error when using Tomcat and IIS

2003-07-10 Thread Derek Hohls
How about trying with either 

- %20%
or
- changing the dir name to omit spaces (spaces in
web paths are often messy)

>>> [EMAIL PROTECTED] 10/07/2003 06:27:39 >>>
I've got the following problem when running
Tomcat/Cocoon and IIS () - both standalone on my
development notebook - in parallel.

Most of the Cocoon pipelines are working but this one
is only working when apache is running on port 8080.


Problem:


IIS on localhost:8080
Tomcat on port 80

Pipeline:
-


http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata.xml"/>
http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl"/>



Invoke:
---

http://localhost/cocoon/samples/portal-fw/histochart.jpeg 

gets error:

"The
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that
org.apache.cocoon.ProcessingException says:

Unable to get transformer handler for
http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl 

More precisely:

org.apache.cocoon.ProcessingException: Unable to get
transformer handler for
http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl: 
org.apache.excalibur.xml.xslt.XSLTProcessorException:
Exception in creating Transform Handler"

But:


http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl 
is a valid URI to this file

Any ideas ??

Thanks,
Holger

___
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/ 





-
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Cocoon error when using Tomcat and IIS

2003-07-10 Thread hgadm
I've got the following problem when running
Tomcat/Cocoon and IIS () - both standalone on my
development notebook - in parallel.

Most of the Cocoon pipelines are working but this one
is only working when apache is running on port 8080.


Problem:


IIS on localhost:8080
Tomcat on port 80

Pipeline:
-


http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata.xml"/>
http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl"/>



Invoke:
---

http://localhost/cocoon/samples/portal-fw/histochart.jpeg

gets error:

"The
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that
org.apache.cocoon.ProcessingException says:

Unable to get transformer handler for
http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl 

More precisely:

org.apache.cocoon.ProcessingException: Unable to get
transformer handler for
http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl:
org.apache.excalibur.xml.xslt.XSLTProcessorException:
Exception in creating Transform Handler"

But:


http://localhost:8080/~Owner/My%20Website/cocoon/svg/svgdata-legend.xsl
is a valid URI to this file

Any ideas ??

Thanks,
Holger

___
The ALL NEW CS2000 from CompuServe
 Better!  Faster! More Powerful!
 250 FREE hours! Sign-on Now!
 http://www.compuserve.com/trycsrv/cs2000/webmail/





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]