RE: the sitemap handler's sitemap is not available

2001-07-23 Thread tom . klaasen

check %TOMCAT_HOME%/webapps/cocoon/WEB-INF/cocoon.log



hth,
tomK

-Original Message-
From: raghu [mailto:[EMAIL PROTECTED]]
Sent: maandag 23 juli 2001 6:17
To: [EMAIL PROTECTED]
Subject: the sitemap handler's sitemap is not available


Cocoon 2 - Internal server error



type internal-server-error
message The sitemap handler's sitemap is not available.
description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/
exception
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
path-info

stacktrace
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
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:79
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:213)
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)




What may be the error?  where should i check??
bye,
raghu

black holes are,
when GOD is dividing by zero 

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Using Actions in Sitemaps

2001-07-23 Thread Max Larsson

Hello,

i have written my own Action for C2. It works fine.
But somehow the C2 always report resource not found.
With resource i think C2 means the file i am requesting,
because i cannot find any ClassNotFoundExceptions in any logs.

I have configure in my sitemap the following to use the action

 ...
  map:actions
map:action name=login-request src=LoginAction/
map:action name=lang-select
src=org.apache.cocoon.acting.LangSelect/
  /map:actions
 /map:components
 map:action-sets
  map:action-set name=helpdesk
   map:act type=login-request/
  /map:action-set
 /map:action-sets

...

  map:match pattern=*.html
map:act set=helpdesk
  map:generate type=serverpages src=helpdesk.xsp/
map:serialize/
/map:act
  /map:match

...

The file helpdesk.xsp exists on my server. Because if i take the
map:act element away like this it works fine:

  map:match pattern=*.html
 map:generate type=serverpages src=helpdesk.xsp/
 map:serialize/
  /map:match

Another question, how is the syntax to use the action directly without
an action set. If i take the example from the documentation C2 always
reports incomplete pipeline.

best regards

Max Larsson


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: [C2.0b1] bug(?) in XSP

2001-07-23 Thread Davanum Srinivas

Why don't you submit a bug at http://nagoya.apache.org/bugzilla? Please make sure that 
you send in
a zip of the sample too.

Thanks,
dims

--- java guru [EMAIL PROTECTED] wrote:
 The simple answer for all the concrete example is
 YES. I tried the exact situation i described..and c2
 is not acting as anticipated...rather its compiling
 both docs/index.xsp(precisely its only compiling the
 first one and not second one as its finding the class
 file already compiled from first one) into same
 package..
 
 Thanks in advance
  --- Berin Loritsch [EMAIL PROTECTED] wrote: 
 java guru wrote:
   
   I guess .. What Mr.Drasko refering here is
   
   For example
   
   1. You have two sub sitemaps say test1 and test2
   2. Both of them have some pattern called index
  to
   serve a xsp called index.xsp.
   3. Both sitemaps are set up to serve the index.xsp
   from their respective sub-folder called docs.
   4. But the content of the both index.xsp 's is
  diffent
   from each other.
  
  To see if we are speaking the same language, are you
  talking about a directory structure like this:
  
  $context/
  sitemap.xmap
  docs/index.xsp
  iexplorer/
   sitemap.xmap
   docs/index.xsp
  netscape/
   sitemap.xmap
   docs/index.xsp
  
  Even if the mounted sitemaps (iexplorer/sitemap.xml
  and netscape/sitemap.xml) have the same URL because
  they choose on browser type, they are treated
  completely
  different.
  
   5. Now when you access the first sub-sitemap
  pattern
   index. The index.xsp is compiled into
   www/docs/index_xsp.java and then served
  
  Not exactly correct.  The three index.xsp files
  above
  are compiled into the following directories:
  
  www/docs/index_xsp
  www/iexplorer/docs/index_xsp
  www/netscape/docs/index_xsp
  
  The generated filename follows the CONTEXT directory
  heirarchy.
  
   6. Funny part now is if u try to access index
   pattern from second sitemap test2.
  
  Do you have a hard example of this?
  
   7. Incase, c2 try to compile the index.xsp from
  this
   context, the package created in tomcat work
  directory
   would still be www/docs/index_xsp.java over
  writing
   the first one.
  
  If you are talking about separate contexts, then you
  have nothing to worry about.  The Servlet Engine
  gives
  each Context it's own unique Work Directory.  Each
  instance of Cocoon 2 will be using their _own_ work
  directory as the repository for the generated
  classes.
  
   8. Whats worser is for caching(or whatever reason)
  c2
   decides NOT to compile but to serve the same class
   file and serve the wrong contents.
  
  Again, do you have a concrete example of this?
  
   Hope this complements Mr.Drasko's point and make
  the
   problem clearer ..
   
   Or may be this is not problem at all and there is
  some
   explanation...
  
  The only other situation I can think of is this:
  
  $context/
  sitemap.xmap
  loop-sitemap.xmap
  index.xsp
  
  In this case, even if loop-sitemap.xmap is mounted
  as
  LOOP the index.xsp is still going to be
  www/index_xsp.java.
  
  Remember it goes by Context heirarchy--not URI
 heirarchy.
 
  ATTACHMENT part 2 application/x-pkcs7-signature
 name=smime.p7s
  
 
 =
 Thanks and have great day
 srini
 
 
 Do You Yahoo!?
 For regular News updates go to http://in.news.yahoo.com
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: [C2B1] Sitemap handler's sitemap not available

2001-07-23 Thread Davanum Srinivas

Kevin,

Can you please submit a patch against the latest C2Beta2? I'll be very happy in 
checking it in.

Thanks,
dims

--- Kevin Sonney [EMAIL PROTECTED] wrote:
 On Fri, Jul 20, 2001 at 09:48:07PM -0700, Frans Thamura spoke thusly:
  I have this problem also.
  
  I am successfull install cocoon 1.82 (use intensive
  now), cocoon 2.0, but in Cocoon 2.1 from CVS I got the
  sitemap error.
 
 I managed to get it working, by doing the following :
 
 1) move/remove resin-x.x.x/lib/jaxp.jar resin-x.x.x/lib/sax.jar (as per 
 the current docs)
 2) rename resin-x.x.x/lib/dom.jar resin-x.x.x/lib/zdom.jar
 3) copy xerces-xxx.jar and xalan-xxx.jar resin-x.x.x/lib/
 4) Comment out the java compiler=/ element in resin.conf
 5) Copy the cocoon.war into resin-x.x.x/webapps
 6) start resin, and browse to localhost:8080/cocoon
 
 This seems to be working. YMMV, but if it works for more than just me, 
 perhaps the dev team would be kind enough to amend the INSTALLING doc for 
 C2?
 
 -- 
 +---+
 | Kevin Sonney[EMAIL PROTECTED] |
 | Systems Programmerwww.webslingerZ.com |
 +---+
 
 The weakest link in any civil rights case is always the
 defendant. Imagine being a lawyer and getting a call from me. That's why I
 try to, uh, behave myself. - Hunter S. Thompson
 
 
 
 -- 
 +---+
 | Kevin Sonney[EMAIL PROTECTED] |
 | Systems Programmerwww.webslingerZ.com |
 +---+
 
 The weakest link in any civil rights case is always the
 defendant. Imagine being a lawyer and getting a call from me. That's why I
 try to, uh, behave myself. - Hunter S. Thompson
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: 2.1? Stable Software Needed

2001-07-23 Thread Davanum Srinivas

Guys,

C2-Beta2 is out today. So please try it out. If you see a problem, please send a bug 
report using
bugzilla (http://nagoya.apache.org/bugzilla). I hope you know that this an open-source 
effort. The
Development team is just a set of people who work on Cocoon on their own time 
because they
believe in it. If want to help you are very welcome. Any patches, docs are really 
appreciated. 

Thanks,
dims

--- Steven Punte [EMAIL PROTECTED] wrote:
 I too agree with Roys' statements.  Stable software is 
 everything.  Otherwise Cocoon will just take it's 
 place as some interesting RD project in the Software
 Halls of History while another project, another firm,
 deliveres a stable usable system to market that 
 becomes the standard.
 
 Steve Punte
 
 
 
 On Thu, 19 Jul 2001 08:40:06 -0700, [EMAIL PROTECTED] wrote:
 
   So here I've been waiting for a stable Cocoon 2, and I find that the 
   development has blown past a stable 2.0 release, and now is working 
   on 2.1. Is there any hope of a stable release anytime soon? I have 
   production services running (shakily, unfortunately) on 1.8.3, and 
   would appreciate having a stable version of 2.x, in the (perhaps 
   forlorn) hope that my troubles may disappear. Can anyone give me a 
   sense of the proposed development path? Please respond directly to me 
   as well as the list, since I cannot deal with signing up to a list 
   that gets the kind of traffic this list does. Thanks,
   Roy Tennant
   eScholarship
   California Digital Library
   
   -
   Please check that your question has not already been answered in the
   FAQ before posting. http://xml.apache.org/cocoon/faqs.html
   
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 ___
 Send a cool gift with your E-Card
 http://www.bluemountain.com/giftcenter/
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: Financial Business Model: Was Stable Software Needed

2001-07-23 Thread Davanum Srinivas

Steven, Cocoon-Users,

Do you really want to help in this quest? Then please help us by taking a look at the 
latest
C2Beta2 and submit patches, docs, anything you think will be useful. This is the only 
way we can
grow. All of us on the C2 Dev team have regular jobs AFAIK. If you want to see 
changes, more
people need to get their hands dirty with the code. Giving specific 
information/patches will be of
more help than talking in general terms :) FYI, C2.1 is just C2.0 + some experimental 
code that
people have submitted that we don't want to lose. 

Thanks,
dims

--- Steven Punte [EMAIL PROTECTED] wrote:
 My point is don't loose out and just become an interesting
 experimental academic project.  
 
 There is HUGH INTEREST by the software industry in this
 type of architecture.  There are undoubted many commercial 
 firms working on comparable frameworks. Sales of such 
 XML framework technology will probably exceed $1B by 2005.
 
 I was driven away from TOMCAT last year because of it lack
 of production worthiness'.  It looks like it is more mature
 now, and I may return.  It's sure costly to change back and
 fourth.
 
 I wish some financial business model could be integrated into this 
 type of open-source project.  Say maybe free for all development
 work and $1000/cpu for production use.  Any commercial company
 would not heisted to pony up $1K for a bit more stability and
 support.
 
 There is really a need in the market for something in-between the
 very low cost open source and the $10K and up variety of full
 commercial software.
 
 Hell, the UC campuses have gone from free tuition to big bucks fees 
 (i.e. still supposedly free tuition) over the last few decades.
 
 PS:
 I'm on 1.8.2++  See http://candlelightsoftware.com/cocoon.html
 for the ++.  
 
 PSS:
 I love the Cocoon Framework!  :-)
 
 PSSS:
 I showed an ASP instance of Cocoon at a Hotel trade
 show in June, and the technology was a real hit!!
 
 Steven P. Punte
 Candlelight Software
 By Candlelight If Necessary!
 [EMAIL PROTECTED]
 http://candlelightsoftware.com
 
 On Sat, 21 Jul 2001 09:54:02 -0700, [EMAIL PROTECTED] wrote:
 
   I would like to point out that the cocoon team has done a good job of
   balancing feature requests with development release time. If what you
 need
   is stable and mature software perhaps you'd like to consider using Cocoon
   1.X series and see if it does what you need (which is what I did) while
   features are completed and the code matures enough to meet your
   requirements.
   
   Or, more bluntly, use commercial software if it gives you the more stable
   and usable system that you're looking for.
   
   Once upon a time, Steven Punte was seen writting:
   
I too agree with Roys' statements.  Stable software is
everything.  Otherwise Cocoon will just take it's
place as some interesting RD project in the Software
Halls of History while another project, another firm,
deliveres a stable usable system to market that
becomes the standard.

  Steve Punte
   
   
   -
   Please check that your question has not already been answered in the
   FAQ before posting. http://xml.apache.org/cocoon/faqs.html
   
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
 ___
 Send a cool gift with your E-Card
 http://www.bluemountain.com/giftcenter/
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




XSP compilation failed (Cocoon 1.8)

2001-07-23 Thread smallufo




Hi all!
 I am new to Cocoon, step by step following the 
"Java and XML" book.
I am using Cocoon 1.8 , It seems OK, All XML / XSLT / FOs 
works correctly , except the XSP compilation error!
I followed the "Java and XML" book (Oreilly) , and 
downloaded all the sample code from the Oreilly website,
and key-in the simpleXSP.xml (because the filesize is zero 
in the sample code, It seems an Oreilly's error).
But it can't start in my server. The error message is as 
follows:
http://myhost/cocoon/javaxml/Ch09/simpleXSP.xml
Error found handling the request.
java.lang.Exception: XSP Java Compiler: Compilation failed for _simpleXSP.java
12: Package org.apache.cocoon.parser not found in import.
import org.apache.cocoon.parser.*;
   ^
13: Package org.apache.cocoon.producer not found in import.
import org.apache.cocoon.producer.*;
   ^
14: Package org.apache.cocoon.framework not found in import.
import org.apache.cocoon.framework.*;
   ^
16: Package org.apache.cocoon.processor.xsp not found in import.
import org.apache.cocoon.processor.xsp.*;
   ^
17: Package org.apache.cocoon.processor.xsp.library not found in import.
import org.apache.cocoon.processor.xsp.library.*;I am using RedHat 7.1 + Resin 1.2.7 , the resin.conf (cocoon part) is as follows: web-app id="/cocoon" app-dir="/usr/local/cocoon" classpath id='bin/cocoon.jar' / classpath id='lib/xerces_1_2.jar' / classpath id='lib/xalan_1_2_D02.jar' / classpath id='lib/fop_0_13_0.jar' / classpath id='lib/turbine-pool.jar' / servlet servlet-nameorg.apache.cocoon.Cocoon/servlet-name servlet-classorg.apache.cocoon.Cocoon/servlet-class init-param param-nameproperties/param-name param-valueconf/cocoon.properties/param-value /init-param /servlet servlet-mapping servlet-name="org.apache.cocoon.Cocoon" url-pattern="*.xml" / /web-appIt seems a classpath problem. But I check the classpath, all seems OK!I rebuild the cocoon.jar , and find that there does exist cocoon/build/src/org/xml/apache/parser,producer,..., directories. They DOES exist!And the newly build /build/cocoon.jar is identical to cocoon/bin/cocoon.jar (both 244389 bytes)But why can't I run XSP files ? Where goes wrong ? Please tell me , Thank you in advance!


Re: 2.1? What gives?

2001-07-23 Thread Davanum Srinivas

Frans,

If you have a specific problem, please add an entry in bugzilla,
http://nagoya.apache.org/bugzilla. 

If you are not interested in contributing positively to what's happening with C2, then 
this is not
the mailiing list for you.

Thanks,
dims

--- Frans Thamura [EMAIL PROTECTED] wrote:
 
 Yah, right
 
 
 is the 2.0 is stable??? with beta version. I used
 cocoon 1.8 as production environment, i am work for
 the migration.
 
 
 Frans
 --- Roy Tennant [EMAIL PROTECTED] wrote:
  So here I've been waiting for a stable Cocoon 2, and
  I find that the 
  development has blown past a stable 2.0 release, and
  now is working 
  on 2.1. Is there any hope of a stable release
  anytime soon? I have 
  production services running (shakily, unfortunately)
  on 1.8.3, and 
  would appreciate having a stable version of 2.x, in
  the (perhaps 
  forlorn) hope that my troubles may disappear. Can
  anyone give me a 
  sense of the proposed development path? Please
  respond directly to me 
  as well as the list, since I cannot deal with
  signing up to a list 
  that gets the kind of traffic this list does.
  Thanks,
  Roy Tennant
  eScholarship
  California Digital Library
  
 
 -
  Please check that your question has not already been
  answered in the
  FAQ before posting.
  http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail:
  [EMAIL PROTECTED]
  For additional commands, e-mail:
  [EMAIL PROTECTED]
  
 
 
 =
 Let's Empowering Open Source
 
 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute with Yahoo! Messenger
 http://phonecard.yahoo.com/
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: [C2.0b1] bug(?) in XSP

2001-07-23 Thread java guru

Thanks man.,
  I just submitted onto the bugzilla..bug 2737..


 --- Davanum Srinivas [EMAIL PROTECTED] wrote:  Why
don't you submit a bug at
 http://nagoya.apache.org/bugzilla? Please make sure
 that you send in
 a zip of the sample too.
 
 Thanks,
 dims
 
 --- java guru [EMAIL PROTECTED] wrote:
  The simple answer for all the concrete example
 is
  YES. I tried the exact situation i described..and
 c2
  is not acting as anticipated...rather its
 compiling
  both docs/index.xsp(precisely its only compiling
 the
  first one and not second one as its finding the
 class
  file already compiled from first one) into same
  package..
  
  Thanks in advance
   --- Berin Loritsch [EMAIL PROTECTED] wrote:
 
  java guru wrote:

I guess .. What Mr.Drasko refering here is

For example

1. You have two sub sitemaps say test1 and
 test2
2. Both of them have some pattern called
 index
   to
serve a xsp called index.xsp.
3. Both sitemaps are set up to serve the
 index.xsp
from their respective sub-folder called
 docs.
4. But the content of the both index.xsp 's is
   diffent
from each other.
   
   To see if we are speaking the same language, are
 you
   talking about a directory structure like this:
   
   $context/
   sitemap.xmap
   docs/index.xsp
   iexplorer/
sitemap.xmap
docs/index.xsp
   netscape/
sitemap.xmap
docs/index.xsp
   
   Even if the mounted sitemaps
 (iexplorer/sitemap.xml
   and netscape/sitemap.xml) have the same URL
 because
   they choose on browser type, they are treated
   completely
   different.
   
5. Now when you access the first sub-sitemap
   pattern
index. The index.xsp is compiled into
www/docs/index_xsp.java and then served
   
   Not exactly correct.  The three index.xsp files
   above
   are compiled into the following directories:
   
   www/docs/index_xsp
   www/iexplorer/docs/index_xsp
   www/netscape/docs/index_xsp
   
   The generated filename follows the CONTEXT
 directory
   heirarchy.
   
6. Funny part now is if u try to access
 index
pattern from second sitemap test2.
   
   Do you have a hard example of this?
   
7. Incase, c2 try to compile the index.xsp
 from
   this
context, the package created in tomcat work
   directory
would still be www/docs/index_xsp.java over
   writing
the first one.
   
   If you are talking about separate contexts, then
 you
   have nothing to worry about.  The Servlet Engine
   gives
   each Context it's own unique Work Directory. 
 Each
   instance of Cocoon 2 will be using their _own_
 work
   directory as the repository for the generated
   classes.
   
8. Whats worser is for caching(or whatever
 reason)
   c2
decides NOT to compile but to serve the same
 class
file and serve the wrong contents.
   
   Again, do you have a concrete example of this?
   
Hope this complements Mr.Drasko's point and
 make
   the
problem clearer ..

Or may be this is not problem at all and there
 is
   some
explanation...
   
   The only other situation I can think of is this:
   
   $context/
   sitemap.xmap
   loop-sitemap.xmap
   index.xsp
   
   In this case, even if loop-sitemap.xmap is
 mounted
   as
   LOOP the index.xsp is still going to be
   www/index_xsp.java.
   
   Remember it goes by Context heirarchy--not URI
  heirarchy.
  
   ATTACHMENT part 2 application/x-pkcs7-signature
  name=smime.p7s
   
  
  =
  Thanks and have great day
  srini
  
 


  Do You Yahoo!?
  For regular News updates go to
 http://in.news.yahoo.com
  
 

-
  Please check that your question has not already
 been answered in the
  FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
  
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
 
 
 =
 Davanum Srinivas, JNI-FAQ Manager
 http://www.jGuru.com/faq/JNI
 
 __
 Do You Yahoo!?
 Make international calls for as low as $.04/minute
 with Yahoo! Messenger
 http://phonecard.yahoo.com/
 

-
 Please check that your question has not already been
 answered in the
 FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
  

=
Thanks and have great day
srini


Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html


Re: Calling an XML file from an XSP page

2001-07-23 Thread Davanum Srinivas

Try this. See util.xsl and XSPUtil.java for the sources.

Thanks,
dims

  InputSource is = new InputSource(
  new FileReader(
 XSPUtil.relativeFilename(
   votes.xml,
   objectModel
)
  )
  );



--- Yasir Khalil Al Masri [EMAIL PROTECTED] wrote:
 Hello,
 
 I'm tring in one of the XSP pages to call an XML file that resides on 
 my machine.  It came to me that as you can call an image by mapping it 
 through:
 map:match pattern=images/**.png
map:read src=project/images/{1}.png mime-type=image/png/
 /map:match
 
 you can do the same for the XML files:
 map:match pattern=**.xml
map:read src=project/XMLfiles/{1}.xml mime-type=text/xml/
 /map:match
 
 Now in one of the XSP files, I'm doing this:
 InputSource input = new InputSource( new FileInputStream( 
   votes.xml ) );
 where votes.xml is in the XMLfiles directory.  I suppose that mapping 
 like this is clear enough to tell the cocoon engine where to find this 
 file, but whenever I execute this code I got a large stack dumped to 
 the server monitor saying that it cannot find the file mentioned.  I 
 tried to put it in many shapes like:
 InputSource input = new InputSource( new FileInputStream( 
   cocoon:/XMLfiles/votes.xml ) );
 
 Even I tried to call it directly from the current working directory, or 
 from the root of the project without mapping, I always got the same 
 result.
 
 I succeeded only when I hardcoded the full path of the file starting 
 from the current drive, which I don't think it's a professional way to 
 do this.
 
 Do anybody have comment on this?
 
 Thanx.
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Re: 2.1? Stable Software Needed

2001-07-23 Thread Berin Loritsch

Steven Punte wrote:
 
 I too agree with Roys' statements.  Stable software is
 everything.  Otherwise Cocoon will just take it's
 place as some interesting RD project in the Software
 Halls of History while another project, another firm,
 deliveres a stable usable system to market that
 becomes the standard.

I think you also have missed my comments on the 2.0 vs. 2.1
releases.  Cocoon 2.0 beta 2 has been released--with many
bug fixes, and some usability enhancements.  The Cocoon 2.0
CVS repository is actively maintained.  We are actively pursuing
Cocoon 2.0 final.  The 2.1 release has a number of experimental
features that need to be tested and finalized--something that
the 2.0 branch did not want to be encumbered with.

You will find that Cocoon 2.0 beta 2 release a much smoother
and more stable product than the beta 1 release.

 
 Steve Punte
 
 On Thu, 19 Jul 2001 08:40:06 -0700, [EMAIL PROTECTED] wrote:
 
   So here I've been waiting for a stable Cocoon 2, and I find that the
   development has blown past a stable 2.0 release, and now is working
   on 2.1. Is there any hope of a stable release anytime soon? I have
   production services running (shakily, unfortunately) on 1.8.3, and
   would appreciate having a stable version of 2.x, in the (perhaps
   forlorn) hope that my troubles may disappear. Can anyone give me a
   sense of the proposed development path? Please respond directly to me
   as well as the list, since I cannot deal with signing up to a list
   that gets the kind of traffic this list does. Thanks,
   Roy Tennant
   eScholarship
   California Digital Library
 
   -
   Please check that your question has not already been answered in the
   FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 ___
 Send a cool gift with your E-Card
 http://www.bluemountain.com/giftcenter/
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 S/MIME Cryptographic Signature


Re: Financial Business Model: Was Stable Software Needed

2001-07-23 Thread Berin Loritsch

Steven Punte wrote:
 
 My point is don't loose out and just become an interesting
 experimental academic project.

It helps if you pay attention to the whole thread.  Cocoon 2.0
is well on its way to a final release.  You have misconstrued
the existence of Cocoon 2.1 as the quest for the bleeding edge.
You will find that the only difference between the two really
is the existence of more Components for your use.

 There is HUGH INTEREST by the software industry in this
 type of architecture.  There are undoubted many commercial
 firms working on comparable frameworks. Sales of such
 XML framework technology will probably exceed $1B by 2005.

I think you are optimistic of sales numbers, however, there
is considerable interest.  People are more interested in
Quick and Dirty (QD) development, so technologies like
JSP, ASP, and PHP thrive.  When it comes to maintenance
of the site--well, that's when Cocoon shines.

 I was driven away from TOMCAT last year because of it lack
 of production worthiness'.  It looks like it is more mature
 now, and I may return.  It's sure costly to change back and
 fourth.

Cocoon needs formal testing--but you will find that Cocoon 2 beta 2
is MORE production worthy than Cocoon 1.x due to the fact that it
scales much better.
 S/MIME Cryptographic Signature


Re: Using Actions in Sitemaps

2001-07-23 Thread Berin Loritsch

Max Larsson wrote:
 
 Hello,
 
 i have written my own Action for C2. It works fine.
 But somehow the C2 always report resource not found.
 With resource i think C2 means the file i am requesting,
 because i cannot find any ClassNotFoundExceptions in any logs.
 
 I have configure in my sitemap the following to use the action
 
  ...
   map:actions
 map:action name=login-request src=LoginAction/
 map:action name=lang-select
 src=org.apache.cocoon.acting.LangSelect/
   /map:actions
  /map:components
  map:action-sets
   map:action-set name=helpdesk
map:act type=login-request/
   /map:action-set
  /map:action-sets
 
 ...
 
   map:match pattern=*.html
 map:act set=helpdesk
   map:generate type=serverpages src=helpdesk.xsp/
 map:serialize/
 /map:act
   /map:match
 
 ...
 
 The file helpdesk.xsp exists on my server. Because if i take the
 map:act element away like this it works fine:
 
   map:match pattern=*.html
  map:generate type=serverpages src=helpdesk.xsp/
  map:serialize/
   /map:match
 
 Another question, how is the syntax to use the action directly without
 an action set. If i take the example from the documentation C2 always
 reports incomplete pipeline.

Is your LoginAction 1) without any package, and 2) in the classpath?
Anytime you alter your classpath in ANY servlet, the servlet engine needs
to be restarted.  It's a fact of life.
 S/MIME Cryptographic Signature


AW: Using Actions in Sitemaps

2001-07-23 Thread Max Larsson


Is your LoginAction 1) without any package, and 2) in the classpath?
Anytime you alter your classpath in ANY servlet, the servlet engine needs
to be restarted.  It's a fact of life.

It's no problem with the classpath. Cocoon loads the class and executes it.
I've checked it in the logs. The problem is in the sitemap, but i don't
find enough documentation to solve it. This piece:

  map:match pattern=*.html
  map:generate type=serverpages src=helpdesk.xsp/
  map:serialize/
   /map:match

works fine. OK the LoginAction class isn't called. But if if change it to
use it in the following way:

   map:match pattern=*.html
 map:act set=helpdesk
   map:generate type=serverpages src=helpdesk.xsp/
 map:serialize/
 /map:act
   /map:match

C2 delivers resource not found. It's not a problem with the LoginAction
class.
It gets loaded and executed without any problems. I can post the source if
needed.

Max


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Cocoon2, Resin2.0, and IIS

2001-07-23 Thread JStalnecker

Does any one have this combination working?  I am not sure how to set up
the Cocoon folder.  When I run resin with the default home of doc, Cocoon
runs fine.  Now I am trying to use the IIS home of
Inetpub/wwwroot/Application root.  But I am not sure where Cocoon should be
placed.  Any help would be greatly appreciated.

Thanks,
Joy


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




RE: Cocoon2, Resin2.0, and IIS

2001-07-23 Thread steve

Hi, With Cocoon2, Resin 2.0 IIS 5.0

1. Make Sure there is a virtual directory to scripts under the web site.
2. Cocoon goes in %RESIN_HOME%\web-apps
3. Point IIS at (in this case) c:\inets\resin\www\  
Below the Resin conf File I used to get it to work


caucho.com
java compiler=javac compiler-args= work-dir='work'/
jsp precompile='true' static-encoding='true' recompile-on-error='true'/
http-server
app-dirc:\inets\resin\www/app-dir
http port='8080'/
srun host='resin.es-s.net' port='6802'/
host id='resin.es-s.net'
war-dir id='webapps'/
web-app id='/' /
servlet-mapping url-pattern='*.jsp'
servlet-name='com.caucho.jsp.JspServlet'/
servlet-mapping url-pattern='*.xml'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
/host
host id='c2.xtoad.net'
war-dir id='webapps'/
web-app id='/' /
servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
/host
host id='cocoon2.xtoad.net'
war-dir id='webapps'/
web-app id='/' /
servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
/host
/http-server
/caucho.com
 
Regards

Steve


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 3:22 PM
To: [EMAIL PROTECTED]
Subject: Cocoon2, Resin2.0, and IIS


Does any one have this combination working?  I am not sure how to set up
the Cocoon folder.  When I run resin with the default home of doc, Cocoon
runs fine.  Now I am trying to use the IIS home of
Inetpub/wwwroot/Application root.  But I am not sure where Cocoon should be
placed.  Any help would be greatly appreciated.

Thanks,
Joy


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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. http://xml.apache.org/cocoon/faqs.html

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




Re: AW: Using Actions in Sitemaps

2001-07-23 Thread Berin Loritsch

Max Larsson wrote:

 C2 delivers resource not found. It's not a problem with the LoginAction
 class.
 It gets loaded and executed without any problems. I can post the source if
 needed.

Oh, quick question:

Does the Action return a Map?  If an action returns a null, it is concidered
to have failed processing, and nothing embedded in the action will execute.
This probably needs to be better documented.

An action must return a Map if successful--even if it is empty.
 S/MIME Cryptographic Signature


Re: [C2]Cannot open display problem (No X-Server running)

2001-07-23 Thread Berin Loritsch

Mariano Kamp wrote:
 
 Hi there,
 
   after deploying it the first in production c2 is not working anymore. This
 due to the reason that on the production machine is no xserver running.
 
   I remember having seen this on the list already and that there is a
 workaroung, but after searching the mail archives for more then 15 minutes
 without any success I would appreciate if somebody can point me out to the
 right keywords to look for, or even more appreciated, tell me how I can run
 cocoon on a machine without X.

Either install a X server Virtual FrameBuffer, or do not include Batik (which
requires that the svg2png and svg2jpg serializers have to be removed from the
sitemap along with any resources that use them.
 S/MIME Cryptographic Signature


Re: Using Actions in Sitemaps

2001-07-23 Thread Christian Haul

On 23.Jul.2001 -- 03:16 PM, Max Larsson wrote:
 
 Is your LoginAction 1) without any package, and 2) in the classpath?
 Anytime you alter your classpath in ANY servlet, the servlet engine needs
 to be restarted.  It's a fact of life.
 
 It's no problem with the classpath. Cocoon loads the class and executes it.
 I've checked it in the logs. The problem is in the sitemap, but i don't
 find enough documentation to solve it. This piece:
 
   map:match pattern=*.html
   map:generate type=serverpages src=helpdesk.xsp/
   map:serialize/
/map:match
 
 works fine. OK the LoginAction class isn't called. But if if change it to
 use it in the following way:
 
map:match pattern=*.html
  map:act set=helpdesk
map:generate type=serverpages src=helpdesk.xsp/
  map:serialize/
  /map:act
/map:match
 
 C2 delivers resource not found. It's not a problem with the LoginAction
 class.
 It gets loaded and executed without any problems. I can post the source if
 needed.

Mmmh, does it make sense to nest a subpipeline in a action *set* ?
Perhaps you wanted to use a single action? E.g.

  map:match pattern=*.html
map:act type=helpdesk
!--  --
  map:generate type=serverpages src=helpdesk.xsp/
  !-- no transformation needed ? --
  map:serialize/
/map:act
!-- you should have an else case here, since what happens if
 the action did not complete successfully ? --
  /map:match

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. http://xml.apache.org/cocoon/faqs.html

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




RE: Using Actions in Sitemaps

2001-07-23 Thread tom . klaasen

I'm going out on a limp (limb?) here, but:

This LoginAction, is this something you wrote yourself? If so, be sure that
the Map it returns is not null, because when it is, the components between
the action tags will not be executed.

return new HashMap(); should do the trick.

hth,
tomK

-Original Message-
From: Max Larsson [mailto:[EMAIL PROTECTED]]
Sent: maandag 23 juli 2001 15:16
To: [EMAIL PROTECTED]
Subject: AW: Using Actions in Sitemaps



Is your LoginAction 1) without any package, and 2) in the classpath?
Anytime you alter your classpath in ANY servlet, the servlet engine needs
to be restarted.  It's a fact of life.

It's no problem with the classpath. Cocoon loads the class and executes it.
I've checked it in the logs. The problem is in the sitemap, but i don't
find enough documentation to solve it. This piece:

  map:match pattern=*.html
  map:generate type=serverpages src=helpdesk.xsp/
  map:serialize/
   /map:match

works fine. OK the LoginAction class isn't called. But if if change it to
use it in the following way:

   map:match pattern=*.html
 map:act set=helpdesk
   map:generate type=serverpages src=helpdesk.xsp/
 map:serialize/
 /map:act
   /map:match

C2 delivers resource not found. It's not a problem with the LoginAction
class.
It gets loaded and executed without any problems. I can post the source if
needed.

Max


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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. http://xml.apache.org/cocoon/faqs.html

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




Re: [C2]Cannot open display problem (No X-Server running)

2001-07-23 Thread Berin Loritsch

java guru wrote:
 
 Hi.,
 
 1. Use jdk1.4 which ships with swing NOT requiring x
 terminal

I highly do not recommend this approach.  JDK 1.4 Beta
has a number of surprises that hopefully will be taken
care of in JDK 1.4 Beta Refresh.

I also do not recommend Beta JDKs for production use--
though you should consider them for development.  It will
help you prepare for new APIs without breaking backwards
compatibility.
 S/MIME Cryptographic Signature


Re: Calling an XML file from an XSP page

2001-07-23 Thread Davanum Srinivas

Yasir,

See below.

--- Yasir Khalil Al Masri [EMAIL PROTECTED] wrote:
 Thanx dims.
 
 Actually I have to questions:
 1.Am I supposed to place the votes.xml in somewhere specific? I'm 
 asking this because when I tried the code you gave me I got a 
 NullPointerException thrown in method XSPUtil.relativeFilename(...), 
 which indicates to me that this method is unable to find or read the 
 file votes.xml, although I made sure to place this file wherever I 
 think it's feasible.

If you place the votes.xml in webapp/docs/samples/xsp, then use 
docs/samples/xsp/votes.xml to load
it.

 2.I didn't really know what is the objectModel Map object for, but 
 nevertheless I replaced it with this.objectModel. Was that a wrong 
 thing to do?

Yes. 

 Thank you again
 
 
 - Original Message -
 From: Davanum Srinivas [EMAIL PROTECTED]
 Date: Monday, July 23, 2001 3:23 pm
 Subject: Re: Calling an XML file from an XSP page
 
  Try this. See util.xsl and XSPUtil.java for the sources.
  
  Thanks,
  dims
  
   InputSource is = new InputSource(
   new FileReader(
  XSPUtil.relativeFilename(
votes.xml,
objectModel
 )
   )
   );
  
  
  
  --- Yasir Khalil Al Masri [EMAIL PROTECTED] wrote:
   Hello,
   
   I'm tring in one of the XSP pages to call an XML file that 
  resides on 
   my machine.  It came to me that as you can call an image by 
  mapping it 
   through:
   map:match pattern=images/**.png
  map:read src=project/images/{1}.png mime-type=image/png/
   /map:match
   
   you can do the same for the XML files:
   map:match pattern=**.xml
  map:read src=project/XMLfiles/{1}.xml mime-type=text/xml/
   /map:match
   
   Now in one of the XSP files, I'm doing this:
   InputSource input = new InputSource( new FileInputStream( 
 votes.xml ) );
   where votes.xml is in the XMLfiles directory.  I suppose that 
  mapping 
   like this is clear enough to tell the cocoon engine where to 
  find this 
   file, but whenever I execute this code I got a large stack 
  dumped to 
   the server monitor saying that it cannot find the file 
  mentioned.  I 
   tried to put it in many shapes like:
   InputSource input = new InputSource( new FileInputStream( 
 cocoon:/XMLfiles/votes.xml ) );
   
   Even I tried to call it directly from the current working 
  directory, or 
   from the root of the project without mapping, I always got the 
  same 
   result.
   
   I succeeded only when I hardcoded the full path of the file 
  starting 
   from the current drive, which I don't think it's a professional 
  way to 
   do this.
   
   Do anybody have comment on this?
   
   Thanx.
   
   
   
   -
  
   Please check that your question has not already been answered in the
   FAQ before posting.  
  target=lhttp://xml.apache.org/cocoon/faqs.html 
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
   
  
  
  =
  Davanum Srinivas, JNI-FAQ Manager
  http://www.jGuru.com/faq/JNI
  
  __
  Do You Yahoo!?
  Make international calls for as low as $.04/minute with Yahoo! 
  Messengerhttp://phonecard.yahoo.com/
  
  ---
  --
  Please check that your question has not already been answered in the
  FAQ before posting.  
  target=lhttp://xml.apache.org/cocoon/faqs.html
  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. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




RE: Cocoon2, Resin2.0, and IIS

2001-07-23 Thread steve

Hi the cocoon servlet should be in   

%PATH_TO_RESIN%\webapps\cocoon\Web-Inf\lib\Cocoon-2.1-dev.jar
or 
%PATH_TO_RESIN%\webapps\cocoon\Web-Inf\lib\Cocoon.jar
(depending on which version you are using)
i.e.
C:\Resin-2.0.0\webapps\cocoon\Web-Inf\lib\Cocoon-2.1-dev.jar

You place the Cocoon.war file in Resin-2.0.0\webapps
Resin Unpacks it to \webapps\cocoon\etc 

Regards


Steve


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon2, Resin2.0, and IIS

snip

I tried this but now I get the following:

java.lang.ClassNotFoundException: org.apache.cocoon.servlet.CocoonServlet
   at
How and where do I set my class path so that the cocoon servlet is found?

Thanks again,
joy


 

steve@es-mark

eting.comTo: [EMAIL PROTECTED]

 cc:

07/23/01 Subject: RE: Cocoon2, Resin2.0,
and IIS   
09:39 AM

Please

respond to

cocoon-users

 

 





Hi, With Cocoon2, Resin 2.0 IIS 5.0

1. Make Sure there is a virtual directory to scripts under the web site.
2. Cocoon goes in %RESIN_HOME%\web-apps
3. Point IIS at (in this case) c:\inets\resin\www\
Below the Resin conf File I used to get it to work


caucho.com
java compiler=javac compiler-args= work-dir='work'/
jsp precompile='true' static-encoding='true' recompile-on-error='true'/
http-server
app-dirChange to Your WWW directory Directory /app-dir
http port='8080'/
srun host='resin.es-s.net' port='6802'/
host id='resin.es-s.net'
war-dir id='webapps'/
web-app id='/' /
servlet-mapping url-pattern='*.jsp'
servlet-name='com.caucho.jsp.JspServlet'/
servlet-mapping url-pattern='*.xml'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
/host
host id='c2.xtoad.net'
war-dir id='webapps'/
web-app id='/' /
servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
/host
host id='cocoon2.xtoad.net'
war-dir id='webapps'/
web-app id='/' /
servlet-mapping url-pattern='/cocoon/*'
servlet-name='org.apache.cocoon.servlet.CocoonServlet'/
/host
/http-server
/caucho.com

Regards

Steve


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 3:22 PM
To: [EMAIL PROTECTED]
Subject: Cocoon2, Resin2.0, and IIS


Does any one have this combination working?  I am not sure how to set up
the Cocoon folder.  When I run resin with the default home of doc, Cocoon
runs fine.  Now I am trying to use the IIS home of
Inetpub/wwwroot/Application root.  But I am not sure where Cocoon should be
placed.  Any help would be greatly appreciated.

Thanks,
Joy


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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. http://xml.apache.org/cocoon/faqs.html

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. http://xml.apache.org/cocoon/faqs.html

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. http://xml.apache.org/cocoon/faqs.html

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




[C2] Problem: Checking XML before including it (XSPUtil.include)

2001-07-23 Thread C. Gaffga

I have some XML stored in the database an want to include in
in my page. Im using the following code in my XSP-page:

try {
  ...
  org.apache.cocoon.components.language.markup.xsp.XSPUtil.include(
 __is, this.contentHandler, newParser);
} catch (Exception e) {
 blockquote
   XML-Error XML: xsp:expre.getMessage()/xsp:expr
 /blockquote
}

that work's fine if the XML is wellformed, but if it's not, it's the problem
that not
just the error message is outputted but also all XML that has been processed
before the
Error occured.

How can I check the XML before?
I tried to start the parser with no conumer but that throws an exception
every time

  parser.setConsumer(null);
  parser.parse(__is);

Is the a dummy consumer? something like dev/null ?

Christoph Gaffga

P.S.: It's no performence Problem for my Application if the XML is processed
twice.


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




ESQL and the esql:no-results tag (CVS is currently down, so can't download newer version w/fix)

2001-07-23 Thread Luis Gois

Hi! Since I can't check the code repository for a newer version of the ESQL
taglib which might be fixed by now (or I'm the only thing broken here), I
would apreciate some comments on some findings I've made :




Look at this fragment from the esql taglib and read the comments I've placed in
it :

?xml version=1.0?
!-- $Id: esql.xsl,v 1.54 2001/01/22 23:49:44 balld Exp $--
!--


(...)

  // line number is 406
  !-- this is a normal query --
  xsl:otherwise
_esql_query.statement = _esql_connection.connection.createStatement();
_esql_query.results = _esql_query.statement.execute(_esql_query.query);
  /xsl:otherwise
/xsl:choose


// my debug
System.out.println(ESQL : _esql_query.query =  + _esql_query.query);
System.out.println (ESQL : _esql_query.results =  + _esql_query.results);

// the query's fine, and _esql_query.results == false as it should, since from
// JAVA 1.3 Documentation for java.sql.statement, execute() returns false
// for an update/insert or *no results matching the query* !!!

if (_esql_query.results) {
  _esql_query.resultset = _esql_query.statement.getResultSet();
  _esql_query.resultset_metadata = _esql_query.resultset.getMetaData();
  _esql_query.position = 0;
  if (_esql_query.skip_rows gt; 0) {
while (_esql_query.resultset.next()) {
  _esql_query.position++;
  if (_esql_query.position == _esql_query.skip_rows) {
break;
  }
}
  }
  xsl:apply-templates select=esql:results/
  xsl:apply-templates select=esql:no-results/
  _esql_query.resultset.close();
}
else {
  _esql_query.position = _esql_query.statement.getUpdateCount();
  if (_esql_query.position gt;= 0) {
xsl:apply-templates select=esql:update-results/*/
  }
}
_esql_query.statement.close();

// since _esql_query.results == false, i guess from this that esql:no-results
// never gets instantiated.


I can't find any reasonable explanation for why only now I've found this
problem with esql. Donald, please can you give me a help?! Am I missing
something I've used the no-results tag more than once ... I didn't found any
malfunction earlier just because the no-results condition was never met ...
until now.


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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


ESQL : Problem with the esql:no-results tag (CVS broken, so I can't try a 1.54+ version)

2001-07-23 Thread Luís Góis

Look at this fragment from the esql taglib and read the comments I've
placed in
it :

?xml version=1.0?
!-- $Id: esql.xsl,v 1.54 2001/01/22 23:49:44 balld Exp $--
!--

(...)

  // line number is 406
  !-- this is a normal query --
  xsl:otherwise
_esql_query.statement =
_esql_connection.connection.createStatement();
_esql_query.results =
_esql_query.statement.execute(_esql_query.query);
  /xsl:otherwise
/xsl:choose

// my debug
System.out.println(ESQL : _esql_query.query =  + _esql_query.query);
System.out.println (ESQL : _esql_query.results =  +
_esql_query.results);

// the query's fine, and _esql_query.results is 'false' as it should,
since from
// JAVA 1.3 Documentation for java.sql.statement, execute() returns
false
// for an update/insert or *no results matching the query* !!!

if (_esql_query.results) {
  _esql_query.resultset = _esql_query.statement.getResultSet();
  _esql_query.resultset_metadata = _esql_query.resultset.getMetaData();
  _esql_query.position = 0;
  if (_esql_query.skip_rows gt; 0) {
while (_esql_query.resultset.next()) {
  _esql_query.position++;
  if (_esql_query.position == _esql_query.skip_rows) {
break;
  }
}
  }
  xsl:apply-templates select=esql:results/
  xsl:apply-templates select=esql:no-results/
  _esql_query.resultset.close();
}
else {
  _esql_query.position = _esql_query.statement.getUpdateCount();
  if (_esql_query.position gt;= 0) {
xsl:apply-templates select=esql:update-results/*/
  }
}
_esql_query.statement.close();

// since _esql_query.results is 'false', esql:no-results never gets
instantiated
// for a query which returns 'no-results' ?!?!?!?


I can't find any reasonable explanation for why only now I've found this

problem with esql. Donald, please can you give me a help?! Am I missing
something I've used the no-results tag more than once ... I didn't
found any
malfunction earlier just because the no-results condition was never
met ... until now.

I can't see how the no-results works for you this way, but I would love
to know your explanation.

Thanks in advance!!!
Luis Gois


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




RE: ESQL and the esql:no-results tag (CVS is currently down, so can't download newer version w/fix)

2001-07-23 Thread Davanum Srinivas

You can always use the WEB interface to CVS:
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/org/apache/cocoon/components/language/markup/xsp/java/

Thanks,
dims

--- Torsten Curdt [EMAIL PROTECTED] wrote:
  Hi! Since I can't check the code repository for a newer version of the ESQL
  taglib which might be fixed by now (or I'm the only thing broken here), I
  would apreciate some comments on some findings I've made :
 
 If I got you right:
 making result/no-results mutual exclusive
 got fixed a short while ago.
 
 If you need it badly I can send you a copy...
 --
 Torsten
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




ESQL : No, my problem isn't with mutual exclusivity

2001-07-23 Thread Luís Góis

Hello again Torsten,

if my query didn't return any row, a call to the execute() method
returns false, right?
Therefore, for a no-results situation, the code resulting from the
application
of the esql:no-results template is never reached -  this is what I
understand from reading
the java code below. Am I right?! I guess it's highly probable that I'm
grossly wrong,
but this is the only place in the esql.xsl file where the template is
apllied.

I don't wan't to execute java code when I do an update or insert, but
when my
SELECT title FROM test WHERE title = 'a title'  query returns no rows
- for this 3
situations, the execute() method's will return false and not a ResultSet
Object.

What am I missing?!?!?

Conclusion : I need mutual exclusivity between 'no-results' and
'update-results' (mutual
exclusivity between 'no-results' and 'results' is assured by the
true/false return values of the
execute() method).

Thanks for your attention. I really must solve this (i could just edit
esql.xsl to correct
this, but I wan't to really make sure this is what I have to do).


esql taglib v1.86
=
line 503
  if (_esql_query.results) {
do {
  _esql_query.resultset = _esql_query.statement.getResultSet();
  _esql_query.resultset_metadata =
_esql_query.resultset.getMetaData();
  _esql_query.position = 0;
  if (_esql_connection.use_limit_clause == 0 amp;amp;
_esql_query.skip_rows gt; 0) {
while (_esql_query.resultset.next()) {
  _esql_query.position++;
  if (_esql_query.position == _esql_query.skip_rows) {
break;
  }
}
  }

  if (_esql_query.resultset.next()) {
xsl:apply-templates select=esql:results/
  }
  else {
xsl:apply-templates select=esql:no-results/
  }

  _esql_query.resultset.close();
} while(_esql_query.statement.getMoreResults());
  } else {
_esql_query.position = _esql_query.statement.getUpdateCount();
if (_esql_query.position gt;= 0) {
  xsl:apply-templates select=esql:update-results/*/
}
  }


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




how can I give a parameter to an action in the sitemap?

2001-07-23 Thread Mario Brust

hi,

I want to use the LangSelect-Action (included in c2). They has a method
storeLanguage (public static java.lang.String
getLang(java.util.Map objectModel,
org.apache.avalon.framework.parameters.Parameters par)).

Now I want to get the language out of the uri (e.g..
www.bla.de/en/index.html for the English page).
So I use in a pipeline the following map:match.
map:match pattern=*/welcome
  here i want to call the method with the parameter {1}/
  map:act type=lang-select
here i can use the parameter - this works./
map:redirect-to uri={lang}/
  /map:act
/map:match
I couldn't found how to do this.

thx in advance
Mario Brust


---

System Development
VIRBUS AG
[EMAIL PROTECTED]
www.virbus.de



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




RE: session WML

2001-07-23 Thread Paul Nock

This is kind of off-topic here I suspect, but ...

What type of phone are you using? Are cookies supported through your WAP
gateway and to the device? If not you need to use URL rewriting to make sure
the sessionid is in the URL, not in a cookie.

The on-topic part of the answer is that you can use the linkencode processor
to do that for you.

Paul

-Original Message-
From: cyan Tillo [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 21, 2001 12:43 AM
To: [EMAIL PROTECTED]
Subject: session WML


hello readers
 i am developing a wap site.. but the session is not working.. i am creating
WML using servlets...
when it calls the next servlet the session is read as new
pls help me to solve this

cyan



http://www.monsterindia.com - The Best Jobs. For the Best Minds.




-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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. http://xml.apache.org/cocoon/faqs.html

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




Please Help: XSL file is not working with Cocoon1.8.2

2001-07-23 Thread Uslu, Cihan Y (MED)

Hi;
I have a XSL file which works with Xalan processor from the command-line
without any problem, but when I try with Cocoon 1.8.2 , i receive
errors. I need help to figure out what am i doing wrong? I'm attaching
my XSL and XML file. 
I also need help to figure out how can I make this process automatic
rather than changing the xsl params each time. If you look at the xml
file there are several Task tags, I want to be able to output seperate
page for each Task  /Task pair. Is it possible to do this with one
xsl script? If yes, would you please show me how to do it, or send me an
example.
Error Message: org.apache.xalan.xslt.XSLProcessorException: Warning:
can't output text before document element! Ignoring...



main3.xsl
--
?xml version=1.0?
xsl:stylesheet version=1.0
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

xsl:template match=/
xsl:processing-instruction
name=cocoon-formattype=text/html/xsl:processing-instruction
xsl:param name='SectionNum' select='020' /
   xsl:param name='TaskNo' select='2' /
   html
 headbxsl:value-of
select='Module/Task[$TaskNo][@SectionNum]/Title' //b/head
 body
  pxsl:value-of
select='Module/Task[$TaskNo][@SectionNum]/Intro/para' //p
 xsl:choose
xsl:when
test=count(Module/Task[$TaskNo][@SectionNum]/Step)0 
ol
  xsl:for-each select='Module/Task[$TaskNo][@SectionNum]/Step'

 li
   xsl:apply-templates /
 /li
  /xsl:for-each
/ol
 /xsl:when
 xsl:when
test=count(Module/Task[$TaskNo][@SectionNum]/SubTask)0 
   xsl:for-each
select='Module/Task[$TaskNo][@SectionNum]/SubTask'  
 pbxsl:text  /xsl:textxsl:value-of
select='./title' //b/p
 pxsl:value-of select='./Intro' //p 
 ol
 xsl:for-each select='./Step' 
 li
   xsl:apply-templates /
 /li
  /xsl:for-each
  /ol
 /xsl:for-each  
   /xsl:when
/xsl:choose
/body
/html
   /xsl:template

   xsl:template match='guilabel'
 bxsl:text[/xsl:textxsl:value-of
select='.'/xsl:text]/xsl:text/b
   /xsl:template
   xsl:template match='emphasis'
  bxsl:value-of select='.'//b
/xsl:template
/xsl:stylesheet
-
xml file
--
?xml version=1.0?
Module ModuleNum=004
  title
 paraDaily Maintenance/para
  /title
  Intro
 paraThese procedures provide the step-by-step instructions
for performing
the daily maintenance tasks of warming-up the tube and
performing air (fast)
calibrations. /para
  /Intro
  CompetencyPerform daily maintenance procedures./Competency
  Task SectionNum=010TitleTube Warm-Up/Title
 Intro
paraFor optimum performance and consistent image
quality, perform a
  tube warm-up if your system has been inactive for two
or more hours. The system
  will notify you at the two hour time limit with a
warning dialog box. It is
  desirable to perform a tube warm-up procedure along
with fast calibrations once
  per 24 hours./para
 /Intro
 Objective Tube warm-up./Objective
 Step
QuickStep
  paraFrom the scan monitor, click guilabel[Daily
 Prep]/guilabel./para
/QuickStep
 /Step
 Step
QuickStep
  paraClick guilabel[Tube
Warm-Up]/guilabel./para
/QuickStep
 /Step
 Step
QuickStep
  para Click guilabel[Accept amp; Run Tube
Warm-up]/guilabel to
 proceed./para
/QuickStep
 /Step
 Step
QuickStep
  para Press emphasisStart Scan/emphasis./para
/QuickStep
 /Step
 Step
QuickStep
  para Select guilabelQuit/guilabel or proceed to
Fast
 Calibrations./para
/QuickStep
 /Step
  /Task
  Task SectionNum=020TitleAir Calibrations/Title
 Intro
paraAir calibrations, also called Fast Cals, must be
performed
  following a tube warm-up procedure. These calibrations
ensure consistent image
  quality and radiation exposure./para
 /Intro
 ObjectivePerform Air Calibrations./Objective
 Step
QuickStep
  paraAfter completing the tube warm-up, click
guilabel[Fast
 Cals]/guilabel./para
/QuickStep
 /Step
 Step
QuickStep
  paraPress emphasisStart Scan/emphasis./para

Cocoon on WebLogic 6.0

2001-07-23 Thread Olga Agady

Hi,

I installed cocoon with weblogic server (6.0) together
following the instructions for installing cocoon for
weblogic server(6.0) at
http://xml.apache.org/cocoon/install.html.
  Afterstarting  weblogic server, I can get right
result when ran

 http://localhost:7001/cocoon/Cocoon.xml, but when I
ran

 http://localhost:7001/cocoon/samples/index.xml 
(the samples directory has been copied from cocoon to
the cocoon application directory at
weblogic), 

I got the following  errors:


 Error found handling the request.
 java.lang.RuntimeException: Cannot access
non-file/war resources
 at
org.apache.cocoon.Utils.getBasename(Utils.java:277)
 at

org.apache.cocoon.producer.ProducerFromFile.getDocument(ProducerFromFile.java:76)
 at
org.apache.cocoon.Engine.handle(Engine.java:359)
 at
org.apache.cocoon.Cocoon.service(Cocoon.java:183)
 at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at

weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:213)
 at

weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:1265)
 at

weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:1631)
 at
weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
 at
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)


Could some one  please give me some ideas for fixing
the errors?  Thanks a
lot.


__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




Passing XML as an applet param (Character escaping)

2001-07-23 Thread adam moore

Greets!

I've tried the FAQ and searching the mail lists and seem to have drawn a
blank, so hopefully someone here can help (Or point me to the relevant
missed section *8-).

Background:
I'm trying to display MathML to people using IE or Netscape. Amaya and
mozilla have 'some' support, so are not a problem. The way I've founf
easiset so far is to use a free java plug-in called the WebEq Mathviewer 
from:
http://www.mathtype.com
However, they expect the MathML to be passed as an applet param, thusly:

param name=eq value=
  math
   mrowmi0/mi/mrow
  /math


Which is clearly not valid XML. I tried putting the invalid param
declaration in CDATA, but then I get the escaped version:
i.e.

![CDATA[param name=eq value=]]
 xsl:copy-of select=node()/ 
![CDATA[]] 

gives: 

lt;param name=quot;eqquot; value=quot;
  math
   mrowmi0/mi/mrow
  /math
quot;gt;

Which doesn't work.
I fiddled a bit with cocoon-format pi's, but didn't seem to get anywhere


Request:
A solution so that any of:
1. The relevant chars are not escaped
2. A working way to include XML in applet params
3. Someone has already got a good way of rendering MathML server-side,
e.g. a MathML to SVG converter

Rquirements:
1. The MathML is part of a node tree and not in an external file
2. Has to work on both IE (5.01) and Netscape (4.7)
3. Runs on Cocoon 1.8.2 (Unless we really need a CVS build)

TIA to everyone!

Dr Adam Moore
[EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




XSP and sitemap

2001-07-23 Thread jkim28

Hi,

 I'm trying to get the greetings example from the cocoon 2 XSP guide to
work with cocoon 2 b2 , but I'm clueless about the sitemap. Please help me
out!

It is just a simple greeting3.xml with the associated
logicsheet.greeting.xsl and greeting .xsl from the XSP guide documentation.
I have the following in my sitemap:

map:match pattern=greetings
map:generate src=docs/test/greeting3.xml/
map:transform src=docs/test/greeting.xsl/
map:serialize type=html/
/map:match

But the  greeting:hello-world/ returns nothing from the logicsheet, so no
hello, world!
I'm missing something in my sitemap I guess. Please fill in the blanks.

thanks



-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




URGENT help needed:from all Cocoonites

2001-07-23 Thread Sridhar Gopaluni


I am delivering a seminar on Cocoon to some 50-70
audience on (July 25th morning)which include CEOs,CTOs
and developers in USA...which means if people like it
some 10-20companies would use Cocoon.I will do my best
to explain the advantages of Cocoon and try to
convince people that Cocoon is THE FUTURE.I am
expecting some questions, for which I dont know the
answer: please help 

You dont need to waste your time writingyou can
reference me to URLs where i can get the info.

1)Can I bundle Cocoon with our company product and
sell it ?
2)Can I develop applications using Cocoon and make
money ?
3)How can I be assured that Ill get support if I get
into some problem while working with Cocoon ?
MY ANSWER: there is this mailing list which helps you
24hrs a day unlike those companies which charge you
HUGE amounts,this is free peer-peer support.

AM I RIGHT ?DOES THIS SOUND OK? ANY SUGGESTIONS ?

4)Which version of Cocoon should i use in my company ?
MY ANSWER:Use Cocoon 1.8.2 bcoz there are many who
have used this and people have exhausted all the
possible problems with 1.8.2 and so quick help is
easily available from the cocoon-archives.

AM I RIGHT ?DOES THIS SOUND OK ?ANY SUGGESTIONS ?

5)Can anyone suggest other possible questions?Some of
you might have already delivered seminars on Cocoon.

6)Where is Cocoon heading towards ?Does such
technologies get recognition from the W3c.org and  be
declared as Standards ?Can I say that Cocoon would
soon be declared a Standard?


7)Did anyone do any work using Cocoon+VoiceXml  ?

8)Are there any competing frameworks to Cocoon ?I
couldnt find any on Google.

9)Does anyone of you have slides which I can use as
reference,apart from the slides that I make ?

Thanks to all for your time and help in advancing the
Cocoon Technology.OpenSource will be The Future.I
will get back to you all with feedback after the
seminar.

I love Cocoon.
Gops

__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




[C2]A tool to monitor SAX events in a Cocoon processing pipeline -- CPP

2001-07-23 Thread KUMAR,PANKAJ (HP-Cupertino,ex1)

Hi,

I have developed a tool with GUI ( written in Swing JFC ) to monitor flow of
SAX events through a Cocoon pipeline.  I felt the need for such a tool while
trying to comeup with something that could demonstrate the inner workings of
Cocoon application in a visual manner. Later on, I also found it useful in
debugging my application.

You can find some description and the tool ( source and binaries ) at
http://www.pankaj-k.net/cpp

Please drop me a line if you liked the tool and would like it to be
maintained/evolved.

Pankaj.

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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




[c2][patch] RE: ESQL : No, my problem isn't with mutual exclusivity

2001-07-23 Thread Torsten Curdt

 Hello again Torsten,
 
 if my query didn't return any row, a call to the execute() method
 returns false, right?

No that's wrong. Is tells you if you got at least one ResultSet _object_
not if this ResultSet contains a row at all!

 Therefore, for a no-results situation, the code resulting from the
 application
 of the esql:no-results template is never reached -  this is what I
 understand from reading
 the java code below. Am I right?! I guess it's highly probable that I'm
 grossly wrong,
 but this is the only place in the esql.xsl file where the template is
 apllied.
 
 I don't wan't to execute java code when I do an update or insert, but
 when my
 SELECT title FROM test WHERE title = 'a title'  query returns no rows
 - for this 3
 situations, the execute() method's will return false and not a ResultSet
 Object.
 
 What am I missing?!?!?
 Conclusion : I need mutual exclusivity between 'no-results' and
 'update-results' (mutual
 exclusivity between 'no-results' and 'results' is assured by the
 true/false return values of the
 execute() method).

Ok... got you! Patch is attached :)
Thanks for the reporting...
--
Torsten


 esql.diff

-
Please check that your question has not already been answered in the
FAQ before posting. http://xml.apache.org/cocoon/faqs.html

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