Problem configure Cocoon2 Oracle8

2002-03-01 Thread Giuseppe De Vincenzi

Hello,

Why, when i use this configuration, i connect Oracle

web.xml (cocoon)
init-param
param-nameload-class/param-name
param-value
 sun.jdbc.odbc.JdbcOdbcDriver
 /param-value

 Coccon.xconf
 datasources
   jdbc name=test_oracle_pool logger=core.datasources.personnel
 !-- Don't forget the oradb parameter for Oracle!!! --
   pool-controller min=5 max=10 oradb=true/
 dburl jdbc:odbc:PEPPE /dburl
 userdev/user
 passwordgiu/password
 /jdbc
 datasources
:-)
OK
-
bat, if i change in:

param-value
   oracle.jdbc.driver.OracleDriver
  /param-value


 web.xml
init-param
param-nameload-class/param-name
param-value
 oracle.jdbc.driver.OracleDriver
/param-value

 Coccon.xconf
 datasources
   jdbc name=test_oracle_pool logger=core.datasources.personnel
 !-- Don't forget the oradb parameter for Oracle!!! --
  pool-controller min=5 max=10 oradb=true/
 dburljdbc:oracle:thin:@2000server:1521:oras/dburl
 userdev/user
 passwordgiu/password
 /jdbc
 datasources
ERROR.
ERROR.
ERROR.
ERROR.
ERROR.
java.lang.RuntimeException: Could not get the datasource
java.sql.SQLException: You cannot get a Poolable before the pool is
initialized...??

 The database driver is classes12.jar and I am able to connect to the same
 database with same driver with standalone java application.
 Environment is Tomcat 4,  C2( cocoon.war)  windows2000

CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
TEMP %USERPROFILE%\Impostazioni locali\Temp
JAVA_HOME C:\jdk1.3.1\bin;
NUMBER_OF_PROCESSORS 1
OS Windows_NT
Os2LibPath %SystemRoot%\system32\os2\dll;
Path
C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programmi\
File comuni\Adaptec Shared\System;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 0402
PROMPT $p$g
TEMP %SystemRoot%\TEMP
TMP %SystemRoot%\TEMP
TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
windir %SystemRoot%

 Thank you !
Giuseppe.






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

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




RE: Problem configure Cocoon2 Oracle8

2002-03-01 Thread Luca Morandini

Giuseppe,

you are absolutely sure that:

servername is 2000server
port is 1521
instance name is oras

aren't you ?

By the way, is 2000server the same server Cocoon runs on... or is it a
different machine ?

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


 -Original Message-
 From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 01, 2002 10:23 AM
 To: [EMAIL PROTECTED]
 Subject: Problem configure Cocoon2 Oracle8


 Hello,

 Why, when i use this configuration, i connect Oracle

 web.xml (cocoon)
 init-param
 param-nameload-class/param-name
 param-value
  sun.jdbc.odbc.JdbcOdbcDriver
  /param-value

  Coccon.xconf
  datasources
jdbc name=test_oracle_pool logger=core.datasources.personnel
  !-- Don't forget the oradb parameter for Oracle!!! --
pool-controller min=5 max=10 oradb=true/
  dburl jdbc:odbc:PEPPE /dburl
  userdev/user
  passwordgiu/password
  /jdbc
  datasources
 :-)
 OK
 -
 bat, if i change in:

 param-value
oracle.jdbc.driver.OracleDriver
   /param-value


  web.xml
 init-param
 param-nameload-class/param-name
 param-value
  oracle.jdbc.driver.OracleDriver
 /param-value

  Coccon.xconf
  datasources
jdbc name=test_oracle_pool logger=core.datasources.personnel
  !-- Don't forget the oradb parameter for Oracle!!! --
   pool-controller min=5 max=10 oradb=true/
  dburljdbc:oracle:thin:@2000server:1521:oras/dburl
  userdev/user
  passwordgiu/password
  /jdbc
  datasources
 ERROR.
 ERROR.
 ERROR.
 ERROR.
 ERROR.
 java.lang.RuntimeException: Could not get the datasource
 java.sql.SQLException: You cannot get a Poolable before the pool is
 initialized...??
 
  The database driver is classes12.jar and I am able to connect to the same
  database with same driver with standalone java application.
  Environment is Tomcat 4,  C2( cocoon.war)  windows2000

 CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
 CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
 TEMP %USERPROFILE%\Impostazioni locali\Temp
 JAVA_HOME C:\jdk1.3.1\bin;
 NUMBER_OF_PROCESSORS 1
 OS Windows_NT
 Os2LibPath %SystemRoot%\system32\os2\dll;
 Path
 C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
 Programmi\
 File comuni\Adaptec Shared\System;
 PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
 PROCESSOR_ARCHITECTURE x86
 PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
 PROCESSOR_LEVEL 6
 PROCESSOR_REVISION 0402
 PROMPT $p$g
 TEMP %SystemRoot%\TEMP
 TMP %SystemRoot%\TEMP
 TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
 windir %SystemRoot%

  Thank you !
 Giuseppe.






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

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



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

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




Re: problems with cocoon-2.0.1 and resin-2.0.3

2002-03-01 Thread Torsten Curdt

On Thu, 28 Feb 2002, Donald Ball wrote:
 On Thu, 28 Feb 2002, Torsten Curdt wrote:

  That's exactly what I had...
 
  ...a fresh checkout solved it. see
 
   http://marc.theaimsgroup.com/?l=xml-cocoon-devm=101377449417740w=2

 so you're saying that 2.0.1 is known to be broken with resin, but the
 latest cvs does work?

Actually I cannot really tell anything about 2.0.1 in particular because
we only use the HEAD branch - but it was very close to the latest release
version IIRC. And the symptoms are the same...

At least HEAD a few days ago worked back fine with resin.

Hope you this helps
--
Torsten


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

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




Re: Problem configure Cocoon2 Oracle8

2002-03-01 Thread yuryx

Hi
You found classes12.jar in $CATALINA_HOME/common/lib?
Maybe you have not oracle driver.
Regards
Yury

Giuseppe De Vincenzi wrote:

Hello,

Why, when i use this configuration, i connect Oracle

web.xml (cocoon)
init-param
param-nameload-class/param-name
param-value
 sun.jdbc.odbc.JdbcOdbcDriver
 /param-value

 Coccon.xconf
 datasources
   jdbc name=test_oracle_pool logger=core.datasources.personnel
 !-- Don't forget the oradb parameter for Oracle!!! --
   pool-controller min=5 max=10 oradb=true/
 dburl jdbc:odbc:PEPPE /dburl
 userdev/user
 passwordgiu/password
 /jdbc
 datasources
:-)
OK
-
bat, if i change in:

param-value
   oracle.jdbc.driver.OracleDriver
  /param-value


 web.xml
init-param
param-nameload-class/param-name
param-value
 oracle.jdbc.driver.OracleDriver
/param-value

 Coccon.xconf
 datasources
   jdbc name=test_oracle_pool logger=core.datasources.personnel
 !-- Don't forget the oradb parameter for Oracle!!! --
  pool-controller min=5 max=10 oradb=true/
 dburljdbc:oracle:thin:@2000server:1521:oras/dburl
 userdev/user
 passwordgiu/password
 /jdbc
 datasources
ERROR.
ERROR.
ERROR.
ERROR.
ERROR.
java.lang.RuntimeException: Could not get the datasource
java.sql.SQLException: You cannot get a Poolable before the pool is
initialized...??

 The database driver is classes12.jar and I am able to connect to the same
 database with same driver with standalone java application.
 Environment is Tomcat 4,  C2( cocoon.war)  windows2000

CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
TEMP %USERPROFILE%\Impostazioni locali\Temp
JAVA_HOME C:\jdk1.3.1\bin;
NUMBER_OF_PROCESSORS 1
OS Windows_NT
Os2LibPath %SystemRoot%\system32\os2\dll;
Path
C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programmi\
File comuni\Adaptec Shared\System;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 0402
PROMPT $p$g
TEMP %SystemRoot%\TEMP
TMP %SystemRoot%\TEMP
TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
windir %SystemRoot%

 Thank you !
Giuseppe.






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

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





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

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




XML Pipeline Definition Language introduced as Note

2002-03-01 Thread Yann Secq

Could be interresting for Cocoon, no ?

More informations on XMLhack : http://www.xmlhack.com/read.php?item=1564

Cheers, yann.

-- 
  / Yann SECQEquipe SMAC   [EMAIL PROTECTED] \
| Multi-Agent Systems Modeling  Agent Oriented Programming |
  \ http://www.lifl.fr/SMAChttp://www.lifl.fr/~secq /


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

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




Problem1 configure Cocoon2 Oracle8

2002-03-01 Thread Giuseppe De Vincenzi

Hello,

1) First Tomcat4(JSP-Cocoon2) end Oracle on machine1 OK

2)Now, i use  this parameters(servername, port ,instance) with JSP ...
[Tomcat 4(JSP) machine1 ]-- [Oracle 2000server]OK
[Tomcat4 (Cocoon2) machine1 ]  !NO! [Oracle 2000server] Could not get the
datasource

--
Thank  you very much.
Giuseppe.


- Original Message -
From: Luca Morandini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 10:46 AM
Subject: RE: Problem configure Cocoon2 Oracle8


 Giuseppe,

 you are absolutely sure that:

 servername is 2000server
 port is 1521
 instance name is oras

 aren't you ?

 By the way, is 2000server the same server Cocoon runs on... or is it a
 different machine ?

 Best regards,

 -
Luca Morandini
GIS Consultant
   [EMAIL PROTECTED]
 http://utenti.tripod.it/lmorandini/index.html
 -


  -Original Message-
  From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]]
  Sent: Friday, March 01, 2002 10:23 AM
  To: [EMAIL PROTECTED]
  Subject: Problem configure Cocoon2 Oracle8
 
 
  Hello,
 
  Why, when i use this configuration, i connect Oracle
 
  web.xml (cocoon)
  init-param
  param-nameload-class/param-name
  param-value
   sun.jdbc.odbc.JdbcOdbcDriver
   /param-value
 
   Coccon.xconf
   datasources
 jdbc name=test_oracle_pool
logger=core.datasources.personnel
   !-- Don't forget the oradb parameter for Oracle!!! --
 pool-controller min=5 max=10 oradb=true/
   dburl jdbc:odbc:PEPPE /dburl
   userdev/user
   passwordgiu/password
   /jdbc
   datasources
  :-)
  OK
  -
  bat, if i change in:
 
  param-value
 oracle.jdbc.driver.OracleDriver
/param-value
 
 
   web.xml
  init-param
  param-nameload-class/param-name
  param-value
   oracle.jdbc.driver.OracleDriver
  /param-value
 
   Coccon.xconf
   datasources
 jdbc name=test_oracle_pool
logger=core.datasources.personnel
   !-- Don't forget the oradb parameter for Oracle!!! --
pool-controller min=5 max=10 oradb=true/
   dburljdbc:oracle:thin:@2000server:1521:oras/dburl
   userdev/user
   passwordgiu/password
   /jdbc
   datasources
  ERROR.
  ERROR.
  ERROR.
  ERROR.
  ERROR.
  java.lang.RuntimeException: Could not get the datasource
  java.sql.SQLException: You cannot get a Poolable before the pool is
  initialized...??
  
   The database driver is classes12.jar and I am able to connect to the
same
   database with same driver with standalone java application.
   Environment is Tomcat 4,  C2( cocoon.war)  windows2000
 
  CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
  CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
  TEMP %USERPROFILE%\Impostazioni locali\Temp
  JAVA_HOME C:\jdk1.3.1\bin;
  NUMBER_OF_PROCESSORS 1
  OS Windows_NT
  Os2LibPath %SystemRoot%\system32\os2\dll;
  Path
  C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
  Programmi\
  File comuni\Adaptec Shared\System;
  PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
  PROCESSOR_ARCHITECTURE x86
  PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
  PROCESSOR_LEVEL 6
  PROCESSOR_REVISION 0402
  PROMPT $p$g
  TEMP %SystemRoot%\TEMP
  TMP %SystemRoot%\TEMP
  TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
  windir %SystemRoot%
 
   Thank you !
  Giuseppe.
 
 
 
 
 
 
  -
  Please check that your question has not already been answered in the
  FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 


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

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







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

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




RE: Problem1 configure Cocoon2 Oracle8

2002-03-01 Thread Luca Morandini

Giuseppe,

as far as I've understood, you use a different driver (the JDBC-ODBC bridge)
for connecting to Oracle using JSP, is that so ?

Hence, it may be just the driver... could you try to use the JDBC thin
driver for JSP as well ? This would reduce the width of investigation.

By the way, Tomcat 4 doesn't like ZIP as an extension for JAR packages;
hence, if you hadn't already done this: rename classes12.zip in
classes12.jar and put it in $TOMCAT_HOME\common\lib.

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


 -Original Message-
 From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 01, 2002 11:35 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Problem1 configure Cocoon2 Oracle8


 Hello,

 1) First Tomcat4(JSP-Cocoon2) end Oracle on machine1 OK

 2)Now, i use  this parameters(servername, port ,instance) with JSP ...
 [Tomcat 4(JSP) machine1 ]-- [Oracle 2000server]OK
 [Tomcat4 (Cocoon2) machine1 ]  !NO! [Oracle 2000server] Could not get the
 datasource
 --
 --
 --
 Thank  you very much.
 Giuseppe.


 - Original Message -
 From: Luca Morandini [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, March 01, 2002 10:46 AM
 Subject: RE: Problem configure Cocoon2 Oracle8


  Giuseppe,
 
  you are absolutely sure that:
 
  servername is 2000server
  port is 1521
  instance name is oras
 
  aren't you ?
 
  By the way, is 2000server the same server Cocoon runs on... or is it a
  different machine ?
 
  Best regards,
 
  -
 Luca Morandini
 GIS Consultant
[EMAIL PROTECTED]
  http://utenti.tripod.it/lmorandini/index.html
  -
 
 
   -Original Message-
   From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]]
   Sent: Friday, March 01, 2002 10:23 AM
   To: [EMAIL PROTECTED]
   Subject: Problem configure Cocoon2 Oracle8
  
  
   Hello,
  
   Why, when i use this configuration, i connect Oracle
  
   web.xml (cocoon)
   init-param
   param-nameload-class/param-name
   param-value
sun.jdbc.odbc.JdbcOdbcDriver
/param-value
  
Coccon.xconf
datasources
  jdbc name=test_oracle_pool
 logger=core.datasources.personnel
!-- Don't forget the oradb parameter for Oracle!!! --
  pool-controller min=5 max=10 oradb=true/
dburl jdbc:odbc:PEPPE /dburl
userdev/user
passwordgiu/password
/jdbc
datasources
   :-)
   OK
   -
   bat, if i change in:
  
   param-value
  oracle.jdbc.driver.OracleDriver
 /param-value
  
  
web.xml
   init-param
   param-nameload-class/param-name
   param-value
oracle.jdbc.driver.OracleDriver
   /param-value
  
Coccon.xconf
datasources
  jdbc name=test_oracle_pool
 logger=core.datasources.personnel
!-- Don't forget the oradb parameter for Oracle!!! --
 pool-controller min=5 max=10 oradb=true/
dburljdbc:oracle:thin:@2000server:1521:oras/dburl
userdev/user
passwordgiu/password
/jdbc
datasources
   ERROR.
   ERROR.
   ERROR.
   ERROR.
   ERROR.
   java.lang.RuntimeException: Could not get the datasource
   java.sql.SQLException: You cannot get a Poolable before the pool is
   initialized...??
   
The database driver is classes12.jar and I am able to connect to the
 same
database with same driver with standalone java application.
Environment is Tomcat 4,  C2( cocoon.war)  windows2000
  
   CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
   CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
   TEMP %USERPROFILE%\Impostazioni locali\Temp
   JAVA_HOME C:\jdk1.3.1\bin;
   NUMBER_OF_PROCESSORS 1
   OS Windows_NT
   Os2LibPath %SystemRoot%\system32\os2\dll;
   Path
   C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
   Programmi\
   File comuni\Adaptec Shared\System;
   PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
   PROCESSOR_ARCHITECTURE x86
   PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
   PROCESSOR_LEVEL 6
   PROCESSOR_REVISION 0402
   PROMPT $p$g
   TEMP %SystemRoot%\TEMP
   TMP %SystemRoot%\TEMP
   TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
   windir %SystemRoot%
  
Thank you !
   Giuseppe.
  
  
  
  
  
  
   -
   Please check that your question has 

Re: Problem1 configure Cocoon2 Oracle8

2002-03-01 Thread yuryx

Giuseppe De Vincenzi wrote:

Hello,

1) First Tomcat4(JSP-Cocoon2) end Oracle on machine1 OK

2)Now, i use  this parameters(servername, port ,instance) with JSP ...
[Tomcat 4(JSP) machine1 ]-- [Oracle 2000server]OK
[Tomcat4 (Cocoon2) machine1 ]  !NO! [Oracle 2000server] Could not get the
datasource

Hi
see cocoon/WEB-INF/logs/coreXX.log. If driver or parameters is valid 
then must be present following lines:
DEBUG   (2002-03-01) 13:47.04:566   [core] (Unknown-URI) 
Unknown-thread/LogKitLogger: JdbcConnection object created
You can found error defenition also.
If you founded JdbcConection error then sent me this file.
Regards
Yury



--
Thank  you very much.
Giuseppe.


- Original Message -
From: Luca Morandini [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 10:46 AM
Subject: RE: Problem configure Cocoon2 Oracle8


Giuseppe,

you are absolutely sure that:

servername is 2000server
port is 1521
instance name is oras

aren't you ?

By the way, is 2000server the same server Cocoon runs on... or is it a
different machine ?

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


-Original Message-
From: Giuseppe De Vincenzi [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 10:23 AM
To: [EMAIL PROTECTED]
Subject: Problem configure Cocoon2 Oracle8


Hello,

Why, when i use this configuration, i connect Oracle

web.xml (cocoon)
init-param
param-nameload-class/param-name
param-value
 sun.jdbc.odbc.JdbcOdbcDriver
 /param-value

 Coccon.xconf
 datasources
   jdbc name=test_oracle_pool

logger=core.datasources.personnel

 !-- Don't forget the oradb parameter for Oracle!!! --
   pool-controller min=5 max=10 oradb=true/
 dburl jdbc:odbc:PEPPE /dburl
 userdev/user
 passwordgiu/password
 /jdbc
 datasources
:-)
OK
-
bat, if i change in:

param-value
   oracle.jdbc.driver.OracleDriver
  /param-value


 web.xml
init-param
param-nameload-class/param-name
param-value
 oracle.jdbc.driver.OracleDriver
/param-value

 Coccon.xconf
 datasources
   jdbc name=test_oracle_pool

logger=core.datasources.personnel

 !-- Don't forget the oradb parameter for Oracle!!! --
  pool-controller min=5 max=10 oradb=true/
 dburljdbc:oracle:thin:@2000server:1521:oras/dburl
 userdev/user
 passwordgiu/password
 /jdbc
 datasources
ERROR.
ERROR.
ERROR.
ERROR.
ERROR.
java.lang.RuntimeException: Could not get the datasource
java.sql.SQLException: You cannot get a Poolable before the pool is
initialized...??

 The database driver is classes12.jar and I am able to connect to the

same

 database with same driver with standalone java application.
 Environment is Tomcat 4,  C2( cocoon.war)  windows2000

CATALINA_HOME C:\Programmi\Apache Tomcat 4.0;
CLASSPATH C:\Programmi\Apache Tomcat 4.0\webapps\ROOT;
TEMP %USERPROFILE%\Impostazioni locali\Temp
JAVA_HOME C:\jdk1.3.1\bin;
NUMBER_OF_PROCESSORS 1
OS Windows_NT
Os2LibPath %SystemRoot%\system32\os2\dll;
Path
C:\orant\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\
Programmi\
File comuni\Adaptec Shared\System;
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE x86
PROCESSOR_IDENTIFIER x86 Family 6 Model 4 Stepping 2, AuthenticAMD
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 0402
PROMPT $p$g
TEMP %SystemRoot%\TEMP
TMP %SystemRoot%\TEMP
TOMCAT_HOME C:\Programmi\Apache Tomcat 4.0;
windir %SystemRoot%

 Thank you !
Giuseppe.






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

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


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

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







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

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





-
Please check that your question has 

Object Oriented Cocoon

2002-03-01 Thread Ellis, Neil (FNB)

Dear All

Firstly Wow! 

What a framework, I am inspired by the level of thought that has gone into
this app/framework.

Anyway, I've been using a simple scripting language I wrote which merely
translates to XSLT with extensions.

Now I've been looking at taking some of the better concepts behind Zope (teh
object oriented python application server) and translate to the world of
XSL/XSLT/XPath et al.

It seems to me that if the sitemaps and translators etc were built from a
script then we can define object types from the sitemap and
translators/serializers etc. With the addition of object oriented features
of inheritance etc then I'm half the way there. Glue on Xindice as an object
store and we've got Zope with a whole load more bells and whistles and
importantly a solid enterprise structure behind it.

I'm interested in hearing if anyone is going down this path already or if
anyone has any views.  I am very new to cocoon and am in search of the right
platform for this venture.

Many regards
Neil Ellis


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

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




RE: Newbie: help!

2002-03-01 Thread Rigamonti Vittorio

Hi Zvika,

in this newsgroup you can find a lot of messages from desperate people
that try to run cocoon2+tomcat4+jdk1.3 or 1.4.

I also tried and I failed.

In my opinion the point is that Tomcat 4 implements Servlet 2.3 spec
and cocoon is developed on tomcat 3 servlet 2.2 spec.

If you are a newbie and you don't have the constraint to use Tomcat 4
I think that the right starting point for you is:

cocoon+TOMCAT 3 + jdk1.3

Good luck,
V


-Original Message-
From: Zvika Markfeld [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 12:33 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Newbie: help!


Although a cocoon newbie, also a human being in need for help getting this
thing started:
I am trying to install c2.01 on Tomcat4.02, Win2k, JDK1.3.
I installed the cocoon war file but when trying to access the main page
(localhost:8080/cocoon) it generates the following exception:

* javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
* blah blah blah...
* root cause
* java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
* blah blah blah...

So I bundled all the javax.xml.transform classes from Sun's XML Pack Winter
Release(JAXP) and put them in Tomcat's common lib, which gave me the
following exception:
* The sitemap handler's sitemap is not available. Please check logs for the
exact error.
Importing the entire JAXP package made no difference. same error message.

I checked installation  online docs, with no luck.
zm.



-Original Message-
From: Colin Hall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 7:06 PM
To: [EMAIL PROTECTED]
Subject: RE: Uninterruptable Sleep


Sorry, I've been out of town for a few days.

-Original Message-
From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 8:37 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Uninterruptable Sleep


Colin,

I am using a source distribution I downloaded from from the
apache dist site
at the end of January.

Must be 2.01, or?

Yes, it's 2.01


Some further information that might be of interest:
 - My testing environment did NOT exhibited this behaviour
even after I
bombarded it for a full hour using jmeter running 30+ threads.

Ahh jmeter on the same machine? I made very negative
experience with that
tool. For stressing my applications, I use the Microsoft Webapplication
Stress tool:
http://www.microsoft.com/technet/treeview/default.asp?url=/Tec
hNet/itsolutions/intranet/downloads/w
ebstres.asp

Thanks, I'll try it out.


It's from MS spit, but it's (ahem) good.

 - The production server went into this state within 2
minutes of running a
scaled back version (6 threads) of the same jmeter test.

Try it without JMeter again...

Production is RedHat 6.1 (2.2.12-20) jdk1.3.1_01
Test is SuSe 6.4 (2.2.14) jdk1.3.0
both are tomcat 3.2.3

My config is:
 Tomcat:
  -Xmx 256M  -Xms 128M
 StoreJanitor:
  parameter name=freememory value=6400/
  parameter name=heapsize value=25600/

After reading the links you've provided, I see that I may have to
re-consider these settings.

Indeed:
How many RAM has your machine?

This is another strange thing.  There is 512M, but top only shows 64M...I
think that I should update top

- Don't set the -Xms parameter, I read that somewhere in a performace
article. I have to update the Cocoon docs.
- Don't set the -Xmx == RAM you have. Your machine needs some
memory, too.
- Set the heapsize always lower as the -Xmx paramter,
otherwise your JVM
can run out of Memory.
- Don't set free memory that high, I think 10megs should be
enough. Consider,
this formel:
 if ((JVM totalMemory  heapsize AND JVM freeMemory() 
freememory) == true)
then the cleanup thread kicks in. Wrong settings can cause to
many thread
iteration.


OK, I'll use this config.

Are you aware of any kernel or JDK version issues that may
cause problems?

Nope, unfortunately it's always the code ;-).

Thanks for the information!

No problem, you're welcome.

BTW: can you try the latest CVS, just for comparing?


I will try it out. Thanks again!

  ~Gerhard


I just found the last bug...



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

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


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

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


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

To 

RE: Newbie: help!

2002-03-01 Thread Luca Morandini

Vittorio,

while I agree that Tomcat 4.0.2 and Cocoon 2.0.1 have some problems talking
to each other, I believe using Tomcat 4.0.1 and Cocoon 2.0 is safe and has
some advantages over using Tomcat 3.x.x (easier installation, better
performance and better integration with Windows 2000).

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.html
-


 -Original Message-
 From: Rigamonti Vittorio [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 01, 2002 12:46 PM
 To: '[EMAIL PROTECTED]'
 Subject: RE: Newbie: help!


 Hi Zvika,

 in this newsgroup you can find a lot of messages from desperate people
 that try to run cocoon2+tomcat4+jdk1.3 or 1.4.

 I also tried and I failed.

 In my opinion the point is that Tomcat 4 implements Servlet 2.3 spec
 and cocoon is developed on tomcat 3 servlet 2.2 spec.

 If you are a newbie and you don't have the constraint to use Tomcat 4
 I think that the right starting point for you is:

 cocoon+TOMCAT 3 + jdk1.3

 Good luck,
 V


 -Original Message-
 From: Zvika Markfeld [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 01, 2002 12:33 PM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Newbie: help!


 Although a cocoon newbie, also a human being in need for help getting this
 thing started:
 I am trying to install c2.01 on Tomcat4.02, Win2k, JDK1.3.
 I installed the cocoon war file but when trying to access the main page
 (localhost:8080/cocoon) it generates the following exception:

 * javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
 exception
 * blah blah blah...
 * root cause
 * java.lang.NoClassDefFoundError: javax/xml/transform/URIResolver
 * blah blah blah...

 So I bundled all the javax.xml.transform classes from Sun's XML
 Pack Winter
 Release(JAXP) and put them in Tomcat's common lib, which gave me the
 following exception:
 * The sitemap handler's sitemap is not available. Please check
 logs for the
 exact error.
 Importing the entire JAXP package made no difference. same error message.

 I checked installation  online docs, with no luck.
 zm.



 -Original Message-
 From: Colin Hall [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, February 27, 2002 7:06 PM
 To: [EMAIL PROTECTED]
 Subject: RE: Uninterruptable Sleep


 Sorry, I've been out of town for a few days.

 -Original Message-
 From: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
 Sent: Friday, February 22, 2002 8:37 AM
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: Uninterruptable Sleep
 
 
 Colin,
 
 I am using a source distribution I downloaded from from the
 apache dist site
 at the end of January.
 
 Must be 2.01, or?

 Yes, it's 2.01

 
 Some further information that might be of interest:
  - My testing environment did NOT exhibited this behaviour
 even after I
 bombarded it for a full hour using jmeter running 30+ threads.
 
 Ahh jmeter on the same machine? I made very negative
 experience with that
 tool. For stressing my applications, I use the Microsoft Webapplication
 Stress tool:
 http://www.microsoft.com/technet/treeview/default.asp?url=/Tec
 hNet/itsolutions/intranet/downloads/w
 ebstres.asp

 Thanks, I'll try it out.

 
 It's from MS spit, but it's (ahem) good.
 
  - The production server went into this state within 2
 minutes of running a
 scaled back version (6 threads) of the same jmeter test.
 
 Try it without JMeter again...
 
 Production is RedHat 6.1 (2.2.12-20) jdk1.3.1_01
 Test is SuSe 6.4 (2.2.14) jdk1.3.0
 both are tomcat 3.2.3
 
 My config is:
  Tomcat:
   -Xmx 256M  -Xms 128M
  StoreJanitor:
   parameter name=freememory value=6400/
   parameter name=heapsize value=25600/
 
 After reading the links you've provided, I see that I may have to
 re-consider these settings.
 
 Indeed:
 How many RAM has your machine?

 This is another strange thing.  There is 512M, but top only shows 64M...I
 think that I should update top

 - Don't set the -Xms parameter, I read that somewhere in a performace
 article. I have to update the Cocoon docs.
 - Don't set the -Xmx == RAM you have. Your machine needs some
 memory, too.
 - Set the heapsize always lower as the -Xmx paramter,
 otherwise your JVM
 can run out of Memory.
 - Don't set free memory that high, I think 10megs should be
 enough. Consider,
 this formel:
  if ((JVM totalMemory  heapsize AND JVM freeMemory() 
 freememory) == true)
 then the cleanup thread kicks in. Wrong settings can cause to
 many thread
 iteration.
 

 OK, I'll use this config.

 Are you aware of any kernel or JDK version issues that may
 cause problems?
 
 Nope, unfortunately it's always the code ;-).
 
 Thanks for the information!
 
 No problem, you're welcome.
 
 BTW: can you try the latest CVS, just for comparing?
 

 I will try it out. Thanks again!

   ~Gerhard
 
 
 I just found the 

Convert RTF to XSL:FO

2002-03-01 Thread Matthew Langham

Looking for some suggestions on how to convert RTF documents into XSL:FO for
further processing into PDF. Yes I know there are several tools
avialable - but I would rather hear some firsthand experienceIn
particular we are looking for tools that work well when it comes to (quite
complex) forms in RTF.

Thanks

Matthew

--
Open Source Group   sunShine - Lighting up e:Business
=
Matthew Langham, SN AG, Klingenderstrasse 5, D-33100 Paderborn
Tel:+49-5251-1581-30  [EMAIL PROTECTED] - http://www.s-und-n.de
   Weblogging at: http://www.need-a-cake.com
=



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

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




RE: Work with SVG / Taglib

2002-03-01 Thread Vadim Gritsenko

 From: Bednarz, education-one GmbH
[mailto:[EMAIL PROTECTED]]
 
 Hi there,
 
 I woul like to use my SVG compression taglib from
 http://printx.org/svgembed/index.php inside Cocoon. The SVG serializer
is
 too large and to unstable for my purposes. Does anyone has an idea how
to
 move an existing jsp tag libraray to cocoon?

It has to be rewritten as serializer. Take a look at SVG serializer.

Vadim

 
 Thanks,
 
 Andreas
 


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

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




RE: Newbie: help!

2002-03-01 Thread Vadim Gritsenko

 From: Rigamonti Vittorio [mailto:[EMAIL PROTECTED]]
 
 Hi Zvika,
 
 in this newsgroup you can find a lot of messages from desperate people
 that try to run cocoon2+tomcat4+jdk1.3 or 1.4.
 
 I also tried and I failed.

Vittorio,

Download Tomcat 4.0.1 and follow
http://xml.apache.org/cocoon/installing/index.html

 In my opinion the point is that Tomcat 4 implements Servlet 2.3 spec
 and cocoon is developed on tomcat 3 servlet 2.2 spec.
 
 If you are a newbie and you don't have the constraint to use Tomcat 4
 I think that the right starting point for you is:
 
 cocoon+TOMCAT 3 + jdk1.3

Tomcat 4.0.1 is more newbie-friendly and installation is more
straightforward.

Regards,
Vadim



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

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




Re: Cannot get MySQL pool connection

2002-03-01 Thread Paul Caton

Thanks Derek, I hadn't tried that particular combination
yet. Unfortunately it made no difference and I still get the same
error message: Cocoon just doesn't see a connection to my database. I
have to say I've wasted so much time trying to get Cocoon to do what
it says it can do that I'm close to abandoning it. But I'm loath to
let the time I *have* put in go to waste, so I'll willingly try any
suggestions that come in today before I adopt another approach on
Monday!

Paul.




On Fri, 1 Mar 2002, Derek Hohls wrote:

 Have you tried using 'localhost:3306' instead of  'hostname' ?
 (and restart).

-- 
Paul Caton
Electronic Publications Editor
Women Writers Project

 e-mail: [EMAIL PROTECTED]
tel: (401) 863-3619
address: Box 1841, Brown University, Providence RI 02912




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

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




Re: Cannot get MySQL pool connection

2002-03-01 Thread Derek Hohls

Paul
What can I say?  Maybe to hang in there - I struggled for months
(literally) to try get Cocoon 1.8.2  going with database access - and
it behaved differently on each of 4 different machines (ie a different
thing went wrong on each of them!)  In the end, switching to C2 has
made a big difference, even if I now have to go back and rewrite some 
large chunks of previous applications!  (dont ask when *that* is going
to
happen...)
Derek

 [EMAIL PROTECTED] 01/03/2002 04:19:45 
Thanks Derek, I hadn't tried that particular combination
yet. Unfortunately it made no difference and I still get the same
error message: Cocoon just doesn't see a connection to my database. I
have to say I've wasted so much time trying to get Cocoon to do what
it says it can do that I'm close to abandoning it. But I'm loath to
let the time I *have* put in go to waste, so I'll willingly try any
suggestions that come in today before I adopt another approach on
Monday!

Paul.




On Fri, 1 Mar 2002, Derek Hohls wrote:

 Have you tried using 'localhost:3306' instead of  'hostname' ?
 (and restart).

-- 
Paul Caton
Electronic Publications Editor
Women Writers Project

 e-mail: [EMAIL PROTECTED] 
tel: (401) 863-3619
address: Box 1841, Brown University, Providence RI 02912




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

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


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

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




using MSQL's LAST_INSERT_ID() with DatabaseAddAction

2002-03-01 Thread Giuseppe Di Pierri

Hi there,

I have a problem using the DatabaseAddAction in MySQL.

I would do two table insertions, one after an other like the following
example:


  INSERT INTO base (id,...) VALUES(NULL,...); 
# id is defined as INT NOT NULL AUTO_INCREMENT

  INSERT INTO derived (id,) VALUES(LAST_INSERT_ID(),);

employee
  connectionpersonnel/connection
  table name=base
keys
  key param=id dbcol=id type=int mode=manual/
/keys
values
  value param=myparam dbcol= type=string /
/values
  /table
  table name=derived
keys
  !-- how can I use the mysql LAST_INSERT_ID() here,
   in order to insert the previous inserted auto_increment value
?--
  key param=id dbcol=id type=int/
/keys
values
  value param=... dbcol=... type=string /
/values
  /table
/employee

Is there someone that has an idea how to solve this?

Thank you in advance for your answer

Regards,

pino



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

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




Re: Cannot get MySQL pool connection

2002-03-01 Thread Richard Korthuis

I also had a problem with MySQL. This is how I solved it:
(Tomcat 4.0.1   JDK 1.3.1_02  Cocoon 2.0.2-dev)
Download a mm.mysql-bin-xxx.jar.Put mm.mysql-bin-xxx.jar in the lib/optional
directory of a CVS HEAD, change the database.properties file to reflect your
settings and rebuild.

Now it's configured for your database, you only need to remove all
references to the hsqldb-server from the cocoon.xconf file.

I hope this will help you

Richard Korthuis

- Original Message -
From: Paul Caton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 3:19 PM
Subject: Re: Cannot get MySQL pool connection


 Thanks Derek, I hadn't tried that particular combination
 yet. Unfortunately it made no difference and I still get the same
 error message: Cocoon just doesn't see a connection to my database. I
 have to say I've wasted so much time trying to get Cocoon to do what
 it says it can do that I'm close to abandoning it. But I'm loath to
 let the time I *have* put in go to waste, so I'll willingly try any
 suggestions that come in today before I adopt another approach on
 Monday!

 Paul.




 On Fri, 1 Mar 2002, Derek Hohls wrote:

  Have you tried using 'localhost:3306' instead of  'hostname' ?
  (and restart).

 --
 Paul Caton
 Electronic Publications Editor
 Women Writers Project

  e-mail: [EMAIL PROTECTED]
 tel: (401) 863-3619
 address: Box 1841, Brown University, Providence RI 02912




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

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




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

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




Re: using MSQL's LAST_INSERT_ID() with DatabaseAddAction

2002-03-01 Thread Christian Haul

On 01.Mar.2002 -- 03:34 PM, Giuseppe Di Pierri wrote:
 Hi there,
 
 I have a problem using the DatabaseAddAction in MySQL.
 
 I would do two table insertions, one after an other like the following
 example:

The value is written to a request attribute (table.column) that you
can use if you were using the manual method of determining the id
(looks up current max value +1).

I was about to check in new database actions to scratchpad (atually,
new versions of the ones already there) but since I encountered
problems with datasources with today's CVS I cannot verify that they
still work. Those do understand mysql's autoincrement columns. But
they use a slightly different database.xml syntax *and* their name
and their configuration sitemap-wise will change with my checkin.

If you'd like to stay tuned should be only a matter of days
now.

   INSERT INTO base (id,...) VALUES(NULL,...); 
 # id is defined as INT NOT NULL AUTO_INCREMENT
 
   INSERT INTO derived (id,) VALUES(LAST_INSERT_ID(),);
 
 employee
   connectionpersonnel/connection
   table name=base
 keys
   key param=id dbcol=id type=int mode=manual/
 /keys
 values
   value param=myparam dbcol= type=string /
 /values
   /table
   table name=derived
 keys
   !-- how can I use the mysql LAST_INSERT_ID() here,
in order to insert the previous inserted auto_increment value
   key param=id dbcol=id type=int/
 ?--
key param=base.id dbcol=id type=int/
 /keys
 values
   value param=... dbcol=... type=string /
 /values
   /table
 /employee

Chris.

-- 
C h r i s t i a n   H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

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




RE: Heads Up - CeBIT Get Together

2002-03-01 Thread Klaus Bertram

Hi Matthew,

I would like to come to CeBIT Get Together.


Klaus Bertram

nbis - Porschestraße 5 - 51381 Leverkusen
phone: +49-2171-58079-0
fax:   +49-2171-58079-9
email: [EMAIL PROTECTED]



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

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




Re: Work with SVG / Taglib

2002-03-01 Thread Andreas Bednarz

Thank you very much, do you have some basic link to a source of a seralizer 
cunstruct.?

Andreas
- Original Message - 
From: Vadim Gritsenko [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 2:25 PM
Subject: RE: Work with SVG / Taglib


  From: Bednarz, education-one GmbH
 [mailto:[EMAIL PROTECTED]]
  
  Hi there,
  
  I woul like to use my SVG compression taglib from
  http://printx.org/svgembed/index.php inside Cocoon. The SVG serializer
 is
  too large and to unstable for my purposes. Does anyone has an idea how
 to
  move an existing jsp tag libraray to cocoon?
 
 It has to be rewritten as serializer. Take a look at SVG serializer.
 
 Vadim
 
  
  Thanks,
  
  Andreas
  
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 



Re: Work with SVG / Taglib

2002-03-01 Thread Nicola Ken Barozzi

From: Andreas Bednarz [EMAIL PROTECTED]

 Thank you very much, do you have some basic link to a source of a
seralizer cunstruct.?

It's in the documentation (onsite and CVS), but I would suggest you to look
at the code of the Serializers that Cocoon already has, and learn from
those.

Happy hacking :-)

--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


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

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




Db Authenticator action; Tomcat not happy.

2002-03-01 Thread Andre Thenot

Hi,

What I'm trying to do: get the DatabaseAuthenticatorAction to... 
well, authenticate from the Db. The logs don't seem to have any 
information that can tell me what I'm doing wrong.

What I'm using: Tomcat 4.0.1, Cocoon 2.01 (freshly installed), 
JVM 1.3.1 and a MySQL database (with its driver class).

My sitemap looks like this:

map:action name=db-auth logger=sitemap.action.db-auth

src=org.apache.cocoon.acting.DatabaseAuthenticatorAction/
!-- snip --

map:match pattern=nhd/test
 map:act type=db-auth
  map:parameter name=descriptor 
value=file:///docs/samples/xsp/auth-descriptor.xml/
  map:parameter name=validate value=username,password/
  map:generate type=serverpages src=docs/samples/xsp/nhd.xsp/
  map:transform src=stylesheets/dynamic-page2html.xsl
   map:parameter name=view-source 
value=docs/samples/xsp/nhd.xsp/
  /map:transform
  map:serialize/
 /map:act
 map:redirect-to uri=../xsp/simple/
/map:match

What is working: when I access the page and supply the wrong 
username and password, I get redirected. Good, that's what's in 
my sitemap. So I assume that all the looking up in the db stuff 
is working, because...
   ...when I _do_ supply the right user/pwd, tomcat throws a 
NoSuchMethodError with not many clues:

java.lang.NoSuchMethodError
at 
org.apache.catalina.session.StandardSession.removeAttribute
(StandardSession.java:1070)
at 
org.apache.catalina.session.StandardSession.expire(StandardSession.java:596)
at 
org.apache.catalina.session.StandardSession.invalidate(StandardSession.java:
983)
at 
org.apache.catalina.session.StandardSessionFacade.invalidate
(StandardSessionFacade.java:211)
at 
org.apache.catalina.session.StandardSessionFacade.invalidate
(StandardSessionFacade.java:211)
at 
org.apache.cocoon.environment.http.HttpSession.invalidate(HttpSession.java:
232)
at 
org.apache.cocoon.acting.DatabaseAuthenticatorAction.act
(DatabaseAuthenticatorAction.java:120)
at 
org.apache.cocoon.www.sitemap_xmap.matchN104B2(sitemap_xmap.java:6225)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3019)
... and so on ...

The last method (or first one, depending on how you look at it) 
is either StandardSession.removeAttribute or 
StandardSession.setAttribute, whether it's getting a request 
with or without a session cookie.

For info, my auth-descriptor.xml looks like this:

root
  connectiondms/connection
  table name=users
   select dbcol=usr_loginrequest-param=username to-
session=login/
   select dbcol=usr_password request-param=password nullable=no/
  /table
/root

Any ideas on that big fat obvious thing I'm overlooking? :-)
Thanks in advance!

Andre.


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

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




cocoon 2.0 with Tomcat 4.1 installation problems

2002-03-01 Thread Mark . Vovsi


Hi,

I've spent several hours trying to install Cocoon2.0 on top of Tomcat4.1
and it still isn't running. I donwloaded version 2.0.1 and that wouldn't
even
build. So I downloaded version 2.0. According to the install instructions,
with Cocoon 2.0 and Tomcat 4.x, the setup is supposed to be a piece of
cake. Just run the build.bat, which will generate the
/build/cocoon/cocoon.war and then simply copy that cocoon.war into
tomcat/webapps. Then start up Tomcat and voila! When I start up Tomcat,
there's definite noise in my machine and cocoon begins to compile it's
classes, but I get errors from the Servlet Container when I try to hit it
via the browser. Primarily, can't find some classes and
NullPointerExceptions. I thought that the older version of the parser issue
might have been it, and I tried putting in the latest xerces.jar inside
Tomcat and renaming the older .jar, but in any case Tomcat 4.x claims to
have the later xerces.jar version already. I was also using jdk1.4 and
thought that might have been a problem, because a version of xerces.jar is
included with that, so I installed jdk1.3, but I still get an error trying
to start up cocoon. Has anyone seen this? Should I be using an earlier
version of the products maybe?

Thanks,
Mark.


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

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




Re: cocoon 2.0 with Tomcat 4.1 installation problems

2002-03-01 Thread Bruce Perryman

Hi Mark,

I share in your grief. I've been experiencing similar
problems myself (See New to Cocoon2 - can't start - no
errors). No one has responded to my post. I've tried
just about every suggestion that I've seen posted and
nothing seems to work. When I hit
http://localhost:8080/cocoon the system hangs forever.
I plan to keep hacking at it. If I find anything I'll
notify you. I hope that you can do the same for me.

Thanks,

Bruce
--- [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I've spent several hours trying to install Cocoon2.0
 on top of Tomcat4.1
 and it still isn't running. I donwloaded version
 2.0.1 and that wouldn't
 even
 build. So I downloaded version 2.0. According to the
 install instructions,
 with Cocoon 2.0 and Tomcat 4.x, the setup is
 supposed to be a piece of
 cake. Just run the build.bat, which will generate
 the
 /build/cocoon/cocoon.war and then simply copy that
 cocoon.war into
 tomcat/webapps. Then start up Tomcat and voila! When
 I start up Tomcat,
 there's definite noise in my machine and cocoon
 begins to compile it's
 classes, but I get errors from the Servlet Container
 when I try to hit it
 via the browser. Primarily, can't find some classes
 and
 NullPointerExceptions. I thought that the older
 version of the parser issue
 might have been it, and I tried putting in the
 latest xerces.jar inside
 Tomcat and renaming the older .jar, but in any case
 Tomcat 4.x claims to
 have the later xerces.jar version already. I was
 also using jdk1.4 and
 thought that might have been a problem, because a
 version of xerces.jar is
 included with that, so I installed jdk1.3, but I
 still get an error trying
 to start up cocoon. Has anyone seen this? Should I
 be using an earlier
 version of the products maybe?
 
 Thanks,
 Mark.
 
 

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


__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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

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




Re: cocoon 2.0 with Tomcat 4.1 installation problems

2002-03-01 Thread Nicola Ken Barozzi

From: [EMAIL PROTECTED]

 I've spent several hours trying to install Cocoon2.0 on top of Tomcat4.1
 and it still isn't running. I donwloaded version 2.0.1 and that wouldn't
 even build.

I'm sorry to hear that. What is the error that comes up?

 So I downloaded version 2.0. According to the install instructions,
 with Cocoon 2.0 and Tomcat 4.x, the setup is supposed to be a piece of
 cake. Just run the build.bat, which will generate the
 /build/cocoon/cocoon.war and then simply copy that cocoon.war into
 tomcat/webapps. Then start up Tomcat and voila! When I start up Tomcat,
 there's definite noise in my machine and cocoon begins to compile it's
 classes, but I get errors from the Servlet Container when I try to hit it
 via the browser. Primarily, can't find some classes and
 NullPointerExceptions.

Could you please post them so we can take a look?

 I thought that the older version of the parser issue
 might have been it, and I tried putting in the latest xerces.jar inside
 Tomcat and renaming the older .jar, but in any case Tomcat 4.x claims to
 have the later xerces.jar version already. I was also using jdk1.4 and
 thought that might have been a problem, because a version of xerces.jar is
 included with that

I use JDK1.4; you just need to copy xerces and xml-apis under the /endorsed
dir.

 so I installed jdk1.3, but I still get an error trying
 to start up cocoon. Has anyone seen this? Should I be using an earlier
 version of the products maybe?

Please send us the relevant info-logs on these exact errors.
As for the version, usually the latest version is the best, and ATM the CVS
one is IMHO preferable.

--
Nicola Ken Barozzi [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-


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

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




RE: Cocoon and Jetty??

2002-03-01 Thread Brad Cox

At 5:49 PM -0800 2/28/02, Rob Finneran wrote:
Hey Brad nice to see you around again,

And thanks for the help! But after making all of your changes, I'm 
still getting exactly the same problem. See possible clue towards the 
end. I've also downloaded the latest version of xerces (was using the 
beta before) and installed that as instructed in jetty/lib and 
cocoon/war/WEB-INF/lib.

At 10:57 AM -0500 3/1/02, Brad Cox wrote:
Cocoon 2 - Internal server error
type fatal
message SAX2 driver class org.apache.xerces.parsers.SAXParser does 
not implement XMLReader
description java.lang.ClassCastException: 
org.apache.xerces.parsers.StandardParserConfiguration
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.ClassCastException: 
org.apache.xerces.parsers.StandardParserConfiguration
   at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
   at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
   at 
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generateCode(AbstractMarkupLanguage.java:377)
   at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(ProgramGeneratorImpl.java:368)
   at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:331)
   at 
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:294)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:498)

Here's my ~/.jettrc

export JAVA_HOME=/jdk
export JAVA=$JAVA_HOME/bin/java
export JETTY_HOME=/jetty
export JETTY_OPTIONS=-DDEBUG \
 
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl\
 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl\
 
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl\

export
JAVA_OPTIONS=\
 
-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl\
 
-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl\
 
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl\


Which (I think) is the same as your instructions. The only thing in 
jetty/webaps at this point is cocoon/war; all my webapps are removed.

[bcox@linux:/jetty/webapps]$ d /jetty/webapps
total 0
lrwxrwxrwx1 bcox wheel  12 Feb 28 11:30 cocoon - /cocoon/war/

[bcox@linux:/jetty/webapps]$ d /jetty/lib
total 1264
-rw-r--r--1 bcox wheel  474421 Oct 21 08:57 com.sun.net.ssl.jar
-rw-r--r--1 bcox wheel   75163 Feb 28 12:56 javax.servlet.jar
-rw-r--r--1 bcox wheel  277370 Feb 28 12:56 org.apache.jasper.jar
-rw-r--r--1 bcox wheel  453817 Feb 28 12:56 org.mortbay.jetty.jar
lrwxrwxrwx1 bcox wheel  28 Mar  1 10:18 parser.jar - 
/xerces/build/xercesImpl.jar
lrwxrwxrwx1 bcox wheel  39 Feb 28 16:53 
xalan-2.3.1.jar - /cocoon/war/WEB-INF/lib/xalan-2.3.1.jar
lrwxrwxrwx1 bcox wheel  31 Mar  1 10:17 
xmlParserAPIs.jar - /xerces/build/xmlParserAPIs.jar
drwxr-xr-x6 bcox wheel1024 Feb 28 18:29 z

[bcox@linux:/jetty/webapps]$ d /cocoon/war/WEB-INF/lib/
total 14411
-rw-r--r--1 bcox wheel  196490 Feb 28 15:45 
avalon-excalibur-4.1.jar
-rw-r--r--1 bcox wheel   47564 Feb 28 15:45 
avalon-framework-4.1.2.jar
-rw-r--r--1 bcox wheel  242984 Feb 28 15:45 
avalon-scratchpad-20020212.jar
drwxr-xr-x2 bcox wheel1024 Mar  1 10:48 bak
-rw-r--r--1 bcox wheel 2028870 Feb 28 15:45 batik-libs-1.1.1.jar
-rw-r--r--1 bcox wheel  105573 Feb 28 15:45 bsf-2.2.jar
-rw-r--r--1 bcox wheel  926259 Feb 28 15:45 cocoon-2.0.2-dev.jar
-rw-r--r--1 bcox wheel   58798 Feb 28 15:45 
commons-collections-1.0.jar
-rw-r--r--1 bcox wheel   64553 Feb 28 15:45 
commons-httpclient-20011012.jar
-rw-r--r--1 bcox wheel   25882 Feb 28 15:45 deli-0.43.jar
-rw-r--r--1 bcox wheel 1794398 Feb 28 15:45 fop-0.20.3rc.jar
-rw-r--r--1 bcox wheel  180902 Feb 28 15:45 hsqldb-1.61.jar
-rw-r--r--1 bcox wheel   29871 Feb 28 15:45 jakarta-regexp-1.2.jar
-rw-r--r--1 bcox wheel 4929061 Feb 28 15:45 javac.jar
-rw-r--r--1 bcox wheel  613396 Feb 28 15:45 jena-1.3.0.jar
-rw-r--r--1 bcox wheel  455489 Feb 28 15:45 jimi-1.0.jar
-rw-r--r--1 bcox wheel   17592 Feb 28 15:45 jisp_1_0_2.jar
-rw-r--r--1 bcox wheel   25391 Feb 28 15:45 jstyle.jar
-rw-r--r--1 bcox wheel  161826 Feb 28 15:45 
jtidy-04aug2000r7-dev.jar
-rw-r--r--1 bcox wheel   72150 Feb 28 15:45 logkit-1.0.1.jar
-rw-r--r--1 bcox wheel  133693 Feb 28 15:45 lucene-1.2-rc2.jar
-rw-r--r--1 bcox wheel   

Re: Help connection Cocoon2 to Oracle8

2002-03-01 Thread Martin Holz

[EMAIL PROTECTED] wrote:
 Hello,
 I am not able to connect to Oracle8i database.

 The database driver is classes102.zip and I am able to connect to the same
 database with same driver with standalone java application.
 Environment is Tomcat 4,  C2  windows2000

Do you use the same java compiler and vm for cocoon and the standalone 
program ? I had some trouble with Oracle and jdk 1.4 .

--
Martin Holz  
[EMAIL PROTECTED] 


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

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




RE: cocoons ServletContext

2002-03-01 Thread Lai, Harry

Hi Yury,

Within the act method, you can access the cocoon ServletContext via the
objectModel parameter.  Just use the constants in
org.apache.cocoon.Constants.  For example:

Context cocoonServContext = (Context)
objectModel.get(Constants.CONTEXT_OBJECT);

Note that this is the Cocoon context wrapper (defined in
org.apache.cocoon.environment) for the actual HTTP Servlet Context.  If you
need the actual HTTP Servlet Context (defined in javax.servlet), you can use
the constants defined in org.apache.cocoon.environment.http.HttpEnvironment.
For example:

ServletContext servContext = (ServletContext)
objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);

Hope that helps!

Harry


-Original Message-
From: yuryx [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: cocoons ServletContext


Hi all!

Can anyone help me with the following problem:
How can I get into my cocoon's 'action' a pointer to cocoon ServletContext?
Is it possible? What shall I use in my 'action'?

Thanx.
Yury.



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

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

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

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




Re: cocoons ServletContext

2002-03-01 Thread yuryx


Lai, Harry wrote:

Hi Yury,

Within the act method, you can access the cocoon ServletContext via the
objectModel parameter.  Just use the constants in
org.apache.cocoon.Constants.  For example:

   Context cocoonServContext = (Context)
objectModel.get(Constants.CONTEXT_OBJECT);

Note that this is the Cocoon context wrapper (defined in
org.apache.cocoon.environment) for the actual HTTP Servlet Context.  If you
need the actual HTTP Servlet Context (defined in javax.servlet), you can use
the constants defined in org.apache.cocoon.environment.http.HttpEnvironment.
For example:

   ServletContext servContext = (ServletContext)
objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);

ServletContext servContext = (ServletContext)
objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);

HttpEnviroment... Thats Ok with me :)
Thanx Harry!


Hope that helps!

Harry


-Original Message-
From: yuryx [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 10:32 AM
To: [EMAIL PROTECTED]
Subject: cocoons ServletContext


Hi all!

Can anyone help me with the following problem:
How can I get into my cocoon's 'action' a pointer to cocoon ServletContext?
Is it possible? What shall I use in my 'action'?

Thanx.
Yury.



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

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

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

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





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

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




Re: cocoons ServletContext

2002-03-01 Thread Piroumian, Konstantin


 Lai, Harry wrote:

 Hi Yury,
 
 Within the act method, you can access the cocoon ServletContext via the
 objectModel parameter.  Just use the constants in
 org.apache.cocoon.Constants.  For example:
 
  Context cocoonServContext = (Context)
 objectModel.get(Constants.CONTEXT_OBJECT);
 
 Note that this is the Cocoon context wrapper (defined in
 org.apache.cocoon.environment) for the actual HTTP Servlet Context.  If
you
 need the actual HTTP Servlet Context (defined in javax.servlet), you can
use
 the constants defined in
org.apache.cocoon.environment.http.HttpEnvironment.
 For example:
 
  ServletContext servContext = (ServletContext)
 objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);
 
 ServletContext servContext = (ServletContext)
 objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);

 HttpEnviroment... Thats Ok with me :)

Cocoon's wrapper of environment contains HttpEnvironment if you are running
in a servlet environment. If you run your code in a command line then you
will get null. Cocoon's context wrapper should be used to avoid problems in
different environments.

If you don't need Http specific features then there is no need to use it.

Regards,
Konstantin

 Thanx Harry!

 
 Hope that helps!
 
 Harry
 
 
 -Original Message-
 From: yuryx [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 01, 2002 10:32 AM
 To: [EMAIL PROTECTED]
 Subject: cocoons ServletContext
 
 
 Hi all!
 
 Can anyone help me with the following problem:
 How can I get into my cocoon's 'action' a pointer to cocoon
ServletContext?
 Is it possible? What shall I use in my 'action'?
 
 Thanx.
 Yury.
 
 
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 




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

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


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

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




Re: cocoons ServletContext

2002-03-01 Thread yuryx



ServletContext servContext = (ServletContext)
objectModel.get(HttpEnvironment.HTTP_SERVLET_CONTEXT);

HttpEnviroment... Thats Ok with me :)


Cocoon's wrapper of environment contains HttpEnvironment if you are running
in a servlet environment. If you run your code in a command line then you
will get null. Cocoon's context wrapper should be used to avoid problems in
different environments.

If you don't need Http specific features then there is no need to use it.

Regards,
Konstantin

Hi Konstantin!
For manipulation cocoon Enviroment attribut's within action (for 
manipulation sitemap params :) ) I need cocoon's ServletContext
(like 'application' object in JSP)
It's specific features?

Yury.



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

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




Install Cocoon with Resin 2.0.5

2002-03-01 Thread Antonio Serrano



I want install 
cocoon with Resin 2.0.5, but ocurr a error. The erroris 
:java.lang.NoSuchMethodError 
atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:88) 
atorg.apache.avalon.framework.configuration.DefaultConfigurationBuilder.init(DefaultConfigurationBuilder.java:64) 
atorg.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:745) 
atorg.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:225) 
atcom.caucho.server.http.Application.createServlet(Application.java:2834) 
atcom.caucho.server.http.Application.loadServlet(Application.java:2793) 
atcom.caucho.server.http.Application.initServlets(Application.java:1827) 
at 
com.caucho.server.http.Application.init(Application.java:1762) 
atcom.caucho.server.http.VirtualHost.restartApplication(VirtualHost.java:1649) 
atcom.caucho.server.http.VirtualHost.getInvocation(VirtualHost.java:1277) 
atcom.caucho.server.http.ServletServer.getInvocation(ServletServer.java:1040) 
atcom.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:337) 
atcom.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:270) 
at 
com.caucho.server.TcpConnection.run(TcpConnection.java:140) 
at java.lang.Thread.run(Thread.java:484)I have read in faq that it 
error is for old set of librariesinstalled, this library is Xerces. If 
I change the library in thedirectory /lib of the Resin, it don´t 
start. I have probe to buildcocoon with the library Xerces that 
contain Resin, but ocurr a errorto build. How I can build 
cocoon?

Antonio 
Serrano
[EMAIL PROTECTED]



XSP - pb to reproduce the greeting3 example.

2002-03-01 Thread Christophe Le Saëc

Hello,

I've just installed Cocoon yesterday and i read the doc. Then, i
reproduce the greeting2 examples, that works well.

greeting2.xml
?xml version=1.0
xsp:page xmlns:xsp=http://www.apache.org/1999/XSP/Core;
  xsp:logicString msg=Hello world!;/xsp:logic
   greetingxsp:exprmsg/xsp:expr/greeting
/xsp:page

i modify the sitemap.xmap file, to add this in an existing pipeline :
 map:match pattern=test/greeting.html
  map:generate type=serverpages src=test/greeting.xsp
  map:serialize/
/map:match

Then, i obtain a good xml result :
... greetingHello world!/greeting

But, i don't know how to reproduce the greeting3 example.

When i write greetinggreeting:hello-world//greeting in an XML file
and then the XSL file to transform greeting:hello-world/ to
xsp:exprmsg/xsp:expr,  it  simply done
greetingxsp:exprmsg/xsp:expr/greeting where i expected
greetingHello world!/greeting. the xsp process does not work.  May
be the error comes from my sitemap.xmap, i don't know how to run XSP
generator after a XSL transform.

   map:match pattern=test/greeting.html
  map:generate src=test/greeting.xml
  map:transform src=test/greeting.xsl
   !--  HERE, How to pass the result to an XSP process ?? --
  map:serialize/
/map:match


Thanks for answer.
Christophe.


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

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




Cocoon-URL (weekly summary of interesting links on cocoon-*)

2002-03-01 Thread Andrew Savory


Hi,

Some of you may be interested in Cocoon-URL:

  http://www.luminas.co.uk/technology/cocoon/url/

Cocoon-URL is a weekly summary of interesting links posted to the mailing
lists of the Cocoon project. We've got the last three weeks archived, and
we will hopefully continue to update this on a weekly basis. Many thanks
to MJ Ray for the cunning code.

Hope it's of use!


Andrew.

-- 
Andrew SavoryEmail: [EMAIL PROTECTED]
Managing Director  Tel:  +44 (0)20 8553 6622
Luminas Internet Applications  Fax:  +44 (0)870 28 47489
This is not an official statement or order.Web:www.luminas.co.uk


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

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




Re: C2/TC4 issues

2002-03-01 Thread Bruce Perryman

OK, here's my deal. I've had similar problems for
about a week.
First, Peter Baer (God bless him) did this research
with  some other folks and found, among other things,
that TC4.02 doesn't work with C2 and that if you
install and run as root you'll have problems as well.
I tried changing ownership/permissions from root to
another user and had no success.
I finally started all over, downloading TC4.01 and
C2(C2.02-dev) from CVS. I built and installed the
source as a normal user and not as root. It worked. 
My suggestion is first view Install and run C2+T4 as
user, not root! on Cocoon-users and thank Peter. Then
if you've been doing this as root, start over as a
normal user and remember. Thank Peter.

Bruce
--- Anthony W. Marino [EMAIL PROTECTED]
wrote:
 I've tried TC4.02/TC4.1 with C2.01 and continue to
 have problems.  The 
 following is what my TC localhost_log file shows
 me:
 
 2002-03-01 14:19:51 StandardManager[/cocoon]:
 Seeding of random number 
 generator has been completed
 2002-03-01 14:19:52
 StandardWrapper[/cocoon:Cocoon2]: Marking servlet
 Cocoon2 
 as unavailable
 2002-03-01 14:19:52 StandardContext[/cocoon]:
 Servlet /cocoon threw load() 
 exception
 javax.servlet.ServletException: Wrapper cannot find
 servlet class 
 org.apache.cocoon.servlet.CocoonServlet or a class
 it depends on 
 
 
 JDK1.3.1/SuSE 7.3 2.4.18 kernel.
 
 Can someone please point me in the correct
 direction.
 Thank You,
 Anthony
 

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


__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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

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




Re: C2/TC4 issues

2002-03-01 Thread Anthony W. Marino

On Friday 01 March 2002 03:11 pm, Bruce Perryman wrote:
 OK, here's my deal. I've had similar problems for
 about a week.
 First, Peter Baer (God bless him) did this research
 with  some other folks and found, among other things,
 that TC4.02 doesn't work with C2 and that if you
 install and run as root you'll have problems as well.
 I tried changing ownership/permissions from root to
 another user and had no success.
 I finally started all over, downloading TC4.01 and
 C2(C2.02-dev) from CVS. I built and installed the
 source as a normal user and not as root. It worked.
 My suggestion is first view Install and run C2+T4 as
 user, not root! on Cocoon-users and thank Peter. Then
 if you've been doing this as root, start over as a
 normal user and remember. Thank Peter.

 Bruce
 --- Anthony W. Marino [EMAIL PROTECTED]

 wrote:
  I've tried TC4.02/TC4.1 with C2.01 and continue to
  have problems.  The
  following is what my TC localhost_log file shows
  me:
 
  2002-03-01 14:19:51 StandardManager[/cocoon]:
  Seeding of random number
  generator has been completed
  2002-03-01 14:19:52
  StandardWrapper[/cocoon:Cocoon2]: Marking servlet
  Cocoon2
  as unavailable
  2002-03-01 14:19:52 StandardContext[/cocoon]:
  Servlet /cocoon threw load()
  exception
  javax.servlet.ServletException: Wrapper cannot find
  servlet class
  org.apache.cocoon.servlet.CocoonServlet or a class
  it depends on 
 
 
  JDK1.3.1/SuSE 7.3 2.4.18 kernel.
 
  Can someone please point me in the correct
  direction.
  Thank You,
  Anthony


Thanks I'll give it a whirl!
Anthony

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

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




Re: C2/TC4 issues

2002-03-01 Thread Brad Cox

Where did you get TC4.01? All I see at apache.org is TC4.02 and 3.x.

At 12:11 PM -0800 3/1/02, Bruce Perryman wrote:
OK, here's my deal. I've had similar problems for
about a week.
First, Peter Baer (God bless him) did this research
with  some other folks and found, among other things,
that TC4.02 doesn't work with C2 and that if you
install and run as root you'll have problems as well.
I tried changing ownership/permissions from root to
another user and had no success.
I finally started all over, downloading TC4.01 and
C2(C2.02-dev) from CVS. I built and installed the
source as a normal user and not as root. It worked.
My suggestion is first view Install and run C2+T4 as
user, not root! on Cocoon-users and thank Peter. Then
if you've been doing this as root, start over as a
normal user and remember. Thank Peter.

Bruce
--- Anthony W. Marino [EMAIL PROTECTED]
wrote:
  I've tried TC4.02/TC4.1 with C2.01 and continue to
  have problems.  The
  following is what my TC localhost_log file shows
  me:

  2002-03-01 14:19:51 StandardManager[/cocoon]:
  Seeding of random number
  generator has been completed
  2002-03-01 14:19:52
  StandardWrapper[/cocoon:Cocoon2]: Marking servlet
  Cocoon2
  as unavailable
  2002-03-01 14:19:52 StandardContext[/cocoon]:
  Servlet /cocoon threw load()
  exception
  javax.servlet.ServletException: Wrapper cannot find
  servlet class
  org.apache.cocoon.servlet.CocoonServlet or a class
  it depends on 


  JDK1.3.1/SuSE 7.3 2.4.18 kernel.

  Can someone please point me in the correct
  direction.
  Thank You,
  Anthony


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

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



__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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

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

-- 
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751
o For industrial age goods there were checks and credit cards.
For everything else there is http://virtualschool.edu/mybank
o Java Interactive Learning Environment http://virtualschool.edu/jile
o Java Web Application Architecture: http://virtualschool.edu/jwaa



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

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




Re: C2/TC4 issues

2002-03-01 Thread Bruce Perryman

Try here...

http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.1/src/

Bruce

--- Brad Cox [EMAIL PROTECTED] wrote:
 Where did you get TC4.01? All I see at apache.org is
 TC4.02 and 3.x.
 
 At 12:11 PM -0800 3/1/02, Bruce Perryman wrote:
 OK, here's my deal. I've had similar problems for
 about a week.
 First, Peter Baer (God bless him) did this research
 with  some other folks and found, among other
 things,
 that TC4.02 doesn't work with C2 and that if you
 install and run as root you'll have problems as
 well.
 I tried changing ownership/permissions from root to
 another user and had no success.
 I finally started all over, downloading TC4.01 and
 C2(C2.02-dev) from CVS. I built and installed the
 source as a normal user and not as root. It worked.
 My suggestion is first view Install and run C2+T4
 as
 user, not root! on Cocoon-users and thank Peter.
 Then
 if you've been doing this as root, start over as a
 normal user and remember. Thank Peter.
 
 Bruce
 --- Anthony W. Marino [EMAIL PROTECTED]
 wrote:
   I've tried TC4.02/TC4.1 with C2.01 and continue
 to
   have problems.  The
   following is what my TC localhost_log file
 shows
   me:
 
   2002-03-01 14:19:51 StandardManager[/cocoon]:
   Seeding of random number
   generator has been completed
   2002-03-01 14:19:52
   StandardWrapper[/cocoon:Cocoon2]: Marking
 servlet
   Cocoon2
   as unavailable
   2002-03-01 14:19:52 StandardContext[/cocoon]:
   Servlet /cocoon threw load()
   exception
   javax.servlet.ServletException: Wrapper cannot
 find
   servlet class
   org.apache.cocoon.servlet.CocoonServlet or a
 class
   it depends on 
 
 
   JDK1.3.1/SuSE 7.3 2.4.18 kernel.
 
   Can someone please point me in the correct
   direction.
   Thank You,
   Anthony
 
 

-
   Please check that your question has not already
 been
   answered in the
   FAQ before posting.
   http://xml.apache.org/cocoon/faqs.html
 
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
 
 
 
 __
 Do You Yahoo!?
 Yahoo! Greetings - Send FREE e-cards for every
 occasion!
 http://greetings.yahoo.com
 

-
 Please check that your question has not already
 been answered in the
 FAQ before posting.
 http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail:
 [EMAIL PROTECTED]
 For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 -- 
 Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751
 o For industrial age goods there were checks and
 credit cards.
 For everything else there is
 http://virtualschool.edu/mybank
 o Java Interactive Learning Environment
 http://virtualschool.edu/jile
 o Java Web Application Architecture:
 http://virtualschool.edu/jwaa
 
 
 

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


__
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

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

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




RE: Cocoon and Jetty??

2002-03-01 Thread Rob Finneran

Just another thought -

Some older versions of crimson come with funny names like parsers.jar, etc.
Maybe this will help??


-Original Message-
From: Rob Finneran [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 1:14 PM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon and Jetty??


Well, I'm not really sure, but my hunch still is that it's still picking up
the either the  crimson stuff or a different version of JAXP (now I really
don't know much about what I'm talking about!)

Its my understanding that the relevant JAXP and SAX API are all built into
the two Xerces 2.0 jars.

Somewhere you classpath is picking up something from the wrong libriaries.
That's why I recommened that you more closely control your classpath. I
thought I've seen this problem before, if I remember correctly. It occurs
not only with Jetty, but Tomcat as well. Also, be careful that these API are
not loaded from your JAVA_HOME/lib/ext directory either.

BTW, the .war should be expanded to the webapps/cocoon directory and not the
webapps/war/cocoon. But I don't think this is your first problem, In fact I
would bet that your problem is with completly replacing the Crimson
processor with Xerces. Try removing cocoon completly and just get Jetty to
work with Xerces first.

Good Luck!






-Original Message-
From: Brad Cox [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 8:16 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Greg
Wilkins
Subject: RE: Cocoon and Jetty??


At 5:49 PM -0800 2/28/02, Rob Finneran wrote:
Hey Brad nice to see you around again,

And thanks for the help! But after making all of your changes, I'm
still getting exactly the same problem. See possible clue towards the
end. I've also downloaded the latest version of xerces (was using the
beta before) and installed that as instructed in jetty/lib and
cocoon/war/WEB-INF/lib.

At 10:57 AM -0500 3/1/02, Brad Cox wrote:
Cocoon 2 - Internal server error
type fatal
message SAX2 driver class org.apache.xerces.parsers.SAXParser does
not implement XMLReader
description java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
   at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
   at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
   at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generat
eCode(AbstractMarkupLanguage.java:377)
   at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.genera
teResource(ProgramGeneratorImpl.java:368)
   at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.create
Resource(ProgramGeneratorImpl.java:331)
   at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
rogramGeneratorImpl.java:294)
   at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
   at java.lang.Thread.run(Thread.java:498)

Here's my ~/.jettrc

export JAVA_HOME=/jdk
export JAVA=$JAVA_HOME/bin/java
export JETTY_HOME=/jetty
export JETTY_OPTIONS=-DDEBUG \

-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBu
ilderFactoryImpl\

-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactory
Impl\

-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Transfor
merFactoryImpl\

export
JAVA_OPTIONS=\

-Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBu
ilderFactoryImpl\

-Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactory
Impl\

-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Transfor
merFactoryImpl\


Which (I think) is the same as your instructions. The only thing in
jetty/webaps at this point is cocoon/war; all my webapps are removed.

[bcox@linux:/jetty/webapps]$ d /jetty/webapps
total 0
lrwxrwxrwx1 bcox wheel  12 Feb 28 11:30 cocoon -
/cocoon/war/

[bcox@linux:/jetty/webapps]$ d /jetty/lib
total 1264
-rw-r--r--1 bcox wheel  474421 Oct 21 08:57 com.sun.net.ssl.jar
-rw-r--r--1 bcox wheel   75163 Feb 28 12:56 javax.servlet.jar
-rw-r--r--1 bcox wheel  277370 Feb 28 12:56
org.apache.jasper.jar
-rw-r--r--1 bcox wheel  453817 Feb 28 12:56
org.mortbay.jetty.jar
lrwxrwxrwx1 bcox wheel  28 Mar  1 10:18 parser.jar -
/xerces/build/xercesImpl.jar
lrwxrwxrwx1 bcox wheel  39 Feb 28 16:53
xalan-2.3.1.jar - /cocoon/war/WEB-INF/lib/xalan-2.3.1.jar
lrwxrwxrwx1 bcox wheel  31 Mar  1 10:17
xmlParserAPIs.jar - /xerces/build/xmlParserAPIs.jar
drwxr-xr-x6 bcox wheel1024 Feb 28 18:29 z

[bcox@linux:/jetty/webapps]$ d /cocoon/war/WEB-INF/lib/
total 14411
-rw-r--r--1 bcox wheel  196490 Feb 28 15:45
avalon-excalibur-4.1.jar
-rw-r--r--1 bcox wheel   47564 Feb 28 15:45

Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-03-01 Thread Mykola A. Nickishov

Baer Peter [EMAIL PROTECTED] writes:

 The URL of the XML page that helped us so much is:
 
 http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml

I use IE 5.00.2920.xx and recieve:

The XML page cannot be displayed 
Cannot view XML input using CSS style sheet. Please correct the error
and then click the Refresh button, or try again later. 




Error while parsing entity 'amp'. Unexpected end of file. Line 1,
Position 1 

:)

-- 
/me @ home
ICQ #83060237
MAN-UANIC

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

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




RE: Cocoon and Jetty??

2002-03-01 Thread Brad Cox

At 1:14 PM -0800 3/1/02, Rob Finneran wrote:
Well, I'm not really sure, but my hunch still is that it's still picking up
the either the  crimson stuff or a different version of JAXP (now I really
don't know much about what I'm talking about!)

I don't think so, see below:

Somewhere you classpath is picking up something from the wrong libriaries.
That's why I recommened that you more closely control your classpath. I
thought I've seen this problem before, if I remember correctly. It occurs
not only with Jetty, but Tomcat as well. Also, be careful that these API are
not loaded from your JAVA_HOME/lib/ext directory either.

Will check that next. I've since downloaded tomcat 4.0.2 AND AM 
GETTING EXACTLY THE SAME PROBLEM.

BTW, the .war should be expanded to the webapps/cocoon directory and not the
webapps/war/cocoon. But I don't think this is your first problem, In fact I
would bet that your problem is with completly replacing the Crimson
processor with Xerces. Try removing cocoon completly and just get Jetty to
work with Xerces first.

I've been using xerces, xalan and velocity with jetty in my own 
webapps previously so I know jetty works properly with thse. I've 
eliminated everything but cocoon from webapps by now just to be safe.

The jetty DEBUG output explicitly lists the jars its examining:

12:21:25.234 DEBUG  try findClass 
org.apache.jasper.servlet.JspServlet from 

file:/jetty/webapps/cocoon/WEB-INF/lib/javac.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-scratchpad-20020212.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xalan-2.3.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jakarta-regexp-1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-framework-4.1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/logkit-1.0.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/commons-collections-1.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xerces.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xml-apis.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/commons-httpclient-20011012.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-excalibur-4.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/fop-0.20.3rc.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xmldb-api-2001.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jimi-1.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/hsqldb-1.61.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/batik-libs-1.1.1.jar,
file:/jetty/webapps/cocoon 
/WEB-INF/lib/velocity-1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/resolver-20020130.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/rhino-1.5r3.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xt-19991105.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jstyle.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/maybeupload_1-0-5pre3.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/lucene-1.2-rc2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/rdffilter.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jisp_1_0_2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/deli-0.43.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/bsf-2.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jena-1.3.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jtidy-04aug2000r7-dev.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/pizza-1.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar,
file:/jetty/webapps/cocoon/WEB-INF/classes/


-Original Message-
From: Brad Cox [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 8:16 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Greg
Wilkins
Subject: RE: Cocoon and Jetty??


At 5:49 PM -0800 2/28/02, Rob Finneran wrote:
Hey Brad nice to see you around again,

And thanks for the help! But after making all of your changes, I'm
still getting exactly the same problem. See possible clue towards the
end. I've also downloaded the latest version of xerces (was using the
beta before) and installed that as instructed in jetty/lib and
cocoon/war/WEB-INF/lib.

At 10:57 AM -0500 3/1/02, Brad Cox wrote:
Cocoon 2 - Internal server error
type fatal
message SAX2 driver class org.apache.xerces.parsers.SAXParser does
not implement XMLReader
description java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
  at
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.generat
eCode(AbstractMarkupLanguage.java:377)
  at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.genera
teResource(ProgramGeneratorImpl.java:368)
  at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.create
Resource(ProgramGeneratorImpl.java:331)
  at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(P
rogramGeneratorImpl.java:294)
  at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
 

RE: Cocoon and Jetty??

2002-03-01 Thread Rob Finneran

Just for fun, eliminate cocoon and test it anyway.
Also either rebuild the cocoon jar without the xml parser stuff or remove it
from the jetty/webapps/WEB-INF/lib.

You might try asking this question on the Xerces-J user list, even if it is
a cocoon issue, they would immediately understand the parser error messages.

Good Luck!


-Original Message-
From: Brad Cox [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 1:34 PM
To: [EMAIL PROTECTED]
Subject: RE: Cocoon and Jetty??


At 1:14 PM -0800 3/1/02, Rob Finneran wrote:
Well, I'm not really sure, but my hunch still is that it's still picking up
the either the  crimson stuff or a different version of JAXP (now I really
don't know much about what I'm talking about!)

I don't think so, see below:

Somewhere you classpath is picking up something from the wrong libriaries.
That's why I recommened that you more closely control your classpath. I
thought I've seen this problem before, if I remember correctly. It occurs
not only with Jetty, but Tomcat as well. Also, be careful that these API
are
not loaded from your JAVA_HOME/lib/ext directory either.

Will check that next. I've since downloaded tomcat 4.0.2 AND AM
GETTING EXACTLY THE SAME PROBLEM.

BTW, the .war should be expanded to the webapps/cocoon directory and not
the
webapps/war/cocoon. But I don't think this is your first problem, In fact I
would bet that your problem is with completly replacing the Crimson
processor with Xerces. Try removing cocoon completly and just get Jetty to
work with Xerces first.

I've been using xerces, xalan and velocity with jetty in my own
webapps previously so I know jetty works properly with thse. I've
eliminated everything but cocoon from webapps by now just to be safe.

The jetty DEBUG output explicitly lists the jars its examining:

12:21:25.234 DEBUG  try findClass
org.apache.jasper.servlet.JspServlet from

file:/jetty/webapps/cocoon/WEB-INF/lib/javac.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-scratchpad-20020212.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xalan-2.3.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jakarta-regexp-1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-framework-4.1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/logkit-1.0.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/commons-collections-1.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xerces.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xml-apis.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/commons-httpclient-20011012.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/avalon-excalibur-4.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/fop-0.20.3rc.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xmldb-api-2001.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jimi-1.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/hsqldb-1.61.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/batik-libs-1.1.1.jar,
file:/jetty/webapps/cocoon
/WEB-INF/lib/velocity-1.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/resolver-20020130.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/rhino-1.5r3.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/xt-19991105.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jstyle.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/maybeupload_1-0-5pre3.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/lucene-1.2-rc2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/rdffilter.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jisp_1_0_2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/deli-0.43.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/bsf-2.2.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jena-1.3.0.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/jtidy-04aug2000r7-dev.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/pizza-1.1.jar,
file:/jetty/webapps/cocoon/WEB-INF/lib/cocoon-2.0.2-dev.jar,
file:/jetty/webapps/cocoon/WEB-INF/classes/


-Original Message-
From: Brad Cox [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 01, 2002 8:16 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; Greg
Wilkins
Subject: RE: Cocoon and Jetty??


At 5:49 PM -0800 2/28/02, Rob Finneran wrote:
Hey Brad nice to see you around again,

And thanks for the help! But after making all of your changes, I'm
still getting exactly the same problem. See possible clue towards the
end. I've also downloaded the latest version of xerces (was using the
beta before) and installed that as instructed in jetty/lib and
cocoon/war/WEB-INF/lib.

At 10:57 AM -0500 3/1/02, Brad Cox wrote:
Cocoon 2 - Internal server error
type fatal
message SAX2 driver class org.apache.xerces.parsers.SAXParser does
not implement XMLReader
description java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
stack-trace
java.lang.ClassCastException:
org.apache.xerces.parsers.StandardParserConfiguration
  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
  at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
  at

Access to xml-cocoon2

2002-03-01 Thread Joseph Rajkumar

Hi
I used the following to get the
latest xml-cocoon2 with the need libs
to check out the validation etc, I was
able to build, but when I run I get
the message:

===
Apache Tomcat/4.0.1 - HTTP Status 503 - 
 Servlet Cocoon2 is currently unavailable
type Status report
message Servlet Cocoon2 is currently unavailable
description The requested service (Servlet Cocoon2 
is currently unavailable) is not currently available.
===

I used this to check it out:
cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
xml-cocoon2

Am I correct? What is this CVS HEAD folks are talking about,
is it the same or different, if different how??

Joseph Rajkumar
-- 
email: [EMAIL PROTECTED]

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

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




RE: Cocoon and Jetty --- Zope

2002-03-01 Thread Brad Cox

After wasting this whole week trying  to get Cocoon out of the box 
with not one suggestions from cocoon developers, I'm beginning to get 
the message.

The following review points to Zope as a way out. Its time to trash 
my investment in Java and rebuild my application in Zope. What a 
bloody waste.

A comparative review of Zope and Cocoon.
http://www.arielpartners.com/arielpartners/content/public/topics/technology/technologyReviews/zopeVsCocoon

-- 
Brad Cox, PhD; [EMAIL PROTECTED] 703 361 4751
o For industrial age goods there were checks and credit cards.
For everything else there is http://virtualschool.edu/mybank
o Java Interactive Learning Environment http://virtualschool.edu/jile
o Java Web Application Architecture: http://virtualschool.edu/jwaa


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

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




[C2]

2002-03-01 Thread Pascal Davoust

Hi everybody,

I'm looking for a way to design my layout taglibs (stylesheets) so that it's
independant from the base URI it's used on.
The problem is that it generates HTML URI to use some images (part of the
taglib), and that URI is obviously relative to the current URI Cocoon is
processing. And this is not correct and breaks the concept of taglib.

Does anybody know how to do it or point me in the right direction? I guess
it's got something to do with XPointer or some similar extension, but I'm
unable to find which...

Thanks in advance,

Pascal.


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

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




Installing Cocoon 2.0.1 on a WebLogic 6.1 SP2

2002-03-01 Thread Mark Smith



Hi all, 
 I have been having problems 
installing Cocoon2 on a Solaris 8 machine running Weblogic 6.1 SP2. 


I built the src code and created the cocoon.war 
file and placed it in the application dir. Stoped the server (weblogic) and 
started it again. Made sure it was deployed and also select the server for 
deployment. But while deploying it i get this error:

please any help would be 
appreciated...

Mar 1, 2002 4:34:01 PM EST Error 
J2EE Error deploying application cocoon: Could not load cocoon 
Mar 1, 2002 4:34:57 PM EST Error J2EE Error 
deploying application cocoon: Could not load cocoon Mar 1, 2002 
4:34:57 PM EST Error Management 
InvocationTargetException setting attribute Deployed on MBean 
vba:Location=dpris,Name=cocoon,Type=ApplicationConfig to value true. Method: 
public void weblogic.management.mbeans.custom.Application.setDeployed(boolean) 
throws 
weblogic.management.DeploymentException,weblogic.management.UndeploymentExceptionjava.lang.StringIndexOutOfBoundsException: 
String index out of range: -1 at 
java.lang.String.substring(String.java:1525) 
at 
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.java:469)
...
...
...
...
about 40 more lines.


RE: Installing Cocoon 2.0.1 on a WebLogic 6.1 SP2

2002-03-01 Thread Vadim Gritsenko

It is because weblogic is having difficulties reading
META-INF/manifest.mf of the xt-19991105.jar. You have two possibilities:

1. If you do not use xt - just remove xt*.jar files from everywhere.
2. Unpack xt, edit manifest.mf, pack it again.

Vadim

-Original Message-
From: Mark Smith [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 01, 2002 5:07 PM
To: [EMAIL PROTECTED]
Subject: Installing Cocoon 2.0.1 on a WebLogic 6.1 SP2

Hi all, 
    I have been having problems installing Cocoon2 on a Solaris 8
machine running Weblogic 6.1 SP2. 
 
I built the src code and created the cocoon.war file and placed it in
the application dir. Stoped the server (weblogic) and started it again.
Made sure it was deployed and also select the server for deployment. But
while deploying it i get this error:
 
please any help would be appreciated...
 
Mar 1, 2002 4:34:01 PM EST Error J2EE Error deploying application
cocoon: Could not load cocoon 
Mar 1, 2002 4:34:57 PM EST Error J2EE Error deploying application
cocoon: Could not load cocoon 
Mar 1, 2002 4:34:57 PM EST Error Management
InvocationTargetException setting attribute Deployed on MBean
vba:Location=dpris,Name=cocoon,Type=ApplicationConfig to value true.
Method: public void
weblogic.management.mbeans.custom.Application.setDeployed(boolean)
throws
weblogic.management.DeploymentException,weblogic.management.Undeployment
Exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(String.java:1525)
    at
weblogic.servlet.internal.WebAppHelper.resolveManifestName(WebAppHelper.
java:469)
...
...
...
...
about 40 more lines.


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

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




XML updating as well as publishing

2002-03-01 Thread Robert Leftwich

What are people's thoughts on the best way to utilize Cocoon in a XML-centric web 
application (i.e. where the app not only publishes XML but it also allows update as 
well)?
Currently there appears to be little support for updating the XML in a scalable, 
transactionable manner unless you are sourcing your XML from a relational database. 
If, however your data is semi-structured and does not fit the relational mold, things 
are a little more difficult  - if only the database mentioned in the cocoon-dev 
archive titled '[RT] Dreams for a useful database' was available :-(. 
The options seem to be :
1. Store the XML as files in the underlying file system utilizing Actions and a 
FileSerializer of some sort (such as Ozone or the scratchpad version)  - simple, may 
suffer from performance problems, no transactions.
2. Use an XML:DB along with Actions using the XML:DB api to do the updating - 
relatively simple, there are still some transaction issues with the Xindice 
implementation I believe and the other XML db's are not yet up to speed with the full 
api.
3. Use an XML:DB along with XUpdate to do the updating - not sure on the status of 
this. XUpdate is quite verbose and certainly caused a bit of negative comment on the 
dev list.
4. Use a relational database and force the data to fit - not simple, may limit what 
functionality can be offered because of the warping of the natural data structures.

Are there any other strategies, preferably ones that enable smooth migration as better 
solutions become available or is Cocoon not (yet) the best tool for this job?

Robert


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

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




Re: cocoon 2.0 with Tomcat 4.1 installation problems

2002-03-01 Thread Mark . Vovsi

I appreciate all of the replies to my morning post. Here are some more details.

1) I've tried building Cocoon 2.0.1 again and got errors. I got the version from http://xml.apache.org/cocoon/dist/cocoon-2.0.1-src.zip for my Windows2000 machine. The exact errors were during compilation:

compile:
  [copy] Copying 27 files to C:\java\apache\cocoon-2.0.1\build\cocoon\classes

  [echo] Compiling with Java 1.4, debug on, optimize off, deprecation off
  [javac] Compiling 392 source files to C:\java\apache\cocoon-2.0.1\build\coco
on\classes
  [javac] C:\java\apache\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
nents\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.compon
ents.language.markup.xsp.EsqlConnection must be declared abstract. It does not d
efine void rollback(java.sql.Savepoint) from interface java.sql.Connection.
  [javac] public class EsqlConnection implements Connection {
  [javac]   ^
  [javac] C:\java\apache\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
nents\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.compon
ents.language.markup.xsp.EsqlConnection must be declared abstract. It does not d
efine java.sql.Statement createStatement(int, int, int) from interface java.sql.
Connection.


2) I am able to build a version of Cocoon 2.0 no problem. But when I go to to http://localhost:8080/cocoon on my Tomcat 4.0.2 or Tomcat 4.0.1 install I get a Java Exception/Internal Server Error in my browser.

exception:

javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception
 at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source)
 at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
 at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
 at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
 at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
 at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
 at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
 at java.lang.Thread.run(Thread.java:536)


root:
===
java.lang.NullPointerException
 at java.util.Hashtable.put(Hashtable.java:386)
 at org.apache.avalon.framework.context.DefaultContext.put(DefaultContext.java:107)
 at org.apache.cocoon.servlet.CocoonServlet.initLogger(CocoonServlet.java:423)
 at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:132)
 at org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source)
 at org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
 at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
 at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)

RE: Livesite

2002-03-01 Thread Vadim Gritsenko

Your site has been added to the list in the Cocoon CVS.

Thanks,
Vadim

 -Original Message-
 From: Montier Patrick [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, February 28, 2002 8:40 AM
 To: [EMAIL PROTECTED]
 Subject: Livesite
 
 Hello,
 
 A new cocoon 2 web site has been developped by our french company
Easance in
 3 languages (French, English and japanese) :
 http://www.bethe1.com
 
 This web site is the worldwide employment specialist in FASHION,
BEAUTY and
 selective RETAIL..
 
 
 Best regards
 
 Patrick Montier - Technical director


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

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




RE: side-panel does not show on c2

2002-03-01 Thread Vadim Gritsenko

It is something with Batik and JDK1.4. Search the list; I recall that
there were mails about this issue.

Vadim

 -Original Message-
 From: TIMO EINSIEDLER-BURGER [mailto:[EMAIL PROTECTED]]
 Sent: Friday, March 01, 2002 4:53 AM
 To: 
 Subject: side-panel does not show on c2
 
 hello there, did anyone encounter this problem - when running c2 with
 tomcat4.01 and jdk1.4.0beta2 under redhat7.2 the side-panel does not
show any
 (although loaded) *.jpgs  ?!?
 
 cheers timo


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

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




RE: XSP - pb to reproduce the greeting3 example.

2002-03-01 Thread Vadim Gritsenko

 From: Christophe Le SaÌc [mailto:[EMAIL PROTECTED]]
 
 Hello,
 
 I've just installed Cocoon yesterday and i read the doc. Then, i
 reproduce the greeting2 examples, that works well.
 
 greeting2.xml
 ?xml version=1.0
 xsp:page xmlns:xsp=http://www.apache.org/1999/XSP/Core;
   xsp:logicString msg=Hello world!;/xsp:logic
greetingxsp:exprmsg/xsp:expr/greeting
 /xsp:page
 
 i modify the sitemap.xmap file, to add this in an existing pipeline
:
  map:match pattern=test/greeting.html
   map:generate type=serverpages src=test/greeting.xsp
   map:serialize/
 /map:match
 
 Then, i obtain a good xml result :
 ... greetingHello world!/greeting
 
 But, i don't know how to reproduce the greeting3 example.
 
 When i write greetinggreeting:hello-world//greeting in an XML
file
 and then the XSL file to transform greeting:hello-world/ to
 xsp:exprmsg/xsp:expr,  it  simply done
 greetingxsp:exprmsg/xsp:expr/greeting where i expected
 greetingHello world!/greeting. the xsp process does not work.  May
 be the error comes from my sitemap.xmap, i don't know how to run XSP
 generator after a XSL transform.

Any generator (not only XSP generator) could not be run after transform
stage. Generator is always first stage.

From your explanation, I see that you want to apply logicsheet to the
XML and process it as an XSP. That's achieved by different means than
simple XSLT transformation. Hence the different name - logichsheet, but
not stylesheet (also they have same syntax).

Logicsheets are applied by XSP generator, if they are correctly
referenced from the XSP page. Take a look at logicsheet.xsp, how it
references its logicsheet:

http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/docs/samples/xs
p/logicsheet.xsp?rev=1.3content-type=text/vnd.viewcvs-markup

Ok, now about sitemap. Correct snippet should look like:

map:match pattern=test/greeting.html
  !-- this will apply logicsheet, generate and compile serverpage,
   and execute it--
  map:generate type=serverpages src=test/greeting.xml

  !-- any transforms you want here
  map:transform src=test/style.xsl
  --

  !-- use type=xml for xml results --
  map:serialize type=xml/
/map:match
 

Hope this will help you keep moving,

Regards,
Vadim


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

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




RE: Access to xml-cocoon2

2002-03-01 Thread Vadim Gritsenko

http://xml.apache.org/cocoon/installing/index.html:

cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic -z3 checkout -r
HEAD xml-cocoon2

Regards,
Vadim

 -Original Message-
 From: jrajkumar [mailto:jrajkumar] On Behalf Of Joseph Rajkumar
 Sent: Friday, March 01, 2002 5:07 PM
 To: cocoon-users
 Subject: Access to xml-cocoon2
 
 Hi
   I used the following to get the
 latest xml-cocoon2 with the need libs
 to check out the validation etc, I was
 able to build, but when I run I get
 the message:
 
 ===
 Apache Tomcat/4.0.1 - HTTP Status 503 -
  Servlet Cocoon2 is currently unavailable
 type Status report
 message Servlet Cocoon2 is currently unavailable
 description The requested service (Servlet Cocoon2
 is currently unavailable) is not currently available.
 ===
 
 I used this to check it out:
 cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic checkout
 xml-cocoon2
 
 Am I correct? What is this CVS HEAD folks are talking about,
 is it the same or different, if different how??
 
 Joseph Rajkumar
 --
 email: [EMAIL PROTECTED]
 
 -
 Please check that your question has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faqs.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


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

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




RE: cocoon 2.0 with Tomcat 4.1 installation problems

2002-03-01 Thread Vadim Gritsenko

This looks like JDK1.3/JDK1.4 mix-up described recently by Stefano. Do
you have two JDK on your machine? Try build.bat from the CVS, should
help.

http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-cocoon2/build.bat?rev=1
.18

Vadim

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 01, 2002 8:08 PM
To: [EMAIL PROTECTED]
Subject: Re: cocoon 2.0 with Tomcat 4.1 installation problems


I appreciate all of the replies to my morning post. Here are some more
details. 

1) I've tried building Cocoon 2.0.1 again and got errors. I got the
version from http://xml.apache.org/cocoon/dist/cocoon-2.0.1-src.zip for
my Windows2000 machine. The exact errors were during compilation: 


compile: 
     [copy] Copying 27 files to
C:\java\apache\cocoon-2.0.1\build\cocoon\classes 

     [echo] Compiling with Java 1.4, debug on, optimize off, deprecation
off 
    [javac] Compiling 392 source files to
C:\java\apache\cocoon-2.0.1\build\coco 
on\classes 
    [javac]
C:\java\apache\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo 
nents\language\markup\xsp\EsqlConnection.java:22: class
org.apache.cocoon.compon 
ents.language.markup.xsp.EsqlConnection must be declared abstract. It
does not d 
efine void rollback(java.sql.Savepoint) from interface
java.sql.Connection. 
    [javac] public class EsqlConnection implements Connection { 
    [javac]              ^ 
    [javac]
C:\java\apache\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo 
nents\language\markup\xsp\EsqlConnection.java:22: class
org.apache.cocoon.compon 
ents.language.markup.xsp.EsqlConnection must be declared abstract. It
does not d 
efine java.sql.Statement createStatement(int, int, int) from interface
java.sql. 
Connection. 



2) I am able to build a version of Cocoon 2.0 no problem. But when I go
to to http://localhost:8080/cocoon on my Tomcat 4.0.2 or Tomcat 4.0.1
install I get a Java Exception/Internal Server Error in my browser. 

exception: 


javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
                at
org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source)
                at
org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
                at
org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
                at org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
                at
org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
                at org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
                at
org.apache.catalina.core.StandardContext.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
                at org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
                at
org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
                at org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
                at
org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
                at
org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
                at java.lang.Thread.run(Thread.java:536)


root: 

===
java.lang.NullPointerException
                at 

Re: Cannot get MySQL pool connection

2002-03-01 Thread terracare

Paul,

On Friday, March 1, 2002, at 09:19 AM, Paul Caton wrote:

 Cocoon just doesn't see a connection to my database. I
 have to say I've wasted so much time trying to get Cocoon to do what
 it says it can do that I'm close to abandoning it.

It's not Cocoon. It's appears to be a Mac OSX-Java issue that seems to 
have popped up with OSX 10.1. I had this same problem getting 
MySQL-Cocoon functional. Cocoon's architecture is amazing to work with 
BUT its layers of abstraction sometimes make it harder to get at the 
root problem (server configuration, in this case). To get a more 
detailed exception message, I wrote a simple servlet in java that hit 
the MYSQL database with the same parameters. Same problem, but it 
revealed Server configuration denies access to data source. (I also 
found a few helpful exception messages in the Catalina/Apache logs in my 
Tomcat 4.0.1/logs directory.) Well this can mean a lot of things (like 
container security issues, etc.) but I narrowed it down to a problem OS 
X has in resolving localhost in many instances, and in this case, with 
JDBC. You can read about a hack at

http://sourceforge.net/forum/message.php?msg_id=198555

Basically, I used something like the following when granting privileges 
to the user accessing the database:

mysql -u root -p GRANT (whatever) PRIVILEGES ON (your database) TO 
(user)@'%' IDENTIFIED BY (password).

The key above is the '%' (quotes included) for user's location.

Otherwise, my config is almost identical to yours, except that I do 
specify port number on the dburl, as in:

dburljdbc:mysql://localhost:3306/data/dburl

So email back if you need more specifics. I'm sorry I couldn't get this 
too you sooner, but I was away from my desk. Unfortunately, it seems 
like so many things on OSX just take a little more tweaking... but then 
we all learn more from the process, eh?

Diana


 But I'm loath to
 let the time I *have* put in go to waste, so I'll willingly try any
 suggestions that come in today before I adopt another approach on
 Monday!

 Paul.




 On Fri, 1 Mar 2002, Derek Hohls wrote:

 Have you tried using 'localhost:3306' instead of  'hostname' ?
 (and restart).

 --
 Paul Caton
 Electronic Publications Editor
 Women Writers Project

  e-mail: [EMAIL PROTECTED]
 tel: (401) 863-3619
 address: Box 1841, Brown University, Providence RI 02912

   


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

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



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

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




[HELP] Cocoon 2.0 - Oracle DB connection problems...

2002-03-01 Thread CHERVIRALA Srinivas / FTRD / US
Title: [HELP] Cocoon 2.0 - Oracle DB connection problems...






Hi.


I am facing problem in accessing the Oracle DB.


My Environment:
-

Win NT 4.0 Client
Apache Tomcat 4.0.2 (Standalone)
Cocoon 2.0
Oracle 8.1.6 Client
*Oracle 8.1.6 Server (Running under different machine in the network)
-

I copied Oracle database classes12.zip and classes111.zip files to \cocoon\web-inf\lib and renamed them as jar files.


Error:
-

The org.apache.cocoon.www.sitemap_xmap notifies that org.apache.cocoon.ProcessingException says:

Exception in ServerPagesGenerator.generate()

More precisely:
org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoAvailableConnectionException: There are no connections in the pool, check your settings. 

Original exception : java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoAvailableConnectionException: There are no connections in the pool, check your settings. 

Full Exception chain stacktrace:
at org.apache.cocoon.www.docs.samples.xsp.esql_xsp.generate(esql_xsp.java:277)
at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:226)
at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:209)
at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:355)
at org.apache.cocoon.www.sitemap_xmap.matchN104AD(sitemap_xmap.java:6239)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3001)
at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2426)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144)
at org.apache.cocoon.Cocoon.process(Cocoon.java:582)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
at java.lang.Thread.run(Thread.java:484)
-

For your reference I am giving following file contents..
My Web.xml file contains:

Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4

2002-03-01 Thread Brian Blakeley

At first I was going to just say upgrade your IE - but it does not display
in 6.002 either.

The good news is that the site loads fine in Netscape 6.2 which in a
perverse arrangement I use for view links from Outlook.

Give it a try if you can.

Brian


- Original Message -
From: Mykola A. Nickishov [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 01, 2002 4:24 PM
Subject: Re: Cocoon 2.0.1 + Tomcat 4.0 + JDK 1.4


 Baer Peter [EMAIL PROTECTED] writes:

  The URL of the XML page that helped us so much is:
 
  http://tecfa.unige.ch/guides/xml/cocoon/install-notes-2-simple.xml

 I use IE 5.00.2920.xx and recieve:

 The XML page cannot be displayed
 Cannot view XML input using CSS style sheet. Please correct the error
 and then click the Refresh button, or try again later.


 --
--

 Error while parsing entity 'amp'. Unexpected end of file. Line 1,
 Position 1

 :)

 --
 /me @ home
 ICQ #83060237
 MAN-UANIC

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

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



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

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




RE: cocoon 2.0 with Tomcat 4.1 installation problems

2002-03-01 Thread Mark . Vovsi

I've downloaded the latest cocoon build via CVS. I believe the build is OK, because I'm not getting NullPointerExceptions when I run http://localhost:8080/cocoon, 

but now I'm getting the following error with jdk1.4 and JDK1.4 LE (lightweight distribution) of Tomcat 4.0.2:

java.lang.NoClassDefFoundError: org/w3c/dom/ranges/DocumentRange
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
 at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631)

Clearly the .dom packages can't be found. I tried setting the classpath, adding .jar files to the /common/endorsed/ folder, but no luck. When tried to load cocoon with a full 4.0.2 Tomcat distribution, the browser just hangs.

This is becoming quite frustrating, any more suggestions are greatly appreciated. Thanks. Mark. 







Vadim Gritsenko [EMAIL PROTECTED]
03/01/2002 09:59 PM
Please respond to cocoon-users


To:[EMAIL PROTECTED]
cc:
Subject:RE: cocoon 2.0 with Tomcat 4.1 installation problems


This looks like JDK1.3/JDK1.4 mix-up described recently by Stefano. Do
you have two JDK on your machine? Try build.bat from the CVS, should
help.

http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-cocoon2/build.bat?rev=1
.18

Vadim

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: Friday, March 01, 2002 8:08 PM
To: [EMAIL PROTECTED]
Subject: Re: cocoon 2.0 with Tomcat 4.1 installation problems


I appreciate all of the replies to my morning post. Here are some more
details. 

1) I've tried building Cocoon 2.0.1 again and got errors. I got the
version from http://xml.apache.org/cocoon/dist/cocoon-2.0.1-src.zip for
my Windows2000 machine. The exact errors were during compilation: 


compile: 
     [copy] Copying 27 files to
C:\java\apache\cocoon-2.0.1\build\cocoon\classes 

     [echo] Compiling with Java 1.4, debug on, optimize off, deprecation
off 
    [javac] Compiling 392 source files to
C:\java\apache\cocoon-2.0.1\build\coco 
on\classes 
    [javac]
C:\java\apache\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo 
nents\language\markup\xsp\EsqlConnection.java:22: class
org.apache.cocoon.compon 
ents.language.markup.xsp.EsqlConnection must be declared abstract. It
does not d 
efine void rollback(java.sql.Savepoint) from interface
java.sql.Connection. 
    [javac] public class EsqlConnection implements Connection { 
    [javac]              ^ 
    [javac]
C:\java\apache\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo 
nents\language\markup\xsp\EsqlConnection.java:22: class
org.apache.cocoon.compon 
ents.language.markup.xsp.EsqlConnection must be declared abstract. It
does not d 
efine java.sql.Statement createStatement(int, int, int) from interface
java.sql. 
Connection. 



2) I am able to build a version of Cocoon 2.0 no problem. But when I go
to to http://localhost:8080/cocoon on my Tomcat 4.0.2 or Tomcat 4.0.1
install I get a Java Exception/Internal Server Error in my browser. 

exception: 


javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw
exception
                at
org.apache.catalina.core.StandardWrapper.loadServlet(Unknown Source)
                at
org.apache.catalina.core.StandardWrapper.allocate(Unknown Source)
                at
org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
                at org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
                at
org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.valves.CertificatesValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
                at org.apache.catalina.core.ContainerBase.invoke(Unknown
Source)
                at
org.apache.catalina.core.StandardContext.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
                at
org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
                at

Urgent: Execution of pipeline at startup

2002-03-01 Thread Chitharanjan Das

Hello,
I had raised this issue earlier...
Please confirm if this is possible at all.

I need to cache some data structures and some schema elements.

Is there a way to execute a pipeline or any other possibilities to cache
the information at COCOON'S startup.

Currently, I am performing this caching at first access.

I would surely like to cache the information at startup, rather than at
first access...

Could any of you please provide an approach and if already implemented,
please share the implementation.

Regds,
Chiths





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

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




Re: Cocoon-URL (weekly summary of interesting links on cocoon-*)

2002-03-01 Thread Stefano Mazzocchi

Andrew Savory wrote:
 
 Hi,
 
 Some of you may be interested in Cocoon-URL:
 
   http://www.luminas.co.uk/technology/cocoon/url/
 
 Cocoon-URL is a weekly summary of interesting links posted to the mailing
 lists of the Cocoon project. We've got the last three weeks archived, and
 we will hopefully continue to update this on a weekly basis. Many thanks
 to MJ Ray for the cunning code.
 
 Hope it's of use!

Very cool, I'll add it to our links!

Question: do you provide RSS feeds? if so, I would sure it from the
newly forrest-powered cocoon web page.

-- 
Stefano Mazzocchi  One must still have chaos in oneself to be
  able to give birth to a dancing star.
[EMAIL PROTECTED] Friedrich Nietzsche




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

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




Re: Cocoon-URL (weekly summary of interesting links on cocoon-*)

2002-03-01 Thread Andrew Savory

On Fri, 1 Mar 2002, Stefano Mazzocchi wrote:

 Question: do you provide RSS feeds? if so, I would sure it from the
 newly forrest-powered cocoon web page.

Not at the moment, but hey, it's published with Cocoon so give me a few
minutes and I'll add an RSS feed ;-)


Andrew.

-- 
Andrew SavoryEmail: [EMAIL PROTECTED]
Managing Director  Tel:  +44 (0)20 8553 6622
Luminas Internet Applications  Fax:  +44 (0)870 28 47489
This is not an official statement or order.Web:www.luminas.co.uk


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

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