Re: Cocoon and XIndice versions - FIXED

2002-03-25 Thread Alex McLintock

At 19:17 23/03/2002, Christian Zoffoli wrote:
>Vadim Gritsenko wrote:
> > > From: root [mailto:root] On Behalf Of Christian Zoffoli
> > >
> > > Alex McLintock wrote:
> > > >
> > > > Hi folks,
> > > >
> > > > I'm trying to find satisfactory versions of Cocoon and XIndice which
> > > > work together.
> > > >
> > > [cut]

Several people offered ideas

> > This is also for JDK1.4 *only*.
>
>| ...Alex uses JDK1.4

Well actually using JDK1.4 seemed to cause so many issues that I have 
downgraded to JDk1.3

I am amazed that this jump to JDK1.4 causes so many issues :-(

Alex McLintock


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: Cocoon and XIndice versions - FIXED

2002-03-23 Thread Christian Zoffoli

Vadim Gritsenko wrote:
> 
> > From: root [mailto:root] On Behalf Of Christian Zoffoli
> >
> > Alex McLintock wrote:
> > >
> > > Hi folks,
> > >
> > > I'm trying to find satisfactory versions of Cocoon and XIndice which
> work
> > > together.
> > >
> > [cut]
> >
> > my little how-to
> >
> > 1- copy batik-libs,xerces,xalan,xml-apis from
> > $CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib
> 
> ???
> 
> Christian:
> Please, explicitly specify which tomcat version you use. Otherwise, you
> are going to screw lots of innocent newbies.
> 

you are right:

tomcat 4.0.3-LE



> Newbies:
> Read newest install instruction from the Cocoon 2.0.2 (due in several
> days; instructions now available at
> http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/in
> stalling/index.xml?rev=1.16&content-type=text/vnd.viewcvs-markup) before
> trying to follow any of the instructions on this list.
> 
> > 2- add export CATALINA_OPTS='-Djava.awt.headless=true
> 
> This is for JDK1.4 *only*


>From the original message:

---
I am told that I need a CVS version of cocoon rather than the latest 
release - but the CVS snapshots don't currently work.
(I am using Xinidice 1.0 and Tomcat 4.0something on RedHat Linux 7.2,
and 
Sun's JDK 1.4)
---



> 
> > -Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh
> 
> If I'm not mistaken, this applies to the Xalan 2.3.1 only.


...in fact, we are talking about cocoon 2.0.2-dev


> 
> > 3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to
> > $XINDICE_HOME/config/vm.cfg  (note: expand $XINDICE_HOME with the real
> > path!)
> 
> This is also for JDK1.4 *only*.

...Alex uses JDK1.4




...I'm only reporting my personal experience with cocoon2.0.2-dev,
xindice 1.0, jdk 1.4 & tomcat 4.0.3/4.0.4b1 . 
I have no intention to screw innocent newbies ;) .



Christian

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




RE: Cocoon and XIndice versions - FIXED

2002-03-23 Thread Vadim Gritsenko

> From: root [mailto:root] On Behalf Of Christian Zoffoli
> 
> Alex McLintock wrote:
> >
> > Hi folks,
> >
> > I'm trying to find satisfactory versions of Cocoon and XIndice which
work
> > together.
> >
> [cut]
> 
> my little how-to
> 
> 1- copy batik-libs,xerces,xalan,xml-apis from
> $CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib

???

Christian:
Please, explicitly specify which tomcat version you use. Otherwise, you
are going to screw lots of innocent newbies.

Newbies:
Read newest install instruction from the Cocoon 2.0.2 (due in several
days; instructions now available at
http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/documentation/xdocs/in
stalling/index.xml?rev=1.16&content-type=text/vnd.viewcvs-markup) before
trying to follow any of the instructions on this list. 


> 2- add export CATALINA_OPTS='-Djava.awt.headless=true

This is for JDK1.4 *only*


> -Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh

If I'm not mistaken, this applies to the Xalan 2.3.1 only.


> 3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to
> $XINDICE_HOME/config/vm.cfg  (note: expand $XINDICE_HOME with the real
> path!)

This is also for JDK1.4 *only*.

Regards,
Vadim

> 4- patch
> org.apache.cocoon.transformation.XMLDBTransformerXMLDBTransformer.java
> with
http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12028.html
> 


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: Cocoon and XIndice versions - FIXED

2002-03-23 Thread Christian Zoffoli

Alex McLintock wrote:
> 
> Hi folks,
> 
> I'm trying to find satisfactory versions of Cocoon and XIndice which work
> together.
> 
[cut]


my little how-to

1- copy batik-libs,xerces,xalan,xml-apis from
$CATALINA_HOME/webapps/cocoon/WEB-INF/libs to $CATALINA_HOME/lib
2- add export CATALINA_OPTS='-Djava.awt.headless=true
-Duser.language=en' at the beginning of $CATALINA_HOME/bin/catalina.sh
3- add -Djava.endorsed.dirs=$XINDICE_HOME/java/lib to
$XINDICE_HOME/config/vm.cfg  (note: expand $XINDICE_HOME with the real
path!)
4- patch
org.apache.cocoon.transformation.XMLDBTransformerXMLDBTransformer.java
with http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg12028.html


Christian

-
Please check that your question has not already been answered in the
FAQ before posting. 

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