RE: [Design] ContainerManager is under fire--let's find the best resolution

2002-06-06 Thread Leo Sutic
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > > From: Leo Sutic [mailto:[EMAIL PROTECTED]] > > > > Berin, > > > > I am 75% for your new CM interface. The problem is point 4. > > Am I not a prophet? :) > > Assume you have a CM that

RE: [Design] ContainerManager is under fire--let's find the best resolution

2002-06-06 Thread Leo Sutic
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > > From: Leo Sutic [mailto:[EMAIL PROTECTED]] > > > > Suppose you have a pool-max of 3: > > > >public void handleRequest () { > > someMethod (); > > someMethod ();

RE: [Design] ContainerManager is under fire--let's find the best resolution

2002-06-06 Thread Leo Sutic
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > > From: Leo Sutic [mailto:[EMAIL PROTECTED]] > > > > > From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > > > > > > From: Leo Sutic [mailto:[EMAIL PROTECTED]] > > > > > >

RE: [Design] ContainerManager is under fire--let's find the best resolution

2002-06-07 Thread Leo Sutic
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > > Or, I always will get XManager? Then, lifecycle > > management will be moved to XManager, right? > > You will always get the XManager. So yes, lifecycle does > move to XManager. However, the XXManager can act as >

RE: [Design] ContainerManager is under fire--let's find the best resolution

2002-06-08 Thread Leo Sutic
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > > From: Leo Sutic [mailto:[EMAIL PROTECTED]] > > > > > From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > > > > > > Or, I always will get XManager? Then, lifecycle > > m

[C2] Bug in Cocoon.java?

2001-06-07 Thread Leo Sutic
Line 112: public void initialize() throws Exception { this.componentManager = new DefaultComponentManager(); this.componentManager.setLogger(getLogger()); this.componentManager.contextualize(this.context); this.componentManager.initial

[Bug 2511][Patch] Incorrect WML Serialization

2001-07-09 Thread Leo Sutic
--- sitemap.xmap.old Mon Jul 09 16:38:10 2001 +++ sitemap.xmap Mon Jul 09 16:37 :42 2001 @@ -47,6 +47,7 @@ -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml +ASCII -//W3C//DTD SVG 2303 Stylable//EN --

RE: [C2]: Planning beta 2

2001-07-10 Thread Leo Sutic
> -Original Message- > From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] > Sent: den 10 juli 2001 10:34 > To: Cocoon-Dev@Xml. Apache. Org > Subject: [C2]: Planning beta 2 > > Is there any other thing to do? I'd like to have my patch fixing WML output incorporated into the beta. /LS -

RE: [C2]: Planning beta 2

2001-07-10 Thread Leo Sutic
> -Original Message- > From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] > Sent: den 10 juli 2001 12:55 > To: [EMAIL PROTECTED] > Subject: AW: [C2]: Planning beta 2 > > > Hi, > > patch is applied and so should it make into the beta2 > > Thanks and please cross-check. Checked. Th

[Patch] WML Serialization, part 2

2001-07-11 Thread Leo Sutic
It appears that while Nokia phones require ASCII encoding of the WML data, the phones do not like the header, complaining about an unsupported encoding. The short-term solution that I've come up with is to simply omit the XML declaration. The patch below fixes this problem. I've tested with the

RE: [Patch] WML Serialization, part 2

2001-07-12 Thread Leo Sutic
Checked. Thanks. /LS > -Original Message- > From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] > Sent: den 12 juli 2001 08:51 > To: [EMAIL PROTECTED] > Subject: AW: [Patch] WML Serialization, part 2 > > > Thanks for your patch! > > I applied it, please cross check. > > Carsten ---

RE: The long journey finally ends

2001-07-19 Thread Leo Sutic
Congratulations, Stefano! Have a nice vacation, and I'll be waiting for that Java/XML project you have with you when you come back. /LS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECT

RE: C2B2 - ComponentSelector could not find the component for hint: xslt

2001-07-25 Thread Leo Sutic
Since it happens under heavy load it might be caused by some weird threading issues when the pool can't create new resources as fast as it wants to to keep up with the load. Use the pool-min and pool-max attributes for the component. I'm not sure if this works, but: . . . . . . *Ought* to solv

RE: [C2] sitemap creation threading issue ?

2001-08-22 Thread Leo Sutic
Title: RE: [C2] sitemap creation threading issue ? Maybe it is related to this?    http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html    /LS 

[Propsal][C2/2.1] Cocoon2 component manager hierarchy

2001-08-27 Thread Leo Sutic
(I'm posting this both to Cocoon-dev and Avalon-dev, as the subject touches on both of them.) The Problem: The sitemap components I write need access to components besides those available in the default Cocoon2 configuration. Solution: Define some roles and point user-roles to them. Why this is

RE: [Proposal][C2/2.1] Cocoon2 component manager hierarchy

2001-08-27 Thread Leo Sutic
Berin, thank you very much for your insights. > -Original Message- > From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > Sent: den 27 augusti 2001 16:09 > To: Avalon Development > Cc: Cocoon Developer's List > Subject: Re: [Propsal][C2/2.1] Cocoon2 component manager hierarchy (...) > I r

[Patch] Parent Component Managers

2001-08-30 Thread Leo Sutic
All, included is a patch that allows one to specify a root component manager for Cocoon. By putting parent-component-manager org.apache.cocoon.components.ParentComponentManager/InitParamet er into the web.xml, the following will happen via reflection: ComponentManager cm = ne

[Patch][C2.0/2.1] Sitemap class name conflict. Bug?

2001-08-31 Thread Leo Sutic
All, the sitemap.xmap file always compiles to org.apache.cocoon.www.sitemap_xmap, unless one has specified a different root package in cocoon.xconf. Thus, to run two cocoon webapps, one must specify different root packages for the program generator in cocoon.xconf. This makes deployment of multip

Re: [Patch] Parent Component Managers

2001-08-31 Thread Leo Sutic
The same patch, but now for Cocoon2.1. I was not certain whether the server messages were needed to apply the patch so I have two diff files in the zip: pcm21.diff : Removed all cvs server messages. pcm21_full.diff : everything from cvs. /LS pcm21.zip

RE: [c2] Implementation advice needed!

2001-09-02 Thread Leo Sutic
> -Original Message- > From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > Sent: den 13 september 2001 17:42 > To: [EMAIL PROTECTED] > Subject: AW: [c2] Implementation advice needed! > > > That's not the problem. When two Components looking up one Component, the > looked up Component is

RE: [c2] Implementation advice needed!

2001-09-02 Thread Leo Sutic
> -Original Message- > From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > Sent: den 13 september 2001 17:24 > To: [EMAIL PROTECTED] > Subject: AW: [c2] Implementation advice needed! > > > >Crossposting to Avalon-dev. > Thanx, but I'm not subscribed. > >You can't. > Why? > >While you ca

RE: [c2] Implementation advice needed!

2001-09-02 Thread Leo Sutic
Crossposting to Avalon-dev. > -Original Message- > From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > Sent: den 13 september 2001 16:52 > To: cocoon-Dev > Subject: [c2] Implementation advice needed! > > How can I implement with Avalon such singelton classes? You can't. While you can i

RE: [C2][Vote]: Changes between C2.0 and C2.1

2001-09-04 Thread Leo Sutic
I'm not allowed to vote, but 09-15 sounds fine. I would however like to call a vote for including root component managers into C2.1. It is a very much needed feature for clustering and hosting of multiple C2 webapps. Patch for C2.1 is attached. /LS pcm21.zip -

RE: [C2][Vote]: Changes between C2.0 and C2.1

2001-09-04 Thread Leo Sutic
Dims, thanks. I've checked everything out and it works perfectly. > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] > Sent: den 4 september 2001 14:18 > To: [EMAIL PROTECTED] > Subject: RE: [C2][Vote]: Changes between C2.0 and C2.1 > > > Leo, > > Checked in. Please

RE: [C2] Urgent problem with selector inside resource

2001-09-06 Thread Leo Sutic
Jörn, please look in the tomcat/work// directory. There should be a file named sitemap_xmap.java. Please send it to me, as I need to see how the sitemap compiles to Java. I have also forwarded your question to C2-dev. /LS > -Original Message- > From: Jörn Heid [mailto:[EMAIL PROTECTED]

[C2][VOTE - it is a new one] Sync C2.0 and C2.1 branches

2001-09-06 Thread Leo Sutic
> -Original Message- > From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > Davanum Srinivas wrote: > > > 10) Parent Component Manager Support - Specify a configurable > parent Component Manager from Leo > > > > Carsten : +1 > > Berin : +0 I haven't seen it in full action yet. Leo > >

RE: General question about virtual hosts and C2

2001-09-06 Thread Leo Sutic
Jörn, the crux is the compilation of the sitemap. The sitemap compiles to org.apache.cocoon.www.sitemap_xmap for *all* webapps. Since the sitemap class is loaded using the same classloader as cocoon (since you put the libs in the Resin lib directory), the same class gets loaded for different weba

RE: [C2][VOTE - it is a new one] Sync C2.0 and C2.1 branches

2001-09-06 Thread Leo Sutic
> -Original Message- > From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > Sent: den 6 september 2001 15:02 > To: [EMAIL PROTECTED] > Subject: Re: [C2][VOTE - it is a new one] Sync C2.0 and C2.1 branches > > I like your vision. Can you pull it off in time? Starting now. Shouldn't take mor

[Patch][Update] Parent Component Manager - updated documentation

2001-09-06 Thread Leo Sutic
Berin, Dims, here's the updated version of the parent component manager patch. I have moved all classes to org.apache.cocoon.sample.parentcm, so the class org.apache.cocoon.components.ParentComponentManager should be removed. Berin: 1) I have specified the lookup-config-via-JNDI as the preferre

RE: [Patch][Update] Parent Component Manager - updated documentation

2001-09-07 Thread Leo Sutic
> -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] > Sent: den 6 september 2001 23:03 > To: [EMAIL PROTECTED] > Subject: Re: [Patch][Update] Parent Component Manager - updated > documentation > > > Thanks Leo. Checked in. Please cross check. > > -- dims > Checked

RE: [Patch][Update] Parent Component Manager - updated documentation

2001-09-07 Thread Leo Sutic
Berin Loritsch wrote: > It sounds good--did you include the java sources for the classes > for convenience sake? No, but here is a patch that does it (for Cocoon 2.0 and 2.1). /LS build.xml.c2.0.diff build.xml.c2.1.diff - To

RE: hope everybody's OK

2001-09-12 Thread Leo Sutic
I regards to what happened, any word I can come up with would be an understatement. /LS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: latest C2 not working

2001-09-19 Thread Leo Sutic
Vivienne, you need to build the webapp with include.webapp.libs set. The org.apache.cocoon.samples package is not included in the default jar - this is done on purpose. Since you probably dump cocoon.jar in your tomcat/lib directory and use the default webapp, Cocoon can't load the parentcm.* cla

RE: startup exception when XercesParser instead of JaxpParser

2001-09-19 Thread Leo Sutic
Nuke jaxp.jar from your tomcat/lib directory. /LS > -Original Message- > From: David Crossley [mailto:[EMAIL PROTECTED]] > Sent: den 19 september 2001 12:10 > To: [EMAIL PROTECTED] > Subject: startup exception when XercesParser instead of JaxpParser > > > I followed the instructions in 2

RE: ParentComponentManager & config files

2001-11-01 Thread Leo Sutic
Marcus, the ParentCM was intended to be used with JNDI. The rationale is as follows: Component settings for the individual servlet is specified in cocoon.xconf. Therefore, the per-servlet settings are already addressed and there is no need for a ParentCM. However, in order to configure multiple s

RE: ParentComponentManager & config files

2001-11-02 Thread Leo Sutic
> -Original Message- > From: Marcus Crafter [mailto:[EMAIL PROTECTED]] > Sent: den 2 november 2001 16:58 > To: [EMAIL PROTECTED] > Subject: Re: ParentComponentManager & config files > > I had thought that using cocoon's CM to manage my application's > components was the wrong

RE: why many messages: Could not find component

2001-11-28 Thread Leo Sutic
>From cocoon.xconf: And there is no other . Add and the messages should go away. /LS - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]

RE: Adaptive Caching [was Re: initial checkin of the Scheme code]

2001-12-13 Thread Leo Sutic
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > Stefano Mazzocchi wrote: > > I > don't know > what the letter above the sigma or below the sigma is supposed to signify. The sigma is like a summing for-loop. Example: > > > >n > >-- > > Invalid(r) = \ (V(r,

RE: Cocoon 2.0.1 and FilesystemQueueImpl

2002-01-17 Thread Leo Sutic
> From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > > Hi, > when everything is fine, then we can add the refactored > Store in the 2.01 release and then the whole FilesystemQueueImpl > will disapear -and this bug too ;-)- Great! /LS ---

RE: [Heads Up] Utility for efficiency

2002-01-18 Thread Leo Sutic
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]] > > -- > import java.util.*; > import org.apache.avalon.excalibur.collections.ArrayStack; > > public class StackTest > { > public static void main(String[] args) > { >int lIn

[Patch] FilesystemQueueImpl.java does not compile with latest Avalon.

2002-01-24 Thread Leo Sutic
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > --- Additional Comments From [EMAIL PROTECTED] 2002-01-24 20:00 --- > Sorry, but I think you can forget the 2.0 branch when the the 2.01 version is > release soon! 2.0.1 is a part of the 2.0 branch, no? > 2.01 works with the new

RE: [Patch] FilesystemQueueImpl.java does not compile with latest Avalon.

2002-01-24 Thread Leo Sutic
> From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > > Hi, > > >From: Leo Sutic [mailto:[EMAIL PROTECTED]] > > > >> Sorry, but I think you can forget the 2.0 branch when the the > 2.01 version > >>is release soon! > > > >2.0.1 is a p

RE: [WARN] Build with 'compile' target fails

2002-01-25 Thread Leo Sutic
I got this, too. The reason is that the build.bat copies .jar files into the tools/ directory, where Ant is, so they are available when running Ant. However, if you have set ANT_HOME yourself, then the copied jars are not available to *your* copy of Ant. So unset ANT_HOME and try again... /LS

RE: [VOTE] Add Store.size() method

2002-01-31 Thread Leo Sutic
> From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]] > > >As regards the size() method, we can specify that it will return -1 > >if the underlying store does not support that method. Would prefer if it returned 0. Whatever code uses the store, I can not think of any reason why it would want to

RE: CONTEXT_ENVIRONMENT_CONTEXT can be null ?

2002-02-22 Thread Leo Sutic
Try: Constants.java: /** *The name of a Context object in the so called objectModel Map. * This constant is also defined in the org.apache.cocoon.environment.ObjectModelHelper class. * * FIXME(GP): Shouldn't this definition here be removed? */ String CONTEXT_OBJE

RE: Carsten - Out of Action

2002-02-25 Thread Leo Sutic
First off, best wishes to Carsten. Hopefully his hand(s) are not permanently damaged. Wish him well from cocoon-dev if you visit him, Matthew. And now back to our regular fare. > From: Koen Pellegrims [mailto:[EMAIL PROTECTED]] > > > > > > > > Or, as Stefano (I think) put i

RE: Can't get PostgreSQL to work - HELP !!!

2002-05-29 Thread Leo Sutic
> From: daniel robinson [mailto:[EMAIL PROTECTED]] > > I'm running: > > Win98 > Tomcat 4.0.3 > C2 > PostgreSQL 7.2.1 in CYGWIN > PostgreSQL JDBC 7.2 > > Tomcat/common/lib contains: > pgjdbc1.jar (containing org.postresql.Driver) ^^^ Unless you are running JDK 1.1.x, you want ht