> 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
> 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 ();
> From: Berin Loritsch [mailto:[EMAIL PROTECTED]]
>
> > From: Leo Sutic [mailto:[EMAIL PROTECTED]]
> >
> > > 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
> > 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
>
> 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
Line 112:
public void initialize() throws Exception {
this.componentManager = new DefaultComponentManager();
this.componentManager.setLogger(getLogger());
this.componentManager.contextualize(this.context);
this.componentManager.initial
--- 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
--
> -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
-
> -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
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
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
---
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
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
Title: RE: [C2] sitemap creation threading issue ?
Maybe it is related to
this?
http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
/LS
(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
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
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
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
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
> -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
> -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
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
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
-
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
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]
> -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
> >
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
> -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
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
> -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
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
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]
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
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
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
> -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
>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]
> 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,
> 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
---
> 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
> 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
> 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
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
> 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
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
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
> 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
47 matches
Mail list logo