Re: WAR file containing all that's needed for running Cocoon2

2001-11-10 Thread Ovidiu Predescu
As a sample of cocoon.xconf just get the webapp/cocoon.xconf from Cocoon2's distribution. You may want to edit various options in there to better suit your particular application. As a sample sitemap.xmap, I suggest you start with a simple sitemap definition. You can take a look at the sitemap in

Re: WAR file containing all that's needed for running Cocoon2

2001-11-10 Thread Matteo Di Giovinazzo
Thanks for the answer! Can you show me the basic content of cocoon.xconf? I know that sitemap.xmap contains components and pipelines ecc... TIA, matteodg - Original Message - From: "Ovidiu Predescu" <[EMAIL PROTECTED]> To: "Matteo Di Giovinazzo" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED

Re: WAR file containing all that's needed for running Cocoon2

2001-11-10 Thread Ovidiu Predescu
Yes, you can do that. Create the following directory structure: your-webapp/ cocoon.xconf sitemap.xmap your/own/custom/directories/ WEB-INF/ logkit.xconf web.xml logs/ lib/ avalon-excalibur-4.0.jar avalon-framework-4.0.jar batik-libs.jar cocoon.jar

Re: Headless Server and jdk 1.4

2001-11-10 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Robert, > >But > > it didn't change anything. Big font sizes are working well, small ones > > are almost unreadable. I don't know why. > > Also all graphics are looking different than in non-headless mode. > This is very discouraging... I had ho

Re: ClassFormatError

2001-11-10 Thread jkim28
I guess this is default behavior: VM limits the size of method

ClassFormatError

2001-11-10 Thread jkim28
This problem is back in cocoon 2 RC2 java.lang.ClassFormatError: org/apache/cocoon/www/file_/C_/tomcat_3_2_3/webapps/nedss/investigation/web/xsp/investigation_xsp (Code of a method longer than 65535 bytes) - Please check tha

Sitemap parameters set by Transformer

2001-11-10 Thread Luca Morandini
Giacomo, here's the sample: 1) The user goes to login.xml URI 2) A pipeline takes care of producing the proper HTML form 3) The user fills the form and activates "submit" 4) The "submit" event triggers a check-login.xml being requested 5) A pipeline takes care of calling SQLTrans

RE: Sitemap parameters set by Transformer

2001-11-10 Thread Liam Morley
I think what Luca means is to have something like "". To me, it would make sense to send SAX events that trigger certain things to happen down the road, depending on what you have in mind. Otherwise, I'm not sure if you can set sitemap properties mid-way through a pipeline's execution, although

[C2]: Interesting Behavior in XSP

2001-11-10 Thread Alex Vishnev
Hi, I am using C2rc1 with Tomcat4 on Win2000. I am observing a very strange behavior with it. I was working with the session examples in docs/sample/session directory. Here is the xsp file I was trying to work with. It is only slightly different then sessionpage.xsp example provided in the distri

Re: Headless Server and jdk 1.4

2001-11-10 Thread Robert J. Lebowitz
> it's working fine for me, except that I'm using rc1a of cocoon. But I had to > change some things. When you start tomcat, you have to set the headless > properity. Simple look on java.sun.com for an example. > Then you have to recompile batik and fop and copy them into the cocoon libs > director

Re: Headless Server and jdk 1.4

2001-11-10 Thread Torsten Knodt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Robert, > I've read in past notes that it should be possible to eliminate the need > for running an Xserver or Xvfb on one's cocoon 2.0 server if you are using > jdk1.4. > I'm curious how other people have managed to use jdk 1.4 on their systems

Re: Sitemap parameters set by Transformer

2001-11-10 Thread giacomo
On Sat, 10 Nov 2001, Luca Morandini wrote: > Folks, > > does anyone know how to set a sitemap parameter from within a Transformer ? Why would your Transformer need to set a sitemap parameter (BTW what do you mean by "sitemap parameter"??) Actually there is no way (and no intention) to set

WAR file containing all that's needed for running Cocoon2

2001-11-10 Thread Matteo Di Giovinazzo
I have used Jakarta Struts 1.0. When I create a new webapp that use Struts, I copy the struts.jar in the /lib directory of the webapp and setup the configuration with /WEB-INF/web.xml and /WEB-INF/struts-config.xml. When I deploy the webapp (a .war file) in a web server all it's OK. For Cocoon2 i

Sitemap parameters set by Transformer

2001-11-10 Thread Luca Morandini
Folks, does anyone know how to set a sitemap parameter from within a Transformer ? I'd like to be able to steer the sitemap flow from a Transformer, and the best way seems to me the ability to set sitemap parameters (to be used in some subsequent statements). Best regards, --