Re: problem in installing cocoon 2.1.11

2009-05-29 Thread Jasha Joachimsthal
Cocoon 2.1 has some issues with Java 6 (see e.g.
http://markmail.org/message/zthrxullfkuld7rb ). Try switching to Java
5.

Jasha Joachimsthal

j.joachimst...@onehippo.com - ja...@apache.org

www.onehippo.com
Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466
San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA
94952-5100 +1 (707) 773-4646





2009/5/29 sonalimodi sonalimodia...@gmail.com:

 hi
 The result of echo$JAVA_HOME is /usr/local/jdk1.6.0_02






 Robby Pelssers-2 wrote:

 What is the result of echo $JAVA_HOME ??

 Robby

 -Original Message-
 From: sonalimodi [mailto:sonalimodia...@gmail.com]
 Sent: Thursday, May 28, 2009 2:07 PM
 To: users@cocoon.apache.org
 Subject: problem in installing cocoon 2.1.11


 hi

 i have build the build.sh file properly but i have problem in installing
 cocoon.sh file

 when i gave the command on my command line ./cocoon.sh it is saying your
 JAVA_HOME path is not set

 but i m sure i have set my java path properly as my other software's are
 running through it .. i m using LINUX platform

 what to do pls help
 --
 View this message in context:
 http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p237
 60455.html
 Sent from the Cocoon - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org


 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org




 --
 View this message in context: 
 http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p23774240.html
 Sent from the Cocoon - Users mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: problem in installing cocoon 2.1.11

2009-05-29 Thread Laurent Medioni
Cocoon 2.1.11 is working fine with java 6 and the magic flag, for the moment.
We never had any start-up issue like the one described...

Laurent




� This email and any files transmitted with it are CONFIDENTIAL and intended
  solely for the use of the individual or entity to which they are addressed.
� Any unauthorized copying, disclosure, or distribution of the material within
  this email is strictly forbidden.
� Any views or opinions presented within this e-mail are solely those of the
  author and do not necessarily represent those of Odyssey Financial
Technologies SA unless otherwise specifically stated.
� An electronic message is not binding on its sender. Any message referring to
  a binding engagement must be confirmed in writing and duly signed.
� If you have received this email in error, please notify the sender immediately
  and delete the original.


RE: problem in installing cocoon 2.1.11

2009-05-29 Thread sonalimodi
 to
   a binding engagement must be confirmed in writing and duly signed.
 � If you have received this email in error, please notify the sender
 immediately
   and delete the original.
 
 

-- 
View this message in context: 
http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p23775972.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: problem in installing cocoon 2.1.11

2009-05-29 Thread Andre Juffer

sonalimodi wrote:

i changed my java from java 6 to java5 even then it is giving me the same
problem i started like this

r...@sonalimodi[~]#cd /usr/local/cocoon-2.1.11
r...@sonalimodi[cocoon-2.1.11]#./build.sh
  


You could modify the build.sh script by placing on the second line:

JAVA_HOME=/usr/local/your_path_to_java

Note: if you have set JAVA_HOME on the command line with

JAVA_HOME=/usr/local/your_path_to_java

you may want to follow up with

export JAVA_HOME

Hope this helps,
Andre





Buildfile: build.xml

prepare:

 Apache Cocoon 2.1.11 [1999-2007]

 Building with Apache Ant version 1.6.5 compiled on June 2 2005

 Using build file /usr/local/cocoon-2.1.11/build.xml

 Compiler options:
   - debug . [on]
   - optimize .. [on]
   - deprecation ... [off]


compile-core:
Compiling jdk 1.4 core classes

prepare-blocks:
Copying 1 file to /usr/local/cocoon-2.1.11/build/cocoon/temp
Processing /usr/local/cocoon-2.1.11/build/cocoon/temp/gump.xml to
/usr/local/cocoon-2.1.11/build/cocoon/temp/blocks-build.xml
Loading stylesheet /usr/local/cocoon-2.1.11/tools/src/blocks-build.xsl

unstable:
 WARNING ===
 Block 'ajax' should be considered unstable.
 Block 'apples' should be considered unstable.
 Block 'asciiart' should be considered unstable.
 Block 'auth' should be considered unstable.
 Block 'axis' should be considered unstable.
 Block 'captcha' should be considered unstable.
 Block 'cron' should be considered unstable.
 Block 'deli' should be considered unstable.
 Block 'eventcache' should be considered unstable.
 Block 'faces' should be considered unstable.
 Block 'imageop' should be considered unstable.
 Block 'javaflow' should be considered unstable.
 Block 'jcr' should be considered unstable.
 Block 'jms' should be considered unstable.
 Block 'linotype' should be considered unstable.
 Block 'mail' should be considered unstable.
 Block 'petstore' should be considered unstable.
 Block 'proxy' should be considered unstable.
 Block 'qdox' should be considered unstable.
 Block 'querybean' should be considered unstable.
 Block 'repository' should be considered unstable.
 Block 'serializers' should be considered unstable.
 Block 'slide' should be considered unstable.
 Block 'slop' should be considered unstable.
 Block 'stx' should be considered unstable.
 Block 'taglib' should be considered unstable.
 Block 'template' should be considered unstable.
 Block 'tour' should be considered unstable.
 Block 'validation' should be considered unstable.
 Block 'webdav' should be considered unstable.
 Block 'xsltal' should be considered unstable.

 This means that its API, schemas 
  and other contracts might change without notice.



excluded:
 NOTICE 
 Block 'jcr' is excluded from the build.
 Block 'php' is excluded from the build.
 Block 'portal-fw' is excluded from the build.
 Block 'swf' is excluded from the build.
 Block 'woody' is excluded from the build.


cocoon-block-html-patch:
Processing:
/usr/local/cocoon-2.1.11/src/blocks/html/conf/html-transformer.xmap
Writing: /usr/local/cocoon-2.1.11/build/webapp/sitemap.xmap

validate-jars:
Copying 1 file to /usr/local/cocoon-2.1.11/build/cocoon/temp

validate-config:
Validating some important configuration files
Validating cocoon.xconf using a very basic RELAX NG grammar ...

custom-conf:
Processing: /usr/local/cocoon-2.1.11/src/confpatch/enable-uploads.xweb
Writing: /usr/local/cocoon-2.1.11/build/webapp/WEB-INF/web.xml

BUILD SUCCESSFUL
Total time: 9 seconds
r...@sonalimodi[cocoon-2.1.11]#./cocoon.sh 
./cocoon.sh: executing default action 'servlet', use -h to see other actions

You must set JAVA_HOME to point at your Java Development Kit installation
r...@sonalimodi[cocoon-2.1.11]#

build is successful but why cocoon.sh file is not working i have set
my java path correctly
wat to do he to start my cocoon .because of this i m getting delayed for my
project 





Laurent Medioni wrote:
  

Cocoon 2.1.11 is working fine with java 6 and the magic flag, for the
moment.
We never had any start-up issue like the one described...

Laurent




� This email and any files transmitted with it are CONFIDENTIAL and
intended
  solely for the use of the individual or entity to which they are
addressed.
� Any unauthorized copying, disclosure, or distribution of the material
within
  this email is strictly 

Re: problem in installing cocoon 2.1.11

2009-05-29 Thread sonalimodi


 

 � This email and any files transmitted with it are CONFIDENTIAL and
 intended
   solely for the use of the individual or entity to which they are
 addressed.
 � Any unauthorized copying, disclosure, or distribution of the material
 within
   this email is strictly forbidden.
 � Any views or opinions presented within this e-mail are solely those of
 the
   author and do not necessarily represent those of Odyssey Financial
 Technologies SA unless otherwise specifically stated.
 � An electronic message is not binding on its sender. Any message
 referring to
   a binding engagement must be confirmed in writing and duly signed.
 � If you have received this email in error, please notify the sender
 immediately
   and delete the original.


 

   
 
 
 -- 
 Andre H. Juffer  | Phone: +358-8-553 1161
 Biocenter Oulu and   | Fax: +358-8-553-1141
 Department of Biochemistry   | Email: andre.juf...@oulu.fi
 University of Oulu, Finland  | WWW: www.biochem.oulu.fi/Biocomputing/
 StruBioCat   | WWW: www.strubiocat.oulu.fi
 NordProt | WWW: www.nordprot.org
 Triacle Biocomputing | WWW: www.triacle-bc.com
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p23777253.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Build is failing while installing cocoon 2.1.11

2009-05-28 Thread kaushalbhardwaj

hi 

i have tired to build the cocoon in my Linux system but it is giving the
following error


BUILD FAILED
/usr/local/cocoon-2.1.11/tools/targets/webapp-build.xml:120: The following
error occurred while executing this line:
/usr/local/cocoon-2.1.11/build/cocoon/temp/blocks-build.xml:1112: The
following error occurred while executing this line:
/usr/local/cocoon-2.1.11/build/cocoon/temp/blocks-build.xml:167:
IOException: java.io.FileNotFoundException:
/usr/local/cocoon-2.1.11/build/webapp/WEB-INF/cocoon.xconf (No such file or
directory)

i serched in the above files also but unable to understand it
what to do 
kindly help

Kaushal
-- 
View this message in context: 
http://www.nabble.com/Build-is-failing-while-installing-cocoon-2.1.11-tp23760278p23760278.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



problem in installing cocoon 2.1.11

2009-05-28 Thread sonalimodi

hi

i have build the build.sh file properly but i have problem in installing
cocoon.sh file

when i gave the command on my command line ./cocoon.sh it is saying your
JAVA_HOME path is not set 

but i m sure i have set my java path properly as my other software's are
running through it .. i m using LINUX platform

what to do pls help
-- 
View this message in context: 
http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p23760455.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: problem in installing cocoon 2.1.11

2009-05-28 Thread Robby Pelssers
What is the result of echo $JAVA_HOME ??

Robby

-Original Message-
From: sonalimodi [mailto:sonalimodia...@gmail.com] 
Sent: Thursday, May 28, 2009 2:07 PM
To: users@cocoon.apache.org
Subject: problem in installing cocoon 2.1.11


hi

i have build the build.sh file properly but i have problem in installing
cocoon.sh file

when i gave the command on my command line ./cocoon.sh it is saying your
JAVA_HOME path is not set 

but i m sure i have set my java path properly as my other software's are
running through it .. i m using LINUX platform

what to do pls help
-- 
View this message in context:
http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p237
60455.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Re: Build is failing while installing cocoon 2.1.11

2009-05-28 Thread Antonio Gallardo
Hi,

A file is missing:

IOException: java.io.FileNotFoundException:
/usr/local/cocoon-2.1.11/build/webapp/WEB-INF/cocoon.xconf 

Would you explain how did you build?

Best Regards,

Antonio Gallardo.



kaushalbhardwaj escribió:
 hi 

 i have tired to build the cocoon in my Linux system but it is giving the
 following error


 BUILD FAILED
 /usr/local/cocoon-2.1.11/tools/targets/webapp-build.xml:120: The following
 error occurred while executing this line:
 /usr/local/cocoon-2.1.11/build/cocoon/temp/blocks-build.xml:1112: The
 following error occurred while executing this line:
 /usr/local/cocoon-2.1.11/build/cocoon/temp/blocks-build.xml:167:
 IOException: java.io.FileNotFoundException:
 /usr/local/cocoon-2.1.11/build/webapp/WEB-INF/cocoon.xconf (No such file or
 directory)

 i serched in the above files also but unable to understand it
 what to do 
 kindly help

 Kaushal
   


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



RE: problem in installing cocoon 2.1.11

2009-05-28 Thread sonalimodi

hi
The result of echo$JAVA_HOME is /usr/local/jdk1.6.0_02






Robby Pelssers-2 wrote:
 
 What is the result of echo $JAVA_HOME ??
 
 Robby
 
 -Original Message-
 From: sonalimodi [mailto:sonalimodia...@gmail.com] 
 Sent: Thursday, May 28, 2009 2:07 PM
 To: users@cocoon.apache.org
 Subject: problem in installing cocoon 2.1.11
 
 
 hi
 
 i have build the build.sh file properly but i have problem in installing
 cocoon.sh file
 
 when i gave the command on my command line ./cocoon.sh it is saying your
 JAVA_HOME path is not set 
 
 but i m sure i have set my java path properly as my other software's are
 running through it .. i m using LINUX platform
 
 what to do pls help
 -- 
 View this message in context:
 http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p237
 60455.html
 Sent from the Cocoon - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
 For additional commands, e-mail: users-h...@cocoon.apache.org
 
 
 

-- 
View this message in context: 
http://www.nabble.com/problem-in-installing-cocoon-2.1.11-tp23760455p23774240.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
For additional commands, e-mail: users-h...@cocoon.apache.org



Installing Cocoon-2.2 on Win2003

2008-02-03 Thread solprovider
The Cocoon 2.2 installation instructions assume changing directories
happens during the optional Import the block in Eclipse section.
This causes confusion when skipping to the Run the block as Java web
application.  Please change the order of sections to Install,
Run, then Develop.  Why would anyone start development without
verifying the Hello World example runs properly?

After changing to the block directory, mvn jetty:run runs for a long
time and ends with errors about missing JARs for Jetty  (see below).

solprovider

===
mvn --version
Maven version: 2.0.8
Java version: 1.4.2_15
OS name: windows 2003 version: 5.2 arch: x86 Family: windows

mvn jetty:run
...
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) org.mortbay.jetty:jetty-util:jar:2.4.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-ut
il -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

  mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=jetty-util
 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId
=[id]

  Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
2) org.mortbay.jetty:jetty:jar:6.1.5
3) org.mortbay.jetty:jetty-util:jar:2.4.1

2) org.mortbay.jetty:servlet-api-2.5:jar:2.4.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=servlet-
api-2.5 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

  mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=servlet-ap
i-2.5 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dreposit
oryId=[id]

  Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
2) org.mortbay.jetty:jetty:jar:6.1.5
3) org.mortbay.jetty:servlet-api-2.5:jar:2.4.1

3) org.mortbay.jetty:jsp-api-2.0:jar:2.4.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=jsp-api-
2.0 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:

  mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=jsp-api-2.
0 -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryI
d=[id]

  Path to dependency:
1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
2) org.mortbay.jetty:jsp-2.0:pom:6.1.5
3) org.mortbay.jetty:jsp-api-2.0:jar:2.4.1

--
3 required artifacts are missing.

for artifact:
  org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5

from the specified remote repositories:
  codehaus.org (http://snapshots.repository.codehaus.org),
  central (http://repo1.maven.org/maven2),
  apache.m2.incubator (http://people.apache.org/repo/m2-snapshot-repository/)

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



Re: Installing Cocoon-2.2 on Win2003

2008-02-03 Thread Grzegorz Kossakowski
[EMAIL PROTECTED] pisze:
 The Cocoon 2.2 installation instructions assume changing directories
 happens during the optional Import the block in Eclipse section.
 This causes confusion when skipping to the Run the block as Java web
 application.  Please change the order of sections to Install,
 Run, then Develop.  Why would anyone start development without
 verifying the Hello World example runs properly?

Good suggestion. I'll adjust docs as soon as I have some spare time.

 After changing to the block directory, mvn jetty:run runs for a long
 time and ends with errors about missing JARs for Jetty  (see below).

It runs for long time only at first usage because Maven needs to pull all 
dependencies.

 ===
 mvn --version
 Maven version: 2.0.8
 Java version: 1.4.2_15
 OS name: windows 2003 version: 5.2 arch: x86 Family: windows
 
 mvn jetty:run
 ...
 [ERROR] BUILD ERROR
 [INFO] 
 
 [INFO] Failed to resolve artifact.
 
 Missing:
 --
 1) org.mortbay.jetty:jetty-util:jar:2.4.1
 
   Try downloading the file manually from the project website.
 
   Then, install it using the command:
   mvn install:install-file -DgroupId=org.mortbay.jetty 
 -DartifactId=jetty-ut
 il -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file
 
   Alternatively, if you host your own repository you can deploy the file 
 there:
 
   mvn deploy:deploy-file -DgroupId=org.mortbay.jetty 
 -DartifactId=jetty-util
  -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] 
 -DrepositoryId
 =[id]
 
   Path to dependency:
 1) org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.5
 2) org.mortbay.jetty:jetty:jar:6.1.5
 3) org.mortbay.jetty:jetty-util:jar:2.4.1

snip what=other dependencies on non-existing 2.4.1 version of artifacts/


Damn, you are unbelievably effective on stumbling upon Maven's 
bugs/limitations. ;-)

This problem is caused by infamous combo of Java 1.4.2, Maven 2.0.x and usage 
of ${project.version}
in one of POMs (in this case[1]). This bug is known as MNG-2339[2] and is my 
the most hated issue
with Maven.

Solutions are (all dirty, unfortunately):
1. Upgrade to Java 1.5.x OR
2. Add failing dependencies to your block's pom.xml with hardcoded versions 
instead of
{project.version} expressions OR
3. Attach -Dversion=6.1.5 to the cmd you are running, e.g.:
mvn clean jetty:run -Dversion=6.1.5

The third one is the quickest work-around but the most dirty one at the same 
time. The second
pollutes your pom but is reliable solution until MNG-2339 is fixed. The first 
one is rather
hypothetical options because I presume that if you still stick to Java 1.4.x 
you must have a good
reason for that.

Voting for this issue is probably a good idea. I'm really sorry that you are 
starting with C2.2 in a
such unfortunate way...

[1] http://repo1.maven.org/maven2/org/mortbay/jetty/jetty/6.1.5/jetty-6.1.5.pom
[2] http://jira.codehaus.org/browse/MNG-2339

-- 
Grzegorz Kossakowski
Committer and PMC Member of Apache Cocoon
http://reflectingonthevicissitudes.wordpress.com/

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



Re: Installing Cocoon-2.2 on Win2003

2008-02-03 Thread solprovider
On Sun, Feb 3, 2008 at 6:26 PM, Grzegorz Kossakowski
[EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] pisze:
  The Cocoon 2.2 installation instructions ...
  Good suggestion. I'll adjust docs as soon as I have some spare time.

Happy to help.

   After changing to the block directory, mvn jetty:run runs for a long
   time and ends with errors about missing JARs for Jetty  (see below).
  It runs for long time only at first usage because Maven needs to pull all 
 dependencies.

I understood that, but others might not.  A note about the lengthy
install might help; at least the screen keeps changing so the admin
knows something is happening. See the italic text on:
http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html

   ===
   mvn --version
   Maven version: 2.0.8
   Java version: 1.4.2_15
   OS name: windows 2003 version: 5.2 arch: x86 Family: windows
  
   mvn jetty:run
   ...
   [ERROR] BUILD ERROR
   [INFO] 
 
   [INFO] Failed to resolve artifact.
  snip what=other dependencies on non-existing 2.4.1 version of artifacts/
  Damn, you are unbelievably effective on stumbling upon Maven's 
 bugs/limitations. ;-)

Just lucky.

  This problem is caused by infamous combo of Java 1.4.2, Maven 2.0.x and 
 usage of ${project.version}
  in one of POMs (in this case[1]). This bug is known as MNG-2339[2] and is my 
 the most hated issue
  with Maven.

  Solutions are (all dirty, unfortunately):
  1. Upgrade to Java 1.5.x OR
  2. Add failing dependencies to your block's pom.xml with hardcoded versions 
 instead of
  {project.version} expressions OR
  3. Attach -Dversion=6.1.5 to the cmd you are running, e.g.:
  mvn clean jetty:run -Dversion=6.1.5

  The third one is the quickest work-around but the most dirty one at the same 
 time. The second
  pollutes your pom but is reliable solution until MNG-2339 is fixed. The 
 first one is rather
  hypothetical options because I presume that if you still stick to Java 1.4.x 
 you must have a good
  reason for that.

The W2003 PC has several versions of Java installed.  I can easily
switch to Java 1.5 or 1.6, but I need Java 1.4.  Lenya 1.3 (my current
project) needs Java 1.4 and Cocoon-2.1.

My next project (an add-on to another company's product) will also
need Java 1.4 and Cocoon.  I was hoping to use Cocoon-2.2.  Assuming
Cocoon-2.2 is similar to Cocoon-2.1, I need to patch it and add
several components before creating an EAR.  Will Maven issues continue
to cause problems after Cocoon is download?

Why is -Dversion=6.1.5 dirty?  What is lost?  What software is being
versioned to 6.1.5?

  Voting for this issue is probably a good idea. I'm really sorry that you are 
 starting with C2.2 in a such unfortunate way...
  Grzegorz Kossakowski

I will vote when I am home.  (I forgot my JIRA logon.)

solprovider

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



Re: problem installing cocoon

2007-05-22 Thread Varga Zsombor

Yes, it is solved. There were some problem with the security settings
at my provider.

Zsombor

On 5/21/07, Joerg Heinicke [EMAIL PROTECTED] wrote:

Can it be that your main problems are solved? When I view that site
there is no longer an initialization problem, but only the samples
sitemap can't be found.

Joerg

On 18.05.2007 10:46, Varga Zsombor wrote:
 Hi All!

 I have a problem with installing cocoon.
 First I've installed cocoon to my PC (WinXP, JDK 1.5.0, Cocoon 2.1.10,
 Tomcat 6.0). Eveerything is OK and working well.
 Then I tried to upload this cocoon to my web hosting provider (Debian,
 JDK 1.5.0, Tomcat 5.5). There were some security proble, but theese
 were solved by the provider. But I got an exception:

 Initialization Problem
 Message: org.apache.cocoon.components.CocoonComponentManager
 Description:
 org.apache.avalon.framework.configuration.ConfigurationException:
 Cannot resolve context://sitemap.xmap
 Sender: org.apache.cocoon.servlet.CocoonServlet
 Source: Cocoon Servlet
 cause: java.lang.ClassCastException:
 org.apache.cocoon.components.CocoonComponentManager
 request-uri: /cocoon/
 full exception chain stacktrace:
 org.apache.avalon.framework.configuration.ConfigurationException:
 Cannot resolve context://sitemap.xmap
 at
 
org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(TreeProcessor.java:203)


 So I searched for this string: context://sitemap.xmap, I found it in
 cocoon.xconf:
 sitemap check-reload=yes file=context://sitemap.xmap
 logger=sitemap/

 I replaced context:// to the absolute path of the main sitemap. But
 now I get this exception:

 Initialization Problem
 Message: org.apache.cocoon.components.CocoonComponentManager
 Description: org.apache.avalon.framework.service.ServiceException:
 Could not access the Component (key
 [org.apache.cocoon.template.script.InstructionFactory])
 (Key='org.apache.cocoon.template.script.InstructionFactory')
 Sender: org.apache.cocoon.servlet.CocoonServlet
 Source: Cocoon Servlet
 cause: java.lang.ClassCastException:
 org.apache.cocoon.components.CocoonComponentManager
 request-uri: /cocoon/
 full exception chain stacktrace:
 org.apache.avalon.framework.service.ServiceException: Could not access
 the Component (key
 [org.apache.cocoon.template.script.InstructionFactory])
 (Key='org.apache.cocoon.template.script.InstructionFactory')
 at
 
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80)



 You can see this here: http://www.focitipp.com/cocoon/

 Have anyone any idea about this?

 Thanks:

 Zsombor

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




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



Re: problem installing cocoon

2007-05-21 Thread Joerg Heinicke
Can it be that your main problems are solved? When I view that site 
there is no longer an initialization problem, but only the samples 
sitemap can't be found.


Joerg

On 18.05.2007 10:46, Varga Zsombor wrote:

Hi All!

I have a problem with installing cocoon.
First I've installed cocoon to my PC (WinXP, JDK 1.5.0, Cocoon 2.1.10,
Tomcat 6.0). Eveerything is OK and working well.
Then I tried to upload this cocoon to my web hosting provider (Debian,
JDK 1.5.0, Tomcat 5.5). There were some security proble, but theese
were solved by the provider. But I got an exception:

Initialization Problem
Message: org.apache.cocoon.components.CocoonComponentManager
Description: 
org.apache.avalon.framework.configuration.ConfigurationException:

Cannot resolve context://sitemap.xmap
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause: java.lang.ClassCastException:
org.apache.cocoon.components.CocoonComponentManager
request-uri: /cocoon/
full exception chain stacktrace:
org.apache.avalon.framework.configuration.ConfigurationException:
Cannot resolve context://sitemap.xmap
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(TreeProcessor.java:203) 



So I searched for this string: context://sitemap.xmap, I found it in
cocoon.xconf:
sitemap check-reload=yes file=context://sitemap.xmap 
logger=sitemap/


I replaced context:// to the absolute path of the main sitemap. But
now I get this exception:

Initialization Problem
Message: org.apache.cocoon.components.CocoonComponentManager
Description: org.apache.avalon.framework.service.ServiceException:
Could not access the Component (key
[org.apache.cocoon.template.script.InstructionFactory])
(Key='org.apache.cocoon.template.script.InstructionFactory')
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause: java.lang.ClassCastException:
org.apache.cocoon.components.CocoonComponentManager
request-uri: /cocoon/
full exception chain stacktrace:
org.apache.avalon.framework.service.ServiceException: Could not access
the Component (key
[org.apache.cocoon.template.script.InstructionFactory])
(Key='org.apache.cocoon.template.script.InstructionFactory')
at 
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80) 




You can see this here: http://www.focitipp.com/cocoon/

Have anyone any idea about this?


Thanks:

Zsombor


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



problem installing cocoon

2007-05-18 Thread Varga Zsombor

Hi All!

I have a problem with installing cocoon.
First I've installed cocoon to my PC (WinXP, JDK 1.5.0, Cocoon 2.1.10,
Tomcat 6.0). Eveerything is OK and working well.
Then I tried to upload this cocoon to my web hosting provider (Debian,
JDK 1.5.0, Tomcat 5.5). There were some security proble, but theese
were solved by the provider. But I got an exception:

Initialization Problem
Message: org.apache.cocoon.components.CocoonComponentManager
Description: org.apache.avalon.framework.configuration.ConfigurationException:
Cannot resolve context://sitemap.xmap
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause: java.lang.ClassCastException:
org.apache.cocoon.components.CocoonComponentManager
request-uri: /cocoon/
full exception chain stacktrace:
org.apache.avalon.framework.configuration.ConfigurationException:
Cannot resolve context://sitemap.xmap
at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.configure(TreeProcessor.java:203)

So I searched for this string: context://sitemap.xmap, I found it in
cocoon.xconf:
sitemap check-reload=yes file=context://sitemap.xmap logger=sitemap/

I replaced context:// to the absolute path of the main sitemap. But
now I get this exception:

Initialization Problem
Message: org.apache.cocoon.components.CocoonComponentManager
Description: org.apache.avalon.framework.service.ServiceException:
Could not access the Component (key
[org.apache.cocoon.template.script.InstructionFactory])
(Key='org.apache.cocoon.template.script.InstructionFactory')
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause: java.lang.ClassCastException:
org.apache.cocoon.components.CocoonComponentManager
request-uri: /cocoon/
full exception chain stacktrace:
org.apache.avalon.framework.service.ServiceException: Could not access
the Component (key
[org.apache.cocoon.template.script.InstructionFactory])
(Key='org.apache.cocoon.template.script.InstructionFactory')
at 
org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80)


You can see this here: http://www.focitipp.com/cocoon/

Have anyone any idea about this?

Thanks:

Zsombor

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



installing cocoon docs

2007-02-15 Thread Fergus McMenemie
Please forgive this beginners question:-

   The cocoon download page contains tar-balls for the source
   distribution and for the docs. When expanded the docs tar
   ball contains:-

[bigmac24:~/packages/cocoon-docs] fergus% ls -alF
total 208
drwxr-xr-x7 fergus  fergus 238 Dec 22 00:29 ./
drwxr-xr-x8 fergus  fergus 272 Feb 15 15:34 ../
drwxr-xr-x   64 fergus  fergus2176 Dec 22 00:28 2.1/
-rw-r--r--1 fergus  fergus  31 Dec 22 00:29 broken-links.xml
drwxr-xr-x   13 fergus  fergus 442 Dec 22 00:28 images/
-rw-r--r--1 fergus  fergus  101173 Dec 22 00:03 linkmap.html
drwxr-xr-x   25 fergus  fergus 850 Dec 22 00:28 skin/

   I need a clue what to do with this. I assume that it is
   to be plugged into the core cocoon application somehow
   but having spent ages going through the install docs I
   have found nothing that explains what I need to do.

   Thanks In advance... Fergus...
-- 

===
Fergus McMenemie   Email:[EMAIL PROTECTED]
Techmore Ltd   Phone:(UK) 07721 376021

Unix/Mac/Intranets Analyst Programmer
===

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



RE: installing cocoon docs

2007-02-15 Thread Manuel Mata
 Please forgive this beginners question:-

Everybody was beginner at any time ...

 drwxr-xr-x   64 fergus  fergus2176 Dec 22 00:28
 2.1/

Inside that folder you have an index.html that is the
root file of the docs.

If you want javadocs you have an ant task which
generates it. Type build -p to see all tasks, and
use build instead of ant.

See ya.



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

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



problem with installing cocoon on Tomcat running on Ubuntu

2006-10-26 Thread Gol3m
Hi,

I'am almost done with the cocoon installing within Tomcat5.0 running on Ubuntu 
Dapper Drake.


I installed Tomcat5 following the instructions on 
http://wiki.ubuntuusers.de/Tomcat and it's running fine.

Afterwards I deployed cocoon as a war-file in Tomcat webapps, which worked well 
also.

Trying to access cocoons welcomepage on 
http://localhost:8180/cocoon/
throws the following error:


Initialization Problem

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

cause

access denied (java.util.PropertyPermission org.apache.cocoon.settings read)

request-uri

/cocoon/


I found a solution for very similar problem on
http://mail-archives.apache.org/mod_mbox/cocoon-users/200606.mbox/[EMAIL 
PROTECTED]

with the following hint:
Try this.
1. From the command line type
export JAVA_OPTS=-Dorg.apache.cocoon.settings=cocoon.properties
2. Copy the cocoon.properties file from cocoon's root directory (the 
same directory where cocoon.sh is) to tomcat's bin directory.

Unfortunately the mentioned solutions does not work for me, because as Tomcat5 
is running as a service there is no bin directory.


My Tomcat directories:
file:///var/lib/tomcat5/conf
file:///var/lib/tomcat5/logs
file:///var/lib/tomcat5/shared
file:///var/lib/tomcat5/temp
file:///var/lib/tomcat5/webapps
file:///var/lib/tomcat5/work

Do you have any idea where to copy cocoon.properties respective how to solve 
this problem?

Thanks fo your help,
Moritz


Catalina stack trace:
25 Oct 2006 17:56:24 - org.apache.slide.common.Domain - INFO - Initializing 
Domain
java.lang.ExceptionInInitializerError
at org.apache.slide.common.Domain.init(Domain.java:413)
at org.apache.slide.common.Domain.init(Domain.java:366)
at org.apache.slide.common.Domain.init(Domain.java:329)
at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:253)
at javax.servlet.GenericServlet.init(GenericServlet.java:211)
at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at 
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:272)
at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
at 
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:114)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1038)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4017)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
at 
org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:121)
at 
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:805)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:277)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:832)
at 
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:625)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:431)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:480)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at 

Error when installing Cocoon 2.1.8 under Tomcat 5.5.9

2005-11-22 Thread Joseph Hill
I built Cocoon 2.1.8 and then put the cocoon.war file in Tomcat 5.5.9's 
webapp directory and then when I started Tomcat and went to the Cocoon 
page I got the error messages below.  I'm running Mandrake 10 and am 
using Java 1.5.0-4.  Any ideas on what causes this and how to fix it?


exception
javax.servlet.ServletException: Servlet.init() for servlet Cocoon threw 
exception

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)

root cause
java.lang.NullPointerException
org.apache.cocoon.servlet.multipart.RequestFactory.init(RequestFactory.java:61)
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:491)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Thread.java:595)


--
Joseph Hill
Doctoral Candidate
Department of Anthropology
Yale University
51 Hillhouse Avenue
New Haven, CT 06520
203-231-4983
http://pantheon.yale.edu/~jbh34

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



Re: Error when installing Cocoon 2.1.8 under Tomcat 5.5.9

2005-11-22 Thread Joseph Hill
I restarted it as root and this time it worked.  Do you have to be root 
to start Cocoon under Tomcat or is this a fluke that has to do with my 
settings?  Thanks.


Joe

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



Re: Error when installing Cocoon 2.1.8 under Tomcat 5.5.9

2005-11-22 Thread Bertrand Delacretaz

Le 22 nov. 05, à 17:11, Joseph Hill a écrit :

I restarted it as root and this time it worked.  Do you have to be 
root to start Cocoon under Tomcat...


No, but the error that you got indicates that the multipart 
RequestFactory could not access its upload director.


So it is a directory permission problem, which obviously goes away when 
running as root (maybe because you started tomcat as root first and it 
created this directory).


Here's the code around line 61 of 
src/java/org/apache/cocoon/servlet/multipart/RequestFactory.java:


if (saveUploadedFilesToDisk) {
   // Empty the contents of the upload directory
   File[] files = uploadDirectory.listFiles();
   for (int i = 0; i  files.length; i++) {
   files[i].delete();
   }
   }

I haven't checked but IIRC, by default the uploads to somewhere under 
the WEB-INF of your Cocoon webapp, you should check access rights 
there.


-Bertrand



smime.p7s
Description: S/MIME cryptographic signature


Re: Error when installing Cocoon 2.1.8 under Tomcat 5.5.9

2005-11-22 Thread Joseph Hill
You're right.  When I installed it (under my own user name) it gave some 
of the sub-subdirectories to root--I don't know why it does this.  I 
chmoded everything under tomcat to myself and hope this doesn't create 
any security problems.  Thanks.


Joe

Bertrand Delacretaz wrote:


Le 22 nov. 05, à 17:11, Joseph Hill a écrit :


No, but the error that you got indicates that the multipart 
RequestFactory could not access its upload director.


So it is a directory permission problem, which obviously goes away 
when running as root (maybe because you started tomcat as root first 
and it created this directory).


Here's the code around line 61 of 
src/java/org/apache/cocoon/servlet/multipart/RequestFactory.java:


if (saveUploadedFilesToDisk) {
   // Empty the contents of the upload directory
   File[] files = uploadDirectory.listFiles();
   for (int i = 0; i  files.length; i++) {
   files[i].delete();
   }
   }

I haven't checked but IIRC, by default the uploads to somewhere under 
the WEB-INF of your Cocoon webapp, you should check access rights there.


-Bertrand



--
Joseph Hill
Doctoral Candidate
Department of Anthropology
Yale University
51 Hillhouse Avenue
New Haven, CT 06520
203-231-4983
http://pantheon.yale.edu/~jbh34


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



RE: Installing cocoon

2005-03-04 Thread Michel SALAIS
Title: Installing cocoon



Thanks 
for your reply Johnsont.
Itcompiles and works now with jdk1.5.
However I forgot to follow the procedure to modify the line 
"source.vm=1.3" in the file build.properties.
Should 
I modify it before building and what are the possible 
effects?

  -Message d'origine-De: Johnson 
  [mailto:[EMAIL PROTECTED]Envoy: jeudi 3 mars 2005 
  13:21: users@cocoon.apache.orgObjet: Re: 
  Installing cocoon
  do not use jdk1.5
  if you want to,see the mail list subject jdk1.5
  
  johnson
  
- Original Message - 
From: 
Michel SALAIS 

To: users@cocoon.apache.org 
Sent: Thursday, March 03, 2005 6:57 
PM
    Subject: Installing cocoon

Hi all, 
I am new to XML Cocoona and co but I have some 
familiarity with Apache. 
I have Mandrake 10.0 with the default web server 
installed (ADVX - Based on apache server). I have my JAVA_HOME pointing to 
"/usr/java/jdk1.5.0_01". I have not installed Tomcat yet.
When I launch ./build.sh from the cocoon 
directory, I have the following error message: -- Beginning 
--- Compiling 5 source files to 
/usr/local/cocoon-2.1.6/tools/anttasks javac: target release 1.3 conflicts with default source release 
1.5 
BUILD FAILED /usr/localcocoon-2.1.6/tools/targets/init-build.xml:159:Compile 
failed; see the compiler error output for details. 
Total time: 2 seconds -- End 
--- 
Thanks in advance for your help. 
  


Installing cocoon

2005-03-03 Thread Michel SALAIS
Title: Installing cocoon






Hi all,


I am new to XML Cocoona and co but I have some familiarity with Apache.


I have Mandrake 10.0 with the default web server installed (ADVX - Based on apache server). I have my JAVA_HOME pointing to /usr/java/jdk1.5.0_01. I have not installed Tomcat yet.

When I launch ./build.sh from the cocoon directory, I have the following error message:

-- Beginning ---

Compiling 5 source files to /usr/local/cocoon-2.1.6/tools/anttasks

javac: target release 1.3 conflicts with default source release 1.5


BUILD FAILED

/usr/localcocoon-2.1.6/tools/targets/init-build.xml:159:Compile failed; see the compiler error output for details.


Total time: 2 seconds

-- End ---


Thanks in advance for your help.





Re: Installing cocoon

2005-03-03 Thread Johnson
Title: Installing cocoon



do not use jdk1.5
if you want to,see the mail list subject jdk1.5

johnson

  - Original Message - 
  From: 
  Michel SALAIS 
  
  To: users@cocoon.apache.org 
  Sent: Thursday, March 03, 2005 6:57 
  PM
  Subject: Installing cocoon
  
  Hi all, 
  I am new to XML Cocoona and co but I have some 
  familiarity with Apache. 
  I have Mandrake 10.0 with the default web server 
  installed (ADVX - Based on apache server). I have my JAVA_HOME pointing to 
  "/usr/java/jdk1.5.0_01". I have not installed Tomcat yet.
  When I launch ./build.sh from the cocoon directory, 
  I have the following error message: -- Beginning 
  --- Compiling 5 source files to 
  /usr/local/cocoon-2.1.6/tools/anttasks javac: target release 1.3 conflicts with default source release 
  1.5 
  BUILD FAILED /usr/localcocoon-2.1.6/tools/targets/init-build.xml:159:Compile failed; 
  see the compiler error output for details. 
  Total time: 2 seconds -- End 
  --- 
  Thanks in advance for your help. 



Installing Cocoon 2.1.6 -- Error while building...

2005-01-18 Thread J. Tomas Salvador
Title: Mensaje



Hello,

I'm trying 
to install Cocoon to learn more about it.

I've 
installed Java2 SDK1.4.2_04 and my system is a Windows XP SP2. I set the 
JAVA_HOME variable to c:\j2sdk1.4.2_04 that is the installation directory of the 
Java SDK.

Everything 
went well till I started to get some errors telling that "package 
com.lowagie.text does not exist". I attach a txt file with the errors I could 
see in my DOS window.

Is there 
anything I could check or do in a different way?.

Thanks in 
advance,

JTS

Compiling 1 source file to C:\cocoon-2.1.6\build\cocoon-2.1.6\blocks\itext\dest
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:31: package com.lowagie.text does not exist
import com.lowagie.text.Document;
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:32: package com.lowagie.text does not exist
import com.lowagie.text.PageSize;
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:33: package com.lowagie.text does not exist
import com.lowagie.text.Rectangle;
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:34: package com.lowagie.text.pdf does not exist
import com.lowagie.text.pdf.PdfWriter;
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:35: package com.lowagie.text.xml does not exist
import com.lowagie.text.xml.SAXiTextHandler;
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:48: cannot resolve symbol
symbol  : class Rectangle
location: class org.apache.cocoon.serialization.iTextSerializer
private Rectangle pageSize;
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:50: cannot resolve symbol
symbol  : class Document
location: class org.apache.cocoon.serialization.iTextSerializer
private Document document = null;
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:52: cannot resolve symbol
symbol  : class Rectangle
location: class org.apache.cocoon.serialization.iTextSerializer
private Rectangle getPageSize(final String s) throws ConfigurationException
{
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:55: cannot resolve symbol
symbol  : variable PageSize
location: class org.apache.cocoon.serialization.iTextSerializer
return PageSize.LETTER;
   ^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:58: cannot resolve symbol
symbol  : variable PageSize
location: class org.apache.cocoon.serialization.iTextSerializer
return PageSize.A4;
   ^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:61: cannot resolve symbol
symbol  : variable PageSize
location: class org.apache.cocoon.serialization.iTextSerializer
return PageSize.A5;
   ^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSeria
lizer.java:109: cannot resolve symbol
symbol  : class Document
location: class org.apache.cocoon.serialization.iTextSerializer
this.document = new Document(this.pageSize);
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSerializer.java:112:
 cannot resolve symbol
symbol  : variable PdfWriter
location: class org.apache.cocoon.serialization.iTextSerializer
PdfWriter.getInstance(document, out);
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSerializer.java:119:
 cannot resolve symbol
symbol  : class SAXiTextHandler
location: class org.apache.cocoon.serialization.iTextSerializer
SAXiTextHandler handler = new SAXiTextHandler(document);
^
C:\cocoon-2.1.6\src\blocks\itext\java\org\apache\cocoon\serialization\iTextSerializer.java:119:
 cannot resolve symbol
symbol  : class SAXiTextHandler
location: class org.apache.cocoon.serialization.iTextSerializer
SAXiTextHandler handler = new SAXiTextHandler(document);
  ^
15 errors

BUILD FAILED
C:\cocoon-2.1.6\tools\targets\compile-build.xml:239: The following error 
occurred while executing this line:
C:\cocoon-2.1.6\build\cocoon-2.1.6\temp\blocks-build.xml:2730: Compile failed; 
see the compiler error output for details.

Total time: 2 minutes 6 seconds
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

2004-12-08 Thread Jorg Heymans
Are you sure this is resolved in 2.1.6 ?
My colleague got it to work with following *evilness* :
#!/bin/zsh
for file in **/*(.)
  do (
  grep -qE 'org.mozilla.(javascript|classfile)' $file  (
  echo patching $file...
  sed 
's/org\(.\)mozilla\(.\)\(javascript\|classfile\)/org\1mozcoco\2\3/g' $file \
   $file.new; mv $file.new $file
  )
  )
done

Applied to both rhino sources and cocoon, and everything seems to be 
working fine still.

Comments?
Jorg
Ralph Goers wrote:
I believe the issue with Rhino is resolved by using Cocoon 2.1.6. The
version of Rhino used in Cocoon in 2.1.5.1 appears to be incompatible with
the version in use by Weblogic.
Ralph
Jorg Heymans said:
Did you get any further on this? We are trying to do the same but are
running into classloader issues with rhino.
Has anyone solved the rhino issue on weblogic btw? We are operating on a
locked down environment and are basically only allowed to deploy our
webapp and restart the instance. Can one work around it given these
restrictions?
Regards
Jorg
Per Christian Engdal wrote:
Hi,
I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1
Sp2 (Windows 2000) installation. The deployment works without
exceptions, but when I try to access cocoon through
_http://localhost:80/cocoon_ http://localhost/cocoon I get the
following error message (stack
trace):
java.lang.NoClassDefFoundError: org/apache/log/Logger
at
org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLogger.java:122)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:797)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

I have added xercesImpl-2.6.2.jar and xml-apis.jar to the weblogic
server CLASSPATH. I have also checked the cocoon.war file to see if the
loggerkit-1.2.2.jar is included - it is!
Is there anybody with an idea about how to fix this ?
Regards,
Per-Christian Engdal


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


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


Re: SV: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

2004-12-07 Thread Jorg Heymans
good to know thanks.
Jorg
Per Christian Engdal wrote:
I resolved it by deploying cocoon exploded. I also had to add logKit.jar to the 
classpath for the Weblogic server.
Regards,
Per-Chr.
-Opprinnelig melding-
Fra: news [mailto:[EMAIL PROTECTED] På vegne av Jorg Heymans
Sendt: 6. desember 2004 18:46
Til: [EMAIL PROTECTED]
Emne: Re: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2
Did you get any further on this? We are trying to do the same but are running 
into classloader issues with rhino.
Has anyone solved the rhino issue on weblogic btw? We are operating on a locked 
down environment and are basically only allowed to deploy our webapp and 
restart the instance. Can one work around it given these restrictions?
Regards
Jorg
Per Christian Engdal wrote:
Hi,
I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1
Sp2 (Windows 2000) installation. The deployment works without 
exceptions, but when I try to access cocoon through 
_http://localhost:80/cocoon_ http://localhost/cocoon I get the 
following error message (stack

trace):
java.lang.NoClassDefFoundError: org/apache/log/Logger
at
org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLo
gger.java:122)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:
797)
at 
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)

at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servle
tStubImpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
Subject.java:317)
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
18)

at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImp
l.java:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubI
mpl.java:848)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubIm
pl.java:787)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.j
ava:518)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
l.java:362)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
l.java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction
.run(WebAppServletContext.java:6350)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
Subject.java:317)
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
18)

at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSer
vletContext.java:3635)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImp
l.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

I have added xercesImpl-2.6.2.jar and xml-apis.jar to the weblogic 
server CLASSPATH. I have also checked the cocoon.war file to see if 
the loggerkit-1.2.2.jar is included - it is!

Is there anybody with an idea about how to fix this ?
Regards,
Per-Christian Engdal


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

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


Re: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

2004-12-07 Thread Jorg Heymans
I've got another window tomorrow to test this. Do we need to enable the 
paranoid classloader for this?
Our first 2.1.6 deployment tests did give rhino classcastexceptions all 
over the place. Enabling the paranoidservlet didn't seem to help.

I'll keep you posted.
Thanks
Jorg
Ralph Goers wrote:
I believe the issue with Rhino is resolved by using Cocoon 2.1.6. The
version of Rhino used in Cocoon in 2.1.5.1 appears to be incompatible with
the version in use by Weblogic.
Ralph
Jorg Heymans said:
Did you get any further on this? We are trying to do the same but are
running into classloader issues with rhino.
Has anyone solved the rhino issue on weblogic btw? We are operating on a
locked down environment and are basically only allowed to deploy our
webapp and restart the instance. Can one work around it given these
restrictions?
Regards
Jorg
Per Christian Engdal wrote:
Hi,
I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1
Sp2 (Windows 2000) installation. The deployment works without
exceptions, but when I try to access cocoon through
_http://localhost:80/cocoon_ http://localhost/cocoon I get the
following error message (stack
trace):
java.lang.NoClassDefFoundError: org/apache/log/Logger
at
org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLogger.java:122)
at
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:797)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)
at
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

I have added xercesImpl-2.6.2.jar and xml-apis.jar to the weblogic
server CLASSPATH. I have also checked the cocoon.war file to see if the
loggerkit-1.2.2.jar is included - it is!
Is there anybody with an idea about how to fix this ?
Regards,
Per-Christian Engdal


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


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


Re: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

2004-12-06 Thread Jorg Heymans
Did you get any further on this? We are trying to do the same but are 
running into classloader issues with rhino.

Has anyone solved the rhino issue on weblogic btw? We are operating on a 
locked down environment and are basically only allowed to deploy our 
webapp and restart the instance. Can one work around it given these 
restrictions?

Regards
Jorg
Per Christian Engdal wrote:
Hi,
I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1
Sp2 (Windows 2000) installation. The deployment works without 
exceptions, but when I try to access cocoon through 
_http://localhost:80/cocoon_ http://localhost/cocoon I get the 
following error message (stack

trace):
java.lang.NoClassDefFoundError: org/apache/log/Logger
at 
org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLogger.java:122)

at 
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:797)

at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)
at 
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)

at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at 
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)

at 
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)

at 
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)

at 
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)

at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)

at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)

at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)

at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)

at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)

at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
 

I have added xercesImpl-2.6.2.jar and xml-apis.jar to the weblogic 
server CLASSPATH. I have also checked the cocoon.war file to see if the 
loggerkit-1.2.2.jar is included - it is!

Is there anybody with an idea about how to fix this ?
Regards,
Per-Christian Engdal
 

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


Re: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

2004-12-06 Thread Ralph Goers
I believe the issue with Rhino is resolved by using Cocoon 2.1.6. The
version of Rhino used in Cocoon in 2.1.5.1 appears to be incompatible with
the version in use by Weblogic.

Ralph


Jorg Heymans said:
 Did you get any further on this? We are trying to do the same but are
 running into classloader issues with rhino.

 Has anyone solved the rhino issue on weblogic btw? We are operating on a
 locked down environment and are basically only allowed to deploy our
 webapp and restart the instance. Can one work around it given these
 restrictions?

 Regards
 Jorg

 Per Christian Engdal wrote:
 Hi,

 I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1

 Sp2 (Windows 2000) installation. The deployment works without
 exceptions, but when I try to access cocoon through
 _http://localhost:80/cocoon_ http://localhost/cocoon I get the
 following error message (stack

 trace):

 java.lang.NoClassDefFoundError: org/apache/log/Logger

 at
 org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLogger.java:122)

 at
 org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:797)

 at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)

 at
 weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)

 at
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

 at
 weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

 at
 weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)

 at
 weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)

 at
 weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)

 at
 weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)

 at
 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)

 at
 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)

 at
 weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)

 at
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)

 at
 weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)

 at
 weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)

 at
 weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)

 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)

 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)



 I have added xercesImpl-2.6.2.jar and xml-apis.jar to the weblogic
 server CLASSPATH. I have also checked the cocoon.war file to see if the
 loggerkit-1.2.2.jar is included - it is!

 Is there anybody with an idea about how to fix this ?

 Regards,

 Per-Christian Engdal




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




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



SV: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

2004-12-06 Thread Per Christian Engdal
I resolved it by deploying cocoon exploded. I also had to add logKit.jar to the 
classpath for the Weblogic server.

Regards,
Per-Chr.

-Opprinnelig melding-
Fra: news [mailto:[EMAIL PROTECTED] På vegne av Jorg Heymans
Sendt: 6. desember 2004 18:46
Til: [EMAIL PROTECTED]
Emne: Re: Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

Did you get any further on this? We are trying to do the same but are running 
into classloader issues with rhino.

Has anyone solved the rhino issue on weblogic btw? We are operating on a locked 
down environment and are basically only allowed to deploy our webapp and 
restart the instance. Can one work around it given these restrictions?

Regards
Jorg

Per Christian Engdal wrote:
 Hi,
 
 I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1
 
 Sp2 (Windows 2000) installation. The deployment works without 
 exceptions, but when I try to access cocoon through 
 _http://localhost:80/cocoon_ http://localhost/cocoon I get the 
 following error message (stack
 
 trace):
 
 java.lang.NoClassDefFoundError: org/apache/log/Logger
 
 at
 org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLo
 gger.java:122)
 
 at
 org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:
 797)
 
 at 
 org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)
 
 at
 weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(Servle
 tStubImpl.java:993)
 
 at
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
 Subject.java:317)
 
 at 
 weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
 18)
 
 at
 weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImp
 l.java:869)
 
 at
 weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubI
 mpl.java:848)
 
 at
 weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubIm
 pl.java:787)
 
 at
 weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.j
 ava:518)
 
 at
 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
 l.java:362)
 
 at
 weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImp
 l.java:305)
 
 at
 weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction
 .run(WebAppServletContext.java:6350)
 
 at
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticated
 Subject.java:317)
 
 at 
 weblogic.security.service.SecurityManager.runAs(SecurityManager.java:1
 18)
 
 at
 weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSer
 vletContext.java:3635)
 
 at
 weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImp
 l.java:2585)
 
 at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
 
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
 
  
 
 I have added xercesImpl-2.6.2.jar and xml-apis.jar to the weblogic 
 server CLASSPATH. I have also checked the cocoon.war file to see if 
 the loggerkit-1.2.2.jar is included - it is!
 
 Is there anybody with an idea about how to fix this ?
 
 Regards,
 
 Per-Christian Engdal
 
  


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


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



Problems installing cocoon 2.1.5.1 on BEA Weblogic 8.1 sp2

2004-11-29 Thread Per Christian Engdal




Hi,
I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1
Sp2 (Windows 2000) installation. The deployment works without exceptions, but 
when I try to access cocoon through http://localhost:80/cocoon I get the 
following error message (stack
trace):
java.lang.NoClassDefFoundError: org/apache/log/Logger
at 
org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLogger.java:122)
at 
org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:797)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:306)
at 
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at 
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at 
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at 
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at 
weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:518)
at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:362)
at 
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at 
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
at 
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)

I have added xercesImpl-2.6.2.jar and xml-apis.jar to the weblogic server 
CLASSPATH. I have also checked the cocoon.war file to see if the 
loggerkit-1.2.2.jar is included - it is!
Is there anybody with an idea about how to fix this ?
Regards,
Per-Christian Engdal



methods of installing cocoon, shared jar files?

2004-10-13 Thread Carol Gray
Hello,
I have only been using Cocoon since last April, with an initial 
installation and guidance from someone with much more experience than I 
have. Now I would like to expand my use of Cocoon and add additional web 
applications.

I have looked at some of the pages on the Wiki regarding organization of 
the Cocoon installation and some of the options, such as having sub-sitemaps.

Alternatively, I would like to have multiple instances of Cocoon running 
and have shared jar files so that these separate instances are not too 
memory intensive. (That is, separate main sitemaps, not separate 
sub-sitemaps for each application.) Earlier on the mailing list I noticed 
that some people seem to use this structure for their applications, that is 
having the cocoon files in the web application's sub-directory.

Currently I have a web application deployed as an exploded war file in the 
deploy directory of jboss.
The path is:
/jboss-3.3.5/server/default/deploy/my-web-app.war
This folder holds all my specific application files (xml, xsp, xsl files), 
and also has the folder WEB-INF.
WEB-INF contains my sitemap.xmap, cocoon.xconf, etc.
WEB-INF  also contains a classes folder, with properties files, 
package.jdo, repository.dtd and repository.xml. Here also are the class 
folders: org/apache/cocoon/acting, components, ojb, ojb, samples, and woody 
folders.
WEB-INF also has the folders db, deli, entities, lib, logs
WEB-INF/lib seems to be the critical folder, with 
avalon-framework-4.1.4.jar, castor-0.9.5-xml.jar, cocoon 2.1.4.jar, etc.

Is there a way to take this WEB-INF/lib folder and have the large jar files 
shared by multiple instances of cocoon? And, where should this folder be 
located? I'm guessing that I also have to specify the path to these jar 
files in a configuration file in each web application. In each cocoon.xconf?

Under Tomcat, I thought I had seen something about a common/endorsed folder 
for sharing files. But my applications will be running under JBoss, 
currently using the version of Tomcat 5 that is used by JBoss 3.2.5.

Thanks for any suggestions, assistance, or pointers. I hope the explanation 
of my directory structure isn't too confusing.
Carol

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


Installing Cocoon 2.1 on Tomcat 5.x

2004-08-11 Thread malikan jones
How would one install Cocoon 2.1 on Tomcat 5.x. I have looked for documentation but couldn't find any?

thanks
M
		Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!

RE: Installing Cocoon 2.1 on Tomcat 5.x

2004-08-11 Thread Perez Carmona, David



I
suppose like any standard web app, by placing the contents of build/webapp in a
directory inside the webapps directory of Tomcat 5.
I work
in this way for Tomcat 4.1.

  -Mensaje original-De: malikan jones
  [mailto:[EMAIL PROTECTED]Enviado el: miércoles, 11 de agosto de
  2004 7:21Para: [EMAIL PROTECTED]Asunto: Installing
  Cocoon 2.1 on Tomcat 5.x
  How would one install Cocoon 2.1 on Tomcat 5.x. I have looked for
  documentation but couldn't find any?
  
  thanks
  M
  
  
  Do you Yahoo!?New
  and Improved Yahoo! Mail - Send 10MB messages!
  


  *
Este correo ha sido procesado por el Antivirus del Grupo FCC.
*


*
Este correo ha sido procesado por el Antivirus del Grupo FCC
*


Re: Installing Cocoon 2.1 on Tomcat 5.x

2004-08-11 Thread Antonio Gallardo
malikan jones dijo:
 How would one install Cocoon 2.1 on Tomcat 5.x.  I have looked for
 documentation but couldn't find any?

Use the same aproach as for tomcat 4.1.x:

In short: Copy endorsed libs, deploy cocoon and run tomcat...

Best Regards,

Antonio Gallardo.

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



Re: [beginner] Installing Cocoon on Debian.

2004-03-19 Thread Laurent BERTHELOT
Thanks for all reponses !
All is OK (^^) !

Laurent (less and less beginner, I hope)

- Original Message - 
From: Zamek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 2:51 PM
Subject: Re: [beginner] Installing Cocoon on Debian.


 Hello,
 
 Try to install a newer tomcat to your machine. Maybe 4.1.x or 4.2.x.
 
 I am using it Debian unstable with 2.4.23 kernel, and java:
 java version 1.4.0_03
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-b04)
 Java HotSpot(TM) Client VM (build 1.4.0_03-b04, mixed mode)
 from sun.
 
 tomcat is: 4.1.18.
 
 On Thursday 18 March 2004 14.50, Johannes Textor wrote:
  Then I suppose it has nothing to do with the endorsed-libs problem. In
  those cases
  you normally get other exceptions like ClassCastException or
  NoSuchMethodException.
 
  Now I remember I also had this error message once with the the cocoon
  2.04 binary
  distribution. I then built my own .war file from the 2.1.4 source
  distribution which
  worked fine. Maybe you should try that if you're stuck.
 
  Laurent BERTHELOT wrote:
  Hello
  
  I have the same problem with ParanoidCocoonServlet, the same error.
  And when I define paranoid-classpath or extra-classpath in my web.xml
  configuration file, files of my cocoon directory are just list by
   tomcat.
  
  Regards,
  
  Laurent
  
 
 -- 
 bye,
 Zoltan Zidarics programmer
 PTE University Pecs, Hungary
 icq: 43288694
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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



[beginner] Installing Cocoon on Debian.

2004-03-18 Thread Laurent BERTHELOT
Hello
(sorry for my poor english)

I have several problem for cocoon installation on debian 'cause i have a lot
of access restrictions (woody).

About my configuration :
- Java : j2sdk1.4.2_03
- Tomcat Web Server v3.3a Final
- Cocoon 2.0.4 (bin)

I can't access to the java directory. (xalan.jar and xerces.jar from the
jsdk1.4.2_03 are in use in my server so i can't replace those files anyway)
Java and Tomcat work correctly... (java  javac are ok and tomcat is
listenning on 8081)

Not Cocoon... :
message Error in sitemap configuration : UnnamedSelector: ComponentSelector
could not find the component for hint []

description
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : UnnamedSelector: ComponentSelector could not find
the component for hint []


I think it's a problem of xalan, xerces and xml-apis version according to
the documentation (http://cocoon.apache.org/2.0/installing/index.html)

Part of the documentation and personnal comments :

Java 1.4 configuration
Cocoon requires more recent versions of the Xerces and Xalan libraries than
those shipped with j2se 1.4. To override bundled libraries, follow these
steps:

Create %JAVA_HOME%\jre\lib\endorsed directory.
-- I can't 'cause I can't access to the java directory. (just read access)

Copy xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar from the
.\lib\core\ to the %JAVA_HOME%\jre\lib\endorsed\ directory.
-- So I can't

 Tomcat overrides the standard java endorsed directory. For tomcat, you'll
need to use %TOMCAT_HOME%\common\endorsed for all these changes.
-- Ok, perhaps something to do, i can't create a directory in
%TOMCAT_HOME%\directory, but i can write in %TOMCAT_HOME\lib\ directory, I
have put my jars files in this directory but cocoon do not work...


 If you use the binary distribution, the above jars are bundled in the war
file. You can get them by extracting the war with a zip utility and looking
in WEB-INF\lib
-- Those I use.


Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to
use Cocoon built on JDK 1.2/1.3 with JDK 1.4 when it comes to databases. If
you use the binary distribution, be sure to download the one appropriate for
your JDK.
-- Not important for me for the moment.

I know I have a lot of restrictions, but perhaps someone have a solution for
my cocoon installation ?
I hope so...

Regards,

Laurent


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



Re: [beginner] Installing Cocoon on Debian.

2004-03-18 Thread Johannes Textor
Hi,

you can use the ParanoidCocoonServlet to make sure that libraries 
located in WEB-INF/lib
are searched before those of the JDK or the common\endorsed libraries.
You can find a detailed description of this issue at:

http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem

Laurent BERTHELOT wrote:

Hello
(sorry for my poor english)
I have several problem for cocoon installation on debian 'cause i have a lot
of access restrictions (woody).
About my configuration :
- Java : j2sdk1.4.2_03
- Tomcat Web Server v3.3a Final
- Cocoon 2.0.4 (bin)
I can't access to the java directory. (xalan.jar and xerces.jar from the
jsdk1.4.2_03 are in use in my server so i can't replace those files anyway)
Java and Tomcat work correctly... (java  javac are ok and tomcat is
listenning on 8081)
Not Cocoon... :
 

message Error in sitemap configuration : UnnamedSelector: ComponentSelector
   

could not find the component for hint []

 

description
   

org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : UnnamedSelector: ComponentSelector could not find
the component for hint []
I think it's a problem of xalan, xerces and xml-apis version according to
the documentation (http://cocoon.apache.org/2.0/installing/index.html)
Part of the documentation and personnal comments :

 

Java 1.4 configuration
Cocoon requires more recent versions of the Xerces and Xalan libraries than
   

those shipped with j2se 1.4. To override bundled libraries, follow these
steps:
 

Create %JAVA_HOME%\jre\lib\endorsed directory.
   

-- I can't 'cause I can't access to the java directory. (just read access)

 

Copy xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar from the
   

.\lib\core\ to the %JAVA_HOME%\jre\lib\endorsed\ directory.
-- So I can't
 

Tomcat overrides the standard java endorsed directory. For tomcat, you'll
   

need to use %TOMCAT_HOME%\common\endorsed for all these changes.
-- Ok, perhaps something to do, i can't create a directory in
%TOMCAT_HOME%\directory, but i can write in %TOMCAT_HOME\lib\ directory, I
have put my jars files in this directory but cocoon do not work...
 

If you use the binary distribution, the above jars are bundled in the war
   

file. You can get them by extracting the war with a zip utility and looking
in WEB-INF\lib
-- Those I use.
 

Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible to
   

use Cocoon built on JDK 1.2/1.3 with JDK 1.4 when it comes to databases. If
you use the binary distribution, be sure to download the one appropriate for
your JDK.
-- Not important for me for the moment.
I know I have a lot of restrictions, but perhaps someone have a solution for
my cocoon installation ?
I hope so...
Regards,

Laurent

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



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


Re: [beginner] Installing Cocoon on Debian.

2004-03-18 Thread Laurent BERTHELOT
Hello

I have the same problem with ParanoidCocoonServlet, the same error.
And when I define paranoid-classpath or extra-classpath in my web.xml
configuration file, files of my cocoon directory are just list by tomcat.

Regards,

Laurent



- Original Message - 
From: Johannes Textor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 1:24 PM
Subject: Re: [beginner] Installing Cocoon on Debian.


 Hi,

 you can use the ParanoidCocoonServlet to make sure that libraries
 located in WEB-INF/lib
 are searched before those of the JDK or the common\endorsed libraries.
 You can find a detailed description of this issue at:

  http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem

 Laurent BERTHELOT wrote:

 Hello
 (sorry for my poor english)
 
 I have several problem for cocoon installation on debian 'cause i have a
lot
 of access restrictions (woody).
 
 About my configuration :
 - Java : j2sdk1.4.2_03
 - Tomcat Web Server v3.3a Final
 - Cocoon 2.0.4 (bin)
 
 I can't access to the java directory. (xalan.jar and xerces.jar from the
 jsdk1.4.2_03 are in use in my server so i can't replace those files
anyway)
 Java and Tomcat work correctly... (java  javac are ok and tomcat is
 listenning on 8081)
 
 Not Cocoon... :
 
 
 message Error in sitemap configuration : UnnamedSelector:
ComponentSelector
 
 
 could not find the component for hint []
 
 
 
 description
 
 
 org.apache.avalon.framework.configuration.ConfigurationException: Error
in
 sitemap configuration : UnnamedSelector: ComponentSelector could not
find
 the component for hint []
 
 
 I think it's a problem of xalan, xerces and xml-apis version according to
 the documentation (http://cocoon.apache.org/2.0/installing/index.html)
 
 Part of the documentation and personnal comments :
 
 
 
 Java 1.4 configuration
 Cocoon requires more recent versions of the Xerces and Xalan libraries
than
 
 
 those shipped with j2se 1.4. To override bundled libraries, follow these
 steps:
 
 
 Create %JAVA_HOME%\jre\lib\endorsed directory.
 
 
 -- I can't 'cause I can't access to the java directory. (just read
access)
 
 
 
 Copy xerces-XXX.jar, xalan-XXX.jar, and the xml-apis.jar from the
 
 
 .\lib\core\ to the %JAVA_HOME%\jre\lib\endorsed\ directory.
 -- So I can't
 
 
 
 Tomcat overrides the standard java endorsed directory. For tomcat,
you'll
 
 
 need to use %TOMCAT_HOME%\common\endorsed for all these changes.
 -- Ok, perhaps something to do, i can't create a directory in
 %TOMCAT_HOME%\directory, but i can write in %TOMCAT_HOME\lib\ directory,
I
 have put my jars files in this directory but cocoon do not work...
 
 
 
 If you use the binary distribution, the above jars are bundled in the
war
 
 
 file. You can get them by extracting the war with a zip utility and
looking
 in WEB-INF\lib
 -- Those I use.
 
 
 
 Due to changes in JDBC between JDK 1.3 and JDK 1.4, it is not possible
to
 
 
 use Cocoon built on JDK 1.2/1.3 with JDK 1.4 when it comes to databases.
If
 you use the binary distribution, be sure to download the one appropriate
for
 your JDK.
 -- Not important for me for the moment.
 
 I know I have a lot of restrictions, but perhaps someone have a solution
for
 my cocoon installation ?
 I hope so...
 
 Regards,
 
 Laurent
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 


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




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



Re: [beginner] Installing Cocoon on Debian.

2004-03-18 Thread Johannes Textor
Then I suppose it has nothing to do with the endorsed-libs problem. In 
those cases
you normally get other exceptions like ClassCastException or 
NoSuchMethodException.

Now I remember I also had this error message once with the the cocoon 
2.04 binary
distribution. I then built my own .war file from the 2.1.4 source 
distribution which
worked fine. Maybe you should try that if you're stuck.

Laurent BERTHELOT wrote:

Hello

I have the same problem with ParanoidCocoonServlet, the same error.
And when I define paranoid-classpath or extra-classpath in my web.xml
configuration file, files of my cocoon directory are just list by tomcat.
Regards,

Laurent



- Original Message - 
From: Johannes Textor [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 18, 2004 1:24 PM
Subject: Re: [beginner] Installing Cocoon on Debian.
 

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


Re: [beginner] Installing Cocoon on Debian.

2004-03-18 Thread Zamek
Hello,

Try to install a newer tomcat to your machine. Maybe 4.1.x or 4.2.x.

I am using it Debian unstable with 2.4.23 kernel, and java:
java version 1.4.0_03
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_03-b04)
Java HotSpot(TM) Client VM (build 1.4.0_03-b04, mixed mode)
from sun.

tomcat is: 4.1.18.

On Thursday 18 March 2004 14.50, Johannes Textor wrote:
 Then I suppose it has nothing to do with the endorsed-libs problem. In
 those cases
 you normally get other exceptions like ClassCastException or
 NoSuchMethodException.

 Now I remember I also had this error message once with the the cocoon
 2.04 binary
 distribution. I then built my own .war file from the 2.1.4 source
 distribution which
 worked fine. Maybe you should try that if you're stuck.

 Laurent BERTHELOT wrote:
 Hello
 
 I have the same problem with ParanoidCocoonServlet, the same error.
 And when I define paranoid-classpath or extra-classpath in my web.xml
 configuration file, files of my cocoon directory are just list by
  tomcat.
 
 Regards,
 
 Laurent
 

-- 
bye,
Zoltan Zidarics programmer
PTE University Pecs, Hungary
icq: 43288694

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



Re: Installing Cocoon On debian

2004-03-11 Thread Lionel Crine
Glad you find the answer.

We use Cocoon 2.1.3 on a prod server and It's all good.
I think the 2.1 version is enough stable to use it.
Besides, there are so much more functionnalities.

Lionel

At 11:37 09/03/2004 +0100, you wrote:
Thank you very much.

All is ok...(^^)... and sorry for my beginner question (^^)

I use 2.0.4 'cause it's stable...
2.0.4  2.1.4 on dev server.
and
2.0.4 on my prod server.
More information about my problem :
http://cocoon.apache.org/2.0/installing/index.html
Chapter Java 1.4 configuration 
- Original Message -
From: Lionel Crine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 5:19 PM
Subject: Re: Installing Cocoon On debian
I advise you to use cocoon 2.1.4 and tomcat 4.x on debian.

deb packages are not available on the woody, so get the source and compile
them.
If I remembered correctly : you only have to set the environment variables
(for tomcat, cocoon and the jdk) and launch the build script.
About you error : look at the tomcat and cocoon logs. You may not have the
newest xerces and xalan jars.
Lionel







At 16:58 08/03/2004 +0100, you wrote:
Hello,

(sorry for my poor english...)

I wanna install cocoon (v2.0.4) on debian (woody)

I use :
- JDK 1.4.3 (src)
- Tomcat 3.3a final (pkg)

I use src files (build is OK), I restart tomcat (Ok), but i have a problem
when i launch Cocoon on
http://myserver:myport/cocoon/http://myserver:myport/cocoon/

I have this error :

//

type fatal

message Error in sitemap configuration : UnnamedSelector:
ComponentSelector could not find the component for hint []

description
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : UnnamedSelector: ComponentSelector could not find
the component for hint []

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : UnnamedSelector: ComponentSelector could not find
the component for hint []
 at

org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoo
n/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:405)
 at

org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:264)
 at

org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:98)
 at

org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
or(GeneratorSelector.java:187)
 at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:357)
 at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:312)
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
 at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector could not find the component for hint []
 at

org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:198)
 at

org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
mapComponentSelector.java:101)
 at

org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
mapComponentSelector.java:104)
 at

org.apache.cocoon.www.sitemap_xmap.preparePattern(/var/cache/tomcat/DEFAULT/
cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1554)
 at

org.apache.cocoon.www.sitemap_xmap.prepareMatchers(/var/cache/tomcat/DEFAULT
/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1573)
 at

org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoo
n/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:398)
 ... 7 more
request-uri
/cocoon/
path-info
//

I have the same problem when i use the cocoon2 debian package...
It-is a problem of jar's files loading order ?
may i change the server.xml configuration file of Tomcat ? i think not...

I'm sure there's a thread on this mailing list with the answer but i don't
found it !
Thank you for you help.

Laurent
laurent dot berthelot at studioblanc dot fr
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70

Re: Installing Cocoon On debian

2004-03-09 Thread Laurent BERTHELOT
Thank you very much.

All is ok...(^^)... and sorry for my beginner question (^^)

I use 2.0.4 'cause it's stable...
2.0.4  2.1.4 on dev server.
and
2.0.4 on my prod server.

More information about my problem :
http://cocoon.apache.org/2.0/installing/index.html
Chapter Java 1.4 configuration 


- Original Message - 
From: Lionel Crine [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 08, 2004 5:19 PM
Subject: Re: Installing Cocoon On debian


I advise you to use cocoon 2.1.4 and tomcat 4.x on debian.

deb packages are not available on the woody, so get the source and compile
them.
If I remembered correctly : you only have to set the environment variables
(for tomcat, cocoon and the jdk) and launch the build script.


About you error : look at the tomcat and cocoon logs. You may not have the
newest xerces and xalan jars.


Lionel







At 16:58 08/03/2004 +0100, you wrote:
Hello,

(sorry for my poor english...)

I wanna install cocoon (v2.0.4) on debian (woody)

I use :
- JDK 1.4.3 (src)
- Tomcat 3.3a final (pkg)

I use src files (build is OK), I restart tomcat (Ok), but i have a problem
when i launch Cocoon on
http://myserver:myport/cocoon/http://myserver:myport/cocoon/

I have this error :

//

type fatal

message Error in sitemap configuration : UnnamedSelector:
ComponentSelector could not find the component for hint []

description
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : UnnamedSelector: ComponentSelector could not find
the component for hint []

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace
org.apache.avalon.framework.configuration.ConfigurationException: Error in
sitemap configuration : UnnamedSelector: ComponentSelector could not find
the component for hint []
 at

org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoo
n/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:405)
 at

org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(De
faultComponentFactory.java:264)
 at

org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(
ThreadSafeComponentHandler.java:98)
 at

org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerat
or(GeneratorSelector.java:187)
 at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR
esource(ProgramGeneratorImpl.java:357)
 at

org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:312)
 at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
 at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector could not find the component for hint []
 at

org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(Exca
liburComponentSelector.java:198)
 at

org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
mapComponentSelector.java:101)
 at

org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSite
mapComponentSelector.java:104)
 at

org.apache.cocoon.www.sitemap_xmap.preparePattern(/var/cache/tomcat/DEFAULT/
cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1554)
 at

org.apache.cocoon.www.sitemap_xmap.prepareMatchers(/var/cache/tomcat/DEFAULT
/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1573)
 at

org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoo
n/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:398)
 ... 7 more
request-uri
/cocoon/
path-info
//

I have the same problem when i use the cocoon2 debian package...
It-is a problem of jar's files loading order ?
may i change the server.xml configuration file of Tomcat ? i think not...

I'm sure there's a thread on this mailing list with the answer but i don't
found it !
Thank you for you help.

Laurent
laurent dot berthelot at studioblanc dot fr

Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70


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



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



Installing Cocoon On debian

2004-03-08 Thread Laurent BERTHELOT



Hello,

(sorry for my poor english...)

I wanna install cocoon (v2.0.4) on debian 
(woody)

I use :
- JDK 1.4.3 (src)
- Tomcat 3.3a final (pkg)

I use src files (build is OK), I restart tomcat (Ok), but i have a problem when i launch Cocoon 
on http://myserver:myport/cocoon/

I have this error :

//

type 
fatal
message 
Error in sitemap configuration : UnnamedSelector: ComponentSelector could not 
find the component for hint []
description 
org.apache.avalon.framework.configuration.ConfigurationException: Error in 
sitemap configuration : UnnamedSelector: ComponentSelector could not find the 
component for hint []
sender 
org.apache.cocoon.servlet.CocoonServlet
source 
Cocoon servlet
stack-traceorg.apache.avalon.framework.configuration.ConfigurationException: Error in sitemap configuration : UnnamedSelector: ComponentSelector could not find the component for hint []
	at org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:405)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:264)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
	at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
	at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.avalon.framework.component.ComponentException: UnnamedSelector: ComponentSelector could not find the component for hint []
	at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:198)
	at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:101)
	at org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:104)
	at org.apache.cocoon.www.sitemap_xmap.preparePattern(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1554)
	at org.apache.cocoon.www.sitemap_xmap.prepareMatchers(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1573)
	at org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:398)
	... 7 more


request-uri/cocoon/

path-info
//

I have the same problem when i use the cocoon2 
debian package...
It-is a problem of jar's files loading order 
?
mayi change the server.xml configuration file 
of Tomcat ?i think not...

I'm sure there's a thread on this mailing list with 
the answer but i don't found it !
Thank you for you help.

Laurent 
laurent dot berthelot at studioblanc dot 
fr


Re: Installing Cocoon On debian

2004-03-08 Thread Lionel Crine
I advise you to use cocoon 2.1.4 and tomcat 4.x on debian.

deb packages are not available on the woody, so get the source and compile 
them.
If I remembered correctly : you only have to set the environment variables 
(for tomcat, cocoon and the jdk) and launch the build script.

About you error : look at the tomcat and cocoon logs. You may not have the 
newest xerces and xalan jars.

Lionel







At 16:58 08/03/2004 +0100, you wrote:
Hello,

(sorry for my poor english...)

I wanna install cocoon (v2.0.4) on debian (woody)

I use :
- JDK 1.4.3 (src)
- Tomcat 3.3a final (pkg)
I use src files (build is OK), I restart tomcat (Ok), but i have a problem 
when i launch Cocoon on 
http://myserver:myport/cocoon/http://myserver:myport/cocoon/

I have this error :

//

type fatal

message Error in sitemap configuration : UnnamedSelector: 
ComponentSelector could not find the component for hint []

description 
org.apache.avalon.framework.configuration.ConfigurationException: Error in 
sitemap configuration : UnnamedSelector: ComponentSelector could not find 
the component for hint []

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

stack-trace
org.apache.avalon.framework.configuration.ConfigurationException: Error in 
sitemap configuration : UnnamedSelector: ComponentSelector could not find 
the component for hint []
at 
org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:405)
at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:264)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
at 
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.avalon.framework.component.ComponentException: 
UnnamedSelector: ComponentSelector could not find the component for hint []
at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select(ExcaliburComponentSelector.java:198)
at 
org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:101)
at 
org.apache.cocoon.sitemap.DefaultSitemapComponentSelector.select(DefaultSitemapComponentSelector.java:104)
at 
org.apache.cocoon.www.sitemap_xmap.preparePattern(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1554)
at 
org.apache.cocoon.www.sitemap_xmap.prepareMatchers(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:1573)
at 
org.apache.cocoon.www.sitemap_xmap.configure(/var/cache/tomcat/DEFAULT/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:398)
... 7 more
request-uri
/cocoon/
path-info
//

I have the same problem when i use the cocoon2 debian package...
It-is a problem of jar's files loading order ?
may i change the server.xml configuration file of Tomcat ? i think not...
I'm sure there's a thread on this mailing list with the answer but i don't 
found it !
Thank you for you help.

Laurent
laurent dot berthelot at studioblanc dot fr
Lionel CRINE
Ingénieur Systèmes documentaires
Société : 4DConcept
22 rue Etienne de Jouy 78353 JOUY EN JOSAS
Tel : 01.34.58.70.70 Fax : 01.39.58.70.70
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: R: newbie has problems installing cocoon

2004-02-03 Thread Guy Worthington
Joerg Heinicke wrote:
 Guy Worthington wrote:

 And was hoping that such a beginner's resource existed either in the
 documentation or in the Wiki.

 Maybe it's not that obvious but you didn't started with the most
 simple thing we have. In general you should first start with the User
 Guide at http://cocoon.apache.org/2.1/userdocs/index.html. For people
 standing in front of the documentation jungle we have also added the
 tracks (http://cocoon.apache.org/2.1/tracks/index.html). Though they
 might be a bit terse they can show you at least a way to go.

Thanks again Joerg.

I'm still lost, but I'll try hacking through the index and hope I'm
just not ploughing the sand.  I'll be back when I have enough
vocabulary so that I can phrase my questions in a coherent way.  


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



Re: R: newbie has problems installing cocoon

2004-02-03 Thread Guy Worthington
Derek Hohls wrote:

 There are a number of introductory tutorials out there... herewith
 a dump of a few:
 
 http://webreference.com/xml/column52/
 http://www.developer.com/java/ent/article.php/3098661
 http://www.idealliance.org/europe/03/call/xmlpapers/02-01-05.14/.02-01-05.html
 
 http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-cocoon.html 
 http://www.xml.com/lpt/a/2002/07/10/cocoon2.html 
 http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?feature_id=81
 
 Hope these help a little

Thanks for the research Derek, I think this is the information I want.
(I know, I'm well aware that sounds like Donald Rumsfeld -- There are
known knowns ... )  I'll start with the javaworld article (Javaworld
being the premier source for online java articles).


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



Re: newbie has problems installing cocoon

2004-02-03 Thread Daniel Smith
Guy Worthington wrote:

And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.
Hi Guy.

I don't know if you are aware of it, but there has also just recently been 
what seems to me (ie--a beginner) a very good book come out from Wrox on 
developing with Cocoon, Xalan, Xerces, Xindice, Batik, et al. I have long 
lurked this list and have read of persons making portals with all these, but 
never could quite tell how it all fit together. This book seems very good to 
give an overview of how it all works, and it is from the post-2.1 version 
perspective:

http://wrox.com/books/0764543555.shtml

Good luck. I need it too. :)

Daniel

_
Scope out the new MSN Plus Internet Software — optimizes dial-up to the max! 
  http://join.msn.com/?pgmarket=en-uspage=byoa/plusST=1

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


Re: R: newbie has problems installing cocoon

2004-02-01 Thread Derek Hohls
Guy

There are a number of introductory tutorials out there... herewith
a dump of a few:
http://webreference.com/xml/column52/
http://www.developer.com/java/ent/article.php/3098661
http://www.idealliance.org/europe/03/call/xmlpapers/02-01-05.14/.02-01-05.html

http://www.javaworld.com/javaworld/jw-09-2002/jw-0920-cocoon.html 
http://www.xml.com/lpt/a/2002/07/10/cocoon2.html 
http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?feature_id=81

Hope these help a little

Derek

 [EMAIL PROTECTED] 2004/01/30 03:38:31 PM 
Joerg Heinicke wrote:
 Guy Worthington wrote:

Hello Joerg,

 Has someone written a help file on the sitemap configuration file,
 which is current, covers the theory so that I'll be able to
 understand the architecture of Cocoon, and has done so in less than
 ten thousand words?

 Did you get the thing with the sitemap, the generator, transformer
 and serializer step?

Sort of. At present I'm running with the default settings.  For
instance below is my pipeline element (which I tacked onto the end of
the other pipeline elements in the main sitemap).

  !-- added by guyw first try at publishing using Cocoon --
  map:pipeline
   map:match pattern=firsttry
map:generate src=firsttry.xml/
map:transform src=firsttry.xsl/
map:serialize/
   /map:match
  /map:pipeline

As you can see I'm at a lower level than even the first tutorial. 

Don't get me wrong, I think the tutorial How to develop Web
Applications is well crafted, and if I let my eyes go out of focus so

I'm not reading the detail I can follow its logic.  It's just too
advanced at present.

What I'd really like is to start at the start with the big picture
(and maybe even a big picture) with some theory covering from the time
the client sends its request to the time it receives the final
published document from Cocoon.

And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.


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


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


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



Re: R: newbie has problems installing cocoon

2004-01-30 Thread Guy Worthington
Joerg Heinicke wrote:
 Guy Worthington wrote:

Hello Joerg,

 Has someone written a help file on the sitemap configuration file,
 which is current, covers the theory so that I'll be able to
 understand the architecture of Cocoon, and has done so in less than
 ten thousand words?

 Did you get the thing with the sitemap, the generator, transformer
 and serializer step?

Sort of. At present I'm running with the default settings.  For
instance below is my pipeline element (which I tacked onto the end of
the other pipeline elements in the main sitemap).

  !-- added by guyw first try at publishing using Cocoon --
  map:pipeline
   map:match pattern=firsttry
map:generate src=firsttry.xml/
map:transform src=firsttry.xsl/
map:serialize/
   /map:match
  /map:pipeline

As you can see I'm at a lower level than even the first tutorial. 

Don't get me wrong, I think the tutorial How to develop Web
Applications is well crafted, and if I let my eyes go out of focus so 
I'm not reading the detail I can follow its logic.  It's just too
advanced at present.

What I'd really like is to start at the start with the big picture
(and maybe even a big picture) with some theory covering from the time
the client sends its request to the time it receives the final
published document from Cocoon.

And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.


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



Re: Installing cocoon

2004-01-30 Thread Anna Bikkina
I do not have spaces in my path.Its a linux box. I attached the build output

Thanks,
Anna.

On Thursday 29 January 2004 06:06 pm, Joerg Heinicke wrote:
 On 29.01.2004 23:52, Anna Bikkina wrote:
  I changed the local.block.properties and there are no error after
  restarting tomcat now. What is this deli block used for?

 http://wiki.cocoondev.org/Wiki.jsp?page=BlockDescriptions

  I am still having problems during building the war.

 I asked for spaced in the path? Can you post the build output?

 Joerg

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

Apache Cocoon Build System
--
Buildfile: build.xml

prepare:
+---+
 Apache Cocoon 2.1.3 [1999-2003]
+---+
 Building with Apache Ant version 1.5.4 compiled on August 12 2003
 using build file /home/anna/cocoon-2.1.3/build.xml
 Compiling with debug on, optimize on, deprecation off
+| W A R N I N G |--+
   This build is targeted for use with JVM 1.4
 Using this build on a virtual machine other than the one
   it is targeted for may result in runtime errors.
+---+

cocoon-block-cron-compile:
---
ATTENTION: cron is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-precept-compile:
---
ATTENTION: precept is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-eventcache-compile:
---
ATTENTION: eventcache is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-repository-compile:
---
ATTENTION: repository is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-slide-compile:
---
ATTENTION: slide is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-proxy-compile:
---
ATTENTION: proxy is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-asciiart-compile:
---
ATTENTION: asciiart is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-mail-compile:
---
ATTENTION: mail is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-axis-compile:
---
ATTENTION: axis is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-taglib-compile:
---
ATTENTION: taglib is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-woody-compile:
---
ATTENTION: woody is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-qdox-compile:
---
ATTENTION: qdox is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-portal-compile:
---
ATTENTION: portal is marked unstable.
It should be considered alpha quality
which means that its API might change without notice.
---

cocoon-block-xmlform-excluded:
---
ATTENTION: xmlform is excluded from the build.
---

cocoon-block-petstore-compile:
---
ATTENTION: petstore is 

Re: Installing cocoon

2004-01-30 Thread Joerg Heinicke
On 30.01.2004 15:51, Anna Bikkina wrote:
I do not have spaces in my path.Its a linux box. I attached the build output
...

BUILD SUCCESSFUL
Total time: 1 minute 39 seconds
Didn't you say you have problems with your build :-)

Also try a build clean war, otherwise some steps are skipped because 
of an uptodate test.

Joerg

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


Re: R: newbie has problems installing cocoon

2004-01-30 Thread Joerg Heinicke
On 30.01.2004 14:38, Guy Worthington wrote:

As you can see I'm at a lower level than even the first tutorial. 

Don't get me wrong, I think the tutorial How to develop Web
Applications is well crafted, and if I let my eyes go out of focus so 
I'm not reading the detail I can follow its logic.  It's just too
advanced at present.

What I'd really like is to start at the start with the big picture
(and maybe even a big picture) with some theory covering from the time
the client sends its request to the time it receives the final
published document from Cocoon.
And was hoping that such a beginner's resource existed either in the
documentation or in the Wiki.
Maybe it's not that obvious but you didn't started with the most simple 
thing we have. In general you should first start with the User Guide at 
http://cocoon.apache.org/2.1/userdocs/index.html. For people standing in 
front of the documentation jungle we have also added the tracks 
(http://cocoon.apache.org/2.1/tracks/index.html). Though they might be a 
bit terse they can show you at least a way to go.

Joerg

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


Re: R: newbie has problems installing cocoon

2004-01-29 Thread Joerg Heinicke
On 29.01.2004 05:28, Guy Worthington wrote:

Ok, I get cocoon working, but I don't understand why the apps we had
working with cocoon 1 do not work when I drop them in /webapps ...
Tomcat gives me a resource not available...
Between Cocoon 1 and 2.1 really to much has changed to expect it simply 
working. Of course this depends on the complexity of your application. 
The most obvious change even for simple applications is the sitemap.

I share your frustration, I was able to publish with Cocoon 1.0 after
a weekend's light reading of McLaughlin's book Java and XML.
I just had to write XML documents and stylesheets and then slot them
into the right directories.
However between versions 1.0 and 2.0 Cocoon went ENTERPRISE in a big
way.  And instead of a weekend's light reading there's now a shit-load
of documentation.  (For example, after around 15 hours of reading,
I've reached the dizzying heights of being able to publish a static
XML file to HTML.)
I never heard that we had to much documentation. :)

So I'd like to re-ask your question: has someone written a help file
on the sitemap configuration file, which is current, covers the theory
so that I'll be able to understand the architecture of Cocoon, and has
done so in less than ten thousand words?
Did you get the thing with the sitemap, the generator, transformer and 
serializer step?

Joerg

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


Installing cocoon

2004-01-29 Thread Anna Bikkina
Hi,

I am new to cocoon. Trying to install it . It gives compilation error saying 
ant is not found and javax.jdo.PersistenceManager is not found. can anyone 
help me to come over this. I tried to add ant to the classpath and place it 
in the lib directory in cocoon. It still doesnt work. Infact I see a ant jar 
in tools/lib directory. I am using cocoon2.1.3.

Thanks,
Anna.


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



Re: Installing cocoon

2004-01-29 Thread Joerg Heinicke
How do you build it? Just build in the root directory of your Cocoon 
sources and everything should work. Is it possible that you do not use 
Cocoon's build script?

Joerg

On 29.01.2004 21:55, Anna Bikkina wrote:

Hi,

I am new to cocoon. Trying to install it . It gives compilation error saying 
ant is not found and javax.jdo.PersistenceManager is not found. can anyone 
help me to come over this. I tried to add ant to the classpath and place it 
in the lib directory in cocoon. It still doesnt work. Infact I see a ant jar 
in tools/lib directory. I am using cocoon2.1.3.

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


Re: Installing cocoon

2004-01-29 Thread Anna Bikkina
I did ./build.sh in the cocoon main directory. It does not find ant jar and 
jdo jar but then build turned out successful inspite of the errors.

When I deployed the war to tomcat and restarted tomcat I got the following 
errors in the tomcat logs. The examples and other can be accessed though 
using localhost:8080/cocoon link.

java.io.FileNotFoundException
java.io.FileNotFoundException
at 
org.apache.naming.resources.DirContextURLConnection.getInputStream(DirContextURLConnection.java:344)
at java.net.URL.openStream(URL.java:960)
at com.hp.hpl.deli.Workspace.getResource(Workspace.java:474)
at com.hp.hpl.deli.VocabularyConfig.init(VocabularyConfig.java:104)
at com.hp.hpl.deli.Vocabulary.init(Vocabulary.java:37)
at com.hp.hpl.deli.Workspace$1$CreateWorkspace.init(Workspace.java:191)
at com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
at org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:148)
at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:310)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:556)
at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:2




no protocol: 
com.hp.hpl.jena.rdf.arp.ParseException: {E201} Syntax error when processing 
EOF.
Input to RDF parser ended prematurely. This is often related to an XML parser 
abort.
Encountered EOF Was expecting one of:
XML ELEMENT CONTENT 
 
start element rdf:RDF 
start element rdf:Description 
general start element tag 

at 
com.hp.hpl.jena.rdf.arp.RDFParser.generateParseException(RDFParser.java:2208)
at com.hp.hpl.jena.rdf.arp.RDFParser.jj_consume_token(RDFParser.java:2095)
at com.hp.hpl.jena.rdf.arp.RDFParser.root(RDFParser.java:1325)
at com.hp.hpl.jena.rdf.arp.RDFParser.embeddedFile(RDFParser.java:1308)
at com.hp.hpl.jena.rdf.arp.ARPFilter.parse(ARPFilter.java:293)
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:227)
at com.hp.hpl.jena.rdf.arp.JenaReader.read(JenaReader.java:256)
at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:173)
at com.hp.hpl.deli.VocabularyConfig.schemaProcess(VocabularyConfig.java:250)
at com.hp.hpl.deli.VocabularyConfig.init(VocabularyConfig.java:105)
at com.hp.hpl.deli.Vocabulary.init(Vocabulary.java:37)
at com.hp.hpl.deli.Workspace$1$CreateWorkspace.init(Workspace.java:191)
at com.hp.hpl.deli.Workspace.configure(Workspace.java:367)
at org.apache.cocoon.components.deli.DeliImpl.initialize(DeliImpl.java:148)
at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:310)
at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:143)
at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:556)
at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:547)
at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)
at org.apache.cocoon.Cocoon.initialize(Cocoon.java:340)
at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:282)


Thanks,
Anna.


On Thursday 29 January 2004 05:20 pm, Joerg Heinicke wrote:
 How do you build it? Just build in the root directory of your Cocoon
 sources and everything should work. Is it possible that you do not use
 Cocoon's build script?


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



Re: Installing cocoon

2004-01-29 Thread Joerg Heinicke
Strange. Do you have spaces in your directory name? The error with deli 
is well-known and you have to exclude the block from build (see 
install.txt for more info).

Joerg

On 29.01.2004 23:32, Anna Bikkina wrote:

I did ./build.sh in the cocoon main directory. It does not find ant jar and 
jdo jar but then build turned out successful inspite of the errors.

When I deployed the war to tomcat and restarted tomcat I got the following 
errors in the tomcat logs. The examples and other can be accessed though 
using localhost:8080/cocoon link.
... deli stacktrace snipped ...

Thanks,
Anna.
On Thursday 29 January 2004 05:20 pm, Joerg Heinicke wrote:

How do you build it? Just build in the root directory of your Cocoon
sources and everything should work. Is it possible that you do not use
Cocoon's build script?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Installing cocoon

2004-01-29 Thread Anna Bikkina
I changed the local.block.properties and there are no error after restarting 
tomcat now. What is this deli block used for?

I am still having problems during building the war. 

Thank you for the information.

Anna.


On Thursday 29 January 2004 05:39 pm, Joerg Heinicke wrote:
 Strange. Do you have spaces in your directory name? The error with deli
 is well-known and you have to exclude the block from build (see
 install.txt for more info).

 Joerg

 On 29.01.2004 23:32, Anna Bikkina wrote:
  I did ./build.sh in the cocoon main directory. It does not find ant jar
  and jdo jar but then build turned out successful inspite of the errors.
 
  When I deployed the war to tomcat and restarted tomcat I got the
  following errors in the tomcat logs. The examples and other can be
  accessed though using localhost:8080/cocoon link.

 ... deli stacktrace snipped ...

  Thanks,
  Anna.
 
  On Thursday 29 January 2004 05:20 pm, Joerg Heinicke wrote:
 How do you build it? Just build in the root directory of your Cocoon
 sources and everything should work. Is it possible that you do not use
 Cocoon's build script?

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


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



Re: Installing cocoon

2004-01-29 Thread Joerg Heinicke
On 29.01.2004 23:52, Anna Bikkina wrote:

I changed the local.block.properties and there are no error after restarting 
tomcat now. What is this deli block used for?
http://wiki.cocoondev.org/Wiki.jsp?page=BlockDescriptions

I am still having problems during building the war. 
I asked for spaced in the path? Can you post the build output?

Joerg

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


Re: newbie has problems installing cocoon

2004-01-28 Thread Joerg Heinicke
On 28.01.2004 07:42, Andrea Simonetti wrote:
well, right; I have tried different combinations as a matter of facts.
My people here need to have JDK 1.3.1 for java, that's the only limit.
I managed to get cocoon working now, but still it won't take the apps I drop
in /webapps... tomcat says application not available.
I shall contact the guy that made the first setup working (nt4, jdk 1.31,
tomcat 3.3.4  cocoon 1), there has to be some config I am missing...
If you use 2.1.3 it's really easy:

1. Get 2.1.3 from http://cocoon.apache.org/mirror.cgi. It's only 
available as sources, so you can choose either the second or third link 
(Windows or Unix) on the page. The first link is for explanation why 
there are only sources.

2. Unzip it where ever you want (this dir is now the COCOON_SRC 
directory). If you use WinZip an empty directory might be missing 
(COCOON_SRC/src/blocks/stx/java). The build would stumble about it and 
you can add it.

3. Type build war in COCOON_SRC directory.

4.a Type cocoon servlet for running Cocoon in Jetty.

4.b Copy cocoon.war from COCOON_SRC/build/cocoon-2.1.3 into your 
TOMCAT_HOME/webapps directory. If you don't use JDK 1.4 it should just 
work.

Joerg

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


Re: newbie has problems installing cocoon

2004-01-28 Thread Nicolas Toper
If I remember irght old Tomcat doens't detect war automatically. It depends on 
the version number. Might be worth checking?
Le Mercredi 28 Janvier 2004 11:37, Joerg Heinicke a écrit :
 On 28.01.2004 07:42, Andrea Simonetti wrote:
  well, right; I have tried different combinations as a matter of facts.
  My people here need to have JDK 1.3.1 for java, that's the only limit.
 
  I managed to get cocoon working now, but still it won't take the apps I
  drop in /webapps... tomcat says application not available.
 
  I shall contact the guy that made the first setup working (nt4, jdk 1.31,
  tomcat 3.3.4  cocoon 1), there has to be some config I am missing...

 If you use 2.1.3 it's really easy:

 1. Get 2.1.3 from http://cocoon.apache.org/mirror.cgi. It's only
 available as sources, so you can choose either the second or third link
 (Windows or Unix) on the page. The first link is for explanation why
 there are only sources.

 2. Unzip it where ever you want (this dir is now the COCOON_SRC
 directory). If you use WinZip an empty directory might be missing
 (COCOON_SRC/src/blocks/stx/java). The build would stumble about it and
 you can add it.

 3. Type build war in COCOON_SRC directory.

 4.a Type cocoon servlet for running Cocoon in Jetty.

 4.b Copy cocoon.war from COCOON_SRC/build/cocoon-2.1.3 into your
 TOMCAT_HOME/webapps directory. If you don't use JDK 1.4 it should just
 work.

 Joerg

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


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



Re: R: newbie has problems installing cocoon

2004-01-28 Thread Guy Worthington
Hello Andrea,

 Ok, I get cocoon working, but I don't understand why the apps we had
 working with cocoon 1 do not work when I drop them in /webapps ...
 Tomcat gives me a resource not available...

I share your frustration, I was able to publish with Cocoon 1.0 after
a weekend's light reading of McLaughlin's book Java and XML.
I just had to write XML documents and stylesheets and then slot them
into the right directories.

However between versions 1.0 and 2.0 Cocoon went ENTERPRISE in a big
way.  And instead of a weekend's light reading there's now a shit-load
of documentation.  (For example, after around 15 hours of reading,
I've reached the dizzying heights of being able to publish a static
XML file to HTML.)

So I'd like to re-ask your question: has someone written a help file
on the sitemap configuration file, which is current, covers the theory
so that I'll be able to understand the architecture of Cocoon, and has
done so in less than ten thousand words?


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



newbie has problems installing cocoon

2004-01-27 Thread Simonetti Andrea
Title: newbie has problems installing cocoon






 Ok, here's what I do:
I have a win2000 server machine
I installed the java sdk 1.3.1_09 
I installed the latest Tomcat I could find
I installed the cocoon.war package (2.0.4) in webapps and restarted tomcat
Tomcat decompressed cocoon nicely
I access http://localhost:8080/cocoon and get:

HTTP Status 404 - /cocoon/
type Status report
message /cocoon/
description The requested resource (/cocoon/) is not available


Apache Tomcat/5.0.16

Does anyone knows where shall I look to solve this?


Thanks a lot,


Andy
 





Re: newbie has problems installing cocoon

2004-01-27 Thread Bertrand Delacretaz
Le Mardi, 27 jan 2004, à 13:04 Europe/Zurich, Simonetti Andrea a écrit :

...I installed the latest Tomcat I could find
I installed the cocoon.war package (2.0.4) in webapps and restarted 
tomcat...
Do you have a specific reason not to use the latest 2.1.3 release?

Also, starting with cocoon.bat servlet as described in INSTALL.txt 
might be easier.

-Bertrand

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


Installing cocoon on Sunone - Urgent

2003-09-23 Thread Boominathan M

Pl. find my question posted below:


--- Boominathan M [EMAIL PROTECTED] wrote:
 Hi
 
 I have installed cocoon 2.0.4 on solaris machine
 running on SUNONE application server. When i tried
 to
 access using http://server-name/cocoon, i'm
 getting
 the following exception. I tried copying all the
 jars
 files under instances lib directory and also
 explicitly declared in UI JVM class path, nothing
 help
 me to resolve the issue. 
 
 This needs to be fixed asap..pl. help me out in
 resolving this issue, it would be of great help to
 me.
 
 Thanks in advance,
 Boominathan. M
 
No DTM...exception
 org.apache.cocoon.ProcessingException: Language
 Exception:

org.apache.cocoon.components.language.LanguageException:
 Error compiling sitemap_xmap: Line 6271, column 12:
 '}' expected Line 5221, column 4: 'try' without
 'catch' or 'finally' Line 3168, column 25: method

error_process_1_500(org.apache.cocoon.sitemap.SitemapRedirector,
 org.apache.cocoon.environment.Environment,
 java.util.Map, java.lang.Exception, boolean) not
 found
 in class org.apache.cocoon.www.sitemap_xmap Line
 3339,
 column 8: method

matchN4005A9(org.apache.cocoon.sitemap.SitemapRedirector,
 org.apache.cocoon.environment.Environment, 
 
 __
 Do you Yahoo!?
 Yahoo! SiteBuilder - Free, easy-to-use web site
 design software
 http://sitebuilder.yahoo.com
 


__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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



Odd problem(s) installing cocoon 2.1.1 under Windows 2000

2003-09-23 Thread DChri36990


I just finished working through some problems getting cocoon installed on my system.I found them to be rather odd, so I figured I'd bring it to the group's attention.

I believe everything in my configuration is about as current as could be, as I recently had to reinstall W2K:

Windows 2000 SP4
Apache 2.0.47
Ant 1.5.3
Tomcat 4.1.27
Cocoon 2.1.1 "latest"

After confirming that Apache, Ant, and Tomcat all installed properly, I unzipped Cocoon and followed the simplistic directions in the file "Install.txt" to complete my installation. (I typed "build")  When I ran the build, I received this error:


BUILD FAILED
file:C:/cocoon-2.1.1/build/cocoon-2.1.1/temp/blocks-build.xml:1542: C:\cocoon-2.
1.1\src\blocks\session-fw\lib not found.

To try to get around this problem, I decided to simply create the folder that was "not found", and try again. I then got a similar message with a different folder, and repeated my steps, creating another "lib" folder. I repeated this process roughly 20 times before I finally got a successful build. In all but one instance I needed to add a "lib" folder. In one case, I needed to add a "java" folder. If need be, I can hunt down all the specific folder names, but I doubt if that is an issue. Apparently, the problem is that the build tool is failing (in some cases) when a folder is missing, even if there is no required content in that folder.

The only thing even remotely out of the ordinary in my installation procedure that I can think of is that Tomcat wasn't running the first time I tried the "build" command. I can't see how that could have caused problems such as I described.

I just wanted to bring this to the group's attention, in case anyone else has run into similar problems, or if anyone can identify a "heads up" as to other problems that I need to be aware of as a result of these quirks.


RE: Odd problem(s) installing cocoon 2.1.1 under Windows 2000

2003-09-23 Thread neil
I think you need to unpack the kit with gnu-tar (winzip doesn't make the empty 
directories).
I did read this somewhere, but can't find the reference now.
I use the tar in cygwin.
Cheers,
Neil


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, 24 September 2003 2:55 PM
To: [EMAIL PROTECTED]
Subject: Odd problem(s) installing cocoon 2.1.1 under Windows 2000


I just finished working through some problems getting cocoon installed on my system.  
I found them to be rather odd, so I figured
I'd bring it to the group's attention.

I believe everything in my configuration is about as current as could be, as I 
recently had to reinstall W2K:

Windows 2000 SP4
Apache 2.0.47
Ant 1.5.3
Tomcat 4.1.27
Cocoon 2.1.1 latest

After confirming that Apache, Ant, and Tomcat all installed properly, I unzipped 
Cocoon and followed the simplistic directions in
the file Install.txt to complete my installation. (I typed build)   When I ran the 
build, I received this error:

BUILD FAILED
file:C:/cocoon-2.1.1/build/cocoon-2.1.1/temp/blocks-build.xml:1542: C:\cocoon-2.
1.1\src\blocks\session-fw\lib not found.

To try to get around this problem, I decided to simply create the folder that was not 
found, and try again. I then got a similar
message with a different folder, and repeated my steps, creating another lib folder. 
 I repeated this process roughly 20 times
before I finally got a successful build.   In all but one instance I needed to add a 
lib folder.  In one case, I needed to add a
java folder.  If need be, I can hunt down all the specific folder names, but I doubt 
if that is an issue.  Apparently, the problem
is that the build tool is failing (in some cases) when a folder is missing, even if 
there is no required content in that folder.

The only thing even remotely out of the ordinary in my installation procedure that I 
can think of is that Tomcat wasn't running the
first time I tried the build command.  I can't see how that could have caused 
problems such as I described.

I just wanted to bring this to the group's attention, in case anyone else has run into 
similar problems, or if anyone can identify a
heads up as to other problems that I need to be aware of as a result of these quirks.


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



Re: installing cocoon 2.1 from source code

2003-09-16 Thread Joerg Heinicke
Geoff Howard wrote:

alpana wrote:

please use *build war *to create the war file


I am trying to install Cocoon version 2.1 from source code by 
compiling the source using Jakarta Ant with the commands: 
.\build.bat Dinclude.webapp.libs=yes webapp.

 The cocoon website documentation states very clearly that the command 
I entered is the command I need in order to create the cocoon.war file.


Um, where does it give this incorrect information in the documentation?

Geoff
It's easy if you mix Cocoon 2.0 and 2.1 on the website :-)
The 2.0 installing instructions were out of date and I have updated them 
on the website. They are still not up to date (e.g. include.webapp.libs 
is no longer required, because it's set by default), but at least there 
is no longer the wrong description (build all and so on).

Joerg



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


Re: installing cocoon 2.1 from source code

2003-09-16 Thread Geoff Howard
Joerg Heinicke wrote:
Geoff Howard wrote:

alpana wrote:

please use *build war *to create the war file

I am trying to install Cocoon version 2.1 from source code by 
compiling the source using Jakarta Ant with the commands: 
.\build.bat Dinclude.webapp.libs=yes webapp.

 The cocoon website documentation states very clearly that the 
command I entered is the command I need in order to create the 
cocoon.war file.
Um, where does it give this incorrect information in the documentation?

Geoff
It's easy if you mix Cocoon 2.0 and 2.1 on the website :-)
The 2.0 installing instructions were out of date and I have updated them 
on the website. They are still not up to date (e.g. include.webapp.libs 
is no longer required, because it's set by default), but at least there 
is no longer the wrong description (build all and so on).
Hmm, thought I had checked that after reading his email.  Did something 
happen or did I just not notice how bad it was?

Geoff

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


Re: installing cocoon 2.1 from source code

2003-09-16 Thread Joerg Heinicke
http://marc.theaimsgroup.com/?l=xml-cocoon-cvsm=106142924930218w=2
http://marc.theaimsgroup.com/?l=xml-cocoon-cvsm=106142929730259w=2
Some time ago a user used the 2.0 build without any target (= 
defaulting to all, which did not really all) and wondered about all 
the errors. He fixed the complete cocoon.xconf by hand. I changed the 
build.xml and the install docs that time, the website was only not updated.

Joerg

Geoff Howard wrote:

Joerg Heinicke wrote:

I am trying to install Cocoon version 2.1 from source code by 
compiling the source using Jakarta Ant with the commands: 
.\build.bat Dinclude.webapp.libs=yes webapp.

 The cocoon website documentation states very clearly that the 
command I entered is the command I need in order to create the 
cocoon.war file.
Um, where does it give this incorrect information in the documentation?

Geoff
It's easy if you mix Cocoon 2.0 and 2.1 on the website :-)
The 2.0 installing instructions were out of date and I have updated 
them on the website. They are still not up to date (e.g. 
include.webapp.libs is no longer required, because it's set by 
default), but at least there is no longer the wrong description 
(build all and so on).


Hmm, thought I had checked that after reading his email.  Did something 
happen or did I just not notice how bad it was?

Geoff


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


installing cocoon 2.1 from source code

2003-08-28 Thread
Title: installing cocoon 2.1 from source code






Hi and good day to you all!

I am using the binary version of Cocoon version 2.0.4 for JDK 1.4.

My server is the Apache Jakarta Tomcat version 4.1.27.

My database is MySQL version 4.0.13 using the JConnector driver version 3.0.8.

My computers operating system is Microsoft Windows 2000 Professional.

I am trying to install Cocoon version 2.1 from source code by compiling the source using Jakarta Ant with the commands: .\build.bat Dinclude.webapp.libs=yes webapp.

As a result of the compilation a folder called build is created and in it are the folders cocoon-2.1 and webapp. In the folder build should be a file called cocoon.war but it is not there. It tried searching the entire build directory and couldnt find it. What needs to be done in order to create this file? The cocoon website documentation states very clearly that the command I entered is the command I need in order to create the cocoon.war file.

Any help is welcome and greatly appreciated, god bless

Ori




Re: installing cocoon 2.1 from source code

2003-08-28 Thread Geoff Howard
  wrote:
Hi and good day to you all!

I am using the binary version of Cocoon version 2.0.4 for JDK 1.4.

My server is the Apache Jakarta Tomcat version 4.1.27.

My database is MySQL version 4.0.13 using the JConnector driver version 
3.0.8.

My computers operating system is Microsoft Windows 2000 Professional.

I am trying to install Cocoon version 2.1 from source code by compiling 
the source using Jakarta Ant with the commands: .\build.bat 
Dinclude.webapp.libs=yes webapp.

As a result of the compilation a folder called build is created and in 
it are the folders cocoon-2.1 and webapp. In the folder build should 
be a file called cocoon.war but it is not there. It tried searching 
the entire build directory and couldnt find it. What needs to be done 
in order to create this file? The cocoon website documentation states 
very clearly that the command I entered is the command I need in order 
to create the cocoon.war file.

Any help is welcome and greatly appreciated, god bless
The build process has changed significantly since 2.0 and you are using 
2.0 procedures.  Read the INSTALL.txt in the 2.1 directory and the 
install instructions at http://cocoon.apache.org/2.1/

The short answer about building a war, is just do build.bat war  the 
include.webapp.libs is no longer necessary.

Geoff Howard

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


Re: installing cocoon 2.1 from source code

2003-08-28 Thread Timothy Larson
--- àåøé ëäï [EMAIL PROTECTED] wrote:
 Hi and good day to you all!

Good day to you.

 I am trying to install Cocoon version 2.1 from source code by compiling
 the source using Jakarta “Ant” with the commands: “.\build.bat
 –Dinclude.webapp.libs=yes webapp”.

Try .\build.bat war instead.

--Tim Larson


__
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

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



Re: troubles installing cocoon

2003-07-23 Thread Joerg Heinicke
Alessio Sangalli wrote:
Joerg Heinicke wrote:

What was your JDK and Cocoon version with the last install?
the last install? I wrote all the versions I've used this time:
Hmm, ok. Many people only update the current install and have then a 
problem with the compatibility of the XML libraries.

  today I've made a new and clean install, on Linux with sun's jdk
  1.4.2, tomcat 4.1.24-LE, cocoon 2.0.4.
I've donwloaded sun's jdk 1.4.1_3 and now cocoon 204 works...!
I wonder if this is really the reason or only by accident. Do you know 
something about the endorsed libs problem? Sun provides XML libraries 
with the 1.4er JDKs, which *can* cause strange effects because of 
incompatibility:

http://wiki.cocoondev.org/Wiki.jsp?page=NoMoreDtmIdError
http://wiki.cocoondev.org/Wiki.jsp?page=EndorsedLibsProblem
Regards,

Joerg

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