RE: CVS update

2003-06-05 Thread Mark Eggers
Geoff,

The CVS download appeared to be broken very early this
morning.  It would not build, and had at least one
undefined symbol error.

However, a fresh checkout at about 2:30 PM Pacific
Time seems to build properly.

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Problems with Cocoon 2.1 dev (CVS)

2003-03-24 Thread Mark Eggers
I did a build this morning using jdk1.4.1_02 on Win/2K
and everything worked fine.  I was able to drop the
resulting cocoon.war file into Tomcat 4.1.24 and run
many of the samples.

OK - as well as the CVS has been building since the
move to the new blocks format . . . . I still don't
get all of the samples copied in to the right spots
for the war file or webapp.  Noticably missing are the
script samples (javascript, python, php) even though I
have the appropriate jars in lib/optional and have
added them to my jars.xml file.

However, checking things out this evening produced a
new error.

It seems that concurrent-1.3.1.jar is now a core jar,
but it is not provided during CVS checkout.  Looking
at the jars.xml file, I found that you can download
the source from 

http://gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html

Since this is a core jar, the build failed.

I guess I'll try building that jar tomorrow, and then
building cocoon to see what happens.

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon.war file not getting generated for Cocoon-2.1 build...??

2003-03-17 Thread Mark Eggers
Gautam,

The build proceedure has been changed fairly recently.
 It's briefly documented in the INSTALL document that
is located in the root directory of the CVS checkout.

To build the war, type build war from the command
line.  All options (including webapp libs, scratchpad
libs, samples, documentation) are controlled by
build.properties and blocks.properties files.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Cocoon.war file not being created for Cocoon-2.1 dev

2003-03-16 Thread Mark Eggers
Gautam,

The build system has been changed recently.

To get the war file, run the following command:

build war

The build is now set up with blocks, so you can
include / exclude functionality a lot more easily. 
This also makes it easier to build cocoon without the
samples or documentation.

The full story is contained in the INSTALL file.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: minimalist

2003-02-19 Thread Mark Eggers
Here's the skeleton of a document I'm writing about a
procedure that worked for me.  I tried to pass all of
this information via the build scripts, but all I got
back was the prompt (and no build).  I ran everything
by using the Ant that comes with the CVS download of
Cocoon.

Since I currently only have a Win/2000 machine to work
on, the notes have a Windows flavor.  Do the normal
DOS-UNIX translation to get the UNIX version.

If you want to reduce the size of Cocoon, you'll want
to avoid adding -Dinclude.scratchpad.libs=yes as well
as adding the optional libs I put in on steps 2 and 3.

My purpose in putting this together was to build a
sandbox that I could use to experiment with various
Cocoon ideas and prototype applications.

Hopefully I'll get this entire thing written up, as
well as the appropriate 2.04 documentation sometime
soon.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
** Cocoon Sandbox

1.   Obtain latest version via CVS
2.   Put optional jars in lib/optional
 a)   commons-logging-1.0.jar (for POI)
  from http://jakarta.apache.org/commons/logging.html
 b)   mail.jar (for mail client)
  from http://sun.java.com/products/javamail/
 c)   phpsrvlt.jar (for php source)
  from http://www.php.net
3.   Put local jars in lib/local
 a)   activation.jar (for JavaBeans)
  from http://java.sun.com/products/javabeans/glasgow/jaf.html
 b)   jta.jar (for distributed transactions)
  from http://java.sun.com/products/jta/
 c)   xindice.jar (for xml database)
  from http://xml.apache.org/xindice/
4.   Edit lib/jars.xml to reference new jars in the lib/optional
 directory
5.   Edit properties.xml to turn off debugging and turn on
 optimization (optional).
6.   Make sure evironment variables are cleared.
 a)   SET CLASSPATH=
 b)   SET ANT_HOME=
7.   Set ANT_HOME to Cocoon's ant
 a)   SET ANT_HOME=tools
8.   Build Cocoon without samples, javadocs, and documentation.
 tools\bin\ant -Dcocoon.webapp.samples.include=false \
   -Dcocoon.webapp.documentation.include=false \
   -Dcocoon.webapp.javadocs.include=false \
   -Dinclude.webapp.libs=yes \
   -Dinclude.scratchpad.libs=yes \
   -Dinstall.war=%TOMCAT_HOME%\webapps \
   webapp
9.   Rename the resulting cocoon.war to capps.war (or another name)
10.  Drop capps.war into %TOMCAT_HOME%\webapps
11.  Delete all empty directories (optional)
12.  Modify sitemap.xmap to create a reasonable welcome file
13.  Change logging levels in logkit.xmap (optional)
14.  Change application description in web.xml (optional)


-
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]


Re: Cocoon 2-dev error

2003-02-05 Thread Mark Eggers
Just a thought . . . .

You did say -Dexclude.webapp.documentation=yes.

In the sitemap.xmap there is the following match:

map:match pattern=
  map:redirect-to uri=documents/index/
/map:match

And then the redirect actually generates the document
index.html.  Since you built without documentation,
you'll need to change it to reflect your setup.

You might make a dummy html file and use serialize, or
make an xml/xslt pair and transform it.

HTH

/mde/
just my two cents . . . .

--- Rice Yeh [EMAIL PROTECTED] wrote:
 Hi,
I checked out cocoon2 from cvs and build a webapp
 with the folloing command 
 
 .\build.bat -Dinclude.webapp.libs=yes
 -Dexclude.webapp.samples=yes

 -Dexclude.webapp.documenation=yes
 -Dexclude.webapp.javadocs=yes
 webapp
 
 I installed the web ap on tomcat 4.1.18 and access
 the firt page with url
http://localhost:8080/cocoon/,
 then the error responed as shown in the following, 
 what is wrong?
 
 type fatal

 request-uri
 
 /cocoon/documents/index.html


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Cocoon 2-dev build failure

2003-02-04 Thread Mark Eggers
I checked out the latest CVS HEAD at approximately
02/04/2003 01000 PST.  I got the following two
validate errors during the build.

[jing] Error at URL
file:/xml-cocoon2/src/blocks/chaperon/samples/stylesheets/class2html.xsl,
   line number 372, column number 69:
   element value-of from namespace
   http://www.w3.org/1999/XSL/Transform;
   not allowed in this context
[jing] Error at URL
file:/xml-cocoon2/src/blocks/chaperon/samples/stylesheets/java2html.xsl,
   line number 493, column number 43: element
   value-of from namespace
http://www.w3.org/1999/XSL/Transform;
not allowed in this context

I can work around this by setting

validate config=false xdocs=true /

in properties.xml.  I'll try to take a look at the
stylesheets in question to see what is really wrong.

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Building Cocoon 2.1-dev

2003-02-03 Thread Mark Eggers
I just built CVS HEAD yesterday afternoon.  There are
some problems with sitemap validation, so you will
have to turn that off (validatefalse/validate) in
properties.xml.

One of the things I have to remember is to clear my
custom CLASSPATH variable before I start the build
process.

To build, I do the following:

set CLASSPATH=

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

I've also picked up the extra jars for mail, jta,
xindice, and logging to enable those optional
components.  One of these days I'll pick up the php
servlet jar and see if I can't get that to compile as
well.

HTH

/mde/
just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: [SVG] Transparent background of generated PNG

2003-01-27 Thread Mark Eggers
Yes, this is a browser-specific problem.

For a review on this, please see the following links:

http://webfx.eae.net/dhtml/pngbehavior/pngbehavior.html

http://msdn.microsoft.com/library/default.asp?url=/workshop/author/filter/reference/filters/AlphaImageLoader.asp

Welcome to the Microsoft-specific way of doing things.

/mde/
just my two cents . . . .

--- Martin_Lüthi [EMAIL PROTECTED] wrote:
 Hi
 
 I generate a SVG and serialize it as PNG with
 transparent background. 
 In Mozilla and Konqueror everything looks fine (also
 an Windows), but in IE
 5.0 the background of the PNG is white. Is this a
 browser-specific problem?
 Who can point me to a workaround?
 
 My SVG generating code reads (opacity should be the
 transparency of the
 background):
 
   xsl:template match=/
 svg width=11 height=9 style=opacity:1.0
   circle cx=5 cy=5 r=3.5
 style=fill:red/
 /svg
   /xsl:template
 
 The sitemap entry is:
 
   map:match pattern=**dot*.png
 map:generate src=docs/empty.xml/
 map:transform
 src=stylesheets/page/live/svg/dots.xsl/
 map:serialize type=svg2png/
   /map:match
 
 Any help is welcome!
 
 Best, Martin
 
 -- 
 Martin Lüthi [EMAIL PROTECTED]
 
 
 

-
 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:
 [EMAIL PROTECTED]
 For additional commands, e-mail:  
 [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




sunspot portal

2002-12-14 Thread Mark Eggers
I have a version from CVS that is several weeks old,
but the link is there:

http://localhost/cocoon/samples/portal-fw/sunspotdemoportal

Am I missing something?

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: [SUMMARY] Complicated setup

2002-12-05 Thread Mark Eggers
Folks, I added the following information to the Wikki
pages.

There are some binaries available, as well as source
packages for the various Tomcat connectors. The
connectors are now in their own project, called
jakarta-tomcat-connectors. Unfortunately there is no
home page within jakarta.apache.org that I can find,
and the online documentation does not point you to the
connector download area.

All of the connectors can be found under the following
general location:

http://jakarta.apache.org/builds/jakarta-tomcat-connectors

Explore under this directory for the latest binaries
and source packages for all of the connectors.

I hope this helps.

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: Build Fail ?

2002-11-06 Thread Mark Eggers
Yes.

This is a new constructor in j2sdk 1.4.x.  While you
can craft around it, the easiest is to upgrade to
j2sdk 1.4.x.

/mde/

just my two cents . . . .

--- sandhu@terra-firma [EMAIL PROTECTED]
wrote:
 Anyone experiencing same ?
 
 Since yesterday's CVS , building as thus :
 
 build.bat -Dinclude.webapp.libs=yes
 -Dinclude.scratchpad.libs=yes webapp
 
 I get this :
 
 [javac] Compiling 110 source files to
 C:\xml-cocoon2\build\cocoon\scratchpad
 \classes
 [javac]

C:\xml-cocoon2\build\cocoon\scratchpad\src\org\apache\cocoon\ant\Del
 ayedFileOutputStream.java:105: cannot resolve symbol
 [javac] symbol  : constructor FileOutputStream 
 (java.io.File,boolean)
 [javac] location: class java.io.FileOutputStream
 [javac] fos = new
 FileOutputStream(file, append);
 [javac]   ^
 [javac] Note: Some input files use or override a
 deprecated API.


__
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




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

2002-11-04 Thread Mark Eggers
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




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

2002-11-04 Thread Mark Eggers
Thanks,

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

--- Lajos Moczar [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Current 2.1-dev CVS build

2002-10-29 Thread Mark Eggers
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 . . . .


Current 2.1-dev CVS build

2002-10-29 Thread Mark Eggers
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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: XML to Excel file

2002-10-28 Thread Mark Eggers
Take a look at POI at 

http://jakarta.apache.org/poi/index.html

to see if it meets your needs.

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: 2.1 -dev / sunRise,sunSpot version

2002-10-18 Thread Mark Eggers
On the first, there is a note in
xml-cocoon2/lib/local.

On the second, you might try typing out the
environment variable and putting quotes around it,
like:

C:\Program Files\Apache Group\Tomcat 4.1\webapps

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




[OT] Win CVS

2002-10-18 Thread Mark Eggers
Richard,

It all depends on which version of Win CVS and which
version of the CVS server Apache uses.  The latest
version of Win CVS seems to be fine, but there have
been problems with earlier versions.  I would just as
soon use the command line under cygwin, or something
that will run across all platforms.

/mde/

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: 2.1-dev authentication sample doesn't work

2002-10-18 Thread Mark Eggers
When you are re-deploying a war like that, make sure
to clean out the working directory.

In Tomcat 4.1.12, you'll find it in
$TOMCAT_HOME/work/Standalone/localhost/cocoon

/mde/

just my two cents . . . .


__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: 2.1 -dev / sunRise,sunSpot version

2002-10-18 Thread Mark Eggers
Richard,

I'm not using quite the latest version from CVS, but
close to it.  I just haven't gotten around to checking
out the latest version and building it.

I've never gone after the snapshots, but have always
checked it out of cvs.

Since I am on Windows/2000 Pro, getting a reasonable
version of CVS is somewhat problematic.  I have found
jCVS (http://www.jcvs.org/) to be a reasonable GUI
interface that works well.  One of these days I'll
install CVS in cygwin and then I'll be much happier.

Once you check out xml-cocoon2 from the CVS
repository, you'll need to build it.  In 2.1, the
library structure has changed a little bit, and you
now need to put local jars (jfor, activation, jndi,
etc.) in xml-cocoon2/lib/local.

Once you have your local jars in place, you can build
the war package with:

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

(I prefer to copy the war in by hand).  You may not
have TOMCAT_HOME set, so use CATALINA_HOME
instead.(Should this be mentioned in the build docs?)

Cocoon should deploy nicely on Tomcat and be
accessible via http://localhost:8080/cocoon/.  You'll
notice that the 2.1-dev software maps you to the
documentation by default.  To get to the samples, just
go to http://localhost:8080/cocoon/samples/.

I just checked my version of the portal application,
and the portal comes up correctly.  I have not stress
tested it, since I am nowhere near that point in my
development cycle.

Please note that since you are dealing with bleeding
edge development software, there are examples and
functionality that may be temporarily broken.  That's
the price you pay for being at the edge.

That said, I have found that as time progresses Cocoon
2.1 gets more and more robust.  Sounds like the Apache
and Cocoon teams have a great model for development. 
I am continually impressed with the software that has
been made available from the Apache organization.

/mde/

just my two cents . . . .

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos  More
http://faith.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: 2.1 CVS still broken?

2002-10-02 Thread Mark Eggers

Other than some annoying odds and ends bugs, 2.1-dev
is working for me (as of yesterday's download).

Environment:

Windows/2000 Professional (latest patches)
jdk 1.3.1_04
Tomcat 4.1.12
IIS 5
jk 1.2

Cocoon was compiled with the following line:

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

I changed debug to no and optimize to yes in the
properties.xml file.

There are some scratchpad problems (to be expected)
and some authentication problems.

1.  Non-sunrise authentication seems to fail when
using the button (or enter), but works when the login
link is selected.

2. Sunrise authentication seems to fail, but when the
page is refreshed, a warning page asks if you want to
log out or continue using the current session. 
Selecting continue with the current session gets you
into the Sunrise portal demo.

I haven't really looked into these things yet.

/mde/

just my two cents . . . .

PS - Note for those who are using the
isapi_redirector.dll and upgrading from 1.0:  Note the
name has changed from isapi_redirect.dll to
isapi_redirector.dll.  You will need to change the
name in the Registry and the ISAPI Filters properties
for IIS in order for the 1.2 version to work.

__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: C2.1-CVS broken again.

2002-10-02 Thread Mark Eggers

I just built the latest CVS code (at 2-Oct-2002
4:24:05 PST) with the following command options:

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

I modified the properties.xml file to turn on
optimization and off debugging for the compilation.

My environment is:

Windows/2000 Professional with the latest patches
jdk 1.3.1_04
Tomcat 4.1.12
JK Connectors 1.20
IIS 5

Authentication on the following URI works as
advertised when the Login button (or return) is
pressed:

http://localhost/cocoon/samples/authentication-fw/login

Authentication on the following URI fails and returns
the same login page with the login link at the top of
the page is pressed.

http://localhost/cocoon/samples/authentication-fw/login

No error log is generated when this login action
fails.

However, as an improvement, the Sunshine Portal
authentication now works with no errors from a user
standpoint.

However, logging in to the Sunrise portal with
guest/guest at:

http://localhost/cocoon/samples/portal-fw/sunspotdemoportal

generates 4

JispFilesystemStore: store(..): Exception
java.io.NotSerializableException:
org.apache.xerces.util.DOMErrorHandlerWrapper

errors.  This could be a file system permissions issue
and will have to be researched further.

/mde/

just my two cents . . . . .

__
Do you Yahoo!?
New DSL Internet Access from SBC  Yahoo!
http://sbc.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




Re: sunRise For Dummies?

2002-08-30 Thread Mark Eggers

Check out the following link:

http://radio.weblogs.com/0103021/stories/2002/02/28/usingTheSunriseComponents.html

And if you don't have Matthew's and Carsten's book
Cocoon: Buildinf XML Applications, get it!

In addition to being a great technical book, it's also
a fun read.

/mde/

Just my two cents

__
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.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: [EMAIL PROTECTED]
For additional commands, e-mail:   [EMAIL PROTECTED]




RE: cocoon2 performance

2001-12-21 Thread Mark Eggers

One of the items I just read in the release notes for
Tomcat 4.02 beta 1 . . . . . .

For optimum performance with Tomcat 4 and Cocoon 2,
use the HTTP/1.0 connector.

/mde/
--- Michael Homeijer [EMAIL PROTECTED] wrote:
 Hi,
 
 If you add a timing for pure XSP (without XSLT), you
 will know where to tune
 (XSP or XSLT). Maybe you can report this back also.
 
 In the original mail in the following URL there's
 something you can try:
 

http://www2.real-time.com/pipermail/cocoon-devel/2001-August/010394.html
 
 (try to get the generated source code of one of your
 XSP, compile it
 as a generator and use it as a normal generator
 instead. [this should
 remove the XSP loading/handling phase])
 
 Let us know the result.
 
 HTH,
 Michael Homeijer
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: 21-12-2001 9:00 
 Subject: cocoon2 performance
 
 Hello
 [snip]
 
 Here are the performance results for 500 sequential
 requests (wget):
 
 normal JSP: 6 seconds
 XSP/XSLT: 22 seconds
 JSP/XSLT: 133 seconds!!
 
 [snip]
 
 2. is there a way to make XSP even faster
 (performance tuning)?
 
 [snip]
 
 best regards
 - Rainer
 

-
 Please check that your question has not already been
 answered in the
 FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]