Re: Use Case for Cocoon with JSF?

2009-12-19 Thread Ralph Goers
On Dec 19, 2009, at 6:07 AM, Andre Juffer wrote: kue...@trustable.de wrote: Betreff: Re: Use Case for Cocoon with JSF? Gesendet: Sa, 19. Dez 2009 Von: Ralph Goersralph.go...@dslextreme.com Actually, I could agree with that, although there are other choices - such as having GWT use JSON

Re: Use Case for Cocoon with JSF?

2009-12-18 Thread Ralph Goers
for XML requests coming from the Ajax UI implementation ( and probably serving the web pages ) Cocoon _is_ the recommended way to serve a state-of-the-art UI ! Greetings Andreas - Original Message From: Ralph Goers ralph.go...@dslextreme.com To: users@cocoon.apache.org

Re: Use Case for Cocoon with JSF?

2009-12-17 Thread Ralph Goers
Before you undertake this it would be wise to understand your use case better. Earlier this year we did some benchmarking by creating some portlets using JSF and IceFaces and determined that they would not even come close to scaling to our requirements. The same use cases reimplemented using

Re: cocoon 2.1 as WSRP producer?

2009-11-05 Thread Ralph Goers
I wouldn't recommend trying to do it via WSRP. I would recommend looking at http://wiki.apache.org/cocoon/CocoonAppAsJSR168Portlet. Ralph On Nov 4, 2009, at 11:42 PM, Paul Adriaenssens wrote: We would like to expose parts of our cocoon 2.1.11 application as portlets and consume them in a

Re: C2.2 - Mixing SLF4J with Cocoon

2008-07-17 Thread Ralph Goers
Cocoon does not directly use Log4j. It uses an abstraction layer that defaults to log4j. slf4j is also an abstraction layer. In the stack trace you have shown below it is using its SimpleLogger implementation. This can be replaced with Logback, Log4j or java.util.logging. You might simply try

Re: C2.2 - Mixing SLF4J with Cocoon

2008-07-17 Thread Ralph Goers
Cocoon 2.2 is using commons-logging, so in the environment shown by your stack trace it would also be going to SLF4J and the SimpleLogger via the jcl adapter. I guess it would help to know what version of SLF4J is in use and where its jars are in the various places they could be. Ralph

Re: C2.2 - Mixing SLF4J with Cocoon

2008-07-17 Thread Ralph Goers
David Legg wrote: Thanks for responding Ralph. Cocoon 2.2 is using commons-logging, so in the environment shown by your stack trace it would also be going to SLF4J and the SimpleLogger via the jcl adapter. I guess it would help to know what version of SLF4J is in use and where its jars

Re: Cocoon 2.1.10 Application Freezing

2008-07-02 Thread Ralph Goers
A couple of thoughts. 1. In my experience turning off pooling will make matters worse, not better. 2. You show threads blocked, but they aren't using CPU. What is using all the CPU? Look at the threads that are actually running. Chances are the clue to the bottleneck will be there. The two

Re: SSF

2008-03-28 Thread Ralph Goers
Authentication and authorization are two very different things. We never really implemented a proper authorization scheme in the portal, although I always wanted to. From a Cocoon perspective I could definitely see something added to the pipelines to accomplish this, but frankly, I'd prefer

Re: SSF

2008-03-28 Thread Ralph Goers
Now that I think about it, can't servlet filters be used on servlet services for authorization to them? I know it isn't as granular as would be liked but it would be good to do this. Ralph Ralph Goers wrote: Authentication and authorization are two very different things. We never really

Re: Cocoon source build

2008-02-08 Thread Ralph Goers
Don't the instructions say to use mvn -P allBlocks install? Mansour wrote: Sorry, it was a typo: I am using mvn install allBlocks Mansour wrote: What options do I have to build Cocoon from source? I am using mvn build allBlocks Is there any other option other than allBlocks? BTW: It's

Re: Attempting to Install Cocoon-2.2

2008-02-03 Thread Ralph Goers
First, this is just my opinion. Although I have Windows XP and use it all the time, I despise using it for anything other than windows specific applications. I use VMWare on Windows so I can develop in Ubuntu on my Windows laptops. I have had too many weird things happen in Windows to use it

Re: Portal: ApplicationCopletAdapter and persistent links

2008-01-21 Thread Ralph Goers
Have you configured your application to actually use page labels? By default they are disabled. Guido Casper wrote: Hi all, I am trying to implement persistent links within an application coplet of the portal. By default the internal links of external applications are dynamically converted

Re: best wishes for 2008: 2.1 vs. 2.2

2007-12-29 Thread Ralph Goers
My wish for Cocoon 2.2 has always been that 1. The download of Cocoon would be nothing more than installing a maven plugin. 2. You'd use a Maven archetype to create a starter project. Ideally, this is how the sample site should get created. 3. Building your project would automatically download

Re: best wishes for 2008: 2.1 vs. 2.2

2007-12-29 Thread Ralph Goers
[EMAIL PROTECTED] wrote: This thread highlights the strangeness of developer-driven development. Cocoon users want easy: easy creation of applications, easy integration with web servers, and easy addition of new components. Cocoon devs want Maven to better organize blocks. (Blocks are standard

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Ralph Goers
Not quite true. You can accomplish this using XMLFileModule. Joerg Heinicke wrote: What you outline we used to call content-based pipelines - and is not yet supported. By intention in the first place but the opinions change on this topic. You should find something in the archives. Joerg

Re: xpath condition on xml data in sitemap

2007-11-22 Thread Ralph Goers
We are using the pattern similar to below in many, many places in our application. I should also note that we no longer use XMLFileModule but a new XPathXMLFileModule that I will be checking in shortly. XPathXMLFileModule works similar to XMLFileModule but it caches correctly and has more

Re: Starting with Cocoon

2007-11-19 Thread Ralph Goers
Mansour wrote: The cocoon build will also create cocoon.xconf and put the definitions you need for the desired blocks in it. You should only modify it if you are adding your own components. Again, you'll only do this if you know what you are doing and have a reason. That's what I am trying

Re: Starting with Cocoon

2007-11-18 Thread Ralph Goers
Mansour wrote: It's working NOW. Can not thank you enough for this! Now, let's figure out why it was failing. I was following the tutorial on http://cocoon.apache.org/2.1/howto/howto-html-pdf-publishing.html and I obtained the site map contents from their. If the site map was missing

Re: cocoon demos on cocoon.zones.apache.org

2007-11-17 Thread Ralph Goers
I also tried petstore: HTTP ERROR: 500 Error calling flowscript function index at file:///home/cdemos/demos/trunk/trunk/core/cocoon-webapp/target/work/blocks/cocoon-petstore-sample/flow/PetStoreImpl.js:472 at getPetStore -

Re: cocoon 2.3 will NOT be in java - may be in PERL

2007-11-01 Thread Ralph Goers
I guess I would characterize Cocoon as an XML processing Engine. One of the things it can do is act as an MVC. We actually use the Cocoon portal to present web sites. It has been quite successful for us. While your description of Cocoon being able to process an XSLT is certainly true, it is

Re: cocoon 2.3 will NOT be in java - may be in PERL

2007-10-31 Thread Ralph Goers
I can see you are confused. The 2.1 versions of Cocoon need to be built from source because that is the only way to allow you to select the blocks you want to use and not include the stuff you don't want. The 2.2 version of Cocoon has fixed this, however to do that it uses Maven so that you

Re: Compiled XSLT

2007-10-22 Thread Ralph Goers
There is no such thing as secret Java. JAD can convert Java classes into pretty readable code. You can use an obfuscater but even then someone determined could still figure it out. I imagine some folks would argue that XSLT is already obfustacted. ;-) Actually, since Cocoon can already run

Re: Disable url rewriting

2007-07-25 Thread Ralph Goers
The jsessionid is managed by the servlet container. My understanding is that it detects whether the use supports cookies and if so uses a cookie. Otherwise it is sent as you see here. I know of no way to change this. What you probably need is a bit of javascript on the page to detect whether

Re: [Slightly OT] Session problem with Apache-fronted Cocoon site

2007-07-08 Thread Ralph Goers
Ard, You didn't really answer his question, but I didn't really grasp it either. When Tomcat or Jetty create a session they are going to create a token that represents the session will end up in the user's browser or as part of each subsequent request. By design, it is not possible for

Re: Stackoverflow when using regexp matcher (Cocoon 2.1.10)

2007-06-08 Thread Ralph Goers
The EncodeURLTransformer was modified to use java.util.regexp instead of Apache regexp. Tests showed it is significantly faster and I was experiencing extremely deep stacks on calls to matchNodes (although I never actually got a StackOverflow). Although you have bypassed the problem it

Re: hostname lookup

2007-06-05 Thread Ralph Goers
Well, I see a call to getRemoteHost in Cocoon.java but only when debug is enabled. Is debug enabled in your system? I also see it used in a few other places such as the session framework, but there aren't that many. Frankly, if I was trying to troubleshoot this I'd just use a debugger and set

Re: Cocoon Forms vs. JSF

2007-06-04 Thread Ralph Goers
Forgive me if I am misunderstanding, but I'm having a hard time understanding your question. JSF is essentially the controller in MVC - your faces config identifies the view states to go to based upon the view state you are currently in and the outcome of some actions. JSF provides no specific

Re: Custom Cocoon 2.2 projects: Alternatives to Maven 2

2007-05-24 Thread Ralph Goers
Carsten Ziegeler wrote: Reinhard Haller schrieb: Is there a design decision to use maven as a base or not? If so then go ahead and use it. If you want to get a new design decision, wait until the next version is in the design phase. The decision was to use maven for developing cocoon itself

Re: Problem with tuning JVM (high CPU load)

2007-05-23 Thread Ralph Goers
Robby Pelssers wrote: Hi all, we have cocoon2.1.10 running on a solaris(OS version5.8). The server has 16G of memory and 2 processors (sparcv9 processors operating at 900 MHz). Cocoon is running on tomcat/4.1.24. After a while we see our CPU increasing to about 94% and the system becomes

Re: Building NekoHTML on Unix?

2007-04-08 Thread Ralph Goers
Try looking at blocks.properties. Rich Morin wrote: Thanks; that's useful information. Looking at .../cocoon-2.1.10/INSTALL.txt I see that Blocks provide services that you might not need, therefore the build system allows you to remove them from the build. This seems to imply that

Re: Building NekoHTML on Unix?

2007-04-08 Thread Ralph Goers
Also this page has some useful info on it for installing http://cocoon.apache.org/2.1/installing/index.html Rich Morin wrote: Thanks; that's useful information. Looking at .../cocoon-2.1.10/INSTALL.txt I see that Blocks provide services that you might not need, therefore the build

Re: How to get user id in 2.1.10 portal

2007-03-19 Thread Ralph Goers
Are you using the sample configuration or your own? I believe the samples don't use authentication-fw anymore. johnson wrote: HI! I've application in 2.1.10 portal, I can get the user id by flow in 2.1.7 with this code var contextMan =

Re: Which one to use Cocoon 2.1 or 2.2?

2007-01-05 Thread Ralph Goers
My 2 cents for what its worth. First, there has been no official 2.2 release. The milestone releases have been done so that everyone could try it out and report back problems. Although I've heard other committers are using 2.2 in production, I wouldn't recommend doing so as there are some

Re: how to load balance in a portal

2006-10-28 Thread Ralph Goers
I'm not sure this is the right list for your question as it is really about apache httpd. I can't really help you but I know our operations folks have configured our load balancer to use sticky sessions. Unfortunately, I don't know the details of how to do it though. 許議中 wrote: Hi! I want to

Re: how to load balance in a portal

2006-10-28 Thread Ralph Goers
Clustering can have negative performance implications. Also, some objects in Cocoon are not serializable and prevent clustering. Thomas Soddemann wrote: Hi 許議中, which application container are you using? Many application containers support clustering. With their clustering facility you can

Re: Intercepting exceptions in cocoon?

2006-10-26 Thread Ralph Goers
Have you looked at http://cocoon.apache.org/2.1/userdocs/concepts/errorhandling.html? Antony Grinyer wrote: Hi all, In version 1 of our application we returned exceptions wrapped in XML so we could pass the XML down the pipeline and handle the messages gracefully using XSLT. In version

Re: myfaces

2006-10-18 Thread Ralph Goers
Cocoon doesn't incorporate other people's stuff into its jars, so cocoon-faces-block.jar would not include myfaces. Roel Croonenberghs wrote: Hello, I'm want to use JSF in my cocoon app. therefore I put cocoon-faces-block.jar in my WEB-INF\lib directory. But i get errors when i want to

Re: Cannot get JSPReader/JSPGenerator to work

2006-10-08 Thread Ralph Goers
I can't help but ask. Why do you want to use JSPs? At best, Cocoon tolerates them. At worst, they simply don't work. IMO there are much better templating approaches around. Laurent Perez wrote: I'm using JSPs an Cocoon 2.2, but I still don't understand if I did the right integration :

Re: Cannot get JSPReader/JSPGenerator to work

2006-10-08 Thread Ralph Goers
I didn't mean to imply that you had to go with jxtemplate, flow, etc. But there are other templating technologies, such as velocity, that don't have the problem JSPs do. I once tried to get JSPs to work with Cocoon in WebLogic and found that it simply was not possible because of some of the

Re: [poll] Java 5 as minimum requirement for Cocoon 2.2

2006-08-17 Thread Ralph Goers
Reinhard Poetz wrote: Many thanks to everybody, who has participated so far, for your feedback. On [EMAIL PROTECTED] we voted about it and the voting proposal was rejected. The main reason is that large organizations (e.g. banks) are years behind in their usage of new JDK releases and that we

Re: Repost: Profiles in Portal, how?

2006-08-02 Thread Ralph Goers
Just replace the GroupBasedProfileManager with the AuthenticationProfileManager in cocoon.xconf [EMAIL PROTECTED] wrote: Hello Christian, I am facing the same issue like you right now, how can I switch back to the cocoon-authentication manager in order to get role-based profiles working in

Re: Cocoon Portal / Roles

2006-08-02 Thread Ralph Goers
Carsten's answer was incorrect. The default authentication manager is now the GroupBasedProfileManager. This first looks at the user, then the group and then the global definition. Roles aren't used at all here. Unfortunately, authenticate.xsl doesn't copy the group so in actuality you only

Re: Flow concurrency (was Re: Action Vs Logicsheet)

2006-08-01 Thread Ralph Goers
Torsten Curdt wrote: You're saying that flow calls in concurrently received requests within a session are processed serially, not in parallel threads? Is that right? That's pretty much it in a nutshell, yes. wow... Not sure if that's really such a big thing (how many concurrent

Re: AW: AW: OutOfMemoryError

2006-07-11 Thread Ralph Goers
Christofer Dutz wrote: Hi Oleg Well exactly this is why I used JRockit, because I didn’t want to bother finding out how to tweak it ;) I know that the way the Garbagecollector works can be configured using command-line parameters, but I don’t know which ones and if they have the desired

Re: AW: AW: OutOfMemoryError

2006-07-11 Thread Ralph Goers
Dan Durkin wrote: Ralph, Can you elaborate on how you see that a given pool size is too low? Thanks, Dan This happened just last week. We were doing CPU profiling with YourKit and when I drilled down I saw the resource limiting pool was creating XML serializers. You would never see this

Re: Localization and caching SOLVED

2006-07-11 Thread Ralph Goers
Yves Zoundi wrote: Thanks again Ard and Bertrand.! Clearing the cache was the solution. Cocoon 2.1.9 does seem to be stable enough. I am having problems with dynamic errors when doing some xsl transformations. It doesn`t happen all the time but I can not put that into production.

Re: Kill the cache?

2006-07-06 Thread Ralph Goers
What do you mean it is caching other contexts? Do you mean that objects from other servlet contexts are being placed in the cache? Cocoon only caches its own content. Now I suppose it is possible that if you are using Hibernate or something else that also uses ehcache that the stuff they are

Re: Is use-store needed when using XSLTC ?

2006-07-03 Thread Ralph Goers
Cocoon Man wrote: Actually, what is not clear for me is the relation there is between the fact that an XSP is a Poolable component (which means there is a pool of XSPs stored somewhere by Cocoon) and the fact that XSP are stored by Transient-store. I don't understand why I have to set some

Re: Cocoon 500 error after installation

2006-06-21 Thread Ralph Goers
It sounds like you don't have read permission on the cocoon settings or they are missing. Try this. 1. From the command line type export JAVA_OPTS=-Dorg.apache.cocoon.settings=cocoon.properties 2. Copy the cocoon.properties file from cocoon's root directory (the same directory where

Re: Sitemap problem with 2.1.7

2006-06-15 Thread Ralph Goers
Martin Holmes wrote: Hi there, I'm moving a project from an old version of Cocoon to Cocoon 2.1.7, and I've hit a very odd sitemap problem. The root sitemap for Cocoon has this matcher: map:match pattern=**.css map:read mime-type=text/css src={1}.css/ /map:match My project resides in a

Re: Cocoon 2.1.8 performance - server configuration and cocoon configuration

2006-06-03 Thread Ralph Goers
Not without more details. I would suggest you get YourKit or some other profiler and see what is going on. Ralph Jonas Lundberg wrote: Does no one have advice on how to get Cocoon to run faster / use less resources? Regards Hans On 5/31/06, Jonas Lundberg [EMAIL PROTECTED] wrote: I have

Re: cocoon actions implements threadsafe

2006-06-02 Thread Ralph Goers
It is interesting that you say that they are using threadsafe and then show an example that says SingleThreaded. These are not the same thing. Look at http://excalibur.apache.org/developing/framework.html. Actions only have a single act method so in most cases they should be able to

Re: cocoon actions implements threadsafe

2006-06-02 Thread Ralph Goers
Why would an action be pooled? Actions should, if at all possible, be ThreadSafe. In this case there will only be one instance of the Action and multiple threads can execute it concurrently. Since actions generally only have one method this should be easy to achieve. Joerg Heinicke wrote:

Re: Changing log level at runtime

2006-05-29 Thread Ralph Goers
The solution that Cocoon provides is that it uses the Avalon logger interface. You can then provide any logging framework you want by providing an implementation of that interface that hooks into your desired logging framework. Cocoon provides implementations for a couple of frameworks. We

Re: Access settings from Flow and JXTemplates

2006-05-26 Thread Ralph Goers
Take a look at Cocoon.java or in TreeProcessor.java. A Settings object is obtained via SettingsHelper.getSettings(context). The Settings object is then passed to the PropertyAwareSAXConfigurationHandler which is in turn passed to the SAXParser. So basically, if you have a Context you can

Re: Accessing Global Variables As External File

2006-05-24 Thread Ralph Goers
The latest version of Cocoon lets you use property files. You can define your global variables but make their values be ${varname}. Then define the variable in your property file and Cocoon will substitute it. Ralph Stewart, Gary wrote: Hi there, I was wondering if it was possible to

Re: cocoon

2006-05-03 Thread Ralph Goers
What tools do you have to work with? You really should analyze your app under simulated load with YourKit or some other profiler. If you can't do that, I found just forcing thread dumps periodically to be of considerable value. Doug Herold wrote: System information *Servlet

Re: XMLFileModule reload bug?

2006-04-26 Thread Ralph Goers
I'm in the process of (slowly) creating an alternate version of XMLFileModule. Unfortunately, I can't promise a delivery date at this time. See http://issues.apache.org/jira/browse/COCOON-1574 Ralph Baller, Heiko wrote: Hello, I'm having difficulties to get the XMLFileModule to work

Re: encodeURLTransformer not working in cocoon 2.1.9?

2006-04-16 Thread Ralph Goers
Ralph Goers wrote: I just spoke with my colleague, Erron. After reading your message he tested our application and isn't having problems with any URLs benig generated by the portal using the 1.4 encodeURLTransformer. Can you point to a specific sample or use case I should test? Ralph Ralph

Re: encodeURLTransformer not working in cocoon 2.1.9?

2006-04-16 Thread Ralph Goers
I looked at the Java api again and changed the code to use the lookingAt method instead of matches, so the .* is no longer needed at the end of each pattern. Ralph Ralph Goers wrote: I ran your test and verified that it fails. I can see under the debugger that the regular expression

Re: Return Error Code Based on Pipeline Content

2006-04-13 Thread Ralph Goers
I seem to recall you need to do: map:selector name=exception src=org.apache.cocoon.selection.ExceptionSelector exception name=process class=org.apache.cocoon.ProcessingException unroll=true/ exception name=e501 class=com.dotech.util.StatusCode501Exception/ exception name=runtime

Re: encodeURLTransformer not working in cocoon 2.1.9?

2006-04-12 Thread Ralph Goers
It is possible that that could be the problem. I thought I tested that before committing it but I'll test it again as soon as I can (it may be a couple of days though as I just got back from a week's vacation). Ralph Ralph Rauscher wrote: Hello, I'm having problems porting my existing web

Re: encodeURLTransformer not working in cocoon 2.1.9?

2006-04-12 Thread Ralph Goers
I just spoke with my colleague, Erron. After reading your message he tested our application and isn't having problems with any URLs benig generated by the portal using the 1.4 encodeURLTransformer. Can you point to a specific sample or use case I should test? Ralph Ralph Goers wrote

Re: roles in sitemap?

2006-03-22 Thread Ralph Goers
[EMAIL PROTECTED] wrote: There’s no built-in support to act based on authentication roles in the sitemap? No, but it is very easy to add. First, you have to get the user's roles during authentication from whatever authentication and authorization component you are using and save them in the

Re: Is Cocoon the right choice?

2006-03-13 Thread Ralph Goers
Reinhard Poetz wrote: What you're asking for is a long-time no-no of Cocoon which we call dynamic pipelines. Currently there is no pipeline implementation that would allow this. I hesitate to mention this, but this isn't strictly true. We are currenly using the XMLInputModule to

Re: Is Cocoon the right choice?

2006-03-13 Thread Ralph Goers
http://issues.apache.org/jira/browse/COCOON-1574?page=all. Ralph Kamal Bhatt wrote: Ralph Goers wrote: Reinhard Poetz wrote: What you're asking for is a long-time no-no of Cocoon which we call dynamic pipelines. Currently there is no pipeline implementation that would allow this. I

Re: AW: Memoryleaks in Cocoon 2.1.7?

2006-03-10 Thread Ralph Goers
Were you using Java 5? Christofer Dutz wrote: Well it seems that I was able to get rid of the nasty memory leaks. The problem is, that they weren't real memory leaks after all. I noticed that if I pressed the GC button in the JConsole tool, that all unnecessary Memory was freed. As far as

Re: Scaling Cocoon to handle a heavy load

2006-03-01 Thread Ralph Goers
I'm not sure about your problem since it doesn't mention Cocoon, but I'm wondering what version of Cocoon is being used. This sounds like problems with Jisp. That was solved by moving to ehCache. Tomasz Nowak wrote: David Bishop [EMAIL PROTECTED] wrote: Hello, I am hosting a website for

Re: Scaling Cocoon to handle a heavy load

2006-03-01 Thread Ralph Goers
Tomasz Nowak wrote: Please read again the whole thread, also the fork of it. Tomcat 5.5.15, 1024m heap, 256m perm, 8 vhost, 8 webapps, each webapp is Cocoon 2.1.7, the only blocks: databases, xsp, mail, lucene. No advanced xsp's. Lucene not used. Total load 20-30 concurrent req. And these

Re: Scaling Cocoon to handle a heavy load

2006-03-01 Thread Ralph Goers
I had problems in production recently. When it hangs get a JVM stack trace. You may find that you have lock contention or something else that will readily show up. Ralph Tomasz Nowak wrote: Ralph Goers [EMAIL PROTECTED] wrote: The version I am running in production is slightly older

Re: Cocoon as a portlet

2006-02-22 Thread Ralph Goers
You should be able to use Cocoon's ManagedCocoonPortlet to accomplish that. Frank Taffelt wrote: Hi, i'm wondering if it's possible that cocoon is able to run as a jsr168 portlet in a portal container like pluto or others? Thanks, Frank

Re: cocoon 2.1.8 - portal framework - getting startet with it

2006-02-21 Thread Ralph Goers
What kind of portlets? Cocoon supports JSR-168, WSRP as well as Cocoon portlets (essentially, cocoon pipelines that are rendered as portlets). The best way to learn about Cocoon is to look at the portal sample site. The minimum steps to add your own portlet depend on what kind it is. JSR-168

Re: conversion error in cocoon-2.1.7 V3 API

2006-02-20 Thread Ralph Goers
I can't tell you what the problem is, however the v2 and v3 apis have been removed in preparation for release 2.1.9 at which time CForms will be marked stable. [EMAIL PROTECTED] wrote: Hi, I'm getting following exception in cocoon-2.1.7 . Cannot convert [EMAIL PROTECTED]

Re: a suprise problem

2006-02-13 Thread Ralph Goers
Message- From: Ralph Goers [mailto:[EMAIL PROTECTED]] Sent: Friday, February 10, 2006 8:56 AM To: users@cocoon.apache.org Subject: Re: a suprise problem What problems did you see? Did you open a Jira incident? Schultz, Gary - COMM wrote: What version of OS and Java? I've had problems

Re: Cocoon Portal and browser back button problems

2006-02-10 Thread Ralph Goers
Any page that has event ids in the url will potentially have problems with the back button. We have been changing the events where this happens but the work is not complete. What are the event ids you are seeing for? Angelo Immediata wrote: Hi all. I'm using Cocoon 2.1.7 and it's portal

Re: a suprise problem

2006-02-10 Thread Ralph Goers
What problems did you see? Did you open a Jira incident? Schultz, Gary - COMM wrote: What version of OS and Java? I've had problems with Cocoon 2.1.8 and Java 5 (j2sdk 1.5.0_05 in my situation) in Windows 2000 Server and 2003 Server. I had to revert back to Java 1.4.2_xx (I'm running

Re: JavaScript continuations help

2006-01-28 Thread Ralph Goers
Ummm. This feature IS available in Java. Look at the javaflow block. Duncan McGregor wrote: Hi, hoping someone can help. I'm running a session at www.spaconference.org on scripting in Java applications. I'm using Cocoon as an example of using a scripting language to provide a feature

Re: Scaling Cocoon to handle a heavy load

2006-01-26 Thread Ralph Goers
We are running Cocoon getting 1-2 hits per second 24 hours a day. Our system was completely misconfigured and it was still able to handle the load. However, we don't use XSPs. 1. Check the pool sizes of all the poolable components used in your sitemaps. Add them up to get a per-request

Re: How can I empty the cache?

2006-01-25 Thread Ralph Goers
Yes, I read the other post. Clearing the cache in that manner doesn't sound like a very good idea. I'm just trying to figure out what is going on. I assume your generator is a cacheable processing component? If so, it has a Validity associated with it. It sounds like the Validity is

Re: Questions about Cocoon and the Portlet API

2006-01-24 Thread Ralph Goers
Yes, Cocoon can be a portlet container. Yes, CocoonPortlet allows you to use Cocoon in some other portal. You do not need CocoonPortlet to use Cocoon pipelines within the portal. HTH Ralph Goetzmann Bertrand said: Hi, I have simple questions about relation between Cocoon and the portlet

RE: Sitemap/Input Module i18n guru req.

2006-01-23 Thread Ralph Goers
' but I'll investigate that once I have more time. I really appreciate the time you have taken to help. Regards Rob -Original Message- From: Ralph Goers [mailto:[EMAIL PROTECTED] Sent: 23 January 2006 00:09 To: users@cocoon.apache.org Subject: Re: Sitemap/Input Module i18n guru req

Re: profile based website / portal

2006-01-23 Thread Ralph Goers
What Cocoon version? christian bindeballe wrote: At the moment I have a global profile in each of those folders (portal.xml) and also an additional portal-role-admin.xml. However, if I log on with a user (e.g. the sample-portal user cocoon) that has admin privileges (it's role is admin), the

Re: Sitemap/Input Module i18n guru req.

2006-01-23 Thread Ralph Goers
Yes. The locations only specify a path to the files. The file is actually located during the request using the location along with the names as you show them below. Rob Gregory wrote: A side question on your original comments Ralph. Does the solution provided below still support the

Re: Sitemap/Input Module i18n guru req.

2006-01-23 Thread Ralph Goers
No, there is currently no way to resolve the locations during setup short of modifying the code. And I will have to check the code to make sure that the technique I am using still works with the current code base. The risk is that the systemid needs to be retrieved on every request for the

Re: Sitemap/Input Module i18n guru req.

2006-01-22 Thread Ralph Goers
You can use input modules in your locations, but they won't work the way you want. The locations are resolved in when the transformer is configured, not in its setup method, so only values that can be resolved at that time can be used. However, I acheive a similar effect by using

Re: Sitemap/Input Module i18n guru req.

2006-01-22 Thread Ralph Goers
In our environment we have a default catalog and then each bank can provide just the definitions for the keys they want to override. In order for this to work the bank name must be resolved at each request. I assume you are trying to do something similar. If you look in cocoon.xconf you

Re: How to find package org.apache.cocoon.components.jms and other packages?

2006-01-14 Thread Ralph Goers
The easy way is to use IntelliJ Idea and the hit CTRL-N... Cocoon is organized into a core and a bunch of blocks. They all use more or less the same directory structure. So the org.apache.cocoon.components package will probably appear in most every pack. In this case, the fact that you are

Re: Increasing Cocoon Portal speed

2006-01-09 Thread Ralph Goers
Use the latest portal code in 2.1. A fix to the Castor mapping file was checked in which makes using Castor faster than the patch you are trying to use. Angelo Immediata wrote: Hi all. I have tried to use the class MapProfileLS.java that has been modified for caching portal layout but i

Re: cocoon portal framework

2005-12-29 Thread Ralph Goers
Thanks, Can you find a place to put this on the wiki so we can remember to update the documentation? Thanks Christian Bindeballe wrote: Christian Bindeballe schrieb: hello, can someone please point out to me where I need to change configurations in order to put the sample portal to work

Re: cinclude, include and xinclude in Cocoon 2.1.8 - includes wor k

2005-12-12 Thread Ralph Goers
Schultz, Gary - COMM wrote: Is there any advantage to running Cocoon under JDK 1.5 and Tomcat 5.5.x? If not I will continue to use JDK 1.4 and Tomcat 5.0.x as I see more of an advantage to our agency to running Cocoon 2.1.8 versus running JDK 1.5 or Tomcat 5.5.x. I've heard antecdotal

Re: cinclude, include and xinclude in Cocoon 2.1.8

2005-12-08 Thread Ralph Goers
Did you search the mailing list for similar issues. I seem to recollect that the namespace is different so your cinclude might be ignored. But I could be wrong. Schultz, Gary - COMM wrote: The following code snippet worked in Cocoon 2.1.5.1 but isn't working in Cocoon 2.1.8 map:match

Re: Antennahouse XSL Formatter Serializer

2005-11-30 Thread Ralph Goers
What are the licenses for any third party packages? Michael Wirz wrote: Thank you for your interest, I'd really like to contribute. In fact, it is just one source file -- i embedded a more generic helper class (doing some asynchronuous input/output stream stuff) as an inner class to keep

Re: Sitemap include

2005-11-30 Thread Ralph Goers
You should take a look at the 2.2 version of Cocoon (i.e. - trunk). The samples show including the component section. However, I don't know if pipelines can be included. Irv Salisbury wrote: I have two sitemaps that have some similar map:match and subsequent pipeline processing elements.

Re: Handling configuration files during cocoon update

2005-11-28 Thread Ralph Goers
Derek Hohls wrote: Sorry if I misunderstood - the previous post suggested that it was good practice to integrate your changes as part of the build process, rather than making them manually - and directly - to the files after building Cocoon. There are two schools of thought. Some folks

Re: Portal : Disabling the fullscreen-buttons on portlets

2005-11-28 Thread Ralph Goers
First, if you don't include the full-screen aspect then none of your portlets will have fullscreen events. Second, you can add parameters to the layout for the specific portlets. You can then modify the appropriate xslt's to generate or not generate the full-screen buttons based upon the

Re: Handling configuration files during cocoon update

2005-11-27 Thread Ralph Goers
You only need to rebuild Cocoon if you have integrated your product into its build. If you use the process described at http://wiki.apache.org/cocoon/HowToBuildAndDeployCocoonWithMaven?highlight=%28maven%29 then you only need to rebuild Cocoon when you want to upgrade it. To integrate changes

Re: Handling configuration files during cocoon update

2005-11-26 Thread Ralph Goers
This is probably a good time to point out one of the features of 2.2. You no longer need to use XConfToolTask. Instead, you can place your xconf files into a directory where they are automatically included. Also, you can place the component section of the sitemap in an xconf file and

Re: cocoon dependencies (was 'Distributing stand alone Cocoon apps')

2005-11-23 Thread Ralph Goers
Derek Hohls wrote: and 2c from the sideline: If the creator of Cocoon struggles to bring Cocoon down to size, how simple is it going to be for us unwashed masses...?! or is his plea for a cleaner, simpler build going to be taken up by someone who really knows what they are doing. There

Re: Sending html messages with pdf attachments using sendMail action

2005-11-22 Thread Ralph Goers
First, read http://cocoon.apache.org/community/contrib.html. Unfortunately, this still references bugzilla which the project no longer uses. Instead, go to http://issues.apache.org/jira/browse/COCOON and create a new issue. You will probably need to create an account in Jira before you can

  1   2   3   4   5   >