Re: Scaling Cocoon to handle a heavy load

2006-01-26 Thread Berin Loritsch
Let me find the link that might be able to help you. This is not necessarily a Tomcat/Cocoon issue--it has to do with Java's memory management. You will get OutOfMemoryErrors even when you haven't exceeded the -Xmx2048m command with sufficient load. The problem has to do with the generationa

Re: Scaling Cocoon to handle a heavy load

2006-01-26 Thread Berin Loritsch
/gc/ http://edocs.bea.com/wls/docs61/perform/JVMTuning.html I would play around with some of the more fine controlled JVM settings. Berin Loritsch wrote: Let me find the link that might be able to help you. This is not necessarily a Tomcat/Cocoon issue--it has to do with Java's m

Re: Scaling Cocoon to handle a heavy load

2006-02-07 Thread Berin Loritsch
David Bishop wrote: Hi, Two weeks ago I asked for help regarding Cocoon performance. I was pointed in the direction of the JVM as I was running 1.4.2, I upgraded this to 1.5.0_05 which basically has better garbage collection management and it proved to be a great improvement of stability and

Practical Demo of CForms?

2006-02-21 Thread Berin Loritsch
Is there anything out there that is a decent demonstration of AJAX and Cocoon Forms? I'm looking for something that's a bit better of a tutorial than the online documentation. Also, can anyone tell me whether the AJAX is compatible with IE 5.5? ---

Is there a change in cocoon.sendPage?

2006-02-23 Thread Berin Loritsch
I tried upgrading to Cocoon 2.1.8 from 2.1.7 and one of the flowscripts is throwing a mysterious exception. I'm getting this: [EMAIL PROTECTED]: NOT_FOUND is not a function. The offending line is this: cocoon.sendPage(cocoon.parameters.internalpipeline, {"scope":scope,"listbean":listbea

Re: Is there a change in cocoon.sendPage?

2006-02-23 Thread Berin Loritsch
Jason Johnston wrote: I tried upgrading to Cocoon 2.1.8 from 2.1.7 and one of the flowscripts is throwing a mysterious exception. I'm getting this: [EMAIL PROTECTED]: NOT_FOUND is not a function. The offending line is this: Actually if you look deeper down the stacktrace it looks to me

Large Navigation Menus?

2006-03-22 Thread Berin Loritsch
Does CForms have easy ways of using forms to navigate a complex structure? We have a set of over 400 locations in a hierarchy, and over 200 topics in a hierarchy that we need to let the user navigate. The current solution we have (using a third party Javascript library) introduces over 5 seco

JXel Issues, Won't recognize params from sitemap

2006-03-23 Thread Berin Loritsch
I need to pass parameters into my Jexl. As long as the call to the resource originally comes from the flowscript, everything seems to be OK. HOwever, I can't seem to pass parameters directly from the sitemap. Anyone know what's going on? -

Re: JXel Issues, Won't recognize params from sitemap

2006-03-23 Thread Berin Loritsch
Bruno Dumon wrote: On Thu, 2006-03-23 at 15:27 -0500, Berin Loritsch wrote: I need to pass parameters into my Jexl. As long as the call to the resource originally comes from the flowscript, everything seems to be OK. HOwever, I can't seem to pass parameters directly from the si

CForms and Uploads?!?!

2006-05-03 Thread Berin Loritsch
I am beyond frustrated with trying to adapt the CForms upload feature to our application. I have about two hours left for today, and I'd like to get it working, but if I can't I will resort to the traditional method of forms and actions. Please, if you have bandwidth to spare, contact me on M

Pointer to good Java Binding Cocoon Forms docs?

2006-05-10 Thread Berin Loritsch
how things work together".  I need some kind of pointer, please.  I know CForms works, because of some of your comments.  I just can't seem to get it working for me. --

Re: Pointer to good Java Binding Cocoon Forms docs?

2006-05-10 Thread Berin Loritsch
nding using namespaces - Using XML binding with complex namespaced XML And on each link is an example of a form.  There's no link to a "how to" or tutorial there. --

Bean Binding and Repeaters...

2006-05-12 Thread Berin Loritsch
pecify the same type to convert the form results to? I'm using the binding protocol defined by the CForms Binding XML standard. There just doesn't seem to be a suitable example to pull any kind of experience from. Anybody have some clues/tips/suggestions? -- *Berin Loritsch* Owner *Wor

Re: Bean Binding and Repeaters...

2006-05-12 Thread Berin Loritsch
Simone Gianni wrote: Hi Berin, Berin Loritsch wrote: I've got the CForm displaying the information in the database--even though the doesn't display checked if Tag.isHotTopic is true. I know it seems strange, but try to convert it/add a getter getHotTopic. I couldn'

Re: Bean Binding and Repeaters...

2006-05-12 Thread Berin Loritsch
works any better. Simone -- Berin Loritsch Owner Work: 571-215-7708

Need a new Forms Sample (and other improvements to forms)

2006-05-12 Thread Berin Loritsch
vations in the hopes that we can avoid having more folks as frustrated as me. -- Berin Loritsch Owner

Continuations loosing state

2006-05-17 Thread Berin Loritsch
and restoring state that I have to do?  In short they are not acting like proper continuations and instead are only maintaining the program stack w/o state. -- Berin Loritsch Owner

Re: Continuations loosing state

2006-05-17 Thread Berin Loritsch
the list of tags that were designated hot topics.  The reference to the object still exists and is resolved.  However, the contents of the object are gone. -- Berin Loritsch Owner

anyone else experience the build error that Brenda did?

2005-05-13 Thread Berin Loritsch
I downloaded it and everything built ok for me, but it does have me concerned a bit. She is a coworker of mine, and I'm not sure what is different between the machines that we have but there is clearly a problem. If someone else has run into a similar issue could you throw a heads up? I suspe

Small issue with samples in 2.1.7

2005-05-13 Thread Berin Loritsch
In the "Hello, World" sample, the incorrect mime-type is associated with the http://localhost:/samples/hello-world/hello-worldml.doc sample. It is currently "text/xml", and it should be "x-application/word". As a result it simply is rendered as an XML document in both Exploder and Firefox

Re: anyone else experience the build error that Brenda did?

2005-05-13 Thread Berin Loritsch
Berin Loritsch wrote: I downloaded it and everything built ok for me, but it does have me concerned a bit. She is a coworker of mine, and I'm not sure what is different between the machines that we have but there is clearly a problem. If someone else has run into a similar issue coul

Re: anyone else experience the build error that Brenda did?

2005-05-13 Thread Berin Loritsch
Berin Loritsch wrote: Berin Loritsch wrote: I downloaded it and everything built ok for me, but it does have me concerned a bit. She is a coworker of mine, and I'm not sure what is different between the machines that we have but there is clearly a problem. If someone else has run i

Re: anyone else experience the build error that Brenda did?--problem solved

2005-05-17 Thread Berin Loritsch
Upayavira wrote: Tran, Brenda wrote: I removed my environment variables ANT_HOME and ANT_OPTS and it worked. Thanks, In which case, there's a bug in the build script, as those variables shouldn't influence the build process, IMO. Those are part of the ANT build script, which I don't think the Co

Any blocks for JSR-168 packaging?

2005-05-19 Thread Berin Loritsch
I need to provide portlet content to an app, and I would like to use a JSR-168 compliant solution for interoperability. -- "In socialism man exploits his fellow man; whereas in capitalism the reverse is true." Alistair Begg

Remote Portlet Spec?

2005-05-24 Thread Berin Loritsch
Would there be some interest in defining a "remote portlet" spec? I have a need to provide portlet functionality but have all work done on a separate server. The remote portlet spec would define how a portal server would interact with a remote server to handle incorporating information. Ess

Re: static method to get a component?

2005-06-09 Thread Berin Loritsch
Ben Anderson wrote: Hi, I need to hit the database from outside of cocoon, but within the same webapp. I would like to share the same datasource. My first thought was to follow this example: http://cocoon.apache.org/2.1/developing/datasources.html which is to implement the Composable interface.

TDD with Cocoon?

2005-06-23 Thread Berin Loritsch
Coming from a TDD background, I want to extend that into developing with Cocoon. The only problem is that I'm not sure how to go about doing it. What is available to help test logicsheets, transformers, etc? Quick turn around with trial and error is nice, but what we are missing is the abili

Re: TDD with Cocoon?

2005-06-23 Thread Berin Loritsch
After a quick google, I discovered the following links: HTMLUnit Testing of Cocoon http://www.codeconsult.ch/bertrand/archives/000496.html jWebUnit And the ASF Bugzilla report http://issues.apache.org/bugzilla/show_bug.cgi?id=34294 Wojciech Biela wrote: On 6/23/05, Berin Loritsch <[EM

Re: TDD with Cocoon?

2005-06-23 Thread Berin Loritsch
Bertrand Delacretaz wrote: I tend to use a mix of three methods: a) plain JUnit test cases for code which has nothing to do with Cocoon (primitives, etc.) This one's a gimme. b) JUnit test cases which run in a Generator, for higher-level tests which need access to more of the application's

Re: connection pool fail over

2005-06-29 Thread Berin Loritsch
Rui Alberto wrote: Hi, I have three replicated databases and a connection pool to each database instance. The network to database instances is a little unstable, so I want to check at least one connection in the pool before passing pool identifier to SQLTransformer. If connection is broken, I w

Re: Accessing cocoonbean from apache axis

2005-06-30 Thread Berin Loritsch
Upayavira wrote: karusala kiranbabu wrote: Hi , we r using the axis -1.2 ,cocoon-2.1.7,jboss-4.x on windows. we require some information regarding cocoonbean i.e how to call cocoonbean from the axis. Why do you want to do this? What are you trying to achieve? Regards, Upayavira I know

Re: SQLTransformer makes Cocoon hang under high load

2005-06-30 Thread Berin Loritsch
Fabrizio Sitzia wrote: Hello, I'm developing a dynamic Cocoon webapp that performs a lot of (nested) queries using the SQLTransformer. The SQLTransformer performs SELECT operations only, and it is configured to use a JDBC database connection pool that is managed by Cocoon itself. Excerpt from c

Re: expected behaviour: global vars in flowscript

2005-08-03 Thread Berin Loritsch
Leszek Gawron wrote: If you are trying to apply MVC here you're failing. You should not be calling pages/displayHome.xsp but some displayHome flowscript function. The flowscript function prepares the bean and does cocoon.sendPage( "pages/displayHome" ) which is matched to: > >

Re: can't get XSP page output to encode as UTF-8

2005-08-10 Thread Berin Loritsch
On Tue, 2005-08-09 at 23:19 -0700, BoBo C wrote: > Hi- > I've got an XSP page running under Cocoon 2.1 on a Linux machine that is > accessing a MySQL > database. I'm placing the query return values (the column="xx"/> elements) > between hardcoded XML begin and end tags, forming an XML documen

Re: Cocoon and linux

2005-08-10 Thread Berin Loritsch
Uzo Andrew Madu wrote: Hi, I have decided to do away with Microsoft 2000 server and am now planning to install SUSE LINUX Professional 9.3 from Novell on my machine. Can someone please tell me: 1. Will Cocoon run on Linux? 2. Is SUSE a good version of Linux? Yes and Yes. SUSE, Redhat,

Re: Migrating Cocoon from OS X (10.4.2) to Linux (SuSe Pro 9.3)

2005-08-11 Thread Berin Loritsch
Uzo Andrew Madu wrote: What are the major pitfalls I should watch out for when doing this? The only pitfalls you might encounter would be those related to explicit paths. If all your document references are within the context that Cocoon lives within (the most common case), then the same a

Re: OT: Suse

2005-08-11 Thread Berin Loritsch
Christoph Hermann wrote: I didn't want to, thats why i didn't write it ;-) Suse is, lets say "stubborn" in some cases, and very coloured and "user-friendly" (imho). Oh man, what a slam! Something's user friendly--it must be bad! Honestly, when something works well and you don't have to

XSP Issue

2005-08-15 Thread Berin Loritsch
XSP is not recognizing sitemap parameters like JXTL is. The call to parameters.getParameter("mrn", "") should return a result when that parameter is set in the sitemap. The corresponding call with JXTL works well, but not in the XSP. Its as if the paremeters is cleared all the time. --

Re: Writing my own generator.

2005-10-18 Thread Berin Loritsch
Aurélien DEHAY wrote: Hello. I've just discovered http://cocoon.zones.apache.org/daisy/documentation/g2/610.html Did you discover this: http://cocoon.zones.apache.org/daisy/documentation/g2/688.html ? - To unsubscribe, e

Re: Unicode Support

2005-10-27 Thread Berin Loritsch
On Thursday 27 October 2005 1:55 pm, Venkat wrote: > Hello, I am Venkat and I am new user of Apache Cocoon. In one of the > projects we are planning to use Cocoon to automatically generate PDF > files from XML input and XSL FO page layout description. > > Can some one please confirm if this featur

Re: Unicode Support

2005-10-31 Thread Berin Loritsch
On Monday 31 October 2005 6:40 am, Abbas Mousavi wrote: > Yes FOP supports unicode, but it seems that it dont support right to left > scripts or right to left layout. it desplays arabic or hebrew glyphs in > reverse order (in generated PDFs) and arabic or hebrew words in reverse > order (in AWT vie

Re: components not as factory or pooled

2005-11-18 Thread Berin Loritsch
Iacturus wrote: Hi, i have some components in my cocoon.xconf like this one: class="MyComponent" role="MyComponent.Role" logger="MyComponentLogger"> Now i want cocoon to have just one Instance of this component. No Pooling, no Factory. Is this possible? If yes, how? I'm usi

Re: components not as factory or pooled

2005-11-18 Thread Berin Loritsch
Iacturus wrote: Hi, No, they have not. It is also not possible to do this. That's the mechanism currently used to flag whether a component is to be treated as a singleton. Why wouldn't it be possible? I know it might be kludgy, but you may have to create a subclass of the component impl

Re: components not as factory or pooled

2005-11-18 Thread Berin Loritsch
Iacturus wrote: That's the mechanism currently used to flag whether a component is to be treated as a singleton. Why wouldn't it be possible? The problem is, that i need to have exclusive access on object (component) level. Using the Threadsafe interface will cause the need of java synchro

Re: components not as factory or pooled

2005-11-22 Thread Berin Loritsch
Joerg Heinicke wrote: On 21.11.2005 13:17, Iacturus wrote: As the NonThreadSafeComponent uses some API which cannot be made threadsafe, there can only be one method of NonThreadSafeComponent executed at one time. I cannot change this API and it really has to be used exclusively. Why don't y