Re: Again ! the sitemap handler's sitemap is not available

2001-06-20 Thread Ling Kok Choon

hi,

   I just successfull install C2 beta version on the Windows 98, Tomcat 3.2.2 , JDK 
1.3.1, I 
meet the Sitemap handler's sitemao is not avaiable problem before, I delete the 
parser.jar from 
the tomcat/lib , then all run well.


regards,
   ^^
-00''00- Kok Choon.

Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 06/21/01
Time: 03:02:48

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions



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

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




Re: could not install cocoon1.8.2 on window98

2001-06-20 Thread Matteo Colombo

>hi:
>
>Out of environment space
>Out of environment space
>what is wrong? pls. help  me out.
>
>thanks a lot

>jian

No problem: You have to open MsDos Prompt and digit 'command /E:' then
startup Tomcat (for me, I don't know what' s your engine servlet).  Instead
 put 4096 or 8192. That number gives the memory space usable for
enviroment variable
Ciao Matteo


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

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




Again ! the sitemap handler's sitemap is not available

2001-06-20 Thread Ling Kok Choon

hi friends,

   I am facing the same problem when i try to start the cocoon 2. I have build and 
install the 
cocoon 2 beta version to my system ( windows 98, tomcat 3.2.2 , jdk 1.3.1 ), and i 
have follow 
all the step at the install page. But the Cocoon 2 Internal Server Error still occur. 
  I checked the log file, and i found some error happened, but i don't know how to 
solve it. SO 
hoping your help.

Note : sitemap's error code is at the bottom of this email, (Error number 3).


Here is a part of the log file :

1) here i think is the Database connection error, right ?

***
2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15320   [cocoon  ] (Thread-24):  
 
org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
java.sql.SQLException: File input/output error: 
${install.war}/cocoon/WEB-INF/db/cocoondb.properties
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Log.saveProperties(Log.java:621)
at org.hsqldb.Log.create(Log.java:512)
at org.hsqldb.Log.open(Log.java:159)
at org.hsqldb.Database.(Database.java:96)
at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:926)
at org.hsqldb.jdbcConnection.(jdbcConnection.java:682)
at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:116)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.ja
va:52)
at 
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)
at 
org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardResourceLimitingPool.ja
va:85)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcConnectionPool.java:50)

at 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnectionPool.java:109)
at java.lang.Thread.run(Thread.java:484)

2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-10): 
getRealPath for /: 
D:\jakarta-tomcat-3.2.2\webapps\cocoon\

***


2) Again a Database connection error, right ?

***
2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-10): URL for 
Root: 
file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/

2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-24): 
org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
java.sql.SQLException: File input/output error: 
${install.war}/cocoon/WEB-INF/db/cocoondb.properties
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Log.saveProperties(Log.java:621)
at org.hsqldb.Log.create(Log.java:512)
at org.hsqldb.Log.open(Log.java:159)
at org.hsqldb.Database.(Database.java:96)
at org.hsqldb.jdbcConnection.openStandalone(jdbcConnection.java:926)
at org.hsqldb.jdbcConnection.(jdbcConnection.java:682)
at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:116)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:177)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(JdbcConnectionFactory.ja
va:52)
at 
org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:70)
at 
org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable(HardResourceLimitingPool.ja
va:85)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable(JdbcConnectionPool.java:50)

at 
org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:82)
at 
org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run(JdbcConnectionPool.java:109)
at java.lang.Thread.run(Thread.java:484)

2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-24): 
org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
java.sql.SQLException: File input/output error: 
${install.war}/cocoon/WEB-INF/db/cocoondb.properties
at org.hsqldb.Trace.getError(Trace.java:180)
at org.hsqldb.Trace.getError(Trace.java:144)
at org.hsqldb.Trace.error(Trace.java:205)
at org.hsqldb.Lo

Re: cocoon2 in Windows 98, Tomcat 3.2.1 ?

2001-06-20 Thread Lajos Moczar

I'm doing it. I just downloaded C2b1, compiled, installed and it ran. 
Unfortunately, it is horrendously slow even w/ 160MB on a Pentium II.

Lajos


Ling Kok Choon wrote:

> hi,
> 
>   Can cocoon2 be installed in Windows 98 with Tomcat 3.2.1 as a web server and 
>servlet container 
> ?
> 
> 
> Thank you.
> 
> 
> From
>^^
> -00''00- Kok Choon.
> 
> Name: Ling Kok Choon
> E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
> Date: 06/20/01
> Time: 21:28:51
> 
> This message was sent by Z-Mail Pro - from NetManage
> NetManage - delivers Standards Based IntraNet Solutions
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


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

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




cocoon2 in Windows 98, Tomcat 3.2.1 ?

2001-06-20 Thread Ling Kok Choon

hi,

  Can cocoon2 be installed in Windows 98 with Tomcat 3.2.1 as a web server and servlet 
container 
?


Thank you.


From
   ^^
-00''00- Kok Choon.

Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 06/20/01
Time: 21:28:51

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions


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

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




Strange Caching issues

2001-06-20 Thread Mark McGettrick

Tomcat 3.2.1 with Cocoon 1.8.2

there is a file "message.xml" that uses "message.xsl"...
before two days ago it was using "msg.xsl".

for the last two days the xml file has been using the correct xsl file...

so, i just restarted tomcat because of a configuration change and now the
messages.xml has reverted to using the old msg.xsl. to make things weirder,
the messages.xml file clearly states "message.xsl".

why is cocoon suddenly confused?
why won't it read the existing file to figure out which xsl to use?
how do i "wipe the cache"?

the reason i think it's a cache issue is: if i rename the xml file it
suddenly switches back to normal operation.

help!

-mark



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

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




C2: Performance

2001-06-20 Thread Daniel Pfuhl

Hello

I noticed the discussion about Cocoon2 and XSP. I have
the same problem. The first response from an xsp takes
very long. After that they are coming quicker.
What means precompiling the pages and how can I
accomplish that?? 

daniel

=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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

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




[C2] dynamic session propagation

2001-06-20 Thread Christian Zoffoli


Hi to all.
First of all thanks for the beautiful work!


Could I read a session variable from a sitemap and pass it to an action
?


es:























Christian

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

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




SV: SV: Resin 2.0.0 oddities, no more.

2001-06-20 Thread [EMAIL PROTECTED]


- Original Message - 
From: Davanum Srinivas <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 22:37
Subject: Re: SV: Resin 2.0.0 oddities, no more.


> Thomas,
> 
> Do you mind modifying the xdocs\installing.xml with the modified instructions and 
>submitting a
> patch? Note, you can use "build docs" to build the documentation to see how it looks.

hmm, I think I would like to test the setup for a day or two before considering it 
*working* all over.
I am currently having problem getting the JSP Generator example (jsp/hello) going.
cocoon complains about a missing 'org.apache.jasper.servlet.JspServlet'
in what jar is this class found ??
This can be due to a bad config aswell, haven't looked into it yet. 

the xdocs/installation.xml in my 2.0b1 didn't have the Resin section as available at 
apache.org.
guess that one came in after the initial b1-release.
to where are one expected to submit the modified document ??


/thomas

> Thanks,
> dims
> 
> --- "thomas@jet" <[EMAIL PROTECTED]> wrote:
> > YES! I got it working.
> > Thanks Jörg, for pushing me in the right direction.
> > 
> > Actually, I didn't have to manipulate with any .jars.
> > Simply by keeping 'dom.jar' and adding 'xalan.jar' to resin/lib did the trick,
> > atleast it appears so...
> > 
> > So, to conclude, Installing C2 under Resin 2.0.0.
> > 
> > 1. Remove 'sax.jar' and 'jaxp.jar' from resin/lib.
> > 2. Move 'xalan-xxx.jar' and 'xerxes-xxx.jar' to resin/lib.
> > 3. Copy cocoon.war to resin/webapps.
> > 
> > 
> > /thomas.
> > 
> > 
> > 
> > 
> > - Original Message - 
> > From: thomas@jet <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, June 20, 2001 20:34
> > Subject: C2: Resin 2.0.0 oddities.
> > 
> > 
> > Hi list,
> > 
> > I have Resin 2.0.0 running on my NT Box and was about trying
> > getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
> > I can't get xtp execution and cocoon to co-exist.
> > 
> > Followed the installation steps as described:
> > 1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
> > 2. Moved 'xerces_1_4_0.jar' to resin/lib
> > 3. copied cocoon.war to resin/webapps
> > 4. added servlet mapping to resin.conf.
> > 
> > 
> > 
> > now i get to the the cocoon examples as '/cocoon' going and they appears working 
>allright,
> > but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
>instead.
> > (.xtp files)
> > 
> > if I reverse step 1 and 2 and re-start srun the Resin examples work again,
> > but ofcourse cocoon gets broken.
> > 
> > I am no java-guru, but I suspect there is a missing class issue.
> > I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
> > when having cocoon onboard. Can anyone shed some light on this / have any hints
> > on getting xtp and cocoon to co-exist...
> > 
> > Setup:
> > NT4 / Apache 1.3.20
> > jdk 1.3.1
> > Resin 2.0.0 / Cocoon 2.0b1
> > 
> > 
> > thanks
> > thomas.
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. 
> > > 
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > 
> > 
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > 
> 
> 
> =
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
> 
> __
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 


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

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




Re: apache error

2001-06-20 Thread Pier Paolo Bortone

Carloz,
have you executed all commands with the same user?

Have you changed PREFIX with /usr/apache or /usr/local/apache or other path.

Hope of  help

Pier Paolo.

- Original Message -
From: "Carloz Alaniz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 10:54 PM
Subject: apache error


>
> This is what I did
>
> $ ./configure --oprefix=PREFIX
> $ make
> $ make install
>
> But when i execute
> $PREFIX/bin/apachectl start
>
> I get this error
> "
>
> fopen: No such file or directory
> httpd: could not open error log file PREFIX/PREFIX/logs/error_log.
> PREFIX/bin/apachectl start: httpd could not be started
>
> "
> what should I do?
> -carloz
>
>






> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


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

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




apache error

2001-06-20 Thread Carloz Alaniz


This is what I did

$ ./configure --oprefix=PREFIX
$ make
$ make install

But when i execute
$PREFIX/bin/apachectl start

I get this error
"

fopen: No such file or directory
httpd: could not open error log file PREFIX/PREFIX/logs/error_log.
PREFIX/bin/apachectl start: httpd could not be started
 
"
what should I do?
-carloz

begin:vcard 
n:Alaniz;Carloz
x-mozilla-html:FALSE
org:ASIC New Products Development
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Carloz Alaniz
end:vcard



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

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


Re: SV: Resin 2.0.0 oddities, no more.

2001-06-20 Thread Davanum Srinivas

Thomas,

Do you mind modifying the xdocs\installing.xml with the modified instructions and 
submitting a
patch? Note, you can use "build docs" to build the documentation to see how it looks.

Thanks,
dims

--- "thomas@jet" <[EMAIL PROTECTED]> wrote:
> YES! I got it working.
> Thanks Jörg, for pushing me in the right direction.
> 
> Actually, I didn't have to manipulate with any .jars.
> Simply by keeping 'dom.jar' and adding 'xalan.jar' to resin/lib did the trick,
> atleast it appears so...
> 
> So, to conclude, Installing C2 under Resin 2.0.0.
> 
> 1. Remove 'sax.jar' and 'jaxp.jar' from resin/lib.
> 2. Move 'xalan-xxx.jar' and 'xerxes-xxx.jar' to resin/lib.
> 3. Copy cocoon.war to resin/webapps.
> 
> 
> /thomas.
> 
> 
> 
> 
> - Original Message - 
> From: thomas@jet <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 20, 2001 20:34
> Subject: C2: Resin 2.0.0 oddities.
> 
> 
> Hi list,
> 
> I have Resin 2.0.0 running on my NT Box and was about trying
> getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
> I can't get xtp execution and cocoon to co-exist.
> 
> Followed the installation steps as described:
> 1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
> 2. Moved 'xerces_1_4_0.jar' to resin/lib
> 3. copied cocoon.war to resin/webapps
> 4. added servlet mapping to resin.conf.
> 
> 
> 
> now i get to the the cocoon examples as '/cocoon' going and they appears working 
>allright,
> but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
>instead.
> (.xtp files)
> 
> if I reverse step 1 and 2 and re-start srun the Resin examples work again,
> but ofcourse cocoon gets broken.
> 
> I am no java-guru, but I suspect there is a missing class issue.
> I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
> when having cocoon onboard. Can anyone shed some light on this / have any hints
> on getting xtp and cocoon to co-exist...
> 
> Setup:
> NT4 / Apache 1.3.20
> jdk 1.3.1
> Resin 2.0.0 / Cocoon 2.0b1
> 
> 
> thanks
> thomas.
> 
> 
> 
> 
> 
> 
> 
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 


=
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

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




SV: Resin 2.0.0 oddities, no more.

2001-06-20 Thread [EMAIL PROTECTED]

YES! I got it working.
Thanks Jörg, for pushing me in the right direction.

Actually, I didn't have to manipulate with any .jars.
Simply by keeping 'dom.jar' and adding 'xalan.jar' to resin/lib did the trick,
atleast it appears so...

So, to conclude, Installing C2 under Resin 2.0.0.

1. Remove 'sax.jar' and 'jaxp.jar' from resin/lib.
2. Move 'xalan-xxx.jar' and 'xerxes-xxx.jar' to resin/lib.
3. Copy cocoon.war to resin/webapps.


/thomas.




- Original Message - 
From: thomas@jet <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 20:34
Subject: C2: Resin 2.0.0 oddities.


Hi list,

I have Resin 2.0.0 running on my NT Box and was about trying
getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
I can't get xtp execution and cocoon to co-exist.

Followed the installation steps as described:
1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
2. Moved 'xerces_1_4_0.jar' to resin/lib
3. copied cocoon.war to resin/webapps
4. added servlet mapping to resin.conf.



now i get to the the cocoon examples as '/cocoon' going and they appears working 
allright,
but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
instead.
(.xtp files)

if I reverse step 1 and 2 and re-start srun the Resin examples work again,
but ofcourse cocoon gets broken.

I am no java-guru, but I suspect there is a missing class issue.
I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
when having cocoon onboard. Can anyone shed some light on this / have any hints
on getting xtp and cocoon to co-exist...

Setup:
NT4 / Apache 1.3.20
jdk 1.3.1
Resin 2.0.0 / Cocoon 2.0b1


thanks
thomas.







> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


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

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




namespaces, document() and include

2001-06-20 Thread Ruben


 Hi everybody!

 I have found a very strange behaviour using XSL under Tomcat with
Cocoon (in Linux) when I mix namespaces and includes.

 Suppose I have 4 documents:

  a) A.xml  -> procesed by A.xsl
  b) A.xsl   ->  processes A.xml, acceses B.xml with 'document()' and
includes C.xsl
  c) B.xml  -> with some data I want to retrieve from A.xsl. Uses
xsp:namespace
  d) C.xsl   -> with some functions used by A.xsl

 The problem: when (and only when) I include C.xsl inside A.xsl I cannot

access the data in B.xml; I get the error: 'cannot load requested doc'.
I've tried to reduce the files to the minimum, but I still have the same

problem.

 Here you have the reduced examples of the files:

A.xml
---

 
 

  
 
---

A.xsl
---

http://www.w3.org/1999/XSL/Transform";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>





  
 
  




---


B.xml
---





http://www.apache.org/1999/XSP/Core";
  xmlns:accesoBD="http://www.e-inteligentia.com/accesoBD";>

  the data I want to retrieve



---


C.xsl
---

http://www.w3.org/1999/XSL/Transform";
xmlns:xsp="http://www.apache.org/1999/XSP/Core";>



---

 What am I doing wrong? Have I forgotten to declare a namespace or
something? Is it a Cocoon problem? I would really appreciate any help,
thank you in advance...




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

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




JSP v. XSP (was Re: performance inquiry)

2001-06-20 Thread Anthony Mills

I am not interested in time right now, atleast not ms.  Why else would I
want to use XSP?  I used XSPs for awhile, but I prefer JSP for a few reason,
and right now one doesn't work.  I will consider migrating, as most of my
work is done in classes and XSLT.  The first is:



This makes it real easy and nice to support sessions and read the request
parameters.

The second one, which doesn't work in beta 1 is:  

This will catch exceptions real easy, and display a nice page for me.

Now the only benifit I saw with XSP over JSP is with databases.  I am not
planning on using a database, so this point was lost on me.

JSP is an industry standard right now.  While I am sure XSP is gaining
support, I am tring to stick to established standards.  I am not real
concerned with this, as my files are only about 20 lines long, and I will
have about five of them.

Thanks,

Anthony Mills

- Original Message -
From: "Berin Loritsch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 12:07 PM
Subject: Re: performance inquiry


> Anthony Mills wrote:
> >
> > Hello,
> >
> > I am developing a web site using JSP and Cocoon 2.  I am running two
tomcat
> > web servers (3.2 and 4.0beta) on the same box at the same time.  I have
a
> > Pentium III 450 with 192mb ram.  I have noticed a few things.  First, it
> > takes a little while to start, about 20 seconds.  A page take about 5
> > seconds to load the first time.  After that, I am more limited by my
> > connection (128kbps up) than I am by my web pages.  The pages come back
> > within seconds.  I have JSPs being run through Cocoon 2; I assume that
xsp
> > would have similar speeds.  Keep in mind this is not a scientific
> > measurement, just what I "notice".  Also, both web server are running
about
> > 34mb, with little interaction so far.  One thing to consider when
deploying
> > your app.  You can precompiled your jsp/xsp pages.  This would speed
things
> > up considerably.
>
>
> The first access is from the Sitemap compiling.  It and the XSP pages can
be
> precompiled.  Cocoon takes roughly 15-20 seconds to start up mainly
because of
> the number of managed resources it is controlling, and because of the
compiled
> sitemap.  If you make Cocoon load on startup then most of the
initialization
> will have been done before the first request.
>
> 5 seconds is about right for an XSP page.
>
> Keep in mind that XSP is a better match than JSP for Cocoon--there is less
> translation and parsing that has to happen.  By doing that you will shave
off
> a few milliseconds per request (10-50ms depending on size of information).
>
> >
> > Hope this helps,
> >
> > Anthony Mills
> >
> > - Original Message -
> > From: "java guru" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, June 20, 2001 8:33 AM
> > Subject: performance inquiry
> >
> > > Hi.,
> > >   I am begining of developing a
> > > standalone/networked/web application. But need to
> > > decide what to use. C2 attracted be 'coz of many cool
> > > features i might use in the future..
> > >
> > > But performance issues scares me I need advice..
> > >
> > > The application need to run standalone or networked
> > > like web app...Considering this..
> > >
> > > 1. Is it better to do with servlet and jsp: In this
> > > case i have problem with connection pooling and o/r
> > > mapping to database
> > >
> > > 2. Is it better to use xml stuff with c2: In this i
> > > fear for performance. I fear it might demand high end
> > > configuration user systems compared to no1..
> > >
> > > Please advice
> > > thanks
> > >
> > > 
> > > Do You Yahoo!?
> > > For regular News updates go to http://in.news.yahoo.com
> > >
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. 
> > >
> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
> > _
> > 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. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>


_
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. 

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

Re: installing cocoon

2001-06-20 Thread Carloz Alaniz

This is what I did. I already have java installed, "jdk1.1.6" on
"/apex/jdk1.1.6/"

1.) I downloaded Cocoon-1.8.2.tar.gz  from (
http://xml.apache.org/cocoon/dist/ ).
2.) I executed the "build.sh" and it worked successfully. 
3.) I don't know where to go from now.
 My question is: How do run cocoon? Do you have to Install some other
software in order to work with cocoon? Do I have to install Apache on my
system?
-carloz










Eduardo Yanez wrote:
> 
> Carloz, in order to get help, you must describe exactly what?s your problem,
> did you installed the sevlet engine (Tomcat, or Resin or any other??
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Carloz Alaniz
> Sent: Miercoles, 20 de Junio de 2001 03:12 p.m.
> To: [EMAIL PROTECTED]
> Subject: installing cocoon
> 
> Can someone help me install cocoon on my SunOs Ultra 10. I read the FAQ
> already but it doesn't explain to install in on my SunOS.
> carloz
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

begin:vcard 
n:Alaniz;Carloz
x-mozilla-html:FALSE
org:ASIC New Products Development
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Carloz Alaniz
end:vcard



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

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


RE: installing cocoon

2001-06-20 Thread Eduardo Yanez

Carloz, in order to get help, you must describe exactly what?s your problem,
did you installed the sevlet engine (Tomcat, or Resin or any other??

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Carloz Alaniz
Sent: Miercoles, 20 de Junio de 2001 03:12 p.m.
To: [EMAIL PROTECTED]
Subject: installing cocoon


Can someone help me install cocoon on my SunOs Ultra 10. I read the FAQ
already but it doesn't explain to install in on my SunOS.
carloz


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

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




installing cocoon

2001-06-20 Thread Carloz Alaniz

Can someone help me install cocoon on my SunOs Ultra 10. I read the FAQ
already but it doesn't explain to install in on my SunOS. 
carloz

begin:vcard 
n:Alaniz;Carloz
x-mozilla-html:FALSE
org:ASIC New Products Development
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Carloz Alaniz
end:vcard



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

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


Re: performance inquiry

2001-06-20 Thread Berin Loritsch

Anthony Mills wrote:
> 
> Hello,
> 
> I am developing a web site using JSP and Cocoon 2.  I am running two tomcat
> web servers (3.2 and 4.0beta) on the same box at the same time.  I have a
> Pentium III 450 with 192mb ram.  I have noticed a few things.  First, it
> takes a little while to start, about 20 seconds.  A page take about 5
> seconds to load the first time.  After that, I am more limited by my
> connection (128kbps up) than I am by my web pages.  The pages come back
> within seconds.  I have JSPs being run through Cocoon 2; I assume that xsp
> would have similar speeds.  Keep in mind this is not a scientific
> measurement, just what I "notice".  Also, both web server are running about
> 34mb, with little interaction so far.  One thing to consider when deploying
> your app.  You can precompiled your jsp/xsp pages.  This would speed things
> up considerably.


The first access is from the Sitemap compiling.  It and the XSP pages can be
precompiled.  Cocoon takes roughly 15-20 seconds to start up mainly because of
the number of managed resources it is controlling, and because of the compiled
sitemap.  If you make Cocoon load on startup then most of the initialization
will have been done before the first request.

5 seconds is about right for an XSP page.

Keep in mind that XSP is a better match than JSP for Cocoon--there is less
translation and parsing that has to happen.  By doing that you will shave off
a few milliseconds per request (10-50ms depending on size of information).

> 
> Hope this helps,
> 
> Anthony Mills
> 
> - Original Message -
> From: "java guru" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, June 20, 2001 8:33 AM
> Subject: performance inquiry
> 
> > Hi.,
> >   I am begining of developing a
> > standalone/networked/web application. But need to
> > decide what to use. C2 attracted be 'coz of many cool
> > features i might use in the future..
> >
> > But performance issues scares me I need advice..
> >
> > The application need to run standalone or networked
> > like web app...Considering this..
> >
> > 1. Is it better to do with servlet and jsp: In this
> > case i have problem with connection pooling and o/r
> > mapping to database
> >
> > 2. Is it better to use xml stuff with c2: In this i
> > fear for performance. I fear it might demand high end
> > configuration user systems compared to no1..
> >
> > Please advice
> > thanks
> >
> > 
> > Do You Yahoo!?
> > For regular News updates go to http://in.news.yahoo.com
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> _
> 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. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
 S/MIME Cryptographic Signature


AW: C2: Resin 2.0.0 oddities.

2001-06-20 Thread Jörn Heid

There is a class missing. You will find that class in the srun-box or in the
error.log, I don't know.
If you know what the name of the class is look for it in the removed jars
(e.g. rename them to .zip). Remove all other class from taht jar and put the
jar in the lib dir.

That should work.

-Ursprüngliche Nachricht-
Von: thomas@jet [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Juni 2001 20:35
An: [EMAIL PROTECTED]
Betreff: C2: Resin 2.0.0 oddities.


Hi list,

I have Resin 2.0.0 running on my NT Box and was about trying
getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
I can't get xtp execution and cocoon to co-exist.

Followed the installation steps as described:
1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
2. Moved 'xerces_1_4_0.jar' to resin/lib
3. copied cocoon.war to resin/webapps
4. added servlet mapping to resin.conf.



now i get to the the cocoon examples as '/cocoon' going and they appears
working allright,
but now I get HTTP 500 Servlet Exception when trying to request the Resin
examples instead.
(.xtp files)

if I reverse step 1 and 2 and re-start srun the Resin examples work again,
but ofcourse cocoon gets broken.

I am no java-guru, but I suspect there is a missing class issue.
I have attached the HTTP 500 page I get from Resin when requesting
'/index.xtp'
when having cocoon onboard. Can anyone shed some light on this / have any
hints
on getting xtp and cocoon to co-exist...

Setup:
NT4 / Apache 1.3.20
jdk 1.3.1
Resin 2.0.0 / Cocoon 2.0b1


thanks
thomas.



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

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




Cocoon build.bat & build.xml

2001-06-20 Thread Pier Paolo Bortone



Hi,
I have tried to build cocoon-1.8.2 and here is the 
result trace on windowsNT with jdk1.3:
 
Cocoon Build 
System---
 
Building with classpath 
d:\jdk1.3\lib\tools.jar;.\lib\ant_1_1.jar;.\lib\bsf.jar;.\lib\bsfengines.jar;.\lib\fesi.jar;.\lib\fop_0_15_0.jar;.\lib\sax-bugfix.jar;.\lib\servlet_2_2.jar;.\lib\stylebook-1.0-b2.jar;.\lib\turbine-pool.jar;.\lib\w3c.jar;.\lib\xalan_1_2_D02.jar;.\lib\xerces_1_2.jar;.\lib\xml.jar;.\lib\xt.jar
 
Starting Ant...Buildfile: 
build.xml
 
init:  
--- Cocoon 1.8.2 [1999-2001] -
 
prepare:
 
prepare-projectx:
 
prepare-xt:
 
prepare-ecma:
 
prepare-ldap:
 
prepare-src:
 
compile:
 
package:
 
BUILD SUCCESSFUL
 
Total time: 1 seconds
 
 
 
Why the document targets and site targets 
aren't executed?
 
Thanks for your time,
Pier Paolo.


C2: Resin 2.0.0 oddities.

2001-06-20 Thread [EMAIL PROTECTED]

Hi list,

I have Resin 2.0.0 running on my NT Box and was about trying
getting Cocoon 2.0b1 to co-operate but there is something fishy going on.
I can't get xtp execution and cocoon to co-exist.

Followed the installation steps as described:
1. removed 'dom.jar', 'jaxp.jar' and 'sax.jar'. from resin/lib
2. Moved 'xerces_1_4_0.jar' to resin/lib
3. copied cocoon.war to resin/webapps
4. added servlet mapping to resin.conf.



now i get to the the cocoon examples as '/cocoon' going and they appears working 
allright,
but now I get HTTP 500 Servlet Exception when trying to request the Resin examples 
instead.
(.xtp files)

if I reverse step 1 and 2 and re-start srun the Resin examples work again,
but ofcourse cocoon gets broken.

I am no java-guru, but I suspect there is a missing class issue.
I have attached the HTTP 500 page I get from Resin when requesting '/index.xtp'
when having cocoon onboard. Can anyone shed some light on this / have any hints
on getting xtp and cocoon to co-exist...

Setup:
NT4 / Apache 1.3.20
jdk 1.3.1
Resin 2.0.0 / Cocoon 2.0b1


thanks
thomas.



500 Servlet Exception

java.lang.NoClassDefFoundError: javax/xml/transform/TransformerFactory
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at com.caucho.jsp.XtpManager.(XtpManager.java:109)
at com.caucho.jsp.XtpManager.getManager(XtpManager.java:155)
at com.caucho.jsp.XtpServlet.init(XtpServlet.java:81)
at com.caucho.server.http.Application.createServlet(Application.java:2127)
at com.caucho.server.http.Application.loadServlet(Application.java:2091)
at 
com.caucho.server.http.Application.getFilterChainServlet(Application.java:1934)
at com.caucho.server.http.Application.buildFilterChain(Application.java:1913)
at com.caucho.server.http.Invocation.service(Invocation.java:270)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128)
at 
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:187)
at 
com.caucho.server.http.QRequestDispatcher.forward(QRequestDispatcher.java:89)
at jsp.GuestXtp.handleRequest(GuestXtp.java:203)
at jsp.GuestXtp.doGet(GuestXtp.java:106)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
at 
com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:82)
at com.caucho.server.http.Invocation.service(Invocation.java:273)
at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:128)
at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:334)
at 
com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:266)
at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
at java.lang.Thread.run(Thread.java:484)



Resin 2.0.0 (built Fri Jun 8 12:04:24 PDT 2001)


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

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


RE: C2: ESQL-Syntax

2001-06-20 Thread HALLOWELL,KARL (HP-Cupertino,ex1)

Look at the xsl stylesheet for ESQL. That's the specification. ;-) You can
find it in
$COCOON_HOME/src/org/apache/cocoon/components/language/markup/xsp/java/esql.
xsl.


Karl Hallowell [EMAIL PROTECTED]

> -Original Message-
> From: Daniel Pfuhl [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 6:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: C2: ESQL-Syntax
> 
> 
> Hello again,
> 
> is there anywhere a specification for
> the ESQL syntax? I looked for it on
> xml.apache.org but didn't find something...
> 
> daniel
> 
> 
> --- Aurelien DEHAY <[EMAIL PROTECTED]> schrieb: >
> Daniel Pfuhl <[EMAIL PROTECTED]> writes:
> > 
> > > Hello,
> > > 
> > > Can anybody tell me what the meaning of
> > >  is?
> > > I understand 
> > >  !
> > > Is get-xml returning xml? What type 
> > > do I have to assign to my databasecolumn?
> > 
> > Text for postgreSQL for example, but the string must
> > be a valid XML
> > tree. e.g:
> > 
> > string content and emphasised
> > text
> > 
> > -- 
> > Aurélien
> > 
> >
> -
> > Please check that your question has not already been
> > answered in the
> > FAQ before posting.
> > 
> > 
> > To unsubscribe, e-mail:
> > <[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <[EMAIL PROTECTED]>
> > 
> 
> 
> =
> 
> Daniel Pfuhl
> mailto:[EMAIL PROTECTED]
> 
> __
> Do You Yahoo!?
> Gesendet von Yahoo! Mail - http://mail.yahoo.de
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 

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

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




Re: ERROR Publishing Engine could not be initialized.

2001-06-20 Thread Gustavo Mejia


I had the same problem, so I modified the tomcat.bat, and also my Classpath,
checking that all the classes from Cocoon/lib are in Tomcat_Home/lib
You have to check that appears at the begining of your configuration
the package xerces.jar, if it is not your are going to get the error.
here is my Tomcat.bat.
set _CP=%CP%
set _TOMCAT_HOME=%TOMCAT_HOME%
set _CLASSPATH=%CLASSPATH%
 
rem - Verify and Set Required Environment Variables
-
if not "%JAVA_HOME%" == "" goto gotJavaHome
echo You must set JAVA_HOME to point at your Java Development
Kit installation
goto cleanup
:gotJavaHome
if not "%TOMCAT_HOME%" == "" goto gotTomcatHome
set TOMCAT_HOME=.
:gotTomcatHome
if exist "%TOMCAT_HOME%\lib\servlet.jar" goto okTomcatHome
echo Unable to locate servlet.jar, check the value of
TOMCAT_HOME.
goto cleanup
:okTomcatHome
 
rem - Prepare Appropriate Java Execution Commands
---
if not "%OS%" == "Windows_NT" goto noTitle
set _SECSTARTJAVA=start "Secure Tomcat 3.2" "%JAVA_HOME%\bin\java"
set _STARTJAVA=start "Tomcat 3.2" "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
goto setClasspath
:noTitle
set _SECSTARTJAVA=start "%JAVA_HOME%\bin\java"
set _STARTJAVA=start "%JAVA_HOME%\bin\java"
set _RUNJAVA="%JAVA_HOME%\bin\java"
 
rem - Set Up The Runtime Classpath --
:setClasspath
set CP=%TOMCAT_HOME%\classes
rem Try to determine if TOMCAT_HOME
contains spaces
rem if exist %TOMCAT_HOME%\lib\servlet.jar
goto dynClasspath
echo Your TOMCAT_HOME appears to contain spaces.
echo Unable to set CLASSPATH dynamically.
goto staticClasspath
rem:dynClasspath
rem set _LIBJARS=
rem for %%i in (%TOMCAT_HOME%\lib\*.jar)
do call %TOMCAT_HOME%\bin\cpappend.bat %%i
rem if not "%_LIBJARS%" == "" goto
gotLibJars
rem echo Unable to set CLASSPATH
dynamically.
remif "%OS%" == "Windows_NT" goto
staticClasspath
rem echo Note: To set the CLASSPATH
dynamically on Win9x systems
rem echo  
only DOS 8.3 names may be used in TOMCAT_HOME!
rem goto staticClasspath
rem :gotLibJars
rem echo Including all jars in
%TOMCAT_HOME%\lib in your CLASSPATH.
rem Note: _LIBJARS already contains
a leading semicolon
rem set CP=%CP%%_LIBJARS%
rem goto chkClasspath
:staticClasspath
echo Setting your CLASSPATH statically.
if exist "%TOMCAT_HOME%\lib\axerces.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\axerces.jar
if exist "%TOMCAT_HOME%\lib\zant.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\zant.jar
if exist "%TOMCAT_HOME%\lib\jasper.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\jasper.jar
if exist "%TOMCAT_HOME%\lib\jaxp.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\jaxp.jar
if exist "%TOMCAT_HOME%\lib\parser.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\parser.jar
if exist "%TOMCAT_HOME%\lib\servlet.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\servlet.jar
if exist "%TOMCAT_HOME%\lib\webserver.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\webserver.jar
if exist "%TOMCAT_HOME%\lib\cocoon.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\cocoon.jar
if exist "%TOMCAT_HOME%\lib\fesi.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\fesi.jar
if exist "%TOMCAT_HOME%\lib\sax-bugfix.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\sax-bugfix.jar
if exist "%TOMCAT_HOME%\lib\w3c.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\w3x.jar
if exist "%TOMCAT_HOME%\lib\xml.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\xml.jar
if exist "%TOMCAT_HOME%\lib\xt.jar"
set CP=%CP%;%TOMCAT_HOME%\lib\xt.jar
:chkClasspath
if "%CLASSPATH%" == "" goto noClasspath
set CP=%CP%;%CLASSPATH%
:noClasspath
if not exist "%JAVA_HOME%\lib\tools.jar" goto installClasspath
set CP=%CP%;%JAVA_HOME%\lib\tools.jar
:installClasspath
echo.
echo Using CLASSPATH: %CP%
echo.
set CLASSPATH=%CP%
rem - Execute The Requested Command -
if "%1" == "start" goto startServer
if "%1" == "stop" goto stopServer
if "%1" == "run" goto runServer
if "%1" == "ant" goto runAnt
if "%1" == "env" goto doEnv
if "%1" == "jspc" goto runJspc
:doUsage
echo Usage:  tomcat ( ant ^| env ^| jspc ^| run
^| start ^| stop )
echo Commands:
echo   ant -   Run Ant in Tomcat's
environment
echo   env -   Set up environment
variables that Tomcat would use
echo   jspc -  Run JSPC in Tomcat's environment
echo   run -   Start Tomcat in the
current window
echo   start - Start Tomcat in a separate window
echo   stop -  Stop Tomcat
goto cleanup
:doEnv
goto finish
:startServer
echo Starting Tomcat in new window
if "%2" == "-security" goto startSecure
%_STARTJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup
:startSecure
echo Starting Tomcat with a SecurityManager
%_SECSTARTJAVA% %TOMCAT_OPTS% -Djava.security.manager
-Djava.security.policy=="%TOMCAT_HOME%/conf/tomcat.policy" -Dtomcat.home="%TOMCAT_HOME%"
org.apache.tomcat.startup.Tomcat %3 %4 %5
%6 %7 %8 %9
goto cleanup
:runServer
rem Running Tomcat in this window
if "%2" == "-security" goto runSecure
%_RUNJAVA% %TOMCAT_OPTS% -Dtomcat.home="%TOMCAT_HOME%"
org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9
goto cleanup
:runSecure
rem Running Tomcat with a 

ERROR Publishing Engine could not be initialized.

2001-06-20 Thread malik hayat hashmi

Hi 
I have Installed cocoon-1.8.2 with tomcat ver 3.2.1 using professional-2000. 
when I try http://localhost:8080/cocoon/cocoon.xml 
I get following error :
Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating " 
org.apache.cocoon.processor.xsp.XSPProcessor" : 
java.lang.NoSuchMethodError: See http://xml.apache.org/cocoon/faqs.html#faq-normalize 
at org.apache.cocoon.framework.Manager.create(Manager.java:124)
at org.apache.cocoon.framework.Router.init(Router.java:80)
at org.apache.cocoon.framework.Manager.create(Manager.java:109)
at org.apache.cocoon.Engine.(Engine.java:179)
at org.apache.cocoon.Engine.getInstance(Engine.java:232)
at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

I have placed web.xml and cocoon.properties in tomcat/webapps/cocoon/META-INF with 
neccessary modification as per instruction given in installation.html which is 
available with coocoon package 
so kindly post reply at earliest, thanks in advance
with regards 
Malik Hashmi 



_
Buy Lagaan & Yaadein music for 30% less.
Avail this special offer at 
http://shopping.rediff.com/shopping/music/offerrediffmailer.htm 




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

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




ERROR Publishing Engine could not be initialized.

2001-06-20 Thread malik hayat hashmi

Hi 
I have Installed cocoon-1.8.2 with tomcat ver 3.2.1 using professional-2000. 
when I try http://localhost:8080/cocoon/cocoon.xml 
I get following error :
Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating " 
org.apache.cocoon.processor.xsp.XSPProcessor" : 
java.lang.NoSuchMethodError: See http://xml.apache.org/cocoon/faqs.html#faq-normalize 
at org.apache.cocoon.framework.Manager.create(Manager.java:124)
at org.apache.cocoon.framework.Router.init(Router.java:80)
at org.apache.cocoon.framework.Manager.create(Manager.java:109)
at org.apache.cocoon.Engine.(Engine.java:179)
at org.apache.cocoon.Engine.getInstance(Engine.java:232)
at org.apache.cocoon.Cocoon.init(Cocoon.java:157)
at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
at org.apache.tomcat.core.Handler.init(Handler.java:215)
at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
at org.apache.tomcat.core.Handler.service(Handler.java:254)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)

I have placed web.xml and cocoon.properties in tomcat/webapps/cocoon/META-INF with 
neccessary modification as per instruction given in installation.html which is 
available with coocoon package 
so kindly post reply at earliest, thanks in advance
with regards 
Malik Hashmi 



_
Buy Lagaan & Yaadein music for 30% less.
Avail this special offer at 
http://shopping.rediff.com/shopping/music/offerrediffmailer.htm 




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

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




Re: SOAP

2001-06-20 Thread Uli Mayring

On Wed, 20 Jun 2001, Gustavo Mejia wrote:

> Hi everyone,
> 
> Someone can explain me what is SOAP for ? is there a relation with
> Cocoon ? what is that relation ?

There is no relation, SOAP is a standard (of sorts) that specifies how to
transport XML data over HTTP. It's possible to use Apache's implementation
of SOAP from within Cocoon by downloading the SOAP taglib from
http://ulim.cocoonhost.com

Ulrich

-- 
Ulrich Mayring
DENIC eG, Softwareentwicklung


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

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




RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Gary Clark

That is a great email!  Has anyone converted it for inclusion in the FAQ?

Gary A. Clark
Systems Programmer
Software Services Group
JELD-WEN Information Systems

> -Original Message-
> From: Guangzu Wang (Houston) [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, June 20, 2001 9:50 AM
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: The sitemap handler's sitemap is not available
> 
> After I read Eirik Dentz email in the archive
> (http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=99187677417717&w=2)
> again, I checked my Linux box and found a Xvfb server (XFree86-Xvfb) is
> already installed and running. So I set up the DISPLAY by:
> shell$ export DISPLAY=:0
> and I run Tomcat 4.0 b5 with C2 from my comfortable remote desk, bingo!
> Cheers!
> 
> Guangzu
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

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

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




Problem creating web site with build!

2001-06-20 Thread Pier Paolo Bortone




Hi,
I have tried to build cocoon-1.8.2 and here is the 
result trace on windowsNT with jdk1.3:
 
Cocoon Build 
System---
 
Building with classpath 
d:\jdk1.3\lib\tools.jar;.\lib\ant_1_1.jar;.\lib\bsf.jar;.\lib\bsfengines.jar;.\lib\fesi.jar;.\lib\fop_0_15_0.jar;.\lib\sax-bugfix.jar;.\lib\servlet_2_2.jar;.\lib\stylebook-1.0-b2.jar;.\lib\turbine-pool.jar;.\lib\w3c.jar;.\lib\xalan_1_2_D02.jar;.\lib\xerces_1_2.jar;.\lib\xml.jar;.\lib\xt.jar
 
Starting Ant...Buildfile: 
build.xml
 
init:  
--- Cocoon 1.8.2 [1999-2001] -
 
prepare:
 
prepare-projectx:
 
prepare-xt:
 
prepare-ecma:
 
prepare-ldap:
 
prepare-src:
 
compile:
 
package:
 
BUILD SUCCESSFUL
 
Total time: 1 seconds
 
 
 
Why the document targets and site targets 
aren't executed?
 
Thanks for your time,
Pier Paolo.


Re: performance inquiry

2001-06-20 Thread Anthony Mills

Hello,

I am developing a web site using JSP and Cocoon 2.  I am running two tomcat
web servers (3.2 and 4.0beta) on the same box at the same time.  I have a
Pentium III 450 with 192mb ram.  I have noticed a few things.  First, it
takes a little while to start, about 20 seconds.  A page take about 5
seconds to load the first time.  After that, I am more limited by my
connection (128kbps up) than I am by my web pages.  The pages come back
within seconds.  I have JSPs being run through Cocoon 2; I assume that xsp
would have similar speeds.  Keep in mind this is not a scientific
measurement, just what I "notice".  Also, both web server are running about
34mb, with little interaction so far.  One thing to consider when deploying
your app.  You can precompiled your jsp/xsp pages.  This would speed things
up considerably.

Hope this helps,

Anthony Mills



- Original Message -
From: "java guru" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 8:33 AM
Subject: performance inquiry


> Hi.,
>   I am begining of developing a
> standalone/networked/web application. But need to
> decide what to use. C2 attracted be 'coz of many cool
> features i might use in the future..
>
> But performance issues scares me I need advice..
>
> The application need to run standalone or networked
> like web app...Considering this..
>
> 1. Is it better to do with servlet and jsp: In this
> case i have problem with connection pooling and o/r
> mapping to database
>
> 2. Is it better to use xml stuff with c2: In this i
> fear for performance. I fear it might demand high end
> configuration user systems compared to no1..
>
> Please advice
> thanks
>
> 
> Do You Yahoo!?
> For regular News updates go to http://in.news.yahoo.com
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


_
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. 

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




install

2001-06-20 Thread Carloz Alaniz

I am trying to install cocoon on my sunos ultra 10. I need help.
best regards,
carloz

begin:vcard 
n:Alaniz;Carloz
x-mozilla-html:FALSE
org:ASIC New Products Development
adr:;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;1
fn:Carloz Alaniz
end:vcard



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

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


RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Guangzu Wang (Houston)

After I read Eirik Dentz email in the archive
(http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=99187677417717&w=2)
again, I checked my Linux box and found a Xvfb server (XFree86-Xvfb) is
already installed and running. So I set up the DISPLAY by:
shell$ export DISPLAY=:0
and I run Tomcat 4.0 b5 with C2 from my comfortable remote desk, bingo!
Cheers!

Guangzu

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

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




RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Daniel Pfuhl

Hi

I must say this once:

That's why I like the guys around Apache ...
(don't get me wrong *g*)
I would never have been at here with my knowledge
alone ore without all of you.
I'm very proud to be a member of this list
and a very little contributor.

daniel


--- "Guangzu Wang (Houston)"
<[EMAIL PROTECTED]> schrieb: > Thanks to
Java Guru, Matthieu VIDAL, Daniel Pfuhl
> for your prompt reply and
> great help. Also thanks Eirik Dentz for your
> research on display svg
> although I don't understand all and I have RH Linux
> instead of Debian, you
> also pointed to me a great archive site which I have
> been tried to search
> for a while.
> 
> Yeap, the problem is because of display variable
> related to svg and I
> started it from X Windows (with linux console) and
> that solved the problem.
> Although I still get some warning about the
> font-properties, blah, blah.
> 
> The next step is figure out how to make it work from
> the remote console and
> that's the Eirik's research all about, right? :) I
> need to do that since our
> server room is so uncomfortable :(
> 
> Thanks for you guys again for making my first Cocoon
> experience enjoyable.
> 
> Guangzu
> >-Original Message-
> >From: java guru [mailto:[EMAIL PROTECTED]]
> >Sent: Wednesday, June 20, 2001 8:08 AM
> >To: [EMAIL PROTECTED]
> >Subject: Re: The sitemap handler's sitemap is not
> available
> >
> >
> >I am not sure if this solves your problem... You
> have
> >posted the log from the point where it said sitemap
> >handler not found...I am also newbie..but what i
> >observed is that when u start the
> >cocoon(http://localhost:8080/cocoon) it first try
> to
> >compile the sitemap...ANY SITEMAP COMPILE ERRORS
> would
> >results in subsequent "sitemap handler not found"
> >errors. So I alwasy look beyond the "sitemap not
> found
> >error" in the log to see if there were any prior
> >errors after the cocoon started(i delete the log
> >before starting cocoon so that what i have in log
> >after start is fresh)...
> >
> >For example when i run cocoon on my redhat linux
> thru
> >command line the sitemap couldnt get compiled
> resulted
> >in "sitemap handler not found"..but when i look at
> the
> >log from the beginning..i see this svg stuff
> >error..java swing related ( not be able to connect
> to
> >display 0.0) error which in turn resulted in
> sitemap
> >not being compiled... then i started the server
> from
> >gui environment and everything worked fine
> >
> >Hope this helps..
> >
> >
> >--- "Guangzu Wang (Houston)"
> ><[EMAIL PROTECTED]> wrote: > Hi all,
> >> 
> >> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
> >> works well
> >> (http://localhost:8080) but Cocoon2 not, it gave
> me
> >> the error message of
> >> "The sitemap handler's sitemap is not available".
> I
> >> did delete jaxp.jar and
> >> copied xerces-1.4.0.jar and changed parser.jar to
> >> zparser.jar as suggested.
> >> When I search the archive list, I found similar
> >> problem and suggestions was
> >> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
> >> Again I changed the class
> >> path in web.xml which make servlet.jar visible to
> >> Cocoon2 in web.xml before
> >> building cocoon.war. After I run the Tomcat and
> >> Cocoon, I still got similar
> >> error message of "The sitemap handler's sitemap
> is
> >> not available".  My Linux
> >> box is Red Hat 7.1 and I installed JDK 1.3.1 and
> >> setup the JAVA_HOME and
> >> path accordingly.
> >> 
> >> I actually need a server side xslt process tool.
> I
> >> tried AxKit since most of
> >> my code is perl but unfortunately I can not get
> >> Sablotron for I can not get
> >> http://www.gingerall.com/ for some reasons(host
> >> down?). Then I turn to
> >> Cocoon2. Look like this is not a easy task
> either.
> >> 
> >> Anybody get a clue, Thanks a million in advance!
> >> 
> >> Guangzu
> >> 
> >> Here's error message from Tomcat 3.2.2 and Tomcat
> >> 4.0 beta 5.
> >> 
> >> Tomcat 3.2.2
> >> 
> >> org.apache.cocoon.ProcessingException: The
> sitemap
> >> handler's sitemap is not
> >> available.
> >>at
> >>
>
>org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
> >>at
> >>
>
>org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
> >>at
> >> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
> >>at
> >>
>
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> >>at
> >>
>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> >>at
> >>
>
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.
> >java:405)
> >>at
> >>
>
>org.apache.tomcat.core.Handler.service(Handler.java:287)
> >>at
> >>
>
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> >>at
> >>
>
>org.apache.tomcat.core.ContextManager.internalService(ContextMa
> >nager.java:79
> >> 7)
> >>at
> >>
>
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> >>at
> >>
>
>org.apache.tomcat.service.http.HttpConnectionHandler.processCon
>

XSP: How to use one custom taglib from within another

2001-06-20 Thread William Bagby

I am having trouble using one of my custom tag libraries from within
another.  I wrote a "utility" taglib which consists of some generic methods
and such, and I am trying to use one of the tags like this:


...

...



Yet in my generated code, the tag is being inserted as a plain old element
node, and no processing is being done with it.  Additionally, I am also
using Cocoon's built-in  taglib, and it's being processed just fine.
I know *something* is being done with my Utility library because the code
inside the  logic portion is being inserted
as expected.

I have tried various things, such as putting it inside/outside the
 tag, and declaring the namespace in my other taglib, but it
still won't work. I've looked in the mailing list archive, and on the FAQ,
but the information on mulitple XSP taglibs is sketchy, and I've seen
conflicting information.  Some say the "order of the namespace declarations
is important", some say otherwise.  And what about this enigmatic
 PI?

Any suggestions?

William Bagby.



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

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




Cocoon/Tomcat/Apache/JkMount question

2001-06-20 Thread Ulrich Mayring

Hello folks,

I've managed to install Cocoon1 under Tomcat 3.2.1 and it runs fine for
any XML files below the webapps/cocoon context.

However, my document root is outside of that directory, say in
/usr/local/apache/htdocs - how can I configure that?

I tried to define a "/" context in Tomcat and point it to
/usr/local/apache/htdocs and gave the JkMount directive for /*.xml - but
that didn't work for XML files below /usr/local/apache/htdocs. Can it be
a "feature" of Tomcat that it binds me to the webapps/cocoon directory?

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

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

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




SOAP

2001-06-20 Thread Gustavo Mejia

Hi everyone,

Someone can explain me what is SOAP for ? is there a relation with
Cocoon ? what is that relation ?

Thanks a lot !

Gustavo
INFOTEC


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

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




C2: question

2001-06-20 Thread Wes Morgan

In my Cocoon 2.0b1 sitemap, I have the following:


  
  
  

  


  

  
  


Shouldn't that work? It doesn't seem to be sending the userAgent 
parameter at all. Thanks.

-- 
Wes Morgan

[EMAIL PROTECTED]
[EMAIL PROTECTED]

Debian: apt-get into it.


-BEGIN PGP PUBLIC KEY BLOCK-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

mQGiBDrckPYRBACX731+mhYmj3oFUCGclJFn3YfM3FCmuLoPxGCy5QtRzHZY4XtM
gQ54gSLkTNafhpLC0S+/BfYVpsumLrkif2AGTg0Dnuww0/xDSLKdWhFZUhcopRy5
xXBnz1PZQCJnCjDcSHl4RaVoywmKcZ3TfaDNnu1/RLtlr9tx5XNbWBnw3wCgntC+
lbCBz+LidCrRrEC2N/PlYpMD/0Icn7Uex7jRYcDx2R78cFKDpUGHMtx7VCzGyQbC
L3kz94mm1/aXt0ELqbq5k8qKPq80kXhJkx7jwSqn0V6XO9GAk85Dkk3GHm/iCli6
KhSzC4m485ZKvPKnEU3Nue9hgvC08YSjrfvXosEZsm5kwcniHphugbviW0C+AdmA
BWEoA/9qoxeIntesKq1MsUAXTgDCkT1BCBGn9YoxWhbiyz5iLPn4nTq2hwR1xqhQ
xztHYJkmSlBHeUIhAicPsk3U8gd9L5S3FEWrelm+1GRBhy1/HRBam33ypgg9U5i6
IDST1hqExj3WPG68pJsRl6TwKkrUGNIXi8/yl2ximBOYooFx7rQrV2VzIE1vcmdh
biAoQmFzc0hvbWJyZSkgPHdlc21Ac2xhY2tuZXQub3JnPohXBBMRAgAXBQI63JD2
BQsHCgMEAxUDAgMWAgECF4AACgkQVHVnnbHtaCXu9wCfQBJ5Vsep8waEZEP7cT5/
el7CIF4AoI3dZamvLWsMK7YPdatRNObsf6/guQENBDrckPoQBADZpcFo6MyA0rhP
q43mNdpfMJm4JnmD5kMnRSli/HDdLk2Epa3EY1wgMB6NovLr8fV/2cp/5KdXg8j/
V780qOZhpQpTL8AXvIw9yMAIwwpARpFl//VVK+3l1+IgzHRWiQC7SWhTsqIk4ppP
kRafwefx8r3KYFxljAmlV2zKNSiQrwADBQP+KDV3Lh/k3IHORiX1FV5fZALbJi+X
TTs+onMndtZyhIPpZ6Z6AMygdXa2WQy2U24tkvmMQdMuIOTCZiCuXsbnBw5FwwvL
tfSloF1R6xfvme8yATDZXJnPFUW5jFwwMto3Hnoh95MqJLfXTpu1FrBXVE4YVSJa
eA1FuaQJnnllGu+IRgQYEQIABgUCOtyQ+gAKCRBUdWedse1oJbQIAJ9uDRktfJHP
5veOAfncvrX99hnHKQCgmdySczcSbc9/YxTAJ+GfA1/OOtU=
=PCOv
-END PGP PUBLIC KEY BLOCK-





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

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




RE: The sitemap handler's sitemap is not available

2001-06-20 Thread Guangzu Wang (Houston)

Thanks to Java Guru, Matthieu VIDAL, Daniel Pfuhl for your prompt reply and
great help. Also thanks Eirik Dentz for your research on display svg
although I don't understand all and I have RH Linux instead of Debian, you
also pointed to me a great archive site which I have been tried to search
for a while.

Yeap, the problem is because of display variable related to svg and I
started it from X Windows (with linux console) and that solved the problem.
Although I still get some warning about the font-properties, blah, blah.

The next step is figure out how to make it work from the remote console and
that's the Eirik's research all about, right? :) I need to do that since our
server room is so uncomfortable :(

Thanks for you guys again for making my first Cocoon experience enjoyable.

Guangzu
>-Original Message-
>From: java guru [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, June 20, 2001 8:08 AM
>To: [EMAIL PROTECTED]
>Subject: Re: The sitemap handler's sitemap is not available
>
>
>I am not sure if this solves your problem... You have
>posted the log from the point where it said sitemap
>handler not found...I am also newbie..but what i
>observed is that when u start the
>cocoon(http://localhost:8080/cocoon) it first try to
>compile the sitemap...ANY SITEMAP COMPILE ERRORS would
>results in subsequent "sitemap handler not found"
>errors. So I alwasy look beyond the "sitemap not found
>error" in the log to see if there were any prior
>errors after the cocoon started(i delete the log
>before starting cocoon so that what i have in log
>after start is fresh)...
>
>For example when i run cocoon on my redhat linux thru
>command line the sitemap couldnt get compiled resulted
>in "sitemap handler not found"..but when i look at the
>log from the beginning..i see this svg stuff
>error..java swing related ( not be able to connect to
>display 0.0) error which in turn resulted in sitemap
>not being compiled... then i started the server from
>gui environment and everything worked fine
>
>Hope this helps..
>
>
>--- "Guangzu Wang (Houston)"
><[EMAIL PROTECTED]> wrote: > Hi all,
>> 
>> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
>> works well
>> (http://localhost:8080) but Cocoon2 not, it gave me
>> the error message of
>> "The sitemap handler's sitemap is not available". I
>> did delete jaxp.jar and
>> copied xerces-1.4.0.jar and changed parser.jar to
>> zparser.jar as suggested.
>> When I search the archive list, I found similar
>> problem and suggestions was
>> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
>> Again I changed the class
>> path in web.xml which make servlet.jar visible to
>> Cocoon2 in web.xml before
>> building cocoon.war. After I run the Tomcat and
>> Cocoon, I still got similar
>> error message of "The sitemap handler's sitemap is
>> not available".  My Linux
>> box is Red Hat 7.1 and I installed JDK 1.3.1 and
>> setup the JAVA_HOME and
>> path accordingly.
>> 
>> I actually need a server side xslt process tool. I
>> tried AxKit since most of
>> my code is perl but unfortunately I can not get
>> Sablotron for I can not get
>> http://www.gingerall.com/ for some reasons(host
>> down?). Then I turn to
>> Cocoon2. Look like this is not a easy task either.
>> 
>> Anybody get a clue, Thanks a million in advance!
>> 
>> Guangzu
>> 
>> Here's error message from Tomcat 3.2.2 and Tomcat
>> 4.0 beta 5.
>> 
>> Tomcat 3.2.2
>> 
>> org.apache.cocoon.ProcessingException: The sitemap
>> handler's sitemap is not
>> available.
>>  at
>>
>org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>>  at
>>
>org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>>  at
>> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>>  at
>>
>org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>>  at
>>
>javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>  at
>>
>org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.
>java:405)
>>  at
>>
>org.apache.tomcat.core.Handler.service(Handler.java:287)
>>  at
>>
>org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>>  at
>>
>org.apache.tomcat.core.ContextManager.internalService(ContextMa
>nager.java:79
>> 7)
>>  at
>>
>org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>>  at
>>
>org.apache.tomcat.service.http.HttpConnectionHandler.processCon
>nection(HttpC
>> onnectionHandler.java:213)
>>  at
>>
>org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint
>.java:416)
>>  at
>>
>org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPoo
>l.java:501)
>>  at java.lang.Thread.run(Thread.java:484)
>> 
>> Tomcat 4.0 beta 5.
>> 
>> org.apache.cocoon.ProcessingException: The sitemap
>> handler's sitemap is not
>> available.
>>  at
>>
>org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>>  at
>>
>org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>>  at
>> org.apache.cocoon.Cocoon.process(Coco

performance inquiry

2001-06-20 Thread java guru

Hi.,
  I am begining of developing a
standalone/networked/web application. But need to
decide what to use. C2 attracted be 'coz of many cool
features i might use in the future..

But performance issues scares me I need advice..

The application need to run standalone or networked
like web app...Considering this..

1. Is it better to do with servlet and jsp: In this
case i have problem with connection pooling and o/r
mapping to database

2. Is it better to use xml stuff with c2: In this i
fear for performance. I fear it might demand high end
configuration user systems compared to no1..

Please advice
thanks


Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com

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

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




DAML

2001-06-20 Thread florent barbare

hi,

i'm searching solutions or code samples
to parse daml files with cocoon.

thanks a lot

Florent

___

Florent Barbare
Project manager


NETIA 
Halle Industrielle de Farjou 
34 270 Claret - France
Tel. +33 4 67 59 08 07 
Fax +33 4 67 59 08 20
E-mail : [EMAIL PROTECTED] 
Web site : www.netia.net

___

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

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




Problem with memory

2001-06-20 Thread Simone Bortolaso



What can i do if during page loading comes the 
following exception:
java.lang.Exception: FATAL ERROR: the JVM ran out 
of memory when processing the request.
The maximum amount of memory used by your VM can be 
changed at a command line.
Is possible change automatically the memory 
dimension?
 
Thank in advance..Simone
 


SV: Xinclude, html file

2001-06-20 Thread Bjarne Jensen

Hi
Different tools are avaible for transforming html to xhtml (XML-version of
HTML). One of them is Tidy (http://www.w3.org/People/Raggett/tidy/). I think
XSLT only handle XML-document. Maybe this was not the answer you were
looking for, but as I see it XSLT only transform XML-documents (for input).
If your would convert a non-XML-document you could probably use another
tool. Do not know what would be the right tool for you. I guess CSS or CSS2
do not suit your needs.
/Bjarne

-Oprindelig meddelelse-
Fra: Chris Joelly [mailto:[EMAIL PROTECTED]]
Sendt: 20. juni 2001 14:31
Til: [EMAIL PROTECTED]
Emne: Xinclude, html file


Hello!

im looking for a way to include static html files to a xml file, which
then should be transformed to html using xslt, but the html code should
be inserted in the resulting html document as is... i know, it would
be better to convert the html files to xml, but if i could use my ready
html files i would be more happier...

thx, Chris

--
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz



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

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




C2: set ResponseHeader

2001-06-20 Thread Daniel Pfuhl

Hi

Can anybody tell me how to set something like
"NoCaching" in the response header??

I assume that it is possible using logicsheets
and something like this:


But what is the correct syntax??

thanx in advance

daniel


=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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

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




passing parameter from XML file to another XML file

2001-06-20 Thread Mohamed Ramzy

hi
i'm using 2 XML files, the first one checking the user
name and password from a Database using ESQL, then
sending the corresponding parameters of that user to
the other XML file to be displayed according to these
parameters. my problem now is how to pass these
parameters without using URL, as they are a lot (these
parameters are not XSP request, they are xsl:param )
i'm using linux redhat 6.1,Cocoon 1.8.2 and
ApacheJServ/1.1 over Apache web server 1.3.11

Thanks for help in advance

=
Mohamed Ramzy Zakaria, Graduate Research student
School of Computer Science & Information Technology
Jubilee Campus, Nottingham University
Nottingham, UK
TEL: 00 44 (0)115 84 66529
MOB: 00 44 (0)7947105251
MOB E-MAIL: [EMAIL PROTECTED]

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

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

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




Re: C2: ESQL-Syntax

2001-06-20 Thread Daniel Pfuhl

Hello again,

is there anywhere a specification for
the ESQL syntax? I looked for it on
xml.apache.org but didn't find something...

daniel


--- Aurelien DEHAY <[EMAIL PROTECTED]> schrieb: >
Daniel Pfuhl <[EMAIL PROTECTED]> writes:
> 
> > Hello,
> > 
> > Can anybody tell me what the meaning of
> >  is?
> > I understand 
> >  !
> > Is get-xml returning xml? What type 
> > do I have to assign to my databasecolumn?
> 
> Text for postgreSQL for example, but the string must
> be a valid XML
> tree. e.g:
> 
> string content and emphasised
> text
> 
> -- 
> Aurélien
> 
>
-
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> 
> 
> To unsubscribe, e-mail:
> <[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <[EMAIL PROTECTED]>
> 


=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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

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




ESQL, multiple queries?

2001-06-20 Thread Matt Sabourin


I'm using Cocoon 1.8.2, Apache 1.3, Tomcat 3.2.1, MySQL 3.23.38, Solaris
2.6.

I have created multiple tables within the DB to represent employee,
phone, pager and other objects.  They are connected with what would 
be foreign keys if I wasn't using MySQL.  I would like to create ESQL
queries to load each type of object ( an employee query, a phone query,
etc ).  The queries for objects like the phone and pager would need to
have an ID passed in.  I want separate queries to keep the code cleaner,
and to make the stylesheet reusable.

The problem I'm having is this:  I load the employee objects up fine,
and each employee object contains the ID ( foreign key ) for a phone
and pager object.  I would like to do something like: 


  
  
  


The "phone" template would then use the ID param in another SQL query
that would load the phone information.

I can not get this to work when I include both the employee and the
phone templates in one XSP.  The ID param does not get a value in the
phone template.  I know that values are returned ( verified by not making
a template call and just looking at what is output from the employee
template ).  I can pass in a static value, and the phone query works.  I
thought the problem might have something to do with the way XSP works, so 
I tried moving the phone template into a second XSP, before I saw that
you can not chain XSP's...

SO, does anyone have *any* suggestions?  I could do a *massive* query/join,
but that makes the code very ugly and inflexible.  I could combine all my
database tables into one, but that's even worse than one huge SQL join.  I
could probably get things to work with nested ESQL queries, but that is also
somewhat inflexible.  


tnx
-m




==
Matt Sabourin   Voice: 313.845.2529
Systems EngineerFax:   313.317.6060
Structural Dynamics Research Corp.  Pager: 313.201.7741
1555 Fairlane Dr., Suite 300Email: [EMAIL PROTECTED]
Allen Park, MI 48101

AlphaPage: [EMAIL PROTECTED]
AlphaPage: http://www.myairmail.com
==


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

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




Re: The sitemap handler's sitemap is not available

2001-06-20 Thread java guru

I am not sure if this solves your problem... You have
posted the log from the point where it said sitemap
handler not found...I am also newbie..but what i
observed is that when u start the
cocoon(http://localhost:8080/cocoon) it first try to
compile the sitemap...ANY SITEMAP COMPILE ERRORS would
results in subsequent "sitemap handler not found"
errors. So I alwasy look beyond the "sitemap not found
error" in the log to see if there were any prior
errors after the cocoon started(i delete the log
before starting cocoon so that what i have in log
after start is fresh)...

For example when i run cocoon on my redhat linux thru
command line the sitemap couldnt get compiled resulted
in "sitemap handler not found"..but when i look at the
log from the beginning..i see this svg stuff
error..java swing related ( not be able to connect to
display 0.0) error which in turn resulted in sitemap
not being compiled... then i started the server from
gui environment and everything worked fine

Hope this helps..


--- "Guangzu Wang (Houston)"
<[EMAIL PROTECTED]> wrote: > Hi all,
> 
> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
> works well
> (http://localhost:8080) but Cocoon2 not, it gave me
> the error message of
> "The sitemap handler's sitemap is not available". I
> did delete jaxp.jar and
> copied xerces-1.4.0.jar and changed parser.jar to
> zparser.jar as suggested.
> When I search the archive list, I found similar
> problem and suggestions was
> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
> Again I changed the class
> path in web.xml which make servlet.jar visible to
> Cocoon2 in web.xml before
> building cocoon.war. After I run the Tomcat and
> Cocoon, I still got similar
> error message of "The sitemap handler's sitemap is
> not available".  My Linux
> box is Red Hat 7.1 and I installed JDK 1.3.1 and
> setup the JAVA_HOME and
> path accordingly.
> 
> I actually need a server side xslt process tool. I
> tried AxKit since most of
> my code is perl but unfortunately I can not get
> Sablotron for I can not get
> http://www.gingerall.com/ for some reasons(host
> down?). Then I turn to
> Cocoon2. Look like this is not a easy task either.
> 
> Anybody get a clue, Thanks a million in advance!
> 
> Guangzu
> 
> Here's error message from Tomcat 3.2.2 and Tomcat
> 4.0 beta 5.
> 
> Tomcat 3.2.2
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>   at
>
org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>   at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
>   at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
> 
> Tomcat 4.0 beta 5.
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:254)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:194)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:255)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   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.ja
> va:225)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>   at
>
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.j

Xinclude, html file

2001-06-20 Thread Chris Joelly

Hello!

im looking for a way to include static html files to a xml file, which
then should be transformed to html using xslt, but the html code should
be inserted in the resulting html document as is... i know, it would
be better to convert the html files to xml, but if i could use my ready 
html files i would be more happier...

thx, Chris

-- 
KNAPP Logistics Automation  http://www.knapp.com
Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394
Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz


 PGP signature


Re: C2: ESQL-Syntax

2001-06-20 Thread Aurelien DEHAY

Daniel Pfuhl <[EMAIL PROTECTED]> writes:

> Hello,
> 
> Can anybody tell me what the meaning of
>  is?
> I understand 
>  !
> Is get-xml returning xml? What type 
> do I have to assign to my databasecolumn?

Text for postgreSQL for example, but the string must be a valid XML
tree. e.g:

string content and emphasised text

-- 
Aurélien

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

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




Re: [C2] Encoding value with I18n

2001-06-20 Thread Piroumian, Konstantin

Look at the documentation of the sitemap on C2 site, the Serializers
section.
Somebody posted this solution today already:

The Serializers example on the
xml.apache.org/cocoon2/sitemap.html page uses the value attribute of the
encoding element like this:   I had to change it
to:
iso-8859-1


Hope, this will help.

Regards,
Konstantin Piroumian.

- Original Message -
From: "matthieu VIDAL" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 11:36 AM
Subject: Re: [C2] Encoding value with I18n


> I have tried this too, and it also doesn't work.
>
> Thanks for your help
> - Original Message -
> From: Piroumian, Konstantin <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 19, 2001 7:16 PM
> Subject: Re: [C2] Encoding value with I18n
>
>
> > I am not sure that the problem is with i18n but I'll take a look at it.
> I'm
> > not sure, but maybe result encoding must be specified in the Serializer?
> > Something like:
> >
> >  
> > iso-8859-1
> > 
> >
> > I will investigate this problem and let you know if I find something.
> >
> > - Original Message -
> > From: "matthieu VIDAL" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 19, 2001 8:42 PM
> > Subject: Re: [C2] Encoding value with I18n
> >
> >
> > > Thanks
> > >
> > > I'm working on C2.0b1
> > >
> > > I understand that all the transformers work the same way, but it seems
> > that
> > > i18n does not.
> > >
> > > The sitemap is as follow (in fact it's a sub/sitemap):
> > >
> > >
> > > 
> > >  
> > >   
> > > 
> > > 
> > >
> > >
> > > ManUser.xsl begin like that :
> > >
> > > 
> > > 
> > >  > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > > xmlns:i18n="http://apache.org/cocoon/i18n/2.0";
> > > >
> > >
> > >
> > > When opening http://localhost/cocoon/myPages/ManUser.xsli I obtain
this
> :
> > >
> > > 
> > > 
> > >  > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > > xmlns:i18n="http://apache.org/cocoon/i18n/2.0";>
> > >
> > >
> > >
> > > - Original Message -
> > > From: Piroumian, Konstantin <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, June 19, 2001 6:09 PM
> > > Subject: Re: [C2] Encoding value with I18n
> > >
> > >
> > > > If you talk about i18nTransformer from latest C2 (which replaced the
> old
> > > > i18n transformer), then it is not intended to specify encodings. It
> uses
> > > > encodings from your files and simply replaces i18n text by values
from
> > the
> > > > dictionary.
> > > >
> > > > If your XML file is in UTF-8 then the result will be also in UTF-8.
If
> > you
> > > > want to specify other encoding then for your response then, I think,
> > you
> > > > have to look at the Serializers.
> > > >
> > > > If you post your pages I could look at them and try to understand
> what's
> > > the
> > > > problem.
> > > >
> > > > Regards,
> > > > Konstantin Piroumian.
> > > >
> > > > - Original Message -
> > > > From: "matthieu VIDAL" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Tuesday, June 19, 2001 6:26 PM
> > > > Subject: [C2] Encoding value with I18n
> > > >
> > > >
> > > > > How can I change the encoding value produced by the i18n
transformer
> > (by
> > > > > default UTF-8)?
> > > > >
> > > > > In sitemap file I tried
> > > > >
> > > > >
> > > > >
> > > > >then
> > > > >iso-8859-1
> > > > >then
> > > > > 
> > > > > etc..
> > > > > 
> > > > >
> > > > > even in the  tag
> > > > >
> > > > > NB: the dictionary and xml to translate begin with :  > version="1.0"
> > > > > encoding="iso-8859-1"?> but the xml file is always  version="1.0"
> > > > > encoding="UTF-8"?>
> > > > >
> > > > > help!!!
> > > > >
> > > > > - Original Message -
> > > > > From: Matt Sergeant <[EMAIL PROTECTED]>
> > > > > To: Zeljko Rajic <[EMAIL PROTECTED]>
> > > > > Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > > > > Sent: Tuesday, June 19, 2001 4:09 PM
> > > > > Subject: Re: setting response headers with XSP
> > > > >
> > > > >
> > > > > > On Tue, 19 Jun 2001, Zeljko Rajic wrote:
> > > > > >
> > > > > > > Hi,
> > > > > > >
> > > > > > > I'm currently trying to find out how to set response headers
> > within
> > > > > Cocoon,
> > > > > > > respectively XSP in general. Reading the Cocoon respectively
> > > Cocoon's
> > > > > XSP
> > > > > > > documentation and FAQs I couldn't find any information about
> this
> > > > topic.
> > > > > > >
> > > > > > > So I still got some open questions and would appreciate it if
> > > somebody
> > > > > could
> > > > > > > give me some further information or could point me to a
> resource.
> > My
> > > > > questions
> > > > > > > are:
> > > > > > >
> > > > > > > 1. Where in the XSP document do I have to place the
> > > > >  > > > > > > .../> tag? Does it matter where I place this tag?
> > > > > > >
> > > > > > > Concerning HTTP, it is necessary to se

Re: Re:How can I make a validation !

2001-06-20 Thread Piroumian, Konstantin

I think it's not a bug. That means that you had empty param in your URL:
EMP_DEP=
In this case you'll get an empty string and not a null value.
So, the best way to check is to use both:
if (test != null && test.length() != 0) or
if (test != null && !"".equals(test))

I'm not sure, that it's absolutely correct, cause I didn't test it myself.

Regards,
Konstantin Piroumian

- Original Message -
From: Gustavo Mejia
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 1:52 AM
Subject: Re:How can I make a validation !


Hi everyone,
I got it, the problem was when I tried to compare with null, I don't know
why Cocoon doesn't recongnize the condition if (Test !=null), could this be
a bug ?, in other to make it works I change to:

String Test;
 Test = request.getParameter("EMP_DEP");
  if (Test.length() !=0)
  {
   my_code
  }


See you.
Gustavo

Gustavo Mejia wrote:
Hi Pal,
Thanks, I also tried this, with no good results, still passing to the code,
that I need to skip.
:(
any other Idea is very wellcome !!
Thanks !!


Pal Wester wrote:
Why not just use request.getParameter("EMP_DEP") when ur in a
javablock...
  if ( request.getParameter("EMP_DEP")  != null )
  {

sun.jdbc.odbc.JdbcOdbcDriver
JDBC:ODBC:SQL
user
password

  insert into Departamento values(
   ,
   
   )
  

   
  }

mvh: Pål Wester
høgskoleingenør/programmerer

never.no as, stortingsgt 30, 0161 Oslo
direkte: 22 01 66 34, 906 900 62
tlf: 22 01 66 34, fax: 22 01 66 21
http://never.no - icq:103476059

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

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




Re: XSP Post and Put

2001-06-20 Thread Ulrich Mayring

Truhann van der Poel wrote:
> 
> Hello,
> 
> Has anybody got sample code/docs to do a xsp http post and/or put.  Any
> taglibs available for this ?

You can download the SOAP taglib from http://ulim.cocoonhost.com, it
contains in DocHandler.java some HTTP Post code.

Ulrich

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

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

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




XSP Post and Put

2001-06-20 Thread Truhann van der Poel

Hello,

Has anybody got sample code/docs to do a xsp http post and/or put.  Any
taglibs available for this ?

thx
Truhann

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

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




Re: [PATCH] The sitemap handler's sitemap is not available

2001-06-20 Thread Ling Kok Choon

hi,

  I am using windows 98, the "The sitemap handler's sitemap is not available."
error also occur, how i am going to solve it ?


Thank.

from:
   ^^
-00''00- Kok Choon.

Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 06/20/01
Time: 06:27:55

This message was sent by Z-Mail Pro - from NetManage
NetManage - delivers Standards Based IntraNet Solutions



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

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




[PATCH] The sitemap handler's sitemap is not available

2001-06-20 Thread francesco.casalena

Hi,
I had this error message on RedHat 6.2, TC4 beta5, JDK 1.3.1 and C2.
It was an error due to X server.

Try this:
1) kill X server and delete /tmp/.X0-lock file
2) install Xvfb package (X virtual frame buffer) from distro cd
3) Xvfb :0 -screen 0 640x480x8
4) export DISPLAY=:0
5) cd TC4_HOME
6) ./bin/catalina.sh start
7) lynx http://localhost:8080/cocoon

If necessary wait for some minutes...
Without X you can browse C2 and TC4 files only with lynx in your server.
No problems for remote connections.

Hope to help you.

Hi, ciao
Francesco

--
Virgilio Mail - Il tuo indirizzo E-mail gratis
http://mail.virgilio.it


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

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




C2: ESQL-Syntax

2001-06-20 Thread Daniel Pfuhl

Hello,

Can anybody tell me what the meaning of
 is?
I understand 
 !
Is get-xml returning xml? What type 
do I have to assign to my databasecolumn?

daniel


=

Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

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

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




[ANNOUNCE] XSLT-process 2.0 available

2001-06-20 Thread Ovidiu Predescu

XSLT-process is a minor mode for GNU Emacs/XEmacs which transforms it
into a powerful editor with XSLT processing and debugging
capabilities. With this mode you can:

- run an XSLT processor on the Emacs buffer you edit, and view the
results either in another Emacs buffer or in a browser.

- run an XSLT processor in debug mode and view what happens during the
XSLT transformation. You can set breakpoints, run step by step into
your stylesheet, view global and local XSLT variables and many more.

Currently the Saxon and Xalan Java XSLT processors are supported, and
the mode comes out of the box configured to use them.

The package has been tested on XEmacs 21.1.14 and GNU Emacs 20.7.1,
under both Linux and Windows 2000.

The package is free software and is distributed under GPL. The home
page of XSLT-process is located at:

http://xslt-process.sourceforge.net/

Enjoy,
Ovidiu Predescu

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

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




Installing C2 on ServletExec 3.1

2001-06-20 Thread Zeljko Rajic

Hi cocoon-users,

I'm trying to install the current Cocoon 2 b1 on ServletExec 3.1 without
success. I deployed the cocoon.war file correctly, but when trying to do a
request at //localhost/cocoon/ ServletExec crashes.
The servlet log shows the following:


[Wed Jun 20 09:36:01 GMT+02:00 2001] Logging started
[Wed Jun 20 09:36:57 GMT+02:00 2001] Logging stopped
[Wed Jun 20 09:44:00 GMT+02:00 2001] Logging started
[Wed Jun 20 09:44:29 GMT+02:00 2001] Cocoon2: init
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   50  [cocoon  ] (/cocoon/): Trying to 
load class: com.ibm.servlet.classloader.Handler

[Wed Jun 20 09:44:29 GMT+02:00 2001] WARN110 [cocoon  ] (/cocoon/): Could not 
force-load class: com.ibm.servlet.classloader.Handler
java.lang.ClassNotFoundException: com.ibm.servlet.classloader.Handler
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46)
at org.apache.cocoon.servlet.CocoonServlet.forceLoad(CocoonServlet.java:399)
at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:119)
at com.newatlanta.servletexec.ServletExec.CallServletInit(ServletExec.java)
at 
com.newatlanta.servletexec.ApplServletContext.CreateServlet(ApplServletContext.java)
at 
com.newatlanta.servletexec.ApplServletContext.loadConfiguredServlet(ApplServletContext.java)
at 
com.newatlanta.servletexec.ApplServletContext.getServlet(ApplServletContext.java)
at 
com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java)
at 
com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java)
at 
com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java)
at 
com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java)
at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java)
at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java)

 

Anyway, Cocoon seems not to crash ServletExec immediately, as it continues to
write some more entries like this:

[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   120 [cocoon  ] (/cocoon/): Trying to 
load class: org.hsqldb.jdbcDriver
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   360 [cocoon  ] (/cocoon/): Using 
configuration file: /cocoon.xconf
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   610 [cocoon  ] (/cocoon/): New Cocoon 
object.
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   620 [cocoon  ] (/cocoon/): Using 
parser: org.apache.cocoon.components.parser.JaxpParser
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   681 [cocoon  ] (/cocoon/): Attempting 
to get Handler for: org.apache.cocoon.components.parser.Parser
[Wed Jun 20 09:44:29 GMT+02:00 2001] DEBUG   721 [cocoon  ] (/cocoon/): Handler 
type = org.apache.avalon.excalibur.component.DefaultComponentHandler


I've looked in the JARs that come with Cocoon, but couldn't find the
classloader mentioned in the exception.


Hope somebody can help me to get Cocoon running!


Regards,
Zeljko


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

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




Re: XSP NoClassDefaultFoundError ?

2001-06-20 Thread matthieu VIDAL

You have to restart your web server if you are using tomcat.

- Original Message -
From: Ling Kok Choon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 8:34 PM
Subject: XSP NoClassDefaultFoundError ?


> hi,
>
>   I am now trying the XSP, i include the classes that i created ( until
the webappls/app/classes
> ), when i run the XSP, the NoClassDefaultFoundError occur... ? May i know
how to slove the
> problem ?
>
>
> Thank.
>
>
> From
>^^
> -00''00- Kok Choon.
>
> 
> Name: Ling Kok Choon
> E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
> Date: 06/20/01
> Time: 02:34:15
>
> This message was sent by Z-Mail Pro - from NetManage
> NetManage - delivers Standards Based IntraNet Solutions
> 
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


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

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




Re: The sitemap handler's sitemap is not available

2001-06-20 Thread matthieu VIDAL

Do you have old c:/jeee/cocoon2alpha/lib/w3c.jar; in your classpath or
libray.

Maybe you should try to remove it.

- Original Message -
From: Guangzu Wang (Houston) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 4:00 AM
Subject: The sitemap handler's sitemap is not available


> Hi all,
>
> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat works well
> (http://localhost:8080) but Cocoon2 not, it gave me the error message of
> "The sitemap handler's sitemap is not available". I did delete jaxp.jar
and
> copied xerces-1.4.0.jar and changed parser.jar to zparser.jar as
suggested.
> When I search the archive list, I found similar problem and suggestions
was
> use Tomcat 4. So I installed Tomcat 4.0 beta 5. Again I changed the class
> path in web.xml which make servlet.jar visible to Cocoon2 in web.xml
before
> building cocoon.war. After I run the Tomcat and Cocoon, I still got
similar
> error message of "The sitemap handler's sitemap is not available".  My
Linux
> box is Red Hat 7.1 and I installed JDK 1.3.1 and setup the JAVA_HOME and
> path accordingly.
>
> I actually need a server side xslt process tool. I tried AxKit since most
of
> my code is perl but unfortunately I can not get Sablotron for I can not
get
> http://www.gingerall.com/ for some reasons(host down?). Then I turn to
> Cocoon2. Look like this is not a easy task either.
>
> Anybody get a clue, Thanks a million in advance!
>
> Guangzu
>
> Here's error message from Tomcat 3.2.2 and Tomcat 4.0 beta 5.
>
> Tomcat 3.2.2
>
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not
> available.
> at
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:328)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
> at org.apache.tomcat.core.Handler.service(Handler.java:287)
> at
> org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
> at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
> at
> org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
> at
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> at
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
> at java.lang.Thread.run(Thread.java:484)
>
> Tomcat 4.0 beta 5.
>
> org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not
> available.
> at
> org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
> at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
> at org.apache.cocoon.Cocoon.process(Cocoon.java:328)
> at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:254)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:194)
> at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:255)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> 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.ja
> va:225)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> 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:2252)
> at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
> 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
> :163)
> at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
> 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

Re: running c2 on linux with x11 for svg

2001-06-20 Thread matthieu VIDAL

I'm not sure but That seem to be an Xterm Unix problem. You have to set the
display variable to identify your term (ip address)

0.0 is the console.
- Original Message -
From: java guru <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 2:37 AM
Subject: running c2 on linux with x11 for svg


> Hi.,
>   Anybody, luck with running c2 from linux box..with
> svg...my server is complaining that it couldn't
> connect to display:0.0..Someone suggested to run with
> Xvfb..but it didnt help
>
> Anyone succeeded with this please..step-by-step
> details
>
> Thanks
>
>
>
>
>
> 
> Do You Yahoo!?
> For regular News updates go to http://in.news.yahoo.com
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


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

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




Re: passing parameters from XML file to XML file

2001-06-20 Thread matthieu VIDAL

Hi
what's a parameter for a XML ? Are you talking about XSP request parameters
? or  ?

- Original Message -
From: Mohamed Ramzy <[EMAIL PROTECTED]>
To: Cocoon list <[EMAIL PROTECTED]>
Sent: Wednesday, June 20, 2001 12:21 AM
Subject: passing parameters from XML file to XML file


> hi
> i'm trying to pass parameters from XML file to another
> XML file, i've checked the FAQ, but all what i found
> is to pass through URL,but i want to pass a lot of
> parameters without using URL, please i need help in
> how to do that, i'm using linux redhat 6.1, Cocoon
> 1.8.2, ApacheJServ/1.1 over Apache 1.3.11
>
> Thanks for your help
>
> =
> Mohamed Ramzy Zakaria, Graduate Research student
> School of Computer Science & Information Technology
> Jubilee Campus, Nottingham University
> Nottingham, UK
> TEL: 00 44 (0)115 84 66529
> MOB: 00 44 (0)7947105251
> MOB E-MAIL: [EMAIL PROTECTED]
>
> __
> Do You Yahoo!?
> Spot the hottest trends in music, movies, and more.
> http://buzz.yahoo.com/
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


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

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




Re: Redirect/Cocoon

2001-06-20 Thread matthieu VIDAL

Hi
Try to add type-mime="text/xml" attribute to your element using the xml :



- Original Message -
From: Navneet Joneja <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 9:40 PM
Subject: Redirect/Cocoon


> Hi!
> I'm using the redirect extension as part of a cocoon process to redirect
> output to a file. The trouble is that when my source contains entity
> references, they're resolved before writing them to the file, eg:
> & appears as & in the file.
> This is nice if the file is a plain text file, but the final file is
> intended to be an XML file... and hence the removal of the entity
references
> is actually quite a pain in the butt since when I try to operate on them,
> the transformer throws up.
> Has anyone seen this before? Is there something I can do to avoid this?
> Thanks!
> - Navneet.
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


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

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




Re: [C2] Encoding value with I18n

2001-06-20 Thread matthieu VIDAL

I have tried this too, and it also doesn't work.

Thanks for your help
- Original Message -
From: Piroumian, Konstantin <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 19, 2001 7:16 PM
Subject: Re: [C2] Encoding value with I18n


> I am not sure that the problem is with i18n but I'll take a look at it.
I'm
> not sure, but maybe result encoding must be specified in the Serializer?
> Something like:
>
>  
> iso-8859-1
> 
>
> I will investigate this problem and let you know if I find something.
>
> - Original Message -
> From: "matthieu VIDAL" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 19, 2001 8:42 PM
> Subject: Re: [C2] Encoding value with I18n
>
>
> > Thanks
> >
> > I'm working on C2.0b1
> >
> > I understand that all the transformers work the same way, but it seems
> that
> > i18n does not.
> >
> > The sitemap is as follow (in fact it's a sub/sitemap):
> >
> >
> > 
> >  
> >   
> > 
> > 
> >
> >
> > ManUser.xsl begin like that :
> >
> > 
> > 
> >  > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > xmlns:i18n="http://apache.org/cocoon/i18n/2.0";
> > >
> >
> >
> > When opening http://localhost/cocoon/myPages/ManUser.xsli I obtain this
:
> >
> > 
> > 
> >  > xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
> > xmlns:i18n="http://apache.org/cocoon/i18n/2.0";>
> >
> >
> >
> > - Original Message -
> > From: Piroumian, Konstantin <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Tuesday, June 19, 2001 6:09 PM
> > Subject: Re: [C2] Encoding value with I18n
> >
> >
> > > If you talk about i18nTransformer from latest C2 (which replaced the
old
> > > i18n transformer), then it is not intended to specify encodings. It
uses
> > > encodings from your files and simply replaces i18n text by values from
> the
> > > dictionary.
> > >
> > > If your XML file is in UTF-8 then the result will be also in UTF-8. If
> you
> > > want to specify other encoding then for your response then, I think,
> you
> > > have to look at the Serializers.
> > >
> > > If you post your pages I could look at them and try to understand
what's
> > the
> > > problem.
> > >
> > > Regards,
> > > Konstantin Piroumian.
> > >
> > > - Original Message -
> > > From: "matthieu VIDAL" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, June 19, 2001 6:26 PM
> > > Subject: [C2] Encoding value with I18n
> > >
> > >
> > > > How can I change the encoding value produced by the i18n transformer
> (by
> > > > default UTF-8)?
> > > >
> > > > In sitemap file I tried
> > > >
> > > >
> > > >
> > > >then
> > > >iso-8859-1
> > > >then
> > > > 
> > > > etc..
> > > > 
> > > >
> > > > even in the  tag
> > > >
> > > > NB: the dictionary and xml to translate begin with :  version="1.0"
> > > > encoding="iso-8859-1"?> but the xml file is always  > > > encoding="UTF-8"?>
> > > >
> > > > help!!!
> > > >
> > > > - Original Message -
> > > > From: Matt Sergeant <[EMAIL PROTECTED]>
> > > > To: Zeljko Rajic <[EMAIL PROTECTED]>
> > > > Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > > > Sent: Tuesday, June 19, 2001 4:09 PM
> > > > Subject: Re: setting response headers with XSP
> > > >
> > > >
> > > > > On Tue, 19 Jun 2001, Zeljko Rajic wrote:
> > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I'm currently trying to find out how to set response headers
> within
> > > > Cocoon,
> > > > > > respectively XSP in general. Reading the Cocoon respectively
> > Cocoon's
> > > > XSP
> > > > > > documentation and FAQs I couldn't find any information about
this
> > > topic.
> > > > > >
> > > > > > So I still got some open questions and would appreciate it if
> > somebody
> > > > could
> > > > > > give me some further information or could point me to a
resource.
> My
> > > > questions
> > > > > > are:
> > > > > >
> > > > > > 1. Where in the XSP document do I have to place the
> > > >  > > > > > .../> tag? Does it matter where I place this tag?
> > > > > >
> > > > > > Concerning HTTP, it is necessary to send any header information
> > prior
> > > > any
> > > > > > content/data. Thus, does Cocoon buffer the content/data and then
> > > writes
> > > > header
> > > > > > information and content/data in a 'single' run?
> > > > > >
> > > > > > Having a look at the generated Java source, shows that it
> > > > generates/fires SAX
> > > > > > events and thus makes me wonder how the response headers
currently
> > > being
> > > > set!?
> > > > > >
> > > > > >
> > > > > > 2. The same probably applies to cookies, thus the same question
> for
> > > > cookies:
> > > > > > Where in the XSP document is it allowed to set a cookie using
the
> > > > > >  tag?
> > > > >
> > > > > These two questions are really implementation dependant, and
belong
> on
> > > > > Cocoon-Users. My take on it, is that it doesn't matter in AxKit or
> > > Cocoon
> > > > > 1, because both use the "build a 

Re: The sitemap handler's sitemap is not available

2001-06-20 Thread Daniel Pfuhl

Hi

have you installed it via e remote console? I ran
into the same error. I found something in the mailing
archives that Cocoon needs a displayvariable to be set
for the svg stuff. so I tried this and it worked for
me. Look into your Cocoon log if something like this
may have caused the error.

HTH

daniel

--- "Guangzu Wang (Houston)"
<[EMAIL PROTECTED]> schrieb: > Hi all,
> 
> I installed Tomcat 3.2.2 and Cocoon2, the Tomcat
> works well
> (http://localhost:8080) but Cocoon2 not, it gave me
> the error message of
> "The sitemap handler's sitemap is not available". I
> did delete jaxp.jar and
> copied xerces-1.4.0.jar and changed parser.jar to
> zparser.jar as suggested.
> When I search the archive list, I found similar
> problem and suggestions was
> use Tomcat 4. So I installed Tomcat 4.0 beta 5.
> Again I changed the class
> path in web.xml which make servlet.jar visible to
> Cocoon2 in web.xml before
> building cocoon.war. After I run the Tomcat and
> Cocoon, I still got similar
> error message of "The sitemap handler's sitemap is
> not available".  My Linux
> box is Red Hat 7.1 and I installed JDK 1.3.1 and
> setup the JAVA_HOME and
> path accordingly.
> 
> I actually need a server side xslt process tool. I
> tried AxKit since most of
> my code is perl but unfortunately I can not get
> Sablotron for I can not get
> http://www.gingerall.com/ for some reasons(host
> down?). Then I turn to
> Cocoon2. Look like this is not a easy task either.
> 
> Anybody get a clue, Thanks a million in advance!
> 
> Guangzu
> 
> Here's error message from Tomcat 3.2.2 and Tomcat
> 4.0 beta 5.
> 
> Tomcat 3.2.2
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
>   at
>
org.apache.tomcat.core.Handler.service(Handler.java:287)
>   at
>
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
>   at
>
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
> 7)
>   at
>
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
>   at
>
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
> onnectionHandler.java:213)
>   at
>
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
>   at
>
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
>   at java.lang.Thread.run(Thread.java:484)
> 
> Tomcat 4.0 beta 5.
> 
> org.apache.cocoon.ProcessingException: The sitemap
> handler's sitemap is not
> available.
>   at
>
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:178)
>   at
>
org.apache.cocoon.sitemap.Manager.invoke(Manager.java:95)
>   at
> org.apache.cocoon.Cocoon.process(Cocoon.java:328)
>   at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:488)
>   at
>
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> FilterChain.java:254)
>   at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> ain.java:194)
>   at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> va:255)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   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.ja
> va:225)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   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:2252)
>   at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164
> )
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 66)
>   at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
>   at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
> 64)
>   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.i