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-se

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

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

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 instal

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 the

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 c

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 websi

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: >

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 PROTEC

AW: 2.1? What gives?

2001-07-23 Thread Michael Zehrer
What about contributing to the project? Free software is no free beer... -Ursprüngliche Nachricht- Von: Roy Tennant [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 19. Juli 2001 17:40 An: [EMAIL PROTECTED] Betreff: 2.1? What gives? So here I've been waiting for a stable Cocoon 2, and I

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

[C2][Beta2] Use Bugzilla to report problems - http://nagoya.apache.org/bugzilla

2001-07-23 Thread Davanum Srinivas
Cocoon-Users, Please use Bugzilla to report problems (http://nagoya.apache.org/bugzilla) if any :) Please include As much information as possible: - To recreate your environment (JDK, Servlet-Engine, OS) - On what you are trying to do. - Complete(?) sample as possible to recreate the problem. -

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 R&D project in the Software > Halls of History while another project, another firm, > deliveres a stable usable system to market that > be

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 blee

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 sit

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 pr

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

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 c:\inets\resin\www

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 f

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

2001-07-23 Thread java guru
Hi., 1. Use jdk1.4 which ships with swing NOT requiring x terminal 2. Use xserver Xvfb which runs in background with-out requiring the display terminal(physical) -- I use this --- Mariano Kamp <[EMAIL PROTECTED]> wrote: > Hi there, > > after deploying it the first in production c2 is > no

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 searchin

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

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 -Orig

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-- th

Re: Calling an XML file from an XSP page

2001-07-23 Thread Yasir Khalil Al Masri
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 f

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

RE: Cocoon2, Resin2.0, and IIS

2001-07-23 Thread JStalnecker
I tried this but now I get the following: java.lang.ClassNotFoundException: org.apache.cocoon.servlet.CocoonServlet at com.caucho.util.DynamicClassLoader.loadClass(DynamicClassLoader.java:377) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at java.lang.

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

[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) { XML-Error XML: e.getMessage

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 i

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 : _esql_query.statement = _esql_connection.connection.createStatement(); _esql_query.results = _esql_query.statement.execute(_esql_query.query); // my debug System.out.println("ESQL : _esql_query

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

2001-07-23 Thread Torsten Curdt
> 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 shor

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 > > tagl

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 belo

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

cocoon-users@xml.apache.org

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 us

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 aut

Cocoon2 under Weblogic 5.1?

2001-07-23 Thread Ben Swainbank
Title: Cocoon2 under Weblogic 5.1? We're using Cocoon 1 and I wan't to get Cocoon 2.0 up under Weblogic 5.1, which does not support .war files. Are there any instructions anywhere on how to install Cocoon 2 under Weblogic 5? Or how to use Cocoon 2 without a .war? Thanks -Ben Swainbank

RE: Cocoon2 under Weblogic 5.1?

2001-07-23 Thread Vadim Gritsenko
Title: Cocoon2 under Weblogic 5.1? Your statement about weblogic is not correct; please read documentation: http://www.weblogic.com/docs51/admindocs/properties.html#webapp     Vadim -Original Message-From: Ben Swainbank [mailto:[EMAIL PROTECTED]]Sent: Monday, July 23, 2001 1:12

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

2001-07-23 Thread Kevin D'Allaird
Cihan, This should accomplish what you are looking for. Call it with http://path-to-your/t1.xml?SectionNum=010 Add this to the top of your .xml === t1.xsl == http://www.w3.org/1999/XSL/Transform";> type="text/html"

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

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

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

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

AW: AW: Using Actions in Sitemaps

2001-07-23 Thread Max Larsson
Hi, >> 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

Help:Cocoon and servlet

2001-07-23 Thread Mamadou Bobo Sylla
Hello everyone, I am trying to test some the code examples from Apache . When I call the xml page countries.xml through bowser, it works fine being processd by page.xsl. But I want countries.xml to be processed after a resquet to a servlet. For that purpose I have writtent a servlet called Test wh

Sitemap, How to...

2001-07-23 Thread Ling Kok Choon
hi, I am a new user in Cocoon. I have installed the Cocoon2 in my Window 2000 with Tomcat 3.2.2, and i am try to understand the Cocoon2 as fast as posible. But i meet some problems on the Sitemap. 1) How to config./ write the sitemap, so when i add new directories or new files, i not

AW: Help:Cocoon and servlet

2001-07-23 Thread Max Larsson
Hi, as long as i know you have to tell your servelt engine e.g. Jakarta about the other servlet. I think cocoon doesn't really care about it. The servlet engine decides which servlet get the request. To configure it with jakarta you have to change the web.xml file within the WEB-INF directory of

[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

[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

Help:Cocoon and servlet

2001-07-23 Thread Mamadou Bobo Sylla
Hello everyone, I am trying to test some the code examples from Apache . When I call the xml page countries.xml through bowser, it works fine being processd by page.xsl. But I want countries.xml to be processed after a resquet to a servlet. For that purpose I have writtent a servlet called Test wh