Reinhard Poetz | 1 Nov 02:33
Picon
Favicon

Re: [zone] help with crontab

Bertrand Delacretaz wrote:
> On 10/31/06, Reinhard Poetz <reinhard <at> apache.org> wrote:
> 
>> ...I entered
>>
>> 0 1,5,9,13,17,21 * * * /home/maven/continuum-project-builder/run.sh >
>> /home/maven/cron.log
> 
> Isn't that missing a field? You should have 5 values or stars, with
> hours in second position:
> 
> * 0 1,5,9,13,17,21 * * *
> 
> And this should work as well:
> 
> * */4 * * *
> 
> You might also want to add 2>&1 at the end of your command, so that
> standard error also goes to your log file, otherwise it would be sent
> by mail to the user, if there's anything written to it.

I've applied your suggestions, thanks!

--

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------
(Continue reading)

Jason Dillon | 1 Nov 07:04
Gravatar

Problem with latest 4.1 SNAPSHOT when broker name is set

Folks, there is a problem with the latest 4.1 SNAPSHOT when a broker  
name is set.  It causes 2 brokers to be created... and I think it is  
because of the newly added CommandAgent service which is added to the  
brokers default services when started.  It is using vm://localhost,  
which appears to be creating a new Broker using the name "localhost"  
when the broker it is attached to has a different name.

For example:

<snip>
BrokerService broker = new BrokerService();
broker.setBrokerName("foo");
broker.start();
</snip>

Will end up creating a broker name "foo" and then another named  
"localhost".

Where, this will create one broker, named "localhost":

<snip>
BrokerService broker = new BrokerService();
broker.start();
</snip>

I'm not really sure how vm://* works with respect to broker names...  
so I can not say for sure what the fix is, or why this is happening.   
But I can say for sure that the above snips create 2 and 1 brokers  
respectively.

(Continue reading)

Jorg Heymans | 1 Nov 10:43
Picon
Favicon

Re: building

Torsten Curdt wrote:
> seems to get me further ...but obviously now our xreporter and daisy
> deps are gone.

this not so obvious as you might think :)

I've readded xreporter-expression-r683 to the m1-snapshot-repository. It 
got lost during The Great Disk Crash of last week.

As for daisy-util and daisy-htmlcleaner, they have been on maven central 
for quite a while now (http://repo1.maven.org/maven2/org/outerj/daisy/). 
  Maven should have no problems finding these.

@outerthought: how about a new official release of xreporter-expression?

HTH
Jorg

Picon

[continuum] BUILD SUCCESSFUL: Apples Block Implementation

Online report : http://cocoon.zones.apache.org:12000/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/7/buildId/369
Build statistics:
  State: Ok
  Previous State: Error
  Started at: Wed, 1 Nov 2006 09:50:00 +0000
  Finished at: Wed, 1 Nov 2006 09:50:19 +0000
  Total time: 19s
  Build Trigger: Forced
  Exit code: 0
  Building machine hostname: cocoon.zones.apache.org
  Operating system : SunOS(unknown)
  Java version : 1.4.2_06(Sun Microsystems Inc.)

Changes
      No files changed

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Apples Block Implementation
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/maven/continuum-data/working-directory/7/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
Compiling 9 source files to /home/maven/continuum-data/working-directory/7/target/classes
(Continue reading)

Picon

[continuum] BUILD SUCCESSFUL: Ajax Block [modules]

Online report : http://cocoon.zones.apache.org:12000/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/3/buildId/370
Build statistics:
  State: Ok
  Previous State: Error
  Started at: Wed, 1 Nov 2006 09:50:37 +0000
  Finished at: Wed, 1 Nov 2006 09:50:44 +0000
  Total time: 6s
  Build Trigger: Forced
  Exit code: 0
  Building machine hostname: cocoon.zones.apache.org
  Operating system : SunOS(unknown)
  Java version : 1.4.2_06(Sun Microsystems Inc.)

Changes
      No files changed

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Ajax Block [modules]
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [site:attach-descriptor]
[INFO] [install:install]
[INFO] Installing /home/maven/continuum-data/working-directory/3/pom.xml to /home/maven/.m2/repository/org/apache/cocoon/cocoon-ajax/2-SNAPSHOT/cocoon-ajax-2-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
(Continue reading)

Picon

[continuum] BUILD SUCCESSFUL: Ajax Block Implementation

Online report : http://cocoon.zones.apache.org:12000/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/4/buildId/371
Build statistics:
  State: Ok
  Previous State: Error
  Started at: Wed, 1 Nov 2006 09:50:56 +0000
  Finished at: Wed, 1 Nov 2006 09:51:14 +0000
  Total time: 18s
  Build Trigger: Forced
  Exit code: 0
  Building machine hostname: cocoon.zones.apache.org
  Operating system : SunOS(unknown)
  Java version : 1.4.2_06(Sun Microsystems Inc.)

Changes
      No files changed

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Ajax Block Implementation
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/maven/continuum-data/working-directory/4/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
(Continue reading)

Picon

[continuum] BUILD SUCCESSFUL: Ajax Block Sample

Online report : http://cocoon.zones.apache.org:12000/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/5/buildId/372
Build statistics:
  State: Ok
  Previous State: Error
  Started at: Wed, 1 Nov 2006 09:51:26 +0000
  Finished at: Wed, 1 Nov 2006 09:51:31 +0000
  Total time: 5s
  Build Trigger: Forced
  Exit code: 0
  Building machine hostname: cocoon.zones.apache.org
  Operating system : SunOS(unknown)
  Java version : 1.4.2_06(Sun Microsystems Inc.)

Changes
      No files changed

****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building Ajax Block Sample
[INFO]    task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /home/maven/continuum-data/working-directory/5/target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] No sources to compile
(Continue reading)

Picon

Deployment Plan -geronimo-web.xml

Hi All

Now the  geronimo deployment plan for web application is ready for
users.Please find the location here with,
http://cwiki.apache.org/GMOxDOC11/geronimo-webxml.html

Through this documents I tried to achieve to provide an better
understanding to the user in different areas of deploying web
application in geronimo.But this is a very dynamic topic and there are
tons of work can be done to improve this.We have used open office draw
for certain images  to represent xml graphical representation.Because
I don't have proper licencing to used any other proprietary tool for
this.So I added just a one image under common references.If xml
graphical representation adds more meaningful to the doc we can follow
the same in the rest of the document.

Your comments ,thoughts and contributions are always welcome to make
this better.
Simultaneously I'm working in the other deployment plans as well.Those
will be separated documents per each and will follow the similar
approach for the content .

I would like to have your feed back as input to make the other
deployment plans better.Therefore  following documentations are
presently underconstruction and will be available soon for users.
openejb-jar.xml
geronimo-ra.xml
geronimo-application.xml
geronimo-application-client.xml

(Continue reading)

jira | 1 Nov 18:44
Picon
Favicon

[jira] Subscription: COCOON-open-with-patch

Issue Subscription
Filter: COCOON-open-with-patch (88 issues)
Subscriber: cocoon

Key         Summary
COCOON-1946 [PATCH] - Javaflow Sample errors trying to enhance Javaflow classes and showing cform templates
            http://issues.apache.org/jira/browse/COCOON-1946
COCOON-1933 [Patch] Automatic loading of flow scripts in "flow/" must not load directories
            http://issues.apache.org/jira/browse/COCOON-1933
COCOON-1932 [PATCH] correct styling of disabled suggestion lists
            http://issues.apache.org/jira/browse/COCOON-1932
COCOON-1929 [PATCH] Reloading classloader in Cocoon 2.2
            http://issues.apache.org/jira/browse/COCOON-1929
COCOON-1921 A bug in org.apache.cocoon.classloader.DefaultClassLoader
            http://issues.apache.org/jira/browse/COCOON-1921
COCOON-1917 Request Encoding problem: multipart/form vs. url encoded
            http://issues.apache.org/jira/browse/COCOON-1917
COCOON-1915 Nullable value with additional String or XMLizable in JavaSelectionList
            http://issues.apache.org/jira/browse/COCOON-1915
COCOON-1914 Text as XMLizable in EmptySelectionList
            http://issues.apache.org/jira/browse/COCOON-1914
COCOON-1899 [PATCH] Cocoon XML:DB Implementation should not depend on Xindice
            http://issues.apache.org/jira/browse/COCOON-1899
COCOON-1898 [PATCH] XPatch support for maven-cocoon-deployer-plugin
            http://issues.apache.org/jira/browse/COCOON-1898
COCOON-1893 XML-Binding: Problem creating a new element
            http://issues.apache.org/jira/browse/COCOON-1893
COCOON-1890 Provide a tool to update artifact versions within multiple POMs
            http://issues.apache.org/jira/browse/COCOON-1890
COCOON-1879 Make fd:field whitespace trimming behavior configurable
(Continue reading)

Performance with blocks protocol

Hi Daniel,

we are noticing that the blocks protocol is currently quite slow. We did 
not yet got a proper profiling setup, so I am asking if you know what 
the bottlenecks might be and how to resolve them.

One thing might be the logging of all requests and apart from commenting 
them out I did not manage to turn them off, since they use the 
servletcontext logger and I don't know how to configure that one 
specifically to be more silent.

And when using the blocks-protocol together with cforms in the 
"backend"-block, we quickly get java.lang.OutOfMemory errors (when 
opening or reloading a form about 10 times). It looks like some 
continuations are still open, but can it be that they are much larger in 
the blocks case? Or am I doing something terribly wrong? The 
continuation request is passed on to the super-block via an URI that 
contains all request params (via that InputModule I talked about) and 
then the continuation is called inside that block.

Alex

--

-- 
Alexander Klimetschek
http://www.mindquarry.com


Gmane