RE: correct syntax for using variables inside

2002-06-09 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: correct syntax for using variables inside 





> I am using cinclude successfully in an xsp like this:
> 
>    
> 
> I would like to use a variable, used elsewhere in the xsp, as part of 
> the src filename:



A guess, maybe:



  
    sourcePage
  






RE: Tutorial XSL..

2002-05-15 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Tutorial XSL..



zvon.org has some excellent tutorials.

  -Original Message-From: Graaf, Edgar de (fin) 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, May 15, 2002 9:51 
  AMTo: '[EMAIL PROTECTED]'Subject: RE: Tutorial 
  XSL..
  www.w3schools.com
   
  You 
  also need to study FO(Formatting Objects). That is a type of XML that can be 
  converted to PDF.
   
  Your 
  XMLXSL>FO XML--fo2pdf serializer> 
PDF
   
  Try 
  www.w3c.org for FO.
   
  But 
  only when you have a good understanding of FO and XSLT.
   
  Regards,
   
  Edgar
  
-Oorspronkelijk bericht-Van: Alejandro Raiczyk 
[mailto:[EMAIL PROTECTED]]Verzonden: woensdag 8 mei 2002 
16:28Aan: '[EMAIL PROTECTED]'Onderwerp: RE: 
Tutorial XSL..
http://docs.technisys.com.ar/XML/XSL/biblia.html 

-Mensaje original- De: Bobrs 
[mailto:[EMAIL PROTECTED]] 
Enviado el: Miércoles 8 de Mayo de 2002 7:59 AM 
Para: Cocoon Asunto: Tutorial 
XSL.. 
Hi All !!!    I would like 
to know where I found tutorials of like write files 
.xls, the structure etc.. I need to convert files 
.xml to .pdf Someone have some material !?! 
 Thanks... 
-- Robert Siqueira Desenvolvimento WEB CCUEC - Centro de 
Computacao - UNICAMP UIN 70479124   
[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]> 



[esql] Nesting after INSERT (result or no-result)?

2002-05-04 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: [esql] Nesting after INSERT (result or no-result)?





I'm doing something wrong here but I cannot find answers in the mailing list or in the docs.  I simply want to run a SELECT after an INSERT has completed, but neither  or  seem to get triggered.

Referencing the following, the INSERT statement suceeds just fine, but I get nothing from either "results" or "no-results".

I'd be thrilled with a RTFM response so long as it is accompanied by some type of pointing gesture indicating the direction in which I should clumsily wander.

TIA,
-Tom


(cocoon 2.0.2 and postgresql 7.2 on jdk 1.3)







    xmlns:xsp="http://apache.org/xsp"
    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
    xmlns:esql="http://apache.org/cocoon/SQL/v2">


    
        Vendor Database
        
            
                gesupply


                
                    
                        INSERT INTO 
                            region (region_name, region_no)
                        VALUES 
                            ('', 
                            )
                    
                    
                        
                            
                                        Results found for insert query
                            
                        
                    
                    
                        
                                    NO results found for insert query
                        
                    
                


            


        
    







RE: esql question

2002-05-03 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: esql question





> -Original Message-
> From: sushil Bhattarai [mailto:[EMAIL PROTECTED]]
> Subject: esql question
> 
> My esql query is returning huge amount of data (many rows). I 
> know there's a 
> way to limit the number of rows but I do need all rows. But I want to 
> display only 10 rows at a time. And then next 10 rows and so 
> on. Is there a 
> way to do that?


Maybe you want to look into grouping?


-T





RE: More esql, short question on transformers

2002-04-24 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: More esql, short question on transformers





serverpages = xsp


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 24, 2002 2:20 PM
> To: [EMAIL PROTECTED]
> Subject: More esql, short question on transformers
> 
> 
> 
> What is the difference between transformer type="serverpages" and
> type="jsp" ?
> 
> --
> Jeff Sexton
> ODS Health Plans
> [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: Documentation in other formats?

2002-04-22 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Documentation in other formats?





> At forrest-dev we are trying to shape the future of the 
> xml-apache site,
> comprising documentation.
> 
> Yes, PDF is planned, but we decided not to use DocBook.
> 
> Is there a strong reason why DocBook may be needed?
> Are there other formats that you think users may want?


Personally I would think DocBook might make more sense.  There are already stylesheets for just about every XML transformation for DocBook.  So, you can either do current-XML -> DocBook and then use the existing PDF/LaTeX/HTML/RTF/whatever stylesheets or you can write whatever stylesheets you want on your ownit seems to me it would make sense to take advantage of DocBook's popularity..




-Tom





RE: Documentation in other formats?

2002-04-22 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Documentation in other formats?





> -Original Message-
> From: Luke Hubbard [mailto:[EMAIL PROTECTED]]
>
> I was wondering if anyone knows if there is anywhere I can
> get the documentation in other formats other than html?
> Docbook or PDF would great!


I asked about this a few weeks ago and the basic answer is "nobody has gotten to it yet", but I believe it is agreed this is a good idea.

So, hows your XSL-FO?


:)


-T





RE: XSL namespace functionality

2002-04-15 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL namespace functionality





www.zvon.org has some excellent resources


> -Original Message-
> From: Paul Pattison [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 1:36 PM
> To: Cocoon Mailing List
> Subject: XSL namespace functionality
> 
> 
> I'm wondering where I could find a full listing of xsl namespace
> functionality.  I'm afraid I'm still a newbie, so I don't 
> know if that's
> what you call it, but I basically want to find documentation 
> for the xsl
> tags (ie ) that are available.
> 
> Also, can I specify attributes of a tag in a 'sub' tag somehow?  For
> example, instead of:
> 
> 
> 
> I would like to write it like this:
> 
> 
>   xxx
> 
> 
> I think these are pretty basic questions, but I've searched 
> around now for a
> LONG time and can't find any leads in the docs.  Any help 
> would be greatly
> appreciated.
> 
> Thanks,
> 
> Paul
> 
> 
> -
> 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: How to access jdbc datasource in cocoon.xconf from Cocoon actions

2002-04-12 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: How to access jdbc datasource in cocoon.xconf from Cocoon actions





> And one more thing. Where can i get Cocoon javadoc??? Does 
> one exist???


http://xml.apache.org/cocoon/apidocs/index.html


-T





RE: MS Access on Cocoon2???

2002-04-11 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: MS Access on Cocoon2???





> Is it possible to hook Cocoon upto a test MS Access DB?  I'd
> like to install
> MySQL, but downloading that runs me into red tape with my IS Dept. 


You should be able to use a generic ODBC driver to get into Access.  I havent done this with Cocoon but it wasnt a problem with PHP.

-Tom





RE: Tags: Passing dynamically generated values for parameters

2002-04-10 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Tags: Passing dynamically generated values for parameters





> Anyway, I did not intend to make this an agony column ;-). I 
> did want to
> find out, however, if it would be useful to anybody if I 
> documented the
> recipe I found for parameter passing as a tutorialette.


I could make use of it.


-Tom





RE: linux x11 howto cocoon

2002-04-09 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: linux x11 howto cocoon





This is a FAQ (though I dont recall if it is actually *in* the FAQ).


Check the list archives, there have been lots of mails about this.


Though, the easiest solution I found was to have a VNC session started on boot, and to have the server startup script executed by the VNC user's init script.  (this is of course a way to use Batik instead of removing it)

-Tom


> -Original Message-
> From: daniel martin [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 09, 2002 6:32 AM
> To: [EMAIL PROTECTED]
> Subject: linux x11 howto cocoon
> 
> 
> Hi list!
> 
> i try to run cocoon under suse linux 7.1
> 
> i do not have x configured
> 
> how can i configure cocoon without batik which needs to have x11 to be
> configured?
> 
> error:
> ##
> #
> type fatal
> message Error compiling sitemap
> 
> description org.apache.cocoon.ProcessingException: Error 
> compiling sitemap:
> java.lang.InternalError: Can't connect to X11 window server 
> using ':0.0' as
> the value of the DISPLAY variable.
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> request-uri
> 
> /styleon/
> 
> path-info
> 
> 
> 
> stack-trace
> 
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.InternalError: Can't connect to X11 window server 
> using ':0.0' as
> the value of the DISPLAY variable.
>   at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
>   at java.lang.Thread.run(Thread.java:536)
> Caused by: java.lang.InternalError: Can't connect to X11 
> window server using
> ':0.0' as the value of the DISPLAY variable.
>   at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
>   at 
> sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:126)
>   at java.lang.Class.forName0(Native Method)
>   at java.lang.Class.forName(Class.java:130)
>   at
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Graph
> icsEnvironment
> .java:62)
>   at sun.awt.motif.MToolkit.(MToolkit.java:70)
> 
> ...
> ##
> 
> 
> thanks
> daniel.
> 
> 
> -
> 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: Basic cocoon app for newbies

2002-04-05 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Basic cocoon app for newbies






CHello is a minimal cocoon application.


http://chello.sf.net


HTH,
-Tom



It would be nice there were 2 cocoon distributions, a bare bones "I mean business" version as a base for deploying new and existing applications, and a "Cocoon 2?  Yeah, that movie sucked, the first one was way better" full of examples version for the newbie.  The examples, once you don't need them, infect the directory structure and all the conf files like a disease.  It takes a lot of work to remove it all.

-Eric de Groot
mailto:[EMAIL PROTECTED]





RE: Is anyone working on a book? Was: Why isn't Cocoon making into the commerical world?

2002-04-04 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Is anyone working on a book?  Was: Why isn't Cocoon making into the commerical world?





www.need-a-cake.com I believe


> -Original Message-
> From: Steven Punte [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 04, 2002 2:09 PM
> To: [EMAIL PROTECTED]
> Subject: Is anyone working on a book? Was: Why isn't Cocoon 
> making into
> the commerical world?
> 
> 
> Cocoon User Group:
> 
>    It seems like the primary reason people feel
>    Cocoon is being held back from entering 
>    into prime time is documentation. 
> 
>    Just out of interest, is anyone working on
>    a full book for Cocoon?
> 
> Steve Punte
> [EMAIL PROTECTED]
> By Candlelight If Necessary
> 
> 
> 
> __
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.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]>
> 





[OT] HTML email (RE: [docs] Suggestions about and/or in the docs)

2002-04-04 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: [OT] HTML email (RE: [docs] Suggestions about  and/or  in the  docs)





OK folks, this is driving me nuts.  


In Outlook I have quite clearly specified that I want my email to be Plain Text, and I even check when I am in the middle of composing an email to make SURE that Plain Text format is selected.  It seems that IE sends out two messages in each email, one HTML and one Plain Text.  Does ANYONE know of a way to shut this off or to whip Outlook into shape?

Personally, I use *nix at home, but I'm forced to use Outlook at work due to the Exchange server.  Now, since this list seems to die down considerably during the weekends, I figured there might be some people like me on here that have maybe learned a bit about dealing with this bloated peice of !#@%!.  So, any dice?  Anyone have any ideas?  I'm going to go postal here if I have to deal with this program for much longer.  No threading (dont mention Converstaion View to me), no honoring of threading-related headers (when I get home I can see all the Outlook email replies start thier own lonely threads), no listening when I say PLAIN TEXT ONLYsheesh...


*whimper*


Apologies for the wildly OT post, but I'm desperate.


-Tom








-Original Message-
From: von Schwerdtner, Thomas (GXS, FPI) 
Sent: Thursday, April 04, 2002 9:59 AM
To: '[EMAIL PROTECTED]'
Subject: [docs] Suggestions about  and/or  in the docs



Hey folks, 
  In my geeky web browsing, I sometimes come across web pages with code listings that is wide enough to cause horizontal scrolling problems.  To be clear, the code listing is preformatted text, so if the line is long enough it widens the table it is in to go beyond the side of the browser window, which causes every paragraph in the page to adjust to that width, which makes each and every line of the content difficult to read.and impossible to print for that matter (without manual editing)..

  Point being, in some cases it is impossible to shorten the preformatted text (I most often see it with anon CSV -d lines, which are often fairly long), and although XML and even Java tend to display a bit "long winded", I think there are a few ways to alter them to make them readable.  

(BTW: inspiration for this mail came from http://xml.apache.org/cocoon/developing/sunspot.html ) 
These are just suggestions (and they aren't foolproof): 
1- Indent 2 spaces instead of 4 
2- Keep indention consistent 
3- Place attributes on separate lines where possible: 

  formdescription="Hintergrundfarbe" 
  formpath="sunspotconf.0.0" 
  formtype="backgroundcolor">#aab9bf 
4- Place tag content on separate lines where possible, and where not possible mention why: 
 
    Tag Content 
 
..instead of: Tag Content 
...that's all that comes to mind. 
For example, compare the first listing taken from the page, and the second edited for width (note, hopefully this is a plaintext email (Outlook has been giving me grief), if you have a HTML reader the formatting may be lost)

=== 
     
     
  
  
    
     
    #aab9bf

    
    
=== 
   
     
   
     
   
    
  formpath="sunspotconf.0.0" 
  formtype="backgroundcolor">#aab9bf 
   
     
=== 




Make sense?  Am I being anal? 
I don't mean to offend, but I think its important to have readable documentation. 



-Tom 





[docs] Suggestions about and/or in the docs

2002-04-04 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: [docs] Suggestions about  and/or  in the docs





Hey folks,


  In my geeky web browsing, I sometimes come across web pages with code listings that is wide enough to cause horizontal scrolling problems.  To be clear, the code listing is preformatted text, so if the line is long enough it widens the table it is in to go beyond the side of the browser window, which causes every paragraph in the page to adjust to that width, which makes each and every line of the content difficult to read.and impossible to print for that matter (without manual editing)..

  Point being, in some cases it is impossible to shorten the preformatted text (I most often see it with anon CSV -d lines, which are often fairly long), and although XML and even Java tend to display a bit "long winded", I think there are a few ways to alter them to make them readable.  

(BTW: inspiration for this mail came from http://xml.apache.org/cocoon/developing/sunspot.html )


These are just suggestions (and they aren't foolproof):


1- Indent 2 spaces instead of 4
2- Keep indention consistent
3- Place attributes on separate lines where possible:

  formdescription="Hintergrundfarbe" 
  formpath="sunspotconf.0.0" 
  formtype="backgroundcolor">#aab9bf


4- Place tag content on separate lines where possible, and where not possible mention why:

    Tag Content



..instead of: Tag Content


...that's all that comes to mind.


For example, compare the first listing taken from the page, and the second edited for width (note, hopefully this is a plaintext email (Outlook has been giving me grief), if you have a HTML reader the formatting may be lost)

===
    
    
 
 
   
    
    #aab9bf

   
   
===


  
    
  
    
  
    
  formpath="sunspotconf.0.0" 
  formtype="backgroundcolor">#aab9bf
  
    


=== 




Make sense?  Am I being anal?


I don't mean to offend, but I think its important to have readable documentation.



-Tom





Placing markup in xsp:logic code

2002-04-02 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: Placing markup in xsp:logic code





Hello all,


  I am trying to put some markup inside my xsp:logic, somewhat as follows:



String foo = "FOO";



Problem is, if I leave it as above, I get "content of elements must consist of well-formed character data or markup" errors, if I use use any alternate representations of < and > (HTML entities or placing the whole thing in a CDATA block) then they are kept as such and are displayed as such in the resulting HTML page (which is no good for me).

Everything works fine without the  tags, so what can I do to get some markup inside a java string inside some ?

I am using Cocoon 2.0.2 and the default compiler (Pizza I believe).  


I'm somewhat confused since some mails in the archives seem to indicate that tags within " " should work OK


TIA,
-Tom
:wq





RE: Cocoon 2.0.2 SVG

2002-03-28 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Cocoon 2.0.2 SVG





I have had this problem, but currently I am running C2.0.2/jdk1.3.1/TC4.0.3LE [*] and everything is functioning properly.

For some of the CVS snapshots (2.0.2-dev)I built in the past few weeks (in eager anticipation of 2.0.2), random SVG pages would not worksometimes the welcome-svg would work but "hello world" would not, and sometimes the other way around (always consistant within a single build, but not between seperate builds).

To summarize, I have no useful information for you, sorry.  :)


-Tom


[*] I had installed jdk1.4, whcich is why I was using the Tomcat-4.0.3-jdk1.4-LE (which I installed based on instructions on this list), but due to JDBC issues I had to revert back to jdk1.3, however since the jdk1.4 Tomcat worked fine, I did not switch back to normal Tomcat.

BTW: OS = RH GNU/Linux 7.2, jdk installed from Sun RPM, Tomcat installed from binary tarball, Cocoon installed from source with scratchpad.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 28, 2002 10:06 AM
> To: [EMAIL PROTECTED]
> Subject: Cocoon 2.0.2 SVG
> 
> 
> The example welcome-svg doesn't work in Cocoon 2.0.2 with JDK 
> 1.31 under
> tomcat 4. Does anyone have any ideas why. The images are 
> called but they
> don't appear to be generating?
> 
> Bobby Koya
> [EMAIL PROTECTED]
> http://www.newarkhall.co.uk
> Ext. 0115 84 66820 Int. 66820
> 
> 
> 
> 
> -
> 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: Cocoon 2.0.2 JDK1.4 Tomcat 4.0.4b1 JDBC Connection Pooling Doesn't Work (for me) - any ideas

2002-03-27 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Cocoon 2.0.2 JDK1.4 Tomcat 4.0.4b1 JDBC Connection Pooling Doesn't Work (for me) - any ideas





I don't know about your compile problems, but I do know that JDBC connections are fairly problematic with jdk1.4 since they changed some things.  I had no problems building the CVS a few weeks ago, but the ESQL samples didnt work for me and I could not get the PostgreSQL jdbc driver to work either (despite comments that it would work with 1.4).  I had to switch back to 1.3 to get everything I needed to work.

HTH,
-Tom



> -Original Message-
> From: Christopher Watson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 27, 2002 11:46 AM
> To: Cocoon-Users (E-mail)
> Subject: Cocoon 2.0.2 JDK1.4 Tomcat 4.0.4b1 JDBC Connection Pooling
> Doesn't Work (for me) - any ideas
> 
> 
> Hopefully someone can help me ?
> 
> Followed the advice in cocoon-2.0.2\docs\installing\index.html, i.e.
> created the endorsed directory, copied xerces xalan and xml-apis
> 
> Build clean then build installwar
> 
> Compile falls over EsqlConnection, saying it should be 
> declared abstract due
> to missing methods.
> Discovered some commented-out methods which seem to implement 
> the missing
> methods - e.g. setSavePoint, setHoldability
> Uncommented those lines
> Also noticed a line which read /*  */ between setLimitMetod and
> createStatement - wondered about this, whether I should 
> comment out some
> lines as well as uncommenting those I just mentioned, but 
> could see clearly
> what I should do so I left it ??!!
> 
> Build installwar now worked
> Tomcat now runs cocoon mostly OK, but ESQL example doesn't work.
> 
> Specifically it's POOLING that doesn't work !
> 
> http://localhost:8080/cocoon/xsp/esql results in
> 
> java.lang.RuntimeException: Could not get the datasource
> org.apache.avalon.excalibur.datasource.NoValidConnectionExcept
> ion: No valid
> JdbcConnection class available
> at
> org.apache.cocoon.www.file_.X_.jakarta_tomcat_4_0_4b1.webapps.
> cocoon.docs.sa
> mples.xsp.esql_xsp.generate(X:\jakarta-tomcat-4.0.4b1\work\loc
> alhost\cocoon\
> cocoon-files\org/apache/cocoon/www/file_/X_/jakarta_tomcat_4_0
> _4b1/webapps/c
> ocoon/docs/samples/xsp\esql_xsp.java:341)
> at
> org.apache.cocoon.generation.ServerPagesGenerator.generate(Ser
> verPagesGenera
> tor.java:260)
> at
> org.apache.cocoon.components.pipeline.CachingEventPipeline.pro
> cess(CachingEv
> entPipeline.java:251)
> at
> org.apache.cocoon.components.pipeline.CachingStreamPipeline.pr
> ocess(CachingS
> treamPipeline.java:399)
> at
> org.apache.cocoon.www.file_.X_.jakarta_tomcat_4_0_4b1.webapps.
> cocoon.sitemap
> _xmap.matchN400552(X:\jakarta-tomcat-4.0.4b1\work\localhost\co
> coon\cocoon-fi
> les\org/apache/cocoon/www/file_/X_/jakarta_tomcat_4_0_4b1/weba
> pps/cocoon\sit
> emap_xmap.java:6975)
> at
> org.apache.cocoon.www.file_.X_.jakarta_tomcat_4_0_4b1.webapps.
> cocoon.sitemap
> _xmap.process(X:\jakarta-tomcat-4.0.4b1\work\localhost\cocoon\
> cocoon-files\o
> rg/apache/cocoon/www/file_/X_/jakarta_tomcat_4_0_4b1/webapps/c
> ocoon\sitemap_
> xmap.java:3003)
> at
> org.apache.cocoon.www.file_.X_.jakarta_tomcat_4_0_4b1.webapps.
> cocoon.sitemap
> _xmap.process(X:\jakarta-tomcat-4.0.4b1\work\localhost\cocoon\
> cocoon-files\o
> rg/apache/cocoon/www/file_/X_/jakarta_tomcat_4_0_4b1/webapps/c
> ocoon\sitemap_
> xmap.java:2489)
> at org.apache.cocoon.sitemap.Handler.process(Handler.java:222)
> 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:998)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 
> etc
> 
> If I replace the  with ...
> 
> 
> org.hsqldb.jdbcDriver
> jdbc:hsqldb:hsql://localhost:9002
> sa
> 
> 
> ... then the example works.
> 
> Can anyone help me to get pooing to work ?
> 
> Is it something I did/didn't do to EsqlConnection.java ?? 
> Something to do
> with the limitMethod stuff ??
> 
> Thanks,
> 
> Christopher
> 
> 
> -
> 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: XSL question

2002-03-25 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL question



Ah, 
good point.  I have no experience with pre 2.x Cocoon, so I don't know what 
would work.  I'm sure others around here can answer that 
though.
 
-T

  -Original Message-From: Martin Mauri 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 25, 2002 9:07 
  AMTo: [EMAIL PROTECTED]Subject: Re: XSL 
  question
  Hi Thomas,
   
  That's a good answer, unfortunately I forgot to 
  point that I'm using Cocoon 1.8.2. Is there a solution for it? 
  thanks!
  
- Original Message ----- 
From: 
    von Schwerdtner, Thomas (GXS, 
FPI) 
To: '[EMAIL PROTECTED]' 

Sent: Monday, March 25, 2002 10:53 
AM
Subject: RE: XSL question

Yes. 
There is a tutorial on this at cocooncenter.org: 
http://www.cocooncenter.de/cc/documents/resources/request-params/index.html 

-Tom 
> -Original Message- > 
From: Martin Mauri [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, March 25, 2002 8:56 AM > To: [EMAIL PROTECTED] 
> Subject: XSL question > 
> > Hi, this is a kind 
of offtopic question I think but anyway... > 
> Is there a possibility to pass a parameter to a 
stylesheet? > > I'd 
like to do the following: > > Given a stylesheet, I'd like to include another but depending 
> on a parameter > 
passed by some external source, say an xml page. > > thanks in advance. > > Martin > 
> > 
- 
> 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: XSL question

2002-03-25 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: XSL question





Yes.


There is a tutorial on this at cocooncenter.org:


http://www.cocooncenter.de/cc/documents/resources/request-params/index.html



-Tom




> -Original Message-
> From: Martin Mauri [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 25, 2002 8:56 AM
> To: [EMAIL PROTECTED]
> Subject: XSL question
> 
> 
> Hi, this is a kind of offtopic question I think but anyway...
> 
> Is there a possibility to pass a parameter to a stylesheet?
> 
> I'd like to do the following:
> 
> Given a stylesheet, I'd like to include another but depending 
> on a parameter
> passed by some external source, say an xml page.
> 
> thanks in advance.
> 
> 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]>
> 





FW: Alternate formats for xml.apache.org/cocoon ?

2002-03-22 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: FW: Alternate formats for xml.apache.org/cocoon ?





 Folks,
 
 I'd like to print some of the documentation from the cocoon 
 site, are there any plans to make PDF or PS versions 
 available?  Is there a reasonably simple way to convert the 
 installed docs to PDF/PS without doing XML-FO work myself 
 (since I know nothing of it (yet))?
 
 TIA,
 -Tom
 





RE: Cocoon and XIndice versions

2002-03-22 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Cocoon and XIndice versions





There are instructions on the recent list archives on getting Cocoon/Tomcat working with jdk1.4


For starters, see:
http://www.mail-archive.com/cocoon-users@xml.apache.org/msg08873.html


I know nothing of Xindice but maybe that will get you going in the right direction.


HTH,
-Tom


> -Original Message-
> From: Alex McLintock [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 22, 2002 12:04 PM
> To: [EMAIL PROTECTED]
> Subject: Cocoon and XIndice versions
> 
> 
> Hi folks,
> 
> I'm trying to find satisfactory versions of Cocoon and 
> XIndice which work 
> together.
> 
> I am told that I need a CVS version of cocoon rather than the latest 
> release - but the CVS snapshots don't currently work.
> (I am using Xinidice 1.0 and Tomcat 4.0something on RedHat 
> Linux 7.2, and 
> Sun's JDK 1.4)
> 
> Any ideas? Is it ok discussing cvs snapshots on the "users" list?
> 
> Older versions of Cocoon use a deprecated generator system 
> for talking to 
> Xindice rather than the now standard "source".
> 
> 
> Alex
> 
> 
> 
> 
> Cocoon 2 - Internal server error
> 
> type fatal
> 
> message Error compiling sitemap
> 
> description org.apache.cocoon.ProcessingException: Error 
> compiling sitemap: 
> java.lang.NoClassDefFoundError
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> source Cocoon servlet
> 
> request-uri
> 
> /cocoon/
> 
> path-info
> 
> stack-trace
> 
> org.apache.cocoon.ProcessingException: Error compiling sitemap: 
> java.lang.NoClassDefFoundError
>  at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
>  at java.lang.Thread.run(Thread.java:536)
> Caused by: java.lang.NoClassDefFoundError
>  at 
> org.apache.batik.dom.svg.SAXSVGDocumentFactory.(Unknown Source)
>  at org.apache.cocoon.xml.dom.SVGBuilder.(SVGBuilder.java:86)
>  at 
> org.apache.cocoon.serialization.SVGSerializer.(SVGSerializer.java:95)
>  at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native 
> Method)
> 
> 
> 
> 
> 
> 
> Openweb Analysts Ltd, London
> Software For Complex Websites
> http://www.OWAL.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: ESQL - mixed case in column names spits "attribute not found" on SELECT

2002-03-22 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: ESQL - mixed case in column names spits "attribute  not found" on SELECT






In case anyone is curious: the "attribute  not found" error is PostgreSQL specific (or at least it shows up in the console interface) and is fixed by making the column names all lowercase.



-Tom



-Original Message-
From: von Schwerdtner, Thomas (GXS, FPI) 
Sent: Thursday, March 21, 2002 10:45 AM
To: '[EMAIL PROTECTED]'
Subject: ESQL - mixed case in column names spits "attribute  not found" on SELECT



OK, I have moved from java 1.4 to 1.3.1 and the postgresql jdbc driver is working now, but I've run into another problem.

In short, I have a esql:query like so: 
    SELECT * FROM supporttype 
and 
     
which works just fine (resulting page displays the contents of the 'Type' column). 
If I change the query to: 
SELECT Type FROM supportype 
(changing the '*' to 'Type' I get this error: 



org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: SELECT Type FROM supporttype: java.sql.SQLException: ERROR: Attribute 'type' not found

Changing 'Type' to anything else (any other existing column anyways), produces the same error except the not-found attribute is always the lowercase version of the column I am trying to select from (which is always mixed-case).

Developers: Is this a bug in CVS? 
TIA, 
-Tom 





Simple ESQL question: specifying dynamic column name in

2002-03-21 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: Simple ESQL question: specifying dynamic column name in 





Hey folks,


  I've been digging through the archives and docs and I cant find an answer to this (at least not one I can decipher).


  Instead of doing something like , I want the column name to be generated based on the xml file being processed.  I'm mostly just not (yet) comfortable with XSL codingbut can someone point me in the right direction for inserting a @name parameter into the column attribute of esql:get-string?

TIA,
-Tom





RE: ESQL - mixed case in column names spits "attribute not found" on SELECT

2002-03-21 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: ESQL - mixed case in column names spits "attribute  not found" on SELECT






Interesting.  I'm certain the column exists though (I can get-string it out of a * query)...


Thanks for the efforts.


-Tom


=
Hi 
    I tried it with PostgreSQL and did a 
"Select type from 
The only time I got the "attribute type not found"
on the Select is when there was NO COLUMN with the
name "type".



Regards
Joseph Rajkumar


PS: My gut feeling is that you get this error if the
column name does not exist in the table.
-- 
email: [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: ESQL - mixed case in column names spits "attribute not found" on SELECT

2002-03-21 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: ESQL - mixed case in column names spits "attribute  not found" on SELECT






> In many databases "TYPE" is a reserved word, although some 
> drivers will
> allow it and others will not. You might try a test with a 
> slightly different
> column name.
>


Good point.  Changing it to 'Name' did not remove the error but I'm glad you said something as I would not have noticed the potential down-the-road problem otherwise.

-Tom





RE: ESQL - mixed case in column names spits "attribute not found" on SELECT

2002-03-21 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: ESQL - mixed case in column names spits "attribute  not found" on SELECT





Could this be a namespace problem if I'm using relatively generic tags of my own design (such as  and )?



org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: SELECT Type FROM supporttype: java.sql.SQLException: ERROR: Attribute 'type' not found

Changing 'Type' to anything else (any other existing column anyways), produces the same error except the not-found attribute is always the lowercase version of the column I am trying to select from (which is always mixed-case).

Developers: Is this a bug in CVS? 
TIA, 
-Tom 





ESQL - mixed case in column names spits "attribute not found" on SELECT

2002-03-21 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: ESQL - mixed case in column names spits "attribute  not found" on SELECT





OK, I have moved from java 1.4 to 1.3.1 and the postgresql jdbc driver is working now, but I've run into another problem.

In short, I have a esql:query like so:


    SELECT * FROM supporttype
and
    


which works just fine (resulting page displays the contents of the 'Type' column).


If I change the query to:


SELECT Type FROM supportype


(changing the '*' to 'Type' I get this error:



org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing statement: SELECT Type FROM supporttype: java.sql.SQLException: ERROR: Attribute 'type' not found

Changing 'Type' to anything else (any other existing column anyways), produces the same error except the not-found attribute is always the lowercase version of the column I am trying to select from (which is always mixed-case).

Developers: Is this a bug in CVS?


TIA,
-Tom





RE: jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: jdbc or xsp or esql problem





I don't remember if I tried it with jdk1.4.  I'll re-build it in a few minutes if I dont find a quicker solution.


Despite the errors going away (now the xsp page spits no errors, but the resulting page is totally blank, not even a  tag (more of a NULL than a page I guess)) I'm having database connection issues which I thought might relate to some comments I have seen on this list about jdbc drivers not working properly with 1.4.  The drivers I am using are described as "working with jdk1.4, but not compiling with it".

postgresql is running in network mode.and I can connect to it from other machines with the user specified in my cocoon files

jdbc errors:


DEBUG   (2002-03-20) 13:18.01:497   [core.datasources.gesupply](Unknown-URI) Unknown-thread/LogKitLogger: factory created class was null so a new instance could not be created.

org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available
    at org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.java:183)
    at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:82)
    at org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardResourceLimitingPool.java:95)
    at org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcConnectionPool.java:74)
    at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java:126)
    at org.apache.avalon.excalibur.pool.HardResourceLimitingPool.internalGrow(HardResourceLimitingPool.java:104)
    at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:91)
    at org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnectionPool.java:195)
    at java.lang.Thread.run(Thread.java:536)






===
> From: leo leonid [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 20, 2002 1:55 PM
> To: [EMAIL PROTECTED]
> Subject: Re: jdbc or xsp or esql problem
> 
> 
> do the e?sql-samples work that come with the distribution using the 
> hsqldb-server?
> I bet they don't.
> 
> On Wednesday, March 20, 2002, at 07:21  Uhr, von Schwerdtner, Thomas 
> (GXS, FPI) wrote:
> 
> > Hey folks,
> >
> > Setup:
> >  cocoon-2.0.2dev (can give snapshot date if needed, it's 
> from about a 
> > week ago)
> >  tomcat 4.0.3-LE
> >  jdk1.4
> >  linux
> >  java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath 
> (downloaded 
> > bianry from jdbc.postgresql.org which specified that it 
> would work with 
> > 1.4 (but it also specified it could not be compiled with it).
> >
> > Problem:
> > I'm trying to get esql/postgresql setup here, and with a 
> small xsp page 
> > I am getting the following errors:
> 
> 
> -
> 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: jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: jdbc or xsp or esql problem





Oh my.


That got rid of the errors.


Thanks,
-Tom


> Under the work directory you'll find the generated .java for 
> your xsp page.
> 
> I think you should enclose your content in between  tags.
> 
 





jdbc or xsp or esql problem

2002-03-20 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: jdbc or xsp or esql problem





Hey folks,


Setup:
 cocoon-2.0.2dev (can give snapshot date if needed, it's from about a week ago)
 tomcat 4.0.3-LE
 jdk1.4
 linux
 java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded bianry from jdbc.postgresql.org which specified that it would work with 1.4 (but it also specified it could not be compiled with it).

Problem:
I'm trying to get esql/postgresql setup here, and with a small xsp page I am getting the following errors:



Fancypants error page reports:

org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling test_xsp:

Line 315, column 5: ')' expected
Line 431, column 20: not a statement
Line 460, column 20: not a statement
Line 460, column 28: ';' expected
Line 310, column 36: 'void' type not allowed here
Line 354, column 84: unreported exception: java.sql.SQLException; must be caught or declared to be thrown
Line 378, column 84: unreported exception: java.sql.SQLException; must be caught or declared to be thrown
Line 405, column 51: unreported exception: java.sql.SQLException; must be caught or declared to be thrown
Line 414, column 27: unreported exception: java.sql.SQLException; must be caught or declared to be thrown
Line 0, column 0:
9 errors




sitemap contains:

            
                src=""org.apache.cocoon.generation.ServerPagesGenerator"
                label="content,data"
                logger="sitemap.generator.serverpages"
                pool-max="32" pool-min="4" pool-grow="2"/>





            
                
                
                
            



cocoon.xconf contains:

    
        
            
            jdbc:postgresql://localhost:5432/gesupply
            myUname
            myPassword
        
    



web.xml contains:

    
  load-class
  org.postgresql.Driver
    



the stylesheet for test.xsp is a copy of the xsp stylesheet(s) from the cocoon samples.
test.xsp contains:


    xmlns:xsp="http://apache.org/xsp" 
    xmlns:xlink="http://www.w3.org/1999/xlink" 
    xmlns:esql="http://apache.org/cocoon/SQL/v2" 
    language="java">
    
    
        gesupply
        
            SELECT Id,SupportClassId,Type,Description FROM supporttype
                    
                        
                            
                                
                                    
                                    
                            
                        
                    
                
                
                    Sorry, no results!
                
            
        
    







Generator already set. You can only select one Generator

2002-03-19 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: Generator already set. You can only select one Generator





Heya,


  I'm trying to do something like this (in sketchy psudocode):



..generate a xsp file...




..use "foo-generate-bar-{1}" as the src and generate html from the generated xsp..




And I'm getting the error in the subject line.


So, quick question: before I go and start debugging, can I have that setup?


Basically:


file.xml + file.xsl = file.xsp


file.xsp + file2.xsl = file.html


- or -


(file.xml + file.xsl) + file2.xsl = file.html



Am I making any sense?  Is this possible the way I'm trying to do it or is there another method?


-Tom





RE: [OT] XML for describing databases?

2002-03-19 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: [OT]  XML for describing databases?





Glenn is using a setup a little different than what I had in mind.


I have not been able to find what I wanted online anywhere (though I have found numerous others looking for the same thing), so I have started playing with my own schema.  Personnaly, I have no formal database training/education and only have a little over a years worth of experience playing around with databases, so my database designs are failry simple and do not make use of any advanced concepts (mostly because I do not know what the advanced concepts are).

What I have come up with so far works for me...the basic idea is that I want to store the same information that would be available in a schema dump from a database (the design, not the contents) along with a little extra information such as the database DSN...

A small database amounts to:



    
    
    
    
        
            
            
            
        
        
        
        
            
        
    
    
        
            
            
        
        
    



.once I figure out how to get esql to work right, I'll have a xsl document that can parse a larger version of the above into seperate views for each table and proper linking between related tables (through the 'link' parameter...what I guess is a relation).  A little later this week I'm going to look into PostgreSQL 'views' and see about adding in some  tags, and as I may need them in the database, some  tags(though I'm not sure how I could describe a function in a manner that would be useful to a xslt that has not been customized for a specific database)...

Anyways...someone who has taken "RDBMS's 101" could likely do much better with something like this.but the above sample is the sort of thing I was looking for...and what I have come up with works for the databases I am currently working with.and since I have to build web interfaces to 6 or so databases, using a XML setup like this is very helpful when working with Cocoon...for me anyways...


-Tom



> -Original Message-
> From: Derek Hohls [mailto:[EMAIL PROTECTED]]
> 
> Glenn
> 
> I would definitely be interested in this - tho' I am not sure that I
> fully understand the approach you have taken eg. " submit
> queries using that format"?
> 
> I am also curious as to how you format your output to make it 
> human-readable if you do not use XSLT?
> 
> Cheers
> Derek
> 
> >>> [EMAIL PROTECTED] 18/03/2002 05:38:08 >>>
> I have been working on a similar problem but approaching it in a
> slightly different way. I have taken more of an object-relational
> mapping approach similar to products such as TopLink. Using this
> approach you define your database schema and your XML result schema
> separately and then map them together. For instance, the SQL tables
> for
> Employees (i.e. Employee, Department, Person) will be mapped directly
> to
> your resulting XML document and that document can be structured like:
> 
> accounting
> 
> John
> Doe
> 1234
> 
> 
> .
> 
> 
>  
> or it could be structured like:
> 
> John
> Doe
> 
>  
> or any other variation.
>  
> The mapping (created against a defined mapping schema as an XML
> document) provides the information that is needed to build the queries
> and create the resulting documents. XSLT is not used and the typical
> result type from an XML query (
> name="deptId">360...) is not
> used.
> The query is truly symmetric. You can define the result format, submit
> queries using that format, and receive responses in that format. To
> qualify your query you include the known data elements and the query
> will be built to find those.
>  
> I have been working on this independently and would be interested in
> comments. I currently have the query definition, submit, and response
> working for moderately complex data sets (involving many-to-many
> relations that can be brought to multiple places in the XML document)
> and will work on defining insert and update as well.
>  
> - Glenn
>  
> 
> -
> 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: error-compling sitemap_xmap

2002-03-18 Thread von Schwerdtner, Thomas (GXS, FPI)



That 
"init.java.net.BindException" normally means that Tomcat is already 
running.
 
Check 
to make sure that the Tomcat service is not being started at boot-time, and if 
it is disable it.

  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 6:43 
  PMTo: [EMAIL PROTECTED]Subject: Re: 
  error-compling sitemap_xmap
  Thomas, John,
   
  thanks a lot for your help. I've 
  looked for the mentionned file.
  But actually, it's a little bit too 
  difficult for me to find  the line 573 in the 
  java file, especially for a missing "}".
  I've tried it but without 
  success...
  I've forgotten to say to you that 
  when I start Tomcat, I get the following message in the command 
  line:
  Server. run 
  /init:java.net.BindExecption:Adress in use:bind
  java.net.BindException:Adress in 
  use:bind
      at 
  java.net.PlainSocketImpl.socketBind(nativMethod)
  
  ...
  Sitemap location = 
  sitemap.xmap
  Checking sitemap 
  reload=true
  ...
  Starting service 
  Tomcat-Apache
  Apache Tomcat/4.0.1
   
  Is this normal? Doesn't the above 
  compilation error  come from here?
  Is this compilation error a 
  frequent error? 
  Thanks for your 
  answers,
  Cyril.
  
 
 
 
- Original Message - 
From: 
John Turk 
To: [EMAIL PROTECTED] 

Sent: Monday, March 18, 2002 8:14 
PM
Subject: RE: error-compling 
sitemap_xmap

Cyril -
 
sitemap.xmap is converted into a java source file - 
that's the file the 571 lines refers to.  You can find that 
file under the Tomcat work directory (look for something like 
cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java).
 
John

  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 11:05 
  AMTo: [EMAIL PROTECTED]Subject: 
  error-compling sitemap_xmap
  Hello,
   
  When I want to transform some 
  documents (it doesn't happen with serving static documents), I obtain 
  a strange  error message 
  
  type fatal
  message Language Exception
  description 
  org.apache.cocoon.ProcessingException: Language Exception: 
  org.apache.cocoon.components.language.LanguageException: Error compiling 
  sitemap_xmap: Line 571, column 63: '}' expected. Line 0, column 0: Note: 
  C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java 
  uses or overrides a deprecated API. Recompile with "-deprecation" for 
  details. 1 error, 1 warning 
  but my sitemap.xmap file doesn't include 571 lignes!!! This is the 
  short following one:
  http://apache.org/cocoon/sitemap/1.0">
    
    
  
    
      
    
    
    
    
         
      
    
      
    
    
    
     
      
  
  
  Someone could tell me what's happening?
  Thanks for your help,
  Cyril.


RE: error-compling sitemap_xmap

2002-03-18 Thread von Schwerdtner, Thomas (GXS, FPI)



To 
give a slightly better understanding:
 
The 
'line 571' tidbit is referring to the file listed shortly 
afterwards:
C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java 

 
 
 

  -Original Message-From: cyril vidal 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, March 18, 2002 2:05 
  PMTo: [EMAIL PROTECTED]Subject: error-compling 
  sitemap_xmap
  Hello,
   
  When I want to transform some documents (it 
  doesn't happen with serving static documents), I obtain a strange  
  error message 
  
  type 
  fatal
  message 
  Language Exception
  description org.apache.cocoon.ProcessingException: 
  Language Exception: org.apache.cocoon.components.language.LanguageException: 
  Error compiling sitemap_xmap: Line 571, column 63: '}' expected. Line 0, 
  column 0: Note: 
  C:\tomcat\work\localhost\essai\cocoon-files\org\apache\cocoon\www\sitemap_xmap.java 
  uses or overrides a deprecated API. Recompile with "-deprecation" for details. 
  1 error, 1 warning 
  but my sitemap.xmap file doesn't include 571 lignes!!! This is the short 
  following one:
  http://apache.org/cocoon/sitemap/1.0">
    
    
    
      
    
    
    
        
     
        
      
    
    
    
     
      
  
  
  Someone could tell me what's happening?
  Thanks for your help,
  Cyril.


RE: Jetty and Cocoon2, help?

2002-03-11 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Jetty and Cocoon2, help?





> PS If you have Saturdday/Sunday's CVS version of Cocoon - update it.
> 


I build the 20020310231733 (for the sake of your eyes -> Sunday 10th, 23:17:33) snapshot late last night...if everything seems to be working on my end, should I worry about the above statement?

-Tom





RE: Jetty and Cocoon2, help?

2002-03-11 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Jetty and Cocoon2, help?





> Thank for the prompt reply
> 
> I've not found the [solution] thread yout refer to and not 
> the insatalltion insturcitons either.


[SOLUTION] thread starts here:


http://www.mail-archive.com/cocoon-users@xml.apache.org/msg08784.html





Reccomended nightly CVS snapshot?

2002-03-11 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: Reccomended nightly CVS snapshot?





Hey,


  Is there any perticular CVS snapshot that anyone would reccomend, or any that it would be reccomended to stay away from?  I'm aware of the disclaimers that go along with using CVS snapshots, but I want to know if any are know to be a bit more stable than the others.

TIA,
-Tom





RE: VIRUS WARNING!! Re: my life ohhhhhhhhhhhhh

2002-03-08 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: VIRUS WARNING!! Re: my life oh





> > From: Richard Korthuis [mailto:[EMAIL PROTECTED]]
> > 
> > Look out! This message contains a virus!
> 
> Where it is? Can't find it! :)
> 
> I guess it is got filtered...
> 



I wonder how much virus damage can be chalked up to "morbid curiosity"


:)


-Tom





RE: HOWTO: jdk1.4

2002-03-08 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: HOWTO: jdk1.4





Thanks alot for the howto!


I spent the better part of two days trying to get Tomcat/Cocoon running on a headless server with PJA, using the new 1.4 was *much* simpler.

-Tom


> -Original Message-
> From: Bhide, Atul [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 06, 2002 9:16 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: HOWTO: jdk1.4
> 
> 
> Here is how I got Cocoon 2.0.1 to work with JDK 1.4.
> 
> Here is my configuration:
> 
> RH 7.2
> Tomcat 4.0.3
> Cocoon 2.0.1
> Apache 2.0.32 beta
> tomcat-connectors 4.0.4b1
> 
> The basic reason why Cocoon fails to work with JDK 1.4 is 
> conflicting .jar
> files. JDK 1.4 provides many more libraries than 1.3.xx. As 
> cocoon 2.0.1 is
> based on JDK 1.3.XX it needs additional libraries for support certain
> functionality. Some of these are now available in JDK 1.4. To 
> solve this go
> through the following steps.
> 
> 1. Install tomcat
> 2. Put the cocoon.war in the tomcat/webapps dir
> 3. Start tomcat
> 4. You should see errors in the tomcat/logs/localhost_log.XXX.txt file
> regarding Cocoon.
> 5. Shutdown tomcat
> 6. cd tomcat/webapps/cocoon/WEB-INF/lib directory.
> 7. mv batik-libs-1.1.1.jar /usr/java/j2sdk1.4.0/jre/lib/ext
> 8. mv xml-apis.jar /usr/java/j2sdk1.4.0/jre/lib/ext
>   Both the above file are somehow required by tomcat
>   as well when deploying Cocoon but fails to pick them up
>   from the tomcat/webapps/cocoon/WEB-INF/lib directory
> 9. Move the following files out of the tomcat tree somewhere safe:
>   a. deli-0.41.jar
>   b. hsqldb-1.61.jar
>   c. javac.jar
>   d. jena-1.3.0.jar
>   e. jimi-1.0.jar
>   f. jtidy-04Aug2000r7-dev.jar
>   g. rdffilter.jar
>   h. rhino-1.5r2.jar
>   i. xalan-2.2.0.jar
>   j. xt-19991105.jar
> 10. Start tomcat.
> 11. Now you should be able to get Cocoon working properly.
> 
> Some of the files that I moved out of the tomcat tree might 
> be required
> somewhere in the Cocoon tree. But I have not found such a 
> page yet. The best
> way is to go over all the pages in the sample site that 
> Cocoon provide and
> at the same time monitor the
> tomcat/webapps/cocoon/WEB-INF/logs/error.log.1 file. If 
> you get an error
> on one of the Cocoon page you can find out which class is 
> missing by looking
> at the error_log.1 file. Just add the required .jar file 
> back in the
> tomcat/webapps/cocoon/WEB-INF/lib directory. Hence all the 
> files that remain
> conflict with the libraries present in the JDK 1.4 release.
> 
> I would appreciate such a list.
> 
> One thing is for sure though, SVG functionality is severely 
> affected due to
> working with JDK 1.4. Pages that use to show the graphics properly are
> mostly failing to display SVG generated images. Surprisingly 
> some of the
> graphics do show up properly but the rest come up as plain 
> white blobs. This
> needs more in depth look to identify the exact reason.
> 
> Here is the script that will dump contents of the .jar file. 
> This will help
> you in identifying which .jar file is needed in case 
> error_log.1 file
> shows an ERROR message indicating a missing CLASS:
> 
> cd tomcat/webapps/cocoon/WEB-INF/lib
> for i in *.jar
> do
>   echo "==    $i =="
>   jar tvf $i
> done > jarlist.txt
> 
> You can search through the "jarlist.txt" file to identify the 
> required class
> and which ",jar" it belongs to.
> 
> When the TOMCAT is up and you can see all the pages in Cocoon 
> go back to the
> following 2 files:
> 1. tomcat/logs/localhost_log.XXX.txt
> 2. tomcat/webapps/cocoon/WEB-INF/logs/error.log.1
> 
> They should not contain any error messages regarding any 
> missing class file
> or object.
> 
> I hope this helps. Let me know if you any more problems with.
> 
> Regards, Atul
> 
> -Original Message-
> From: Matt Williams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 06, 2002 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: RE: HOWTO: jdk1.4
> 
> 
> Yeah, I know ;-)
> What i probably meant was you dont need to "hack up" the distribution
> with custom libraries.
> The endorsed directory is there because the new jdk includes 
> apis which
> are still under revision.
> Obviously this means that the standards are likely to change, as they
> quite obviously have, hence the incompatibilities in the libraries
> mentioned.
> I find this a great deal more realistic than waiting for an update to
> the jdk, or hacking throught the configuration file of every piece of
> software I wish to run which requires a newer version of, for example,
> the sax api.
> Deployment nightmare?
> 
> -Original Message-
> From: Lewis, Andrew J [mailto:[EMAIL PROTECTED]] 
> Sent: miércoles, 06 de marzo de 2002 14:02
> To: '[EMAIL PROTECTED]'
> Subject: RE: HOWTO: jdk1.4
> 
> 
> /jre/lib/endorsed is in fact within the /jre/lib
> 
> I understand that you may like it this way, but I'll stick with other
> solutions (which have been mentioned s

RE: Help Please

2002-03-06 Thread von Schwerdtner, Thomas (GXS, FPI)
Title: RE: Help Please





Unless I'm missing something


It depends on what servelet container you are using (Tomcat/Jrun/whatever).


Tomcat defaults to port 8080 (unless you are using RPM's which default to 8180)


http://myhost:8080/cocoon


-T


> -Original Message-
> From: Mariano [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 06, 2002 1:39 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Help Please
> 
> 
> hi. i finally got the cocoon.war . I have replaced all the 
> files tutorials
> says but when i try http://myhost/cocoon i got 404..
> whta it could be? i have apahe and tomcat running
> thsnk in advance
> mariano
> 
> 
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.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]>
>