Hello Patrick
Patrick Johanneson wrote:
First off -- I'm a newbie at Tomcat and JSP in general. If I've made an
obvious mistake, please tell me.
I downloaded the Lenya binary for Linux. I'm running SUSE 9. Gunzipped
and untarred and ran lenya.sh servlet, and everything worked fine.
good
I decided to try out the Tomcat version just to see which would work
better for me. I downloaded the source package, and Cocoon too. I
followed the step-by-step install instructions at
http://lenya.apache.org/1_2_x/tutorial/installing_lenya.html .
Everything was going fine until I hit step 9. When I tried
./build.sh install
I got told that there was no "install" target. Ok, I thought, and tried
just plain old
./build.sh
There is indeed no "install" target in Lenya. We use the plain old
./build.sh, like you did.
This ran for ~10 seconds, and then failed with an error:
webapp:
Excludes CVS,.svn
Copying 0 directories to _
/home/webapp/web_software/lenya-1.2.4/build/lenya/webapp/lenya/pubs
Copying 0 files to _
/home/webapp/web_software/lenya-1.2.4/build/lenya/webapp/lenya/pubs
BUILD FAILED
java.lang.ExceptionInInitializerError
All right, I thought, it's not meant to be.
How did you modify the local.build.properties? I would say that the
error comes from here.
Also, you might also want to remove lenya.war from your Tomcat/webapp
directory, and run ./build.sh clean to clean the whole build process.
So I copied the lenya.war
file from the binary install to the Tomcat webapp directory.
I would'nt mix the lenya.war from the bin distribution with this.
Please check your local.build.properties and try to install Lenya again.
HTH,
Renaud
Going into
the Tomcat admin interface, I can see that lenya has been installed as a
webapp. Good.
I try to go to localhost:8080/lenya, and I'm presented with this error
message:
Initialization Problem
Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
Scheduler with name 'Cocoon' already exists.
request-uri
/lenya/
Apache Cocoon 2.1.8-dev
So I try to re-run the binary install with the Jetty server. I get the
same error from localhost:8888 (except that the Cocoon version is now
2.1.7, but I don't think that makes a difference).
Any advice as to how to unbreak my lenya installation (any one of them,
really) would be welcome.
TIA,
-pat
--
Renaud Richardet
COO America
Wyona Inc. - Open Source Content Management - Apache Lenya
office +1 857 776-3195 mobile +1 617 230 9112
[EMAIL PROTECTED] http://www.wyona.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]