You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo Rivera <ag...@agsoftware.dnsalias.com> on 2002/10/23 06:23:12 UTC

[ANN] - The pros and cons of business-app implemention via open-source software

I found this:

http://www.linuxworld.com/site-stories/2002/1018.cocoon.html

Antonio Gallardo

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Current 2.1-dev CVS build

Posted by Mark Eggers <it...@yahoo.com>.
Sorry, that's one of the variables I didn't list in my
installation:

%TOMCAT_HOME% = C:\Tomcat

/mde/

just my two cents . . . .

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Current 2.1-dev CVS build

Posted by Richard Reyes <se...@hotmail.com>.
try reinstalling your tomcat and make sure that there are no spaces.

like: c:\program files\apache group\tomcat\4.1

change to

c:\apachegroup\tomcat\4.1...


----- Original Message -----
From: "Mark Eggers" <it...@yahoo.com>
To: <co...@xml.apache.org>
Sent: Wednesday, October 30, 2002 6:04 AM
Subject: Current 2.1-dev CVS build


> Folks,
>
> Environment:
> ===========
> Windows/2000 Professional with all relevant patches
> IIS 5 with all relevant patches
> JDK 1.3.1_04
> Tomcat 4.1.14 running as a service
> mod_jk 1.2 (isapi_redirector.dll)
>
> Jetspeed current CVS (as of 0900 PST 10/01/02)
> Cocoon 2.1-dev current CVS (as of 01000 PDST 10/29/02)
>
> What works
> ==========
>
> http://localhost:8080/
> http://localhost/Tomcat/
>
> http://localhost:8080/jetspeed/
> http://localhost/jetspeed/
>
> http://localhost:8080/cocoon/documents/index.html
> http://localhost/cocoon/documents/index.html
>
> What fails
> ==========
>
> All examples fail with the following:
>
> java.lang.NoClassDefFoundError:
> org/apache/regexp/RESyntaxException
> at
> org.apache.xalan.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1263)
> at
> org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:908)
> at
>
org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:447)
> at
> org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:548)
> at
>
org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.getTemplates(TemplatesHandl
erImpl.java:167)
> at
>
org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandler
AndValidity(XSLTProcessorImpl.java:224)
> at
> org.apache.cocoon.transformation.TraxTransformer.setup(Unknown
> Source)
> at
>
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeli
ne(Unknown
> Source)
> at
>
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline
.setupPipeline(Unknown
> Source)
> at
>
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Unk
nown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Unkn
own
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unkno
wn
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unkn
own
> Source)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
> Source)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok
e(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unkno
wn
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo
keNodes(Unknown
> Source)
> at
>
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unkn
own
> Source)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
> Source)
> at
> org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
> Source)
> at org.apache.cocoon.Cocoon.process(Unknown Source)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(Unknown
> Source)
>
> This says that RESyntaxException.class is not found in
> the Apache regular expression jar file.  However, in
> cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar, the
> following is listed:
>
> jar tf jakarta-regexp-1.2.jar
> META-INF/
> META-INF/MANIFEST.MF
> org/
> org/apache/
> org/apache/regexp/
> org/apache/regexp/ReaderCharacterIterator.class
> org/apache/regexp/REUtil.class
> org/apache/regexp/RESyntaxException.class
> org/apache/regexp/REDebugCompiler.class
> org/apache/regexp/RETest.class
> org/apache/regexp/StreamCharacterIterator.class
> org/apache/regexp/REProgram.class
> org/apache/regexp/StringCharacterIterator.class
> org/apache/regexp/RE.class
> org/apache/regexp/RECompiler.class
> org/apache/regexp/RECompiler$RERange.class
> org/apache/regexp/recompile.class
> org/apache/regexp/REDemo.class
> org/apache/regexp/REDemo$1.class
> org/apache/regexp/CharacterIterator.class
> org/apache/regexp/CharacterArrayCharacterIterator.class
>
> This shows that the class is in the expected jar file.
>
> The build command for cocoon 2.1-dev was:
>
> build -Dinclude.webapp.libs=yes
>       -Dinclude.scratchpad.libs=yes
>       -Dinstall.war=%TOMCAT_HOME%\webapps webapp
>
> I'm going to do some digging into the construction of
> the war package, but any thoughts would be
> appreciated.
>
> Building from CVS worked as late as 10/21/02, which is
> the last time I rebuilt Cocoon 2.1-dev.
>
> Thanks in advance - /mde/
>
> just my two cents . . . .
>
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Current 2.1-dev CVS build

Posted by Mark Eggers <it...@yahoo.com>.
Folks,

Environment:
===========
Windows/2000 Professional with all relevant patches
IIS 5 with all relevant patches
JDK 1.3.1_04
Tomcat 4.1.14 running as a service
mod_jk 1.2 (isapi_redirector.dll)

Jetspeed current CVS (as of 0900 PST 10/01/02)
Cocoon 2.1-dev current CVS (as of 01000 PDST 10/29/02)

What works
==========

http://localhost:8080/
http://localhost/Tomcat/

http://localhost:8080/jetspeed/
http://localhost/jetspeed/

http://localhost:8080/cocoon/documents/index.html
http://localhost/cocoon/documents/index.html

What fails
==========

All examples fail with the following:

java.lang.NoClassDefFoundError:
org/apache/regexp/RESyntaxException
	at
org.apache.xalan.xsltc.compiler.Mode.peepHoleOptimization(Mode.java:1263)
	at
org.apache.xalan.xsltc.compiler.Mode.compileApplyTemplates(Mode.java:908)
	at
org.apache.xalan.xsltc.compiler.Stylesheet.compileModes(Stylesheet.java:447)
	at
org.apache.xalan.xsltc.compiler.Stylesheet.translate(Stylesheet.java:548)
	at
org.apache.xalan.xsltc.trax.TemplatesHandlerImpl.getTemplates(TemplatesHandlerImpl.java:167)
	at
org.apache.avalon.excalibur.xml.xslt.XSLTProcessorImpl.getTransformerHandlerAndValidity(XSLTProcessorImpl.java:224)
	at
org.apache.cocoon.transformation.TraxTransformer.setup(Unknown
Source)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(Unknown
Source)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(Unknown
Source)
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
Source)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(Unknown
Source)
	at org.apache.cocoon.Cocoon.process(Unknown Source)
	at
org.apache.cocoon.servlet.CocoonServlet.service(Unknown
Source)

This says that RESyntaxException.class is not found in
the Apache regular expression jar file.  However, in
cocoon\WEB-INF\lib\jakarta-regexp-1.2.jar, the
following is listed:

jar tf jakarta-regexp-1.2.jar
META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/apache/regexp/
org/apache/regexp/ReaderCharacterIterator.class
org/apache/regexp/REUtil.class
org/apache/regexp/RESyntaxException.class
org/apache/regexp/REDebugCompiler.class
org/apache/regexp/RETest.class
org/apache/regexp/StreamCharacterIterator.class
org/apache/regexp/REProgram.class
org/apache/regexp/StringCharacterIterator.class
org/apache/regexp/RE.class
org/apache/regexp/RECompiler.class
org/apache/regexp/RECompiler$RERange.class
org/apache/regexp/recompile.class
org/apache/regexp/REDemo.class
org/apache/regexp/REDemo$1.class
org/apache/regexp/CharacterIterator.class
org/apache/regexp/CharacterArrayCharacterIterator.class

This shows that the class is in the expected jar file.

The build command for cocoon 2.1-dev was:

build -Dinclude.webapp.libs=yes
      -Dinclude.scratchpad.libs=yes
      -Dinstall.war=%TOMCAT_HOME%\webapps webapp

I'm going to do some digging into the construction of
the war package, but any thoughts would be
appreciated.

Building from CVS worked as late as 10/21/02, which is
the last time I rebuilt Cocoon 2.1-dev.

Thanks in advance - /mde/

just my two cents . . . .

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x

Posted by Mark Eggers <it...@yahoo.com>.
Thanks,

I need to sit down and read the Java API (again).

--- Lajos Moczar <lm...@galatea.com> wrote:
> I just changed the relevant line to:
> 
> fos = new FileOutputStream(file.getCanonicalPath(),
> append);
> 
> Regards,

/mde/

just my two cents . . . .

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x

Posted by Lajos Moczar <lm...@galatea.com>.
I just changed the relevant line to:

fos = new FileOutputStream(file.getCanonicalPath(), append);

Regards,

Lajos


Mark Eggers wrote:
> While trying to compile the lastest CVS version of
> cocoon, I ran into an issue with the scratchpad
> libraries:
> 
> In part, from the file DelayedFileOutputStream.java:
> 
> public void setFileOutputStream(File file, boolean
> append) throws FileNotFoundException {
>         if (fos == null) {
>             fos = new FileOutputStream(file, append);
> 
> The form of FileOutputStream constructor used is new
> in 1.4.  This will no longer compile in 1.3.x.
> 
> /mde/
> 
> just my two cents . . . .
> 
> __________________________________________________
> Do you Yahoo!?
> HotJobs - Search new jobs daily now
> http://hotjobs.yahoo.com/
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 
> 


-- 
galatea.com
Cocoon training, consulting & support


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Latest Cocoon 2.1-dev scratchpad appears to depend on j2sdk 1.4.x

Posted by Mark Eggers <it...@yahoo.com>.
While trying to compile the lastest CVS version of
cocoon, I ran into an issue with the scratchpad
libraries:

In part, from the file DelayedFileOutputStream.java:

public void setFileOutputStream(File file, boolean
append) throws FileNotFoundException {
        if (fos == null) {
            fos = new FileOutputStream(file, append);

The form of FileOutputStream constructor used is new
in 1.4.  This will no longer compile in 1.3.x.

/mde/

just my two cents . . . .

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Current 2.1-dev CVS build

Posted by Mark Eggers <it...@yahoo.com>.
I re-installed the production version (2.0.3) from
source into the same environment, and that version
works fine.

Unfortunately, I have grown accustomed to XML Forms .
. .

In addition to jakarta-regexp-1.2.jar being present in
cocoon/WEB-INF/lib, it is also present in the commons
area for Tomcat.  If I remember correctly, those jar
files are then available to all contexts.

There is a possibility that the version of xalan in
the CVS repository is having trouble.  I'll
investigate that next.

Meanwhile, if anyone has a clue as to what's going on,
I would greatly appreciate it.

Thanks in advance - /mde/

just my two cents . . . .

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>