Re: [SUMMARY] Complicated setup

2002-12-05 Thread Charles Yates
>   # Problem: now EVERYTHING is served by cocoon. No way to serve  
>static/legacy content by Apache!

A small quibble, but this isn't true.  You can set up an alias in
httpd.conf, for example:

Alias /images/ "/usr/java/tomcat/webapps/cocoon/resources/images/"


Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all



 Then any request to '/images/someimagefile will be served by
apache, even with cocoon context at '/'.  At least this works for me
apache 2.0.43 mod_webapp 1.2.  This is also how I handle pdfs.
 On the other hand, Leo's excellent summary has got me thinking I
should switch to mod_jk2 . . .

Charles





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: ldap

2002-12-05 Thread Bentley, Tim
Christian -

Unfortunately I am no longer using Cocoon, so I haven't tested eldap with
the latest versions and am not in a position to provide much help :-(
However, there is no reason that I'm aware of why it shouldn't work.  At a
guess from the logs you've posted there's something more fundamental wrong
with your XSP page - 'illegal start of expression' sounds like a problem
with the XML syntax.  

Your best bet is probably to seek help on cocoon-users.  Sorry I can't be of
more help!


Regards,


Tim Bentley

> -Original Message-
> From: Christian Joelly [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, 6 December 2002 5:04 AM
> To: [EMAIL PROTECTED]
> Cc: Bentley, Tim
> Subject: Re: ldap
> 
> 
> Hello Tim!
> 
> i want to use your eldap logicsheet with cocoon 2.0.3 but get 
> some errors which doesnt occur with cocoon 2.0.1:
> 
> org.apache.cocoon.ProcessingException: Language Exception: 
> org.apache.cocoon.components.language.LanguageException: 
> Error compiling logincheck_xsp: Line 995, column 73:  illegal 
> start of expression Line 1001, column 62:  illegal start of 
> expression Line 1003, column 77:  illegal start of expression 
> Line 1004, column 80:  illegal start of expression Line 1005, 
> column 75:  illegal start of expression Line 1007, column 71: 
>  illegal start of expression Line 1058, column 113:  illegal 
> start of expression Line 1074, column 148:  illegal start of 
> expression Line 995, column 56:  method _eldap_getString() 
> not found in class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 1003, column 61:  method _eldap_getScope() not found in 
> class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 1004, column 62:  method _eldap_getBoolean() not found 
> in class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 1005, column 60:  method _eldap_getLong() not found in 
> class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 1006, column 66:  method _eldap_getAttrs() not found in 
> class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 1007, column 57:  method _eldap_getInt() not found in 
> class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 1072, column 130:  method _eldap_GetNameFromDN() not 
> found in class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 1074, column 130:  method _eldap_getBoolean() not found 
> in class org.apache.cocoon.www.login.xsp.logincheck_xsp
> Line 0, column 0: 
> 16 errors
> 
>   at 
> org.apache.cocoon.components.language.generator.ProgramGenerat
> orImpl.createResource(ProgramGeneratorImpl.java:340)
>   at 
> org.apache.cocoon.components.language.generator.ProgramGenerat
> orImpl.load(ProgramGeneratorImpl.java:292)
>   at 
> org.apache.cocoon.generation.ServerPagesGenerator.setup(Server
> PagesGenerator.java:198)
>   at 
> org.apache.cocoon.components.pipeline.AbstractEventPipeline.se
> tupPipeline(AbstractEventPipeline.java:202)
>   at 
> org.apache.cocoon.components.pipeline.CachingEventPipeline.set
> up(CachingEventPipeline.java:278)
>   at 
> org.apache.cocoon.components.pipeline.CachingEventPipeline.gen
> erateKey(CachingEventPipeline.java:141)
>   at 
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr
> ocess(CachingStreamPipeline.java:317)
>   at 
> org.apache.cocoon.www.login.sitemap_xmap.matchN1002D(/usr/loca
> l/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/
> cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:507)
>   at 
> org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JB
> oss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/coco
> on-files/org/apache/cocoon/www/login/sitemap_xmap.java:382)
>   at 
> org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JB
> oss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/coco
> on-files/org/apache/cocoon/www/login/sitemap_xmap.java:321)
>   at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
>   at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>   at 
> org.apache.cocoon.www.sitemap_xmap.matchN1030F(/usr/local/JBos
> s-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon
> -files/org/apache/cocoon/www/sitemap_xmap.java:2369)
>   at 
> org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2.
> 4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-fil
es/org/apache/cocoon/www/sitemap_xmap.java:2076)
>   at 
> org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2.
> 4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-fil
es/org/apache/cocoon/www/sitemap_xmap.java:1994)
>   at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
>   at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
>   at 
> org.apache.cocoon.sitemap.SitemapManager.process(SitemapManage
> r.java:154)
>   at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
>   at 
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.
> java:999)
>   at javax.servlet.h

RE: Can anyhow consolidate XML form configuration + required files

2002-12-05 Thread Hong Gia Dinh
Title: RE: Can anyhow consolidate XML form configuration + required files





i have not tried to use XML form in cocoon2.0.3 yet!
why dont you download the cocoon 2.1 ?
then you will see how XML Form looks in Cocoon.
I downloaded cocoon2.1 and apply XML Form of Cocoon to my application
it ran well


Cheers
GD


-Original Message-
From: Sreenivasan N. [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2002 11:06
To: [EMAIL PROTECTED]
Subject: Can anyhow consolidate XML form configuration + required files



Hi all


Can anyone give me a full setup and required files to make XML form work in 
Cocoon 2.0.3?  I am trying to do all sorts of way to try to make work but 
no use. I havnt seen yet how XML Form looks in Cocoon. Can anyone give me 
the falvour.


Thanks in advance
Regards
Sreenivasan.








"Attitudes are much more important than aptitudes."
"Nothing is impossible for a willing heart"


Sreenivasan N.
Sony SARD
Ext 5816


Email. [EMAIL PROTECTED]
Per: [EMAIL PROTECTED]



-
Please check that your question  has not already been answered in the
FAQ before posting. 


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





Can anyhow consolidate XML form configuration + required files

2002-12-05 Thread Sreenivasan N.
Hi all

Can anyone give me a full setup and required files to make XML form work in 
Cocoon 2.0.3?  I am trying to do all sorts of way to try to make work but 
no use. I havnt seen yet how XML Form looks in Cocoon. Can anyone give me 
the falvour.

Thanks in advance
Regards
Sreenivasan.







"Attitudes are much more important than aptitudes."
"Nothing is impossible for a willing heart"

Sreenivasan N.
Sony SARD
Ext 5816

Email. [EMAIL PROTECTED]
Per: [EMAIL PROTECTED]


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Tom Shepherd is out of the office.

2002-12-05 Thread Tom Shepherd
I will be out of the office starting  06/12/2002 and will not return until 09/12/2002.

For GCIS issues contact Wojtek Swistak.
For Mosaic issues contact Stephen Cheal.


--

This e-mail may contain confidential and/or privileged information. If you are not the 
intended recipient (or have received this e-mail in error) please notify the sender 
immediately and destroy this e-mail. Any unauthorized copying, disclosure or 
distribution of the material in this e-mail is strictly forbidden.



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




EJB and Cocoon

2002-12-05 Thread Hong Gia Dinh
Title: EJB and Cocoon





Hi all,


can you tell me if there is any support of cocoon for ejb ?
for example, support for automatic look up naming declaration for the beans?


Thanks a lot
GD





Re: DTD Declaration in sitemap/serializers

2002-12-05 Thread Perry Molendijk
Title: Blank



OK it's in the FAQs, sorry. But is there a way to 
generate an XML document that does add a DTD Declaration?
 
Perry

  - Original Message - 
  From: 
  Perry 
  Molendijk 
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, December 05, 2002 12:06 
  PM
  Subject: DTD Declaration in 
  sitemap/serializers
  
   
   
   
  I'm sure there is a sensible explanation for this but I can't find it. When 
  I change:
   
  to
    
  -//W3C//DTD HTML 4.01 
  Transitional//EN  
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd  
  ISO-8859-1
  The resulting html output has the correct dtd declaration at the top of the 
  file:
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  Now when I try this with the xml serializer that doesn't happen e.g.
    
  -//OASIS//DTD DocBook XML 
  V4.2//EN  
  http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd
  I would like to see this:
     
  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
  I noticed the same behaviour with the "svgxml" serializer which leads me to 
  believe that this is a feature of the XMLSerializer. Is there a way to 
  generate XML output with a DTD declaration in it?
  Bye
  Perry Molendijk


Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Can you explain a little more about that?)

2002-12-05 Thread Konstantin Piroumian

From: "Antonio Gallardo" <[EMAIL PROTECTED]>
> Christian Haul dijo:
> > Konstantin Piroumian wrote:
> >> Hi!
> >>
> >> Why the names of tags are not:
> >> 
> >> 
> >> etc.?
> >
> > Good point. My reasoning was that get-parameter is the most visible /
> > most used tag from the request logicsheet. And since I see this as a
> > replacement, I thought differences should be minimal.
>
> I agree too. Is better stay at the formal specification:
>
> tag is official called elements
> parameter is official called attribute.
>
> Can you make the change Konstantin?

I'll be able to do it only in the evening today (about 6 hours later). Hope
this won't be too late.

Konstantin

>
> Antonio Gallardo
>
> >
> > Feel free to change the tag names -- I won't be able to do it today and
> > the release is coming up. We need to decide and act on this fast and I
> > will be effectively offline for the rest of today starting now.
> > There is an example quoted in
> > src/documentation/xdocs/userdocs/concepts/modules.xml Be sure to change
> > that as well.
> >
> > Chris.
> >
> > --
> > C h r i s t i a n   H a u l
> > [EMAIL PROTECTED]
> >  fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Can you explain a little more about that?)

2002-12-05 Thread Konstantin Piroumian
Hi!

Why the names of tags are not:


etc.?

I think it would be more consistent than having .

Regards,
  Konstantin

From: "Christian Haul" <[EMAIL PROTECTED]>
> Antonio Gallardo wrote:
> > Hi Christian:
>  >
> > I saw you recently commited this changes:
> >
> > 1- New Logicsheet for use with InputModules. (CH)
>
> Antonio,
>
> input.xsl is a very simple logicsheet, it contains three tags
> ,  and
>  which just call the similar methods on an
> InputModule.
>
> References to modules are obtained at first access and are released at
> the end of the page. Consecutive accesses reuse the cached references.
>
> Apart from a mandatory parameter @module the tags should behave very
> much like the same tags from request.xsl
>
> Only drawback is that default values are limited to java.lang.String.
>
> It is based on logicsheet-utils.xsl so it takes  for any
> parameter.
>
> An example can be found on the concepts document for modules.
>
> > 2- add xsp.xsl now includes all xsp:init-page tags. Additional
> > xsp:exit-page tag for cleanup operations. (CH)
>
> All top-level  tags will be included at the end of the
> page, i.e. after endDocument() is called. exit-page may only contain
> java code. A similar tag exists with init-page which is fired just
> before startDocument() is called.
>
> Both can be used to initialize local variables / clean up. Since they
> are outside the document scope, they _cannot_ be used to output anything
> to the client like headers or footers.
>
> > I use XSP and I will be glad to learn a little about this new features.
> >
> > Two months ago you helped me with autonumeric-module for PosgreSQL
Databse
> > using modular database. I dont saw the module into the cocoon.xconf. Of
> > course I have it already in my cocoon.xconf ;-) Thanks again.
> >
> > 
> >  >
class="org.apache.cocoon.components.modules.database.PgsqlAutoIncrementModul
e"/>
> > 
> >
> > All I can said about it is that work fine. I have it already into
> > production without any problem. :-D
> >
> > Can you include it into the cocoon.xconf or there is another policies
> > about what include into cocoon.xconf?
>
> According to my own repository it is in cocoon.xconf -- oh wait -- not
> for 2.1. OK, will fix that.
>
> BTW it is now possible to specify a different sequence name than the
> default one. See javadocs for details.
>
> Now, you've got the complete story, you write some docs ;-)
> Maybe you can get this up on the Wiki?
>
> Chris.
>
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
>  fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: LDAPTransformer

2002-12-05 Thread Nicola Ken Barozzi


Martin Holz wrote:

Thanks Didier.

I still get the same exception :-(
I am using revision 1.9 of LDAPTransformer from cvs HEAD.  
Nicola moved it to a block a week ago, but did not change 
it otherwise. 

Not /yet/ ;-)

I'm going to use it for the first time in the next days for my intranet, 
so I need it fixed too if it's broken.
Actually I will also need to make addition possible, we'll see...

Which version of cocoon do you use?



--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: LDAPTransformer

2002-12-05 Thread Martin Holz
Thanks Didier.

I still get the same exception :-(
I am using revision 1.9 of LDAPTransformer from cvs HEAD.  
Nicola moved it to a block a week ago, but did not change 
it otherwise. 

Which version of cocoon do you use?


Martin

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [SUMMARY] Complicated setup

2002-12-05 Thread Mark Eggers
Folks, I added the following information to the Wikki
pages.

There are some binaries available, as well as source
packages for the various Tomcat connectors. The
connectors are now in their own project, called
jakarta-tomcat-connectors. Unfortunately there is no
home page within jakarta.apache.org that I can find,
and the online documentation does not point you to the
connector download area.

All of the connectors can be found under the following
general location:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors

Explore under this directory for the latest binaries
and source packages for all of the connectors.

I hope this helps.

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: ldap

2002-12-05 Thread Christian Joelly
Hello Tim!

i want to use your eldap logicsheet with cocoon 2.0.3 but get some
errors which doesnt occur with cocoon 2.0.1:

org.apache.cocoon.ProcessingException: Language Exception: 
org.apache.cocoon.components.language.LanguageException: Error compiling 
logincheck_xsp:
Line 995, column 73:  illegal start of expression
Line 1001, column 62:  illegal start of expression
Line 1003, column 77:  illegal start of expression
Line 1004, column 80:  illegal start of expression
Line 1005, column 75:  illegal start of expression
Line 1007, column 71:  illegal start of expression
Line 1058, column 113:  illegal start of expression
Line 1074, column 148:  illegal start of expression
Line 995, column 56:  method _eldap_getString() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 1003, column 61:  method _eldap_getScope() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 1004, column 62:  method _eldap_getBoolean() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 1005, column 60:  method _eldap_getLong() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 1006, column 66:  method _eldap_getAttrs() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 1007, column 57:  method _eldap_getInt() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 1072, column 130:  method _eldap_GetNameFromDN() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 1074, column 130:  method _eldap_getBoolean() not found in class 
org.apache.cocoon.www.login.xsp.logincheck_xsp
Line 0, column 0: 
16 errors

at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:340)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:292)
at 
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:198)
at 
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:202)
at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:278)
at 
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:141)
at 
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:317)
at 
org.apache.cocoon.www.login.sitemap_xmap.matchN1002D(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:507)
at 
org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:382)
at 
org.apache.cocoon.www.login.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/login/sitemap_xmap.java:321)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at 
org.apache.cocoon.www.sitemap_xmap.matchN1030F(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:2369)
at 
org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:2076)
at 
org.apache.cocoon.www.sitemap_xmap.process(/usr/local/JBoss-2.4.4_Tomcat-3.2.3/tomcat/work/localhost_8080%2Fknapp/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1994)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
at org.apache.tomcat.core.Handler.service(Handler.java:287)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:812)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:758)
at 
org.apache.tomcat.service.connector.Ajp13ConnectionHandler.processConnection(Ajp13ConnectionHandler.java:160)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
at java.lang.Thread.run(Thread.java:484)
org.apache.cocoon.components.language.LanguageException: Error compiling loginc

Réf:LDAPTransformer

2002-12-05 Thread Rano, Didier





 http://apache.org/cocoon/LDAP/1.0";>
   com.sun.jndi.ldap.LdapCtxFactory
   ldap://myserver.com
   SUBTREE_SCOPE
   TRUE 
   cn=MYUSER
   MYPASSWD
   o=toto,c=fr
   true
   

   



Séparateur de messages
Objet : LDAPTransformer
Auteur :[EMAIL PROTECTED]
Date :  05/12/2002 15:54

Hello,

did anybody got LDAPTransformer working? I always get
exceptions like

"java.lang.IllegalStateException: LDAPTransformer:
Not   expecting a start serverurl element"

I can't figure out the input the transformer expects It
would be nice, if you could send me a simple example for
the input.

Thanks
 Martin

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [SUMMARY] Complicated setup

2002-12-05 Thread Geoff Howard
I really got the impression that mod_webapp and warp
are on the way out, which was an important factor for
me even though I wasn't deploying on windows.  You may
consider mentioning at least the rumor?

Geoff

--- leo leonid <[EMAIL PROTECTED]> wrote:

> mod_webapp communicates via the new WARP protocol,
> using Tomcats  
> WarpConnector. You can easily mount whole
> webapps/contexts.
> 
>   + easy setup
> 
>   - not as stable as JK1.2
>   - poor differentiation concerning mounts
>   - no load balancing
>   - not suitable for Windows
>   - not suitable for Jetty
> 
> Sample: mounting cocoon as
> http://host.domain.tld/cocoon/
> 
>   WebAppConnection warpConnection warp localhost:8008
>   WebAppDeploy cocoon warpConnection /cocoon/
> 
> Sample: mounting cocoon as http://host.domain.tld/
> 
>   WebAppConnection warpConnection warp localhost:8008
>   WebAppDeploy cocoon warpConnection /
> 
>   # Problem: now EVERYTHING is served by cocoon. No
> way to serve  
> static/legacy content by Apache!
> 
> docs:
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/
> 
> connectors.html
>   
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/webapp.html
> 
> 
> (B)  
>
mod_jk__
> 
> 
> 
> mod_jk communicates via ajp1.3 protocol using an
> Ajp13Connector
> 
>   + very stable
>   + supports load balancing
>   + works with Jetty
> 
>   - long winded setup
>   - poor syntax in mount directives
>   - Maintenance of mounts needs changes to httpd.conf
> 
> 
> 
> mod_jk is configured by a configuration file named
> workers.properties:
> 
>   ### sample for workers.properties ###
> 
>   workers.apache_log=/usr/local/apache2/logs/
>   workers.tomcat_home=/usr/jakarta/catalina
>   workers.java_home=/usr/java/current
>   ps=/
>   # Define 3 workers, 2 real ajp13 and one being a
> loadbalancing worker
>   worker.list=worker1 worker2
>   # Set properties for worker1 (ajp13)
>   worker.worker1.type=ajp13
>   worker.worker1.host=host1.domain.tld
>   worker.worker1.port=8009
>   worker.worker1.lbfactor=50
>   worker.worker1.cachesize=10
>   worker.worker1.cache_timeout=600
>   worker.worker1.socket_keepalive=1
>   worker.worker1.socket_timeout=300
>   # Set properties for worker2 (ajp13)
>   worker.worker2.type=ajp13
>   worker.worker2.host=host2.domain.tld
>   worker.worker2.port=8009
>   worker.worker2.lbfactor=50
>   worker.worker2.cachesize=10
>   worker.worker2.cache_timeout=600
>   worker.worker2.socket_keepalive=1
>   worker.worker2.socket_timeout=300
>   # Set properties for worker3 (lb) which use worker1
> and worker2
>   worker.worker3.balanced_workers=worker1,worker2
> 
>    end of sample ###
> 
> in you httpd.conf you put your mount directives like
> 
>   # mounting only the index
>   JkMount /  worker2
>   # further, for example for mounting all html files
>   JkMount /*.html  worker2
>   # further, for example for mounting everything in
> dir
>   JkMount /dir/*  worker2
> 
> Things that unfortunately *DON’T* work!
> 
>   JkMount */dir/  worker2
>   JkMount **/dir/  worker2
>   JkMount /dir1/**/dir/  worker2
>   JkMount /dir1/*/dir/*/*.html  worker2
>   JkMount /!(images|movies|audio)* worker2
> 
> docs: 
>
http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html
>   
>
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
>   
> 
> (c)  
>
mod_jk2_
> 
> 
> 
> The very new JK2 communicates via ajp1.3/ajp1.4
> using  
> CoyoteConnector+JkCoyoteHandler.
> 
>   + supports load balancing
>   + supports in-process
>   + works with Jetty
>   + supports fast unix-sockets
>   + fine grained configuration
>   + easy to maintain mounts (no need to edit
> httpd.conf)
> 
>   - jk2 is not as stable as mod_jk (correct me if I
> am wrong, I did not  
> try the latest versions)
>   - lack of documentation
>   - hard to build from cvs (IMO) - no binaries
> available AFAIK
> 
> mod_jk2 is configured by a configuration file named 
> 
> workers2.properties. There you define hosts, ports,
> workers, uri  
> mapping etc:
> 
>   ### sample for workers2.properties monting cocoon
> as host.domain.tld/  
> ###
> 
>   [shm]
>   file=/usr/jakarta/catalina/work/jk2.shm
>   size=1048576
> 
>   # Example socket channel, override port and host.
>   [channel.socket:host.domain.tld:8009]
>   port=8009
>   host=127.0.0.1
> 
>   # define the worker
>   [ajp13:ministrant.leonid:8009]
>   channel=channel.socket: host.domain.tld:8009
> 
>   # Uri mapping
>   [uri:ministrant.leonid/*]
>   worker=ajp13: host.domain.tld:8009
>   context=/cocoon
> 
>    end of sample ###
> 

Re: [SUMMARY] Complicated setup

2002-12-05 Thread Jens Lorenz
Jeremy Quinn wrote:

Hi,


Hi Leo

That was an excellent summary!


I can only agree and turned Leo's mail into a Wiki page by adding a 
small amount of Wiki markup.

http://outerthought.net/wiki/Wiki.jsp?page=CocoonAndApache




Best regards,


Jens

--

Jens Lorenz

interface:projects GmbH \\|//
Tolkewitzer Strasse 49  (o o)
01277 Dresden   oOOo~(_)~oOOo
Germany


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Re: map:when, patterns?

2002-12-05 Thread Christian Joelly
Hello again!

sorry for that question :-( i use map:otherwise for this task...

Chris

On Thu, Dec 05, 2002 at 04:38:37PM +0100, Christian Joelly wrote:
> 
> can anybody please tell me what patterns are allowed to use with the
> "test" attribute? Is there a way to test for the _availability_ of an
> parameter, attribute or the like? Not of a special value. Sure, i can
> test for "", but the logfile says:

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz

-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
compromise defense  democracy  destroy  destruct  detonator  directorate
elections enforce extasy force  foreign embassy government grass hashish
heroin   illegal  information   international  military systems  missile
million dollars   nuclear  policital   pot  power   presidental  project
restricted data  revolution  rule the world sensitive  smuggle spy steal
system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed





msg21477/pgp0.pgp
Description: PGP signature


Re: [SUMMARY] Complicated setup

2002-12-05 Thread leo leonid

On Thursday, December 5, 2002, at 04:34 PM, Jeremy Quinn wrote:


Hi Leo

That was an excellent summary!


thanks :)



The only thing I would add was that if you try to use mod_jk like this:

JkMount /* worker



ok, and maybe the hint that every mount directive must start with a '/'


it completely blocks the use of Apache for _any_ static content, 
making it very difficult (or at least, verbose) to use in certain 
circumstances.

Does mod_jk2 suffer from the same limitation?


I don't use it at the moment, so I don't know all jk2 uri-mapping 
possibilities and limitation in detail. I took a quick look on
http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=%5Buri%3A&q=b
where I found some kind of announcement of a 2.02 release that will 
supports RE's.
This will make us all happy, especially Andrew Savory :)

Many thanks for all your help

regards Jeremy

On Thursday, Dec 5, 2002, at 14:56 Europe/London, leo leonid wrote:


If you want to connect Cocoon with Apache httpd in order to serve 
static/legacy content directly from Apache you have three 
possibilities ATM (apart from the obsolete Jserv):




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




XMLForm: content listbox problem

2002-12-05 Thread Sylvain.Thevoz
Hello,

I have an XMLForm app like this:

Navigation:
Start->Form1->Form2->Confirm->End

In the Form1 view I have a listbox. The content (the different choices) of this 
listbox comes from an XML file. The code is:

  Workstation Type
  


  
  


This code seems to be OK. The XPath code is also OK I think. Here is the XML file:

  

  Desktop


  Laptop


  Other configuration

  



I load the XML file in a DOM Node property (called "select"). This property is located 
in the Bean file (with getter and setter methods for this property). I load the XML 
file in this Node property also in the Bean file, in the constructor. Here the Bean 
file:

public class AddWorkstationBean {
private String workstationName;
private String workstationType;
private String workstationOwner;
private String workstationUser;

private Node select; //values from the XML file

public AddWorkstationBean() {
initSelect();
}

public Node initSelect() {
//initialize a property named "select" of DOM Node class
DOMImplementation impl;
try {
// Find the implementation
DocumentBuilderFactory factory =
DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(false);
factory.setValidating(false);
DocumentBuilder builder = factory.newDocumentBuilder();
impl = builder.getDOMImplementation();

//Create the node for the root "select"
Document document = impl.createDocument(null, "select", null);
Node selectName = document.getDocumentElement();

//Loading from XML File
String fileName =

"C:\\jakarta-tomcat-4.1.12\\webapps\\cocoon\\woc\\iniForm.xml";
FileInputStream inXML = new FileInputStream(fileName);
BufferedReader in =
new BufferedReader(new InputStreamReader(inXML));
Element element = XMLLoader.loadFromStream(in);

//Import the node
Element importedElement =
(Element) document.importNode(element, true);
selectName.appendChild(importedElement);

//initialize the porperty

select = selectName;
}
 
.. getter an setter methods..
..

}


My problem is when I start the app (with the Start view) and then display the Form1 
there is NOTHING in the listbox (the list isn't empty but it's like the caption and 
value properties are null)!!
Then I go to the next view (Form2). Then if I press the Preview button and go back to 
the Form1, the listbox is OK!! It's crazy and I really don't understand why!

Someone could help me?
Any suggestions will be greatly appreciated!

Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




map:when, patterns?

2002-12-05 Thread Christian Joelly
Hello!

can anybody please tell me what patterns are allowed to use with the
"test" attribute? Is there a way to test for the _availability_ of an
parameter, attribute or the like? Not of a special value. Sure, i can
test for "", but the logfile says:

DEBUG   (2002-12-05) 16:22.29:834   [sitemap.selector.session-attribute]
(/knapp/reports/logo.xml) Thread-43/SessionAttributeSelector: Session
attribute 'user' not set -- failing.

I have tried to use sessionstate matchers, but i can't test for the
existence of an session attribute... 

it would be nice to use map:when like xsl:choose...

thx, Chris

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz

-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
compromise defense  democracy  destroy  destruct  detonator  directorate
elections enforce extasy force  foreign embassy government grass hashish
heroin   illegal  information   international  military systems  missile
million dollars   nuclear  policital   pot  power   presidental  project
restricted data  revolution  rule the world sensitive  smuggle spy steal
system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed





msg21474/pgp0.pgp
Description: PGP signature


Re: [SUMMARY] Complicated setup

2002-12-05 Thread Jeremy Quinn
Hi Leo

That was an excellent summary!

The only thing I would add was that if you try to use mod_jk like this:

JkMount /* worker

it completely blocks the use of Apache for _any_ static content, making 
it very difficult (or at least, verbose) to use in certain 
circumstances.

Does mod_jk2 suffer from the same limitation?

Many thanks for all your help

regards Jeremy

On Thursday, Dec 5, 2002, at 14:56 Europe/London, leo leonid wrote:

If you want to connect Cocoon with Apache httpd in order to serve 
static/legacy content directly from Apache you have three 
possibilities ATM (apart from the obsolete Jserv):




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Problem SQLTransformer

2002-12-05 Thread Ruben_Inoto
Hi,
I remember I had a similar problem, and I think the reason was
that I had two connection pools defined in cocoon.xconf, and two
drivers in the WEB-INF/classes (oracle and mysql). With only one
it worked (don't ask why).
But don't trust me, that was long time ago and my memory is not
what it used to be (actually, I don't even remember if I ever had).

regards,
Ruben




|-+->
| |   "Rano, Didier"|
| |   <[EMAIL PROTECTED]|
| |   chelin.com>   |
| | |
| |   05.12.2002 10:37  |
| |   AM|
| |   Please respond to |
| |   cocoon-users  |
| | |
|-+->
  
>--|
  |
  |
  |   To:   [EMAIL PROTECTED]
  |
  |   cc:  
  |
  |   Subject:  Problem SQLTransformer 
  |
  
>--|





Hello,

With Cocoon 2.0.3, on windows NT, and tomcat 4.1.12

I have a problem with SQLTransformer (with Oracle JDBC  driver). Cocoon
returns
all records normally without data !!

Example:
  






How solve this problem ?

Thank you

Didier Rano
Serv'N Data

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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






-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: AW: How may I get the FilePart object ?

2002-12-05 Thread Geoff Howard
Those changes were made after the 2.0.3 release. 
You'll need to either check 2.0.3 branch out of cvs,
or wait for the imminent 2.0.4 release.

However, you can also configure cocoon to totally
ignore all file uploads by changing the
request-factory implementation in web.xml.  

Look for: 

  request-factory
 
org.apache.cocoon.components.request.MultipartRequestFactoryImpl


And change the param-value to
org.apache.cocoon.components.request.SimpleRequestFactoryImpl

Geoff Howard

--- Tobias Maile <[EMAIL PROTECTED]> wrote:
> 
> 
>   The FilePart object represents the uploaded file.
> Depending on how you
> configure "autosave-upload" parameter in
> WEB-INF/web.xml cocoon returns a
> FilePartFile (the file is written to disk;
> autosave-upload=true) or a
> FilePartArray (the file is in memory;
> autosave-upload=false).
> 
>   [Tobias] I can't find the parameter
> "autosave-upload" in WEB-INF/web.xml
> in Cocoon 2.0.3?
>   Did you know how to cancel the auto upload?
>   Thanks Tobias
> 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Subsitemap

2002-12-05 Thread Maxime.Gheysen
I have a subsitemap.xmap and it doesn't work. I get following message
and description:

Error : The sitemap handler's sitemap is not available. Please
check logs for the exact error.
Description : org.apache.cocoon.ProcessingException: The sitemap
handler's sitemap is not available. Please check logs for the exact
error.

In the main sitemap I have this :

  

  


And the project is in directory "cocoon/workflowmax/"
In the same directory (cocoon/workflowmax/) I have a sitemap with
following pipeline :

   

 
 

   


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




[SUMMARY] Complicated setup

2002-12-05 Thread leo leonid
If you want to connect Cocoon with Apache httpd in order to serve  
static/legacy content directly from Apache you have three possibilities  
ATM (apart from the obsolete Jserv):

a) mod_webapp
b) mod_jk
c) mod_jk2


(A)  
mod_webapp__ 


mod_webapp communicates via the new WARP protocol, using Tomcats  
WarpConnector. You can easily mount whole webapps/contexts.

	+ easy setup

	- not as stable as JK1.2
	- poor differentiation concerning mounts
	- no load balancing
	- not suitable for Windows
	- not suitable for Jetty

Sample: mounting cocoon as http://host.domain.tld/cocoon/

	WebAppConnection warpConnection warp localhost:8008
	WebAppDeploy cocoon warpConnection /cocoon/

Sample: mounting cocoon as http://host.domain.tld/

	WebAppConnection warpConnection warp localhost:8008
	WebAppDeploy cocoon warpConnection /

	# Problem: now EVERYTHING is served by cocoon. No way to serve  
static/legacy content by Apache!

docs:	http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/ 
connectors.html
		http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/webapp.html


(B)  
mod_jk__ 


mod_jk communicates via ajp1.3 protocol using an Ajp13Connector

	+ very stable
	+ supports load balancing
	+ works with Jetty

	- long winded setup
	- poor syntax in mount directives
	- Maintenance of mounts needs changes to httpd.conf



mod_jk is configured by a configuration file named workers.properties:

	### sample for workers.properties ###

	workers.apache_log=/usr/local/apache2/logs/
	workers.tomcat_home=/usr/jakarta/catalina
	workers.java_home=/usr/java/current
	ps=/
	# Define 3 workers, 2 real ajp13 and one being a loadbalancing worker
	worker.list=worker1 worker2
	# Set properties for worker1 (ajp13)
	worker.worker1.type=ajp13
	worker.worker1.host=host1.domain.tld
	worker.worker1.port=8009
	worker.worker1.lbfactor=50
	worker.worker1.cachesize=10
	worker.worker1.cache_timeout=600
	worker.worker1.socket_keepalive=1
	worker.worker1.socket_timeout=300
	# Set properties for worker2 (ajp13)
	worker.worker2.type=ajp13
	worker.worker2.host=host2.domain.tld
	worker.worker2.port=8009
	worker.worker2.lbfactor=50
	worker.worker2.cachesize=10
	worker.worker2.cache_timeout=600
	worker.worker2.socket_keepalive=1
	worker.worker2.socket_timeout=300
	# Set properties for worker3 (lb) which use worker1 and worker2
	worker.worker3.balanced_workers=worker1,worker2

	 end of sample ###

in you httpd.conf you put your mount directives like

	# mounting only the index
	JkMount /  worker2
	# further, for example for mounting all html files
	JkMount /*.html  worker2
	# further, for example for mounting everything in dir
	JkMount /dir/*  worker2

Things that unfortunately *DON’T* work!

	JkMount */dir/  worker2
	JkMount **/dir/  worker2
	JkMount /dir1/**/dir/  worker2
	JkMount /dir1/*/dir/*/*.html  worker2
	JkMount /!(images|movies|audio)* worker2

docs: 	http://www.onjava.com/pub/a/onjava/2002/11/20/tomcat.html
		http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
	

(c)  
mod_jk2_ 


The very new JK2 communicates via ajp1.3/ajp1.4 using  
CoyoteConnector+JkCoyoteHandler.

	+ supports load balancing
	+ supports in-process
	+ works with Jetty
	+ supports fast unix-sockets
	+ fine grained configuration
	+ easy to maintain mounts (no need to edit httpd.conf)

	- jk2 is not as stable as mod_jk (correct me if I am wrong, I did not  
try the latest versions)
	- lack of documentation
	- hard to build from cvs (IMO) - no binaries available AFAIK

mod_jk2 is configured by a configuration file named  
workers2.properties. There you define hosts, ports, workers, uri  
mapping etc:

	### sample for workers2.properties monting cocoon as host.domain.tld/  
###

	[shm]
	file=/usr/jakarta/catalina/work/jk2.shm
	size=1048576

	# Example socket channel, override port and host.
	[channel.socket:host.domain.tld:8009]
	port=8009
	host=127.0.0.1

	# define the worker
	[ajp13:ministrant.leonid:8009]
	channel=channel.socket: host.domain.tld:8009

	# Uri mapping
	[uri:ministrant.leonid/*]
	worker=ajp13: host.domain.tld:8009
	context=/cocoon

	 end of sample ###

docs:	http://www.pubbitch.org/jboss/mod_jk2.html
		http://www.mortbay.com/jetty/doc/modjk.html
		http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html
		http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/index.html
		
 


/Leo	
		


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



LDAPTransformer

2002-12-05 Thread Martin Holz
Hello,

did anybody got LDAPTransformer working? I always get
exceptions like  

"java.lang.IllegalStateException: LDAPTransformer: 
Not   expecting a start serverurl element"

I can't figure out the input the transformer expects It 
would be nice, if you could send me a simple example for 
the input.

Thanks 
Martin 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: esql:group

2002-12-05 Thread Christian Joelly
Hello!

On Tue, Nov 26, 2002 at 01:41:44PM +0100, Christian Haul wrote:
> This looks fine -- apart from the footer stuff. Footer does not work
> and will not work (at least if the footer requires esql). For that we
> would need to scroll through the result set at will which is not
> supported with all drivers.

;-) but i don't get the header stuff working... but i need to get data
with esql within an esql:group...

Chris

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz

-- Support your government, give Echelon/Carnivore something to parse --
AMTAS ATMD ATSC Abdullah Allah  communist CIA DD2-N DISA DoD GRU Gregori
Irak  Iran KGB  Kurdish LSD  NATO NSTD  Natasha  ORD RTEM  Russia  STRAP
Saddam Hussein  TSP  Yugoslavia   attack  bank  bomb  classfield  cocain
compromise defense  democracy  destroy  destruct  detonator  directorate
elections enforce extasy force  foreign embassy government grass hashish
heroin   illegal  information   international  military systems  missile
million dollars   nuclear  policital   pot  power   presidental  project
restricted data  revolution  rule the world sensitive  smuggle spy steal
system  takeover  terrorist  top-secret  warmod  warrior-T  weapon  weed





msg21467/pgp0.pgp
Description: PGP signature


Réf:Re: Réf:RE: Problem SQLTransformer

2002-12-05 Thread Rano, Didier

My xml file:





 Hello
 

  http://apache.org/cocoon/SQL/2.0";> 
   
select rpb_id, rpb_id from hia_rp_bml
   
  

 


In sitemap.xmap:

   


   


 
   

In cocoon.xconf:


  
  jdbc:oracle:thin:@myserveur.com:1521:HUB0
  myUser
  myPassword
  true  


In web.xml:


  load-class
  



org.hsqldb.jdbcDriver
oracle.jdbc.driver.OracleDriver

  


And result with sqlplus:

SQL> select rpb_id, rpb_id from hia_rp_bml;

RPB_ID RPB_ID
-- --
 00427  00427

SQL> 

Séparateur de messages
Objet : Re: Réf:RE: Problem SQLTransformer
Auteur :[EMAIL PROTECTED]
Date :  05/12/2002 14:10

"Rano, Didier" a écrit :
>
> I verified, and values in column rpb_id are not null.
>
> Columns names are the same, because it is a test with SQL: "select rpb_id,
> rpb_id from hia_rp_bml". But with SQL: "select rpb_id from hia_rp_bml" the
> result has the same problem.
>
> Thank you for your help
>
> Didier Rano
> Serv'N Data

Spo what's a strange problem !

Cann you tell us more about it (what is your XML File ...)

Did you try your SQL syntax without Cocoon ?, and what are the results
...


Olivier GUCKERT

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Réf:RE: Problem SQLTransformer

2002-12-05 Thread Olivier GUCKERT


"Rano, Didier" a écrit :
> 
> I verified, and values in column rpb_id are not null.
> 
> Columns names are the same, because it is a test with SQL: "select rpb_id,
> rpb_id from hia_rp_bml". But with SQL: "select rpb_id from hia_rp_bml" the
> result has the same problem.
> 
> Thank you for your help
> 
> Didier Rano
> Serv'N Data

Spo what's a strange problem !

Cann you tell us more about it (what is your XML File ...)

Did you try your SQL syntax without Cocoon ?, and what are the results
...


Olivier GUCKERT

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Complicated setup

2002-12-05 Thread Jeremy Quinn

On Thursday, Dec 5, 2002, at 12:05 Europe/London, Andrew Savory wrote:



On Thu, 5 Dec 2002, Jeremy Quinn wrote:


I mean something like:

JkMount /!(images|movies|audio)*





no, this doesn't work. seems to be psedocode, hard to implement :-/
with the limited jk mount directives


Thanks for the confirmation!


Yup, sorry, pseudocode. I've had my head deep in the O'Reilly Mastering
Regular Expressions book trying to find a way to implement it, with no
luck so far :-/


Yeah, I reckon it does not use real regexp.




It is all a rather disappointing mess IMHO!!


+1


WHY it is not possible to have a nice ordered list of URL handlers in
Apache like you can in Cocoon is beyond me ;)


Perhaps we should petition the httpd developers ;-)


Ugh!

I am trying to decide now whether to just leave Apache out of the 
equation altogether and either use readers in Cocoon to serve the 
static HTML, or use TomCat or Jetty directly.

The Apache -> mod_jk -> TomCat/Jetty setup, is just not designed with 
Servlets that serve '/' or '/*' in mind, specially if you also want to 
serve other stuff directly from Apache.

Furthermore, none of the tricks they talk about in the dox for mod_jk 
for serving static material out of the webapp via Apache even remotely 
work!

It is a major PIA IMHO!

Anyway, thanks for your help.

regards Jeremy





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Re: SVGSerializer : ClassCastException after some time : more info

2002-12-05 Thread Ludovic de Beaurepaire
A little more info on this subject :

If my first utilisation of cocoon is generating PDF document without
external graphic, i have the Exception when i generate JPEG later.
If my first utilisation of cocoon is generating JPEG, it works several times
but i have the error later.

Perhaps it depends on the xerces parser initialisation, but don't find the
way to correct it.

Ludovic
- Original Message -
From: "Ludovic de Beaurepaire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 05, 2002 12:40 PM
Subject: SVGSerializer : ClassCastException after some time


> Hi all,
>
> My version of cocoon is 2.0.3, tomcat is 4.1.12, OS is W2K
>
> I am using SVGSerializer to generate jpeg images, it works well for a
time,
> but after some time of utilisation, i have the following error :
>
> Failed to execute pipeline.
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
>
> I am afraid because my application goes in production today, thanks for
some
> info.
>
> Ludovic
>
> P.S. My site map contains this :
> src="org.apache.cocoon.serialization.SVGSerializer">
>   value="org.apache.batik.transcoder.image.JPEGTranscoder"/>
>  
>
>
>
> and the stack trace is the following :
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
> at
>
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
> treamPipeline.java:414)
> at
>
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
>
1_12.webapps.cocoon.srvimp.sitemap_xmap.matchN10121(C:\axonie\clients\Infoli
>
s\work\jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\o
>
rg/apache/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1
> _12/webapps/cocoon/srvimp\sitemap_xmap.java:1243)
> at
>
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
>
1_12.webapps.cocoon.srvimp.sitemap_xmap.process(C:\axonie\clients\Infolis\wo
>
rk\jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/a
>
pache/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/
> webapps/cocoon/srvimp\sitemap_xmap.java:741)
> at
>
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
>
1_12.webapps.cocoon.srvimp.sitemap_xmap.process(C:\axonie\clients\Infolis\wo
>
rk\jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/a
>
pache/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/
> webapps/cocoon/srvimp\sitemap_xmap.java:667)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
> at
>
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
>
1_12.webapps.cocoon.sitemap_xmap.matchN105DF(C:\axonie\clients\Infolis\work\
>
jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/apac
>
he/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/web
> apps/cocoon\sitemap_xmap.java:6777)
> at
>
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
>
1_12.webapps.cocoon.sitemap_xmap.process(C:\axonie\clients\Infolis\work\jaka
>
rta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/apache/c
>
ocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/webapps
> /cocoon\sitemap_xmap.java:3407)
> at
>
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
>
1_12.webapps.cocoon.sitemap_xmap.process(C:\axonie\clients\Infolis\work\jaka
>
rta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/apache/c
> ocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/webap
ps
> /cocoon\sitemap_xmap.java:3106)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
> at
> org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
> at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:247)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:193)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:260)
> at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
> eNext(StandardPipeline.java:643)
> at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> va:191)
> at
>
org.apache.catalina.core.StandardPipeline$Standa

Re: Complicated setup

2002-12-05 Thread Andrew Savory

On Thu, 5 Dec 2002, Jeremy Quinn wrote:

> >>> I mean something like:
> >>>
> >>> JkMount /!(images|movies|audio)*
> >>
> >>
> >
> > no, this doesn't work. seems to be psedocode, hard to implement :-/
> > with the limited jk mount directives
>
> Thanks for the confirmation!

Yup, sorry, pseudocode. I've had my head deep in the O'Reilly Mastering
Regular Expressions book trying to find a way to implement it, with no
luck so far :-/

> It is all a rather disappointing mess IMHO!!

+1

> WHY it is not possible to have a nice ordered list of URL handlers in
> Apache like you can in Cocoon is beyond me ;)

Perhaps we should petition the httpd developers ;-)


Andrew.

-- 
Andrew SavoryEmail: [EMAIL PROTECTED]
Managing Director  Tel:  +44 (0)870 741 6658
Luminas Internet Applications  Fax:  +44 (0)700 598 1135
This is not an official statement or order.Web:www.luminas.co.uk


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: DOMStreamer doesn't work with Saxon

2002-12-05 Thread Antonio Gallardo
Roman:

Prosim, bud slusny a posli Tvoje komentare a otazky radsej po anglicky.
Nie vsetci tu vedia po slovensky!

S pozdravom, :-D

Antonio Gallardo.

FULEK Roman dijo:
> redirect mam rozchodene aj s xsp-action,
>
> co by som mohol urobit dalej ? (asi ako mu dat ten linkName hm) ozaj
> cital som ten mail co si poslal vcera do konfery a nerozumiem tomu, ako
> si mohol zistit, ze to saxon netransformuje, ak sa ti chce rozpis mi to
> trocha, zase sa cosi naucim :-)
> r
>
> -Original Message-
> From: ÏURDINA Michal [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 04, 2002 4:11 PM
> To: '[EMAIL PROTECTED]'
> Subject: DOMStreamer doesn't work with Saxon
>
>
> Hello!
>
> I have a problem when using Saxon as my only TRAX Transformer.
> In XSP page I have the following:
>
> myLogicsheet:
> org.w3c.dom.Element getElement() {...}
>
> myXSPPage:
>   
>
> myLogicSheet.myClass.getElement() tent>
>   
>
> This construction creates XML with element returned by logicsheet
> function i.e. .
>
> When using Xalan as my XSLT Transformer, this construction works. But NO
> element is created when using Saxon.
>
> Can anyone tell me, what's going on? (the problem must be somewhere in
> XSPObjectHelper or in DOMStreamer).
>
> Mike.
>
> PS: I am using Tomcat 4.1.12, Cocoon 2.0.3 and Saxon 6.5.2.
> PS2: Our logicsheets were created for Cocoon 1.8, and returns DOM
> objects, but they should be working because of DOM->SAX wrapping in XSP
> we depend on. Too much work to rewrite it.
>
>
>
> -- MisoD --
> Michal Durdina - [EMAIL PROTECTED]
> ASSET Soft a.s.,
> Kosicka 56, Bratislava, 821 08
> Slovakia, Europe
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> __ Informacia od NOD32 1.332 (20021125) __
>
> Tato sprava bola preverena systemom NOD32 pre Exchange.
> http://www.eset.sk
>
>
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: DOMStreamer doesn't work with Saxon

2002-12-05 Thread FULEK Roman
redirect mam rozchodene aj s xsp-action,

co by som mohol urobit dalej ? (asi ako mu dat ten linkName hm) ozaj cital
som ten mail co si poslal vcera do konfery a nerozumiem tomu, ako si mohol
zistit, ze to saxon netransformuje, ak sa ti chce rozpis mi to trocha, zase
sa cosi naucim :-)
r

-Original Message-
From: ĎURDINA Michal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 4:11 PM
To: '[EMAIL PROTECTED]'
Subject: DOMStreamer doesn't work with Saxon


Hello!

I have a problem when using Saxon as my only TRAX Transformer. 
In XSP page I have the following:

myLogicsheet:
org.w3c.dom.Element getElement() {...}

myXSPPage:
  
 
myLogicSheet.myClass.getElement()
  

This construction creates XML with element returned by logicsheet function
i.e. .

When using Xalan as my XSLT Transformer, this construction works. But NO
element is created when using Saxon.

Can anyone tell me, what's going on? (the problem must be somewhere in
XSPObjectHelper or in DOMStreamer).

Mike.

PS: I am using Tomcat 4.1.12, Cocoon 2.0.3 and Saxon 6.5.2.
PS2: Our logicsheets were created for Cocoon 1.8, and returns DOM objects,
but they should be working because of DOM->SAX wrapping in XSP we depend on.
Too much work to rewrite it.



-- MisoD --
Michal Durdina - [EMAIL PROTECTED] 
ASSET Soft a.s.,
Kosicka 56, Bratislava, 821 08
Slovakia, Europe


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>
__ Informacia od NOD32 1.332 (20021125) __

Tato sprava bola preverena systemom NOD32 pre Exchange.
http://www.eset.sk




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




SVGSerializer : ClassCastException after some time

2002-12-05 Thread Ludovic de Beaurepaire
Hi all,

My version of cocoon is 2.0.3, tomcat is 4.1.12, OS is W2K

I am using SVGSerializer to generate jpeg images, it works well for a time,
but after some time of utilisation, i have the following error :

Failed to execute pipeline.

org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser

I am afraid because my application goes in production today, thanks for some
info.

Ludovic

P.S. My site map contains this :
   
 
 
   


and the stack trace is the following :
org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
java.lang.ClassCastException: org.apache.xerces.parsers.SAXParser
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS
treamPipeline.java:414)
at
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
1_12.webapps.cocoon.srvimp.sitemap_xmap.matchN10121(C:\axonie\clients\Infoli
s\work\jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\o
rg/apache/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1
_12/webapps/cocoon/srvimp\sitemap_xmap.java:1243)
at
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
1_12.webapps.cocoon.srvimp.sitemap_xmap.process(C:\axonie\clients\Infolis\wo
rk\jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/a
pache/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/
webapps/cocoon/srvimp\sitemap_xmap.java:741)
at
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
1_12.webapps.cocoon.srvimp.sitemap_xmap.process(C:\axonie\clients\Infolis\wo
rk\jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/a
pache/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/
webapps/cocoon/srvimp\sitemap_xmap.java:667)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
1_12.webapps.cocoon.sitemap_xmap.matchN105DF(C:\axonie\clients\Infolis\work\
jakarta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/apac
he/cocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/web
apps/cocoon\sitemap_xmap.java:6777)
at
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
1_12.webapps.cocoon.sitemap_xmap.process(C:\axonie\clients\Infolis\work\jaka
rta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/apache/c
ocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/webapps
/cocoon\sitemap_xmap.java:3407)
at
org.apache.cocoon.www.file_.C_.axonie.clients.Infolis.work.jakarta_tomcat_4_
1_12.webapps.cocoon.sitemap_xmap.process(C:\axonie\clients\Infolis\work\jaka
rta-tomcat-4.1.12\work\Standalone\localhost\cocoon\cocoon-files\org/apache/c
ocoon/www/file_/C_/axonie/clients/Infolis/work/jakarta_tomcat_4_1_12/webapps
/cocoon\sitemap_xmap.java:3106)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:224)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154)
at org.apache.cocoon.Cocoon.process(Cocoon.java:575)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:260)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:191)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180
)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invok
eNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.
java:170)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveCon

Réf:RE: Problem SQLTransformer

2002-12-05 Thread Rano, Didier

I verified, and values in column rpb_id are not null.

Columns names are the same, because it is a test with SQL: "select rpb_id,
rpb_id from hia_rp_bml". But with SQL: "select rpb_id from hia_rp_bml" the
result has the same problem.

Thank you for your help

Didier Rano
Serv'N Data

Séparateur de messages
Objet : RE: Problem SQLTransformer
Auteur :[EMAIL PROTECTED]
Date :  05/12/2002 11:03

Didier,

are you sure the rpb_id columns are not null ? If they were, that's the correct
 result.

BTW, why the column names are the same ?

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


> -Original Message-
> From: Rano, Didier [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 10:37 AM
> To: [EMAIL PROTECTED]
> Subject: Problem SQLTransformer
>
>
>
> Hello,
>
> With Cocoon 2.0.3, on windows NT, and tomcat 4.1.12
>
> I have a problem with SQLTransformer (with Oracle JDBC  driver). Cocoon
 returns
> all records normally without data !!
>
> Example:
>   
> 
> 
> 
> 
> 
>
> How solve this problem ?
>
> Thank you
>
> Didier Rano
> Serv'N Data
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Complicated setup

2002-12-05 Thread Jeremy Quinn

On Thursday, Dec 5, 2002, at 11:15 Europe/London, leo leonid wrote:



On Thursday, December 5, 2002, at 11:24 AM, Jeremy Quinn wrote:


Hi Andrew,


On Tuesday, Dec 3, 2002, at 17:43 Europe/London, Andrew Savory wrote:


Effectively I guess you want rules that pass everything but images,
movies, audio, x-spaceprojects, harlem etc to mod_jk. Anyone else 
know how
to do that? ;-)

I mean something like:

JkMount /!(images|movies|audio)*




no, this doesn't work. seems to be psedocode, hard to implement :-/ 
with the limited jk mount directives

Thanks for the confirmation!






Are you sure this syntax works?
I cannot get it to catch anything.
What version are you using?

This works:

	JkMount /*


you can use
	# mounting only the index
	JkMount /  worker2
	# further, for example for mounting all html files
	JkMount /*.html  worker2
	# further, for example for mounting everything in dir
	JkMount /dir/*  worker2


Yes, this is what I will have to resort to 
Back to that long list of Mounts ...



so mod_jk is working, but this does not let Apache serve anything.

thanks for any help

regards Jeremy
	



I'll start writing a SUMMARY on this topic.


That would be good!
It is all a rather disappointing mess IMHO!!

WHY it is not possible to have a nice ordered list of URL handlers in 
Apache like you can in Cocoon is beyond me ;)

many thanks

regards Jeremy


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Re: Complicated setup

2002-12-05 Thread leo leonid

On Thursday, December 5, 2002, at 11:24 AM, Jeremy Quinn wrote:


Hi Andrew,


On Tuesday, Dec 3, 2002, at 17:43 Europe/London, Andrew Savory wrote:


Effectively I guess you want rules that pass everything but images,
movies, audio, x-spaceprojects, harlem etc to mod_jk. Anyone else 
know how
to do that? ;-)

I mean something like:

JkMount /!(images|movies|audio)*




no, this doesn't work. seems to be psedocode, hard to implement :-/ 
with the limited jk mount directives


Are you sure this syntax works?
I cannot get it to catch anything.
What version are you using?

This works:

	JkMount /*


you can use
	# mounting only the index
	JkMount /  worker2
	# further, for example for mounting all html files
	JkMount /*.html  worker2
	# further, for example for mounting everything in dir
	JkMount /dir/*  worker2




so mod_jk is working, but this does not let Apache serve anything.

thanks for any help

regards Jeremy
	



I'll start writing a SUMMARY on this topic.
/Leo





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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





-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




AW: How may I get the FilePart object ?

2002-12-05 Thread Tobias Maile



 

  The FilePart object represents the uploaded file. 
  Depending on how you configure "autosave-upload" parameter in WEB-INF/web.xml 
  cocoon returns a FilePartFile (the file is written to disk; 
  autosave-upload=true) or a FilePartArray (the file is in memory; 
  autosave-upload=false).[Tobias] I can't find the parameter "autosave-upload" in 
  WEB-INF/web.xml in Cocoon 
  2.0.3? 
  Did 
  you know how to cancel the auto upload? 
  Thanks 
Tobias


[ANN] - Tomcat/Cocoon Performance on Production Sites?

2002-12-05 Thread Antonio Gallardo
Here the link to a interesting discussion about the subject of this mail. :-D

http://ask.slashdot.org/article.pl?sid=02/12/03/1544224

Antonio Gallardo



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: Complicated setup

2002-12-05 Thread Jeremy Quinn
Hi Andrew,


On Tuesday, Dec 3, 2002, at 17:43 Europe/London, Andrew Savory wrote:


Effectively I guess you want rules that pass everything but images,
movies, audio, x-spaceprojects, harlem etc to mod_jk. Anyone else know 
how
to do that? ;-)

I mean something like:

JkMount /!(images|movies|audio)*



Are you sure this syntax works?
I cannot get it to catch anything.
What version are you using?

This works:

	JkMount /*

so mod_jk is working, but this does not let Apache serve anything.

thanks for any help

regards Jeremy
	



-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




RE: Problem SQLTransformer

2002-12-05 Thread Luca Morandini
Didier,

are you sure the rpb_id columns are not null ? If they were, that's the correct result.

BTW, why the column names are the same ? 

Best regards,

- 
   Luca Morandini 
   GIS Consultant 
  [EMAIL PROTECTED] 
http://utenti.tripod.it/lmorandini/index.html 
-
 

> -Original Message-
> From: Rano, Didier [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 10:37 AM
> To: [EMAIL PROTECTED]
> Subject: Problem SQLTransformer
> 
> 
> 
> Hello,
> 
> With Cocoon 2.0.3, on windows NT, and tomcat 4.1.12
> 
> I have a problem with SQLTransformer (with Oracle JDBC  driver). Cocoon returns
> all records normally without data !!
> 
> Example:
>   
> 
> 
> 
> 
> 
> 
> How solve this problem ?
> 
> Thank you
> 
> Didier Rano
> Serv'N Data
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Problem SQLTransformer

2002-12-05 Thread Rano, Didier

Hello,

With Cocoon 2.0.3, on windows NT, and tomcat 4.1.12

I have a problem with SQLTransformer (with Oracle JDBC  driver). Cocoon returns
all records normally without data !!

Example:
  






How solve this problem ?

Thank you

Didier Rano
Serv'N Data

-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [Authentication] - User with mixed Sessions

2002-12-05 Thread Antonio Gallardo
Christoph:

Many thanks for the help you provided. Today I will confirm if the problem
was related to the problem in the "multithreading" of Cocoon or if I have
a bug into my code.

If everything is fine I will try to turn on the proxy again to improve the
performance. Since there are no more than 40 users. I think this is not
urgent to turn the proxy on. But I think we need to know if Cocoon will
work or not with the proxy turned on.

As long as I reserched, the cookies must be enough to keep the track of
the users' sessions. On the page 303 of the book "Cocoon: Building XML
Applications" states:

"The default is usually to use cookies because the developer of the web
application does not need to do anything special to use them"

To assure the authentication is the only one that creates sessions and I
am using also the XSP Session LogicSheet. I was also explicitly turned off
the generation of new sessions in my XSP pages with:

xmlns:xsp-session="http://apache.org/xsp/session/2.0"; create-session="false">

Best regards,

Antonio Gallardo.





Christoph Gaffga dijo:
>> Where I can configure for all the pages the
>> response.setHeader("Cache-Control", "No-Cache");
>
> I'm using a filter for that:
>
> in my web.xml-file:
>   
> ModifyRequest
>
> com.triplemind.asp.server.ModifyRequestFilter
>   
>   
> ModifyRequest
> Cocoon2
>   
>
> And a short Filter-Class:
>   package com.triplemind.asp.server;
>   import javax.servlet.Filter;
>   import javax.servlet.FilterChain;
>   import javax.servlet.FilterConfig;
>   import javax.servlet.ServletRequest;
>   import javax.servlet.ServletResponse;
>
>   public class ModifyRequest implements Filter {
> private FilterConfig filterConfig = null;
> public ModifyRequest() { }
> public void init(FilterConfig filterConfig) {
>   this.filterConfig = filterConfig;
> }
> public void doFilter(ServletRequest request,
>  ServletResponse response,
>  FilterChain chain) {
>   try {
> response.setHeader("Cache-Control", "No-Cache");
> chain.doFilter(request, response);
>   } catch(Exception e) {
> e.printStackTrace();
>   }
> }
> public void destroy() { }
>   }
>
> hope, that helps.
> I put some more features in my ModfiyRequest, to change the Request-URL,
> and Cookies and put some more Header-Information, such as
> Expires-Headers.
>
> Christoph Gaffga
> [EMAIL PROTECTED]
>
>
> - Original Message -
> From: "Antonio Gallardo" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, November 30, 2002 8:25 PM
> Subject: Re: [Authentication] - Generate javascript using XSP
>
>
>> Where I can configure for all the pages the
>>
>> response.setHeader("Cache-Control", "No-Cache");
>>
>> Can I put it into the header of the HTML in my XSL?
>>
>> Regards,
>>
>> Antonio Gallardo
>>
>> Christoph Gaffga dijo:
>> > Hi,
>> >
>> >> I think that this can be done because the proxy is returning a
>> cached page from another user. Because the request has the same URI
>> from every user (as long as I can see). The request URI does not
>> have info about sessions.
>> >
>> > If you are behind a proxy maybe you can configure it not to cache
>> urls at http://internalserver:8080/theapp/.
>> > Or it helps if you do
>> > response.setHeader("Cache-Control", "No-Cache");
>> >
>> > yours
>> > Christoph Gaffga
>> > [EMAIL PROTECTED]
>> >
>> > - Original Message -
>> > From: "Antonio Gallardo" <[EMAIL PROTECTED]>
>> > To: <[EMAIL PROTECTED]>
>> > Sent: Saturday, November 30, 2002 9:32 AM
>> > Subject: [Authentication] - Generate javascript using XSP
>> >
>> >
>> >> Hi Cococoners!
>> >>
>> >> I am currently an application that is currently running on a test
>> mode with a small amount of users (20) in a Intranet environment.
>> With the following characteristics:
>> >>
>> >> The application is running behind a proxy.
>> >> The app use the authentication framework.
>> >> The app have a page called welcome that show the current user.
>> >>
>> >> I am currently having problem with session management:
>> >>
>> >> The users told me that sometimes when they are already
>> authenticated and request the welcome page, the response present
>> another user.
>> >>
>> >> The page is called with http://internalserver:8080/theapp/welcome
>> >>
>> >> I think that this can be done because the proxy is returning a
>> cached page from another user. Because the request has the same URI
>> from every user (as long as I can see). The request URI does not
>> have info about sessions. But I read in the book from Carsten and
>> Mathhew on page 303 (second paragraph from the end):
>> >>
>> >> "The default is usually to use cookies, because the developer of
>> the web application does not need to do anything special to use
>> them. ..."
>> >>
>> >> Please Dont let me wrong. I now that the problem is caused by me.
>> :-D
>> >>
>> >> The menu of the application is a static Javascript file s

Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Can you explain a little more about that?)

2002-12-05 Thread Antonio Gallardo
Christian Haul dijo:
> Konstantin Piroumian wrote:
>> Hi!
>>
>> Why the names of tags are not:
>> 
>> 
>> etc.?
>
> Good point. My reasoning was that get-parameter is the most visible /
> most used tag from the request logicsheet. And since I see this as a
> replacement, I thought differences should be minimal.

I agree too. Is better stay at the formal specification:

tag is official called elements
parameter is official called attribute.

Can you make the change Konstantin?

Antonio Gallardo

>
> Feel free to change the tag names -- I won't be able to do it today and
> the release is coming up. We need to decide and act on this fast and I
> will be effectively offline for the rest of today starting now.
> There is an example quoted in
> src/documentation/xdocs/userdocs/concepts/modules.xml Be sure to change
> that as well.
>
>   Chris.
>
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
>  fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Can you explain a little more about that?)

2002-12-05 Thread Antonio Gallardo
The update wiki docs work done!

Antonio Gallardo.

Christian Haul dijo:
> Antonio Gallardo wrote:
>> Hi Christian:
>  >
>> I saw you recently commited this changes:
>>
>> 1- New Logicsheet for use with InputModules. (CH)
>
> Antonio,
>
> input.xsl is a very simple logicsheet, it contains three tags
> ,  and
>  which just call the similar methods on an
> InputModule.
>
> References to modules are obtained at first access and are released at
> the end of the page. Consecutive accesses reuse the cached references.
>
> Apart from a mandatory parameter @module the tags should behave very
> much like the same tags from request.xsl
>
> Only drawback is that default values are limited to java.lang.String.
>
> It is based on logicsheet-utils.xsl so it takes  for any
> parameter.
>
> An example can be found on the concepts document for modules.
>
>> 2- add xsp.xsl now includes all xsp:init-page tags. Additional
>> xsp:exit-page tag for cleanup operations. (CH)
>
> All top-level  tags will be included at the end of the
> page, i.e. after endDocument() is called. exit-page may only contain
> java code. A similar tag exists with init-page which is fired just
> before startDocument() is called.
>
> Both can be used to initialize local variables / clean up. Since they
> are outside the document scope, they _cannot_ be used to output anything
>  to the client like headers or footers.
>
>> I use XSP and I will be glad to learn a little about this new
>> features.
>>
>> Two months ago you helped me with autonumeric-module for PosgreSQL
>> Databse using modular database. I dont saw the module into the
>> cocoon.xconf. Of course I have it already in my cocoon.xconf ;-)
>> Thanks again.
>>
>> 
>> > class="org.apache.cocoon.components.modules.database.PgsqlAutoIncrementModule"/>
>> 
>>
>> All I can said about it is that work fine. I have it already into
>> production without any problem. :-D
>>
>> Can you include it into the cocoon.xconf or there is another policies
>> about what include into cocoon.xconf?
>
> According to my own repository it is in cocoon.xconf -- oh wait -- not
> for 2.1. OK, will fix that.
>
> BTW it is now possible to specify a different sequence name than the
> default one. See javadocs for details.
>
> Now, you've got the complete story, you write some docs ;-)
> Maybe you can get this up on the Wiki?
>
>   Chris.
>
> --
> C h r i s t i a n   H a u l
> [EMAIL PROTECTED]
>  fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
>
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Re: [SUMMARY] input.xsl / xsp:exit-page / xsp:init-page (was: Canyou explain a little more about that?)

2002-12-05 Thread Christian Haul
Konstantin Piroumian wrote:

Hi!

Why the names of tags are not:


etc.?


Good point. My reasoning was that get-parameter is the most visible / 
most used tag from the request logicsheet. And since I see this as a 
replacement, I thought differences should be minimal.

Feel free to change the tag names -- I won't be able to do it today and 
the release is coming up. We need to decide and act on this fast and I 
will be effectively offline for the rest of today starting now.
There is an example quoted in 
src/documentation/xdocs/userdocs/concepts/modules.xml Be sure to change 
that as well.

	Chris.

--
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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



Re: Deploying to Oracle's oc4j (aka Orion with mods)

2002-12-05 Thread Thor Heinrichs-Wolpert
I should've said -> I get this error when entering this URL
http://localhost:/cocoon/samples/welcome/

On Thursday, December 5, 2002, at 12:21  AM, Thor Heinrichs-Wolpert  
wrote:

I'm wondering if someone has already solved this.

If I place my war file into Apache 4.1.12, everything works as  
expected.

If I wrap the same war file into an ear and deploy it to oc4j ... it  
sort of works.

Configuration:
OSX 10.2
Java 1.3.1
Oracle's oc4j v 9.0.3

Launch is
java -Xbootclasspath/a://xalan-2.4.1.jar://xercesImpl-2.1.0.jar://xml-apis.jar
-Djavax.xml.transform.TransformerFactory=  
org.apache.xalan.processor.TransformerFactoryImpl
-Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
-jar oc4j.jar

I get the following error (which happens in other URI paths as well)

Failed to load sitemap from  
file:/sw/oracle/products/oc4j/9.0.3/j2ee/home/applications/cocoon/ 
cocoon/samples/welcome/sitemap.xmap

More precisely:

org.apache.cocoon.ProcessingException: Failed to load sitemap from  
file:/sw/oracle/products/oc4j/9.0.3/j2ee/home/applications/cocoon/ 
cocoon/samples/welcome/sitemap.xmap:  
org.apache.cocoon.ResourceNotFoundException: Resource not found.:  
org.apache.excalibur.source.SourceNotFoundException: Resource not  
found  
file:/sw/oracle/products/oc4j/9.0.3/j2ee/home/applications/cocoon/ 
cocoon/samples/welcome/sitemap.xmap

Any hints?
Cheers,
Thor HW


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




-
Please check that your question  has not already been answered in the
FAQ before posting. 

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




Deploying to Oracle's oc4j (aka Orion with mods)

2002-12-05 Thread Thor Heinrichs-Wolpert
I'm wondering if someone has already solved this.

If I place my war file into Apache 4.1.12, everything works as expected.

If I wrap the same war file into an ear and deploy it to oc4j ... it  
sort of works.

Configuration:
OSX 10.2
Java 1.3.1
Oracle's oc4j v 9.0.3

Launch is
java -Xbootclasspath/a://xalan-2.4.1.jar://xercesImpl-2.1.0.jar://xml-apis.jar
-Djavax.xml.transform.TransformerFactory=  
org.apache.xalan.processor.TransformerFactoryImpl
-Dorg.xml.sax.driver=oracle.xml.parser.v2.SAXParser
-jar oc4j.jar

I get the following error (which happens in other URI paths as well)

Failed to load sitemap from  
file:/sw/oracle/products/oc4j/9.0.3/j2ee/home/applications/cocoon/ 
cocoon/samples/welcome/sitemap.xmap

More precisely:

org.apache.cocoon.ProcessingException: Failed to load sitemap from  
file:/sw/oracle/products/oc4j/9.0.3/j2ee/home/applications/cocoon/ 
cocoon/samples/welcome/sitemap.xmap:  
org.apache.cocoon.ResourceNotFoundException: Resource not found.:  
org.apache.excalibur.source.SourceNotFoundException: Resource not found  
file:/sw/oracle/products/oc4j/9.0.3/j2ee/home/applications/cocoon/ 
cocoon/samples/welcome/sitemap.xmap

Any hints?
Cheers,
Thor HW


-
Please check that your question  has not already been answered in the
FAQ before posting. 

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