You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Murray Todd Williams <mu...@verinet.com> on 2000/05/06 17:27:23 UTC
RPMs are built and ready!
Okay, I've built the cocoon-1.7.3-1 RPMs and they are sitting on my web
server at http://grapeape.codingapes.com . Remember that Cocoon RPMs
depend on Xerces and Xalan RPMs as well (and the ApacheJServ RPMs that
are on the http://java.apache.org website).
Let me know if there's anything I can do. In a week or two I'm going to
separate the FOP stuff out so it is in its own modular RPM as well. (At
the creator's request.)
Murray Todd Williams
Re: Cocoon 1.7.3 Upgrade micro-mini-HOWTO
Posted by Ulrich Mayring <ul...@denic.de>.
Kevin Sonney wrote:
>
> On Mon, 8 May 2000, Ulrich Mayring wrote:
> > Instead of changing the wrapper.classpath (and the path to the
> > cocoon.properties in zone.properties) every time, I do it like this:
> *info on handy-dandy symlinks trimmed*
> > Hope that helps,
>
> The only problem with that is that it's only applicable to *nix like
> OSes. The instructions given are equally aplicable to Windows users as
> well as *nix users.
Oh, sorry, I wasn't aware that there are other OSes than *nix :)
However, Windows has some kind of links, too, but I don't know if they
only work in the GUI or also propagate down into the filesystem.
Ulrich
--
Ulrich Mayring
DENIC eG, Systementwicklung
Re: Cocoon 1.7.3 Upgrade micro-mini-HOWTO
Posted by Kevin Sonney <ke...@webslingerz.com>.
On Mon, 8 May 2000, Ulrich Mayring wrote:
> Instead of changing the wrapper.classpath (and the path to the
> cocoon.properties in zone.properties) every time, I do it like this:
*info on handy-dandy symlinks trimmed*
> Hope that helps,
The only problem with that is that it's only applicable to *nix like
OSes. The instructions given are equally aplicable to Windows users as
well as *nix users.
For what it's worth, though, I do the same thing *grin*. Admittedly, I
have a set of symlinks for each release back to 1.7.0, but...
--
- Kevin Sonney
kevin@webslingerZ.com
Re: Cocoon 1.7.3 Upgrade micro-mini-HOWTO
Posted by Ulrich Mayring <ul...@denic.de>.
William Bryant wrote:
>
> The new ones are -- not surprisingly:
>
> wrapper.classpath=/usr/local/cocoon-1.7.3/bin/cocoon.jar
> wrapper.classpath=/usr/local/cocoon-1.7.3/lib/fop_0_12_1.jar
> wrapper.classpath=/usr/local/cocoon-1.7.3/lib/xylan_1_0_1.jar
> wrapper.classpath=/usr/local/cocoon-1.7.3/lib/xerces_1_0_3.jar
Instead of changing the wrapper.classpath (and the path to the
cocoon.properties in zone.properties) every time, I do it like this:
wrapper.classpath=/usr/local/bin/cocoon/bin/cocoon.jar
etc.
and
servlet.org.apache.cocoon.Cocoon.initArgs=properties=/usr/local/bin/cocoon/conf/cocoon.properties
Then I do
cd /usr/local/bin
ln -s ../cocoon-1.7.3 cocoon
Next time I update I just have to
cd /usr/local/bin
rm cocoon
ln -s ../cocoon-1.7.4 cocoon
Hope that helps,
Ulrich
--
Ulrich Mayring
DENIC eG, Systementwicklung
Cocoon 1.7.3 Upgrade micro-mini-HOWTO
Posted by William Bryant <wi...@concentric.net>.
Cocoon 1.7.3 Upgrade micro-mini-HOWTO
-----------------
This is designed for upgrading from 1.7.2 to 1.7.3 using the zip file
distribution on a Linux machine running JServ. There may be additional
issues if you are using an earlier version of Cocoon. Things will also be
different for Windows, non-JServ, and RPM installs. (You can check out
Murray Todd Williams' RPMs at http://grapeape.codingapes.com/xml.xml).
I'll assume you having a working installation and have already downloaded
Cocoon-1.7.3.tar.gz from somewhere like http://xml.apache.org/cocoon/dist/.
------------------
Having been crisped a few times, I'm fairly cautious about upgrades. My
previous version of Cocoon was installed in
/usr/local/cocoon-1.7.2/. Since I wanted to retain my previous install,
just in case, I copied Cocoon-1.7.3.tar.gz into /usr/local/ and re-hydrated
it in the usual way:
gunzip Cocoon-1_7_3_tar.gz
tar -xvf Cocoon-1_7_3_tar
Once that's done, a couple of changes are in order.
Make a back up of your current cocoon.properties file. I used the
imaginative name cocoon.properties.1.7.2. Replace it with the one in
/your/path/to/cocoon-1.7.3/conf/.
One change a lot of people made to their cocoon.properties is to set an
absolute path for the XSP processor. Look for the line
processor.xsp.repository = ./repository
and replace it with the equivalent one from your old cocoon.properties, if
necessary.
The other change is to the aptly named JServ configuration file:
jserv.conf. In my setup, the jar classpaths looked like this:
wrapper.classpath=/usr/local/cocoon-1.7.2/bin/cocoon.jar
wrapper.classpath=/usr/local/cocoon-1.7.2/lib/fop_0_12_1.jar
wrapper.classpath=/usr/local/cocoon-1.7.2/lib/xylan_1_0_0.jar
wrapper.classpath=/usr/local/cocoon-1.7.2/lib/xerces_1_0_3.jar
The new ones are -- not surprisingly:
wrapper.classpath=/usr/local/cocoon-1.7.3/bin/cocoon.jar
wrapper.classpath=/usr/local/cocoon-1.7.3/lib/fop_0_12_1.jar
wrapper.classpath=/usr/local/cocoon-1.7.3/lib/xylan_1_0_1.jar
wrapper.classpath=/usr/local/cocoon-1.7.3/lib/xerces_1_0_3.jar
In addition to the paths, make sure you have the correct versions of the
jar files. In my case, the xylan_1_0_0.jar line had to be changed to
xylan_1_0_1.jar. Depending on your install there may be other changes as well.
---------------
Testing:
Start (or restart) JServ and check the status by pulling up Cocoon.xml in
your browser. It should say Cocoon 1.7.3 in the upper right.
Once you are certain the new version is working well, you can remove the
old 1.7.2 files. (Being the belt-and-suspenders type, I'll rename the
directory and run Cocoon for a little while before I actually delete it.)
---------------
Troubleshooting:
If you get a message like:
Publishing Engine could not be initialized.
java.lang.RuntimeException: Error creating
org.apache.cocoon.formatter.VRMLFormatter: class is not found
You need to make sure you replaced the old cocoon.properties file with the
new one.
----------------
Hopefully this document has a brief, but useful life before it is made
obsolete by Cocoon 2.0. Feedback is appreciated. Send it to
pink5432@freelinuxmail.com
----------------
Tested configuration is RedHat Linux 6.1, Apache 1.3, Apache JServ 1.1, IBM
JDK 1.1.8