Re: [C2] standalone example?

2001-10-04 Thread Jeff Turner
On Thu, Oct 04, 2001 at 05:04:29PM -1000, Russell Castagnaro wrote: > Aloha cocoon-users, > > I'm trying to find an example of using C2 standalone. I actually > want to use it in an EJB, but first things first. I've looked at > the environment package, which seems to have the classes all

[C2] standalone example?

2001-10-04 Thread Russell Castagnaro
Aloha cocoon-users, I'm trying to find an example of using C2 standalone. I actually want to use it in an EJB, but first things first. I've looked at the environment package, which seems to have the classes all set up to make it happen. If somebody could just give me a simple example

Cocoon - Is it enough

2001-10-04 Thread Lakshmi Anantharaman
Hi Has cocoon proven successful front end architechture for major B2B or System Application . I am in the process of creating a modular framework for a front end that shall involve different services . The goal would be to add and manage services as they come live ..Users may hav

:Error creating the resource

2001-10-04 Thread Joseph Rajkumar
Hi     I have an installation using Tomcat-4.0 and Cocoon-2.0B2. Does any one know why I am getting this error when I access "Insert Department" and "Insert Employees" whereas the other one "Manage Employees" link works just fine.    These are the examples in Cocoon-2.0B2. Thanks Joseph Rajkumar

org.apache.cocoon.ProcessingException

2001-10-04 Thread Ling Kok Choon
Hi, When i run a xsp, i got the error below : org.apache.cocoon.ResourceNotFoundException: Could not access component for hint: org\apache\cocoon\www\xml\aa_result_xsp:org.apache.avalon.framework.component.ComponentException: Could not access component for hint: org\apache\cocoon\www\xml\aa

RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Stephan Michels
On Fri, 5 Oct 2001, Faulkner, Perry wrote: > Hi Eduardo, > > I had this error when cocoon.war was out of step with the contents of > {TOMCAT_HOME}\webapps\cocoon\. My solution was to stop tomcat, delete the > {TOMCAT_HOME}\webapps\cocoon tree and restart tomcat so that it rebuilds the > tree fr

RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Darren Gibbons
Eduardo, I can't help decipher this error message (I'm new to Cocoon), but I got it yesterday and I did get a workaround. I'm using Tomcat4+CocoonRC1a. I was going through the excellent CTWIG tutorial, and had cut-and-pasted the examples from his page into the build.xml and build.xsl files. Wh

RE: [C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Faulkner, Perry
Hi Eduardo, I had this error when cocoon.war was out of step with the contents of {TOMCAT_HOME}\webapps\cocoon\. My solution was to stop tomcat, delete the {TOMCAT_HOME}\webapps\cocoon tree and restart tomcat so that it rebuilds the tree from the cocoon.war file! The DTM message comes from xalan

How to use the C2 Pool and/or ComponentManager for persistant objects?

2001-10-04 Thread Jan
Hello cocoon world! I am using a manager that reads a config file and provides some modules and other useful objects. I would intend this manager object (or maybe some more instances can be created to increase the speed of access) to be loaded with cocoon and persist in memory so every instan

About connecting pipelines - something is wrong.....

2001-10-04 Thread Alexander Smirnoff
Hi evryone, The same problem still bothering me: This example works fine, but when I use in the second pipeline I'm getting an error: org.apache.cocoon.ProcessingException: Exception in StreamGenerator.generate(): java

Re: installing of actions

2001-10-04 Thread Arno Illmann
I forgot ... from cocoon log: WARN(2001-10-04) 22:12.55:030 [cocoon ] (/cocoon/xsptest/welcome) Thread-15/sitemap_xmap: org.apache.cocoon.acting.DatabaseSelectAction java.lang.ClassNotFoundException: org.apache.cocoon.acting.DatabaseSelectAction at java.net.URLClassLoader$1.run(UR

Re: can xsp use javabean?

2001-10-04 Thread Juergen Sonnauer
I've found a little C2-XSP Taglib to help with bean-handling. You might find it useful to have useBean, getProperty and setProperty tags in your XSP pages. Look at http://www.oio.de/m/taglib/beanhelp.zip Regards - Original Message - From: "YANLIAN" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

nested stylesheets

2001-10-04 Thread Aurelien
Hi, (sorry if this kindof a repost, I didn't see the message on the list, and neither did it show in my sent items...) I've already managed to have some ejb's basically exposed as taglibs. Now, I'd like to be able to nest custom tags: I have a method that checks if a user has certain rights (

[C2] Err-Msg: No more DTM IDs are available ????

2001-10-04 Thread Eduardo Godoy Vega
How to fix it ?? (I don't really understand this error msg). Eduardo. ERROR (2001-10-04) 15:24.58:835 [cocoon ] (/cocoon/unveil/) Thread-16/Handler: Error compiling sitemap java.lang.RuntimeException: No more DTM IDs are available at org.apache.xerces.framework.XMLParser.parse(XMLP

Re: [C2] Newbie: How to start a new proyect ...

2001-10-04 Thread Arno Illmann
Eduardo Godoy Vega wrote: > How is the best way to start a new context in Tomcat+Cocoon2, I want to > create a XSP based proyect... In tomcat/conf/server.xml: [... other configurations...] [... other configurations...] If you want to use apache a

RE: General framework question

2001-10-04 Thread Darren Gibbons
> I want to make a business layer, that always generates some generic (home > invented) XML to the presentation layer. Søren, You might want to take a look at Maverick: http://mav.sourceforge.net It's yet another MVC framework for Java that uses JavaBeans as a model, although Maverick presents

installing of actions

2001-10-04 Thread Arno Illmann
In the morning I posted this at the wrong thread so I do it again. My tryings over the day came not to success too and I hope, someone with more cocoon knowledge can shed us some light on the following? Thanks in advance, Arno Illmann I did this: 1) downloaded DatabaseSelectAction.java from C

Multiple instances of Cocoon?

2001-10-04 Thread Hewko, Doug
Can you have multiple instances of Cocoon running at the same time? I would like to split my web site in Cocoon into a development and testing system. I tried adding a development directory structure in my sitemap.xmap with limited success. My relative links do not work as the web pages are being

Re: [C2.0b2] - ComponentManager

2001-10-04 Thread Adrian Geissel
Hi, Getting considerably further now with integrating my database access library - however, next hurdle. It appears that the pool is not initialized - what need I do to make this happen? According to the log-file, the dataasource ComponentHandler has been initialized and added to the ComponentMa

Re: [C2.0b2] - ComponentManager

2001-10-04 Thread Adrian Geissel
- Original Message - From: Berin Loritsch <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 04, 2001 3:57 PM Subject: Re: [C2.0b2] - ComponentManager > > > > false > > org.postgresql.driver.JDBCDriver > jdbc:postgesql://193.120.120.11/zdam_tes

Re: Action - modify / add parameter to Reguest

2001-10-04 Thread Piroumian, Konstantin
The answer is: use request attributes for that. Request params are immutable by Servlet specification and you should use request attributes for such things. Change your XSP page to use attributes and everything will be fine. There is another - in my opinion a hacky way - of passing params: you ca

Re: iMac and IE4.5

2001-10-04 Thread Heath Stewart
Changing the DTD of the page won't stop that kind of behavior. That has to do with mime types. It seems that iMac+IE4.5 is getting the stream as text/plain. Are you using the browser capacity database? There could be something in there if the problem is limited to a specific platform. Also, if you

iMac and IE4.5

2001-10-04 Thread Brent L Johnson
I'm having a serious issue with iMac's running IE4.5. I just put a new site into production which uses Cocoon. It's been great, and we've gotten a lot of great response (not to mention the fact that since I designed it using Cocoon it's really easy to make content modification). But, the only n

Action - modify / add parameter to Reguest

2001-10-04 Thread Kenneth Petersen
I am trying to run the Action example from the Cocoon 2 website. My problem is that the action class in the example add's an Attribute named "hello" to the request, but the XSP-servlet uses a Parameter named "hello". This of cause results in the XSP-servlet getting and using the value null. I

Re: minimal configuration for cocoon 2

2001-10-04 Thread Piroumian, Konstantin
Hi! I think, that the problem comes from the build process. I suspect, that you have hsqldb.jar and maybeupload.jar in your xml-cocoon/lib directory and this causes the build process to use some specific classes to build the core. Try to make clean rebuild of C2 (with removed hsqldb.jar, maybeup

Re: [C2.0b2] - ComponentManager

2001-10-04 Thread Berin Loritsch
Adrian Geissel wrote: > > Hi, > > We looking at migrating our application from C1.8.2 over to C2. > > In C1.x, we used Turbine for connection pooling, and we need to move over to > the Avalon CoponentManager framework. > > There was one real advantage in using Turbine, where there is a > singl

minimal configuration for cocoon 2

2001-10-04 Thread Guillaume Rousse
Hello. I'm trying to find the smallest cocoon configuration for a simple xml->html application. I used original cocoon directory and removed everything i can from sitemap and configuration. This is OK. Now i'm trying to remove useless jars, as stated in docs, and restart tomcat everytime to che

[C2.0b2] - ComponentManager

2001-10-04 Thread Adrian Geissel
Hi, We looking at migrating our application from C1.8.2 over to C2. In C1.x, we used Turbine for connection pooling, and we need to move over to the Avalon CoponentManager framework. There was one real advantage in using Turbine, where there is a singleton-access to the connection-pool, thereby

Problems with Cocoon 1.8.2

2001-10-04 Thread Mercedes Pérez
Hello, I've installed cocoon1.8.2 sucessfully but when i try to view a page xsl i get the next error: "java.lang.NullPointerException at org.apache.cocoon.Engine.handle(Engine.java:473)"-> if (!isHead) { OutputStream realOut = response.getOutputS

How to install an action ...

2001-10-04 Thread Arno Illmann
I did this: 1) downloaded DatabaseSelectAction.java from CVS and compiled it to ..\cocoon\WEB-INF\classes\org\apache\cocoon\acting. 2) added to cocoons web.xml: extra-classpath C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon\WEB-INF\classes\org\apache\cocoon\acting\DatabaseSelect

RE: How to have prompt for download?

2001-10-04 Thread Vadim Gritsenko
File type associations are in windows explorer, tools -> folder options -> file types (on Win2000). But the best solution is to use right-click and "save target as" options ;) Vadim > -Original Message- > From: Hewko, Doug [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 04, 2001 7:

RE: act under map:pipeline ??

2001-10-04 Thread Vadim Gritsenko
No, you can't have an action there (sitemap.xsl, lines: 486-493). Surround it with match like this: > > > > > ... > > > ... > > > .. > > > > Vadim > -Original Message- > From: RamsÊs Morales [ma

Re: map:act under map:pipeline ??

2001-10-04 Thread Piroumian, Konstantin
Hi! As I remember, you can't, but you can have nested matchers: ... Regards, Konstantin Piroumian > Hi. > > Can I have an action directly under a pipeline?? Something like this: > > > > > > > ... > > > ... > >

Re: General framework question

2001-10-04 Thread Gianugo Rabellino
> I want to make a business layer, that always generates some generic (home > invented) XML to the presentation layer. Then I would like to use Cocoon to > use this XML, and present it for me. The reason that I want to use my own > XML, is that I want to be able to replace Cocoon with a total diff

RE: How to have prompt for download?

2001-10-04 Thread Hewko, Doug
I think you are right, but it seems to be more complicated than I initially thought. In the Cocoon2 sitemap.xmap, I can designate relationships. I noticed that on my *.doc files, it does not matter if I have a mime-type specified or not. In the Tomcat map.xml file, you can also define what appli

General framework question

2001-10-04 Thread Søren Neigaard
Hi I would love you comment on my idea of a framework I'm planning to make. Whether it is possible, whether you think it's a good solution. Basicly all comments are welcome. I want to make a business layer, that always generates some generic (home invented) XML to the presentation layer. Then I

Re: build an J2EE app.

2001-10-04 Thread roger . day
ummm. Maybe this should be in the FAQ as well... At 04/10/01 11:11:39, [EMAIL PROTECTED] wrote: # I want to build an enterprise app with j2ee. It will have JDBC to # SQLServer, with tomcat + cocoon, in fact. I'd like to know how have you # done it. # thanx, José Blas. # #

build an J2EE app.

2001-10-04 Thread jose . camacho
I want to build an enterprise app with j2ee. It will have JDBC to SQLServer, with tomcat + cocoon, in fact. I'd like to know how have you done it. thanx, José Blas. - Please check that your question has not

Cocoon 1.8.2 compatibility with Servlets2.3,JSP1.2,WebLogic 6.1

2001-10-04 Thread Raisa, Chetan
Hi there, Can some body le'me know which version of cocoon is compatible with WebLogic 6.1!! Can I use the latest stable version of cocoon1.8.2 with for servlets2.3, JSP1.2 and for WebLogic 6.1. Thanks Chetan - Plea

RE: Fixes for the X11 problem are failing!!!

2001-10-04 Thread Karl Oie
you really don't have to kick out all the nice batik and pdf stuff, if you run unix/linux you can use xvfb which simulates a screen, you'll have to install xfree, xfree-lib and xvfb, goto http://www.xfree86.org and get the xvfb package then make a script that starts Xvfb and set your DISPLAY vari

Re: Fixes for the X11 problem are failing!!!

2001-10-04 Thread aaldridg
I experience the same behaviour as below, having removed the svg and pdf references in sitemap. I also removed them from the cocoon.properties file just in case - still no joy. H. >> ** >> Solution 2: removing any reference to SVG and PDF. >> This should disable any call to Batik, which

Re: Cocoon2 with no batik at all.

2001-10-04 Thread aaldridg
I totally agree in principle, however, I work in a tightly controlled environment where such decisions are not mine to make! I'll keep trying to find a way around the problem. Regards, Anthony Aldridge Lead Application developer Managed Intranet Hosting CSC JPMorganChase Personal GDP: 325-8338

html out of a db (Cocoon 1.8.1, Tomcat, Postgresql)

2001-10-04 Thread Schroeter Christian
Hi, i want to read out of my database the content of my html-pages. unfortunatly every < and > are replaced by < anf > So the browser is printing the html code and not interpreting it. Can anybody help me? What must i change? cu, christian schroeter My sourcecode: XML-File http://www.

Re: Enterprise applications

2001-10-04 Thread roger . day
More instructions than I can shake a stick at - is there a definitive set of instructions/advice for integrating Cocoon as part of an Enterprise Application? Why can't I use the Tomcat Servlet under Apache? That would be my preferred route. People have asked enough times - why isn't it in the FAQ

nested logicsheets

2001-10-04 Thread Aurelien
Hi, I have designed a centralized session tracking system (server-side) which works with J2EE: gatekeeper. gatekeeper tries to make sure only one person at a time is using the same session by changing a requestID value at each request. The mechanism is well suited for a situation where the pa