RE: cocoon 2 building ...

2001-06-15 Thread tom . klaasen

Seems like you need the JNDI package (which is packaged with jdk1.3, but not
with 1.2)

See http://java.sun.com/products/jndi/index.html

good luck
tomK

-Original Message-
From: Sylvain PERROT [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 15 juni 2001 11:19
To: [EMAIL PROTECTED]
Subject: cocoon 2 building ...


Hi all cocooners ...

I have 2 quick questions about cocoon 2 building ...

1) When I try to build cocoon 2 using the jdk1.3.1  and I only get an
error message :

# ./build.sh  -Dinclude.webapp.libs=yes webap
p

Apache Cocoon 2 Build System

Buildfile: build.xml
/root/jakarta/xml-cocoon2/bin/ant: line 107:  1546 Segmentation fault
$JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}"
$ANT_OPTS org.apache.tools.ant.Main "$@"


Can cocoon be builed with jdk1.3.1 ?
if yes ... how ?


2) When I try to build cocoon 2 using the jdk1.2.2 ... it starts compiling
... but it fails very quickly ...

# ./build.sh  -Dinclude.webapp.libs=yes webapp

Apache Cocoon 2 Build System

Buildfile: build.xml

init:
--- Apache Cocoon 2.1-dev [1999-2001] 

compile:
Compiling 1 source file to /root/jakarta/xml-cocoon2/build/cocoon/classes
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:10: Class javax.naming.Context not found in import.
import javax.naming.Context;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:11: Class javax.naming.directory.Attribute not found in
import.
import javax.naming.directory.Attribute;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:12: Class javax.naming.directory.BasicAttribute not
found in import.
import javax.naming.directory.BasicAttribute;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:13: Class javax.naming.directory.DirContext not found
in import.
import javax.naming.directory.DirContext;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:14: Class javax.naming.directory.InitialDirContext not
found in import.
import javax.naming.directory.InitialDirContext;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:15: Class javax.naming.directory.ModificationItem not
found in import.
import javax.naming.directory.ModificationItem;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:16: Class javax.naming.directory.SearchControls not
found in import.
import javax.naming.directory.SearchControls;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:17: Class javax.naming.directory.SearchResult not found
in import.
import javax.naming.directory.SearchResult;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:18: Class javax.naming.NamingEnumeration not found in
import.
import javax.naming.NamingEnumeration;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:19: Class javax.naming.NamingException not found in
import.
import javax.naming.NamingException;
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:1129: Class javax.naming.directory.DirContext not
found.
protected DirContext ctx;
^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:1204: Class javax.naming.NamingException not found in
throws.
protected void execute() throws Exception, NamingException {
   ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:1210: Class javax.naming.directory.SearchControls not
found.
SearchControls constraints = new SearchControls();
^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:1210: Class javax.naming.directory.SearchControls not
found.
SearchControls constraints = new SearchControls();
 ^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:1213: Class javax.naming.NamingException not found in
try.
try {
^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:1225: Variable constraints may not have been
initialized.
constraints.setTimeLimit(time_limit);
^
/root/jakarta/xml-cocoon2/build/cocoon/src/org/apache/cocoon/transformation/
LDAPTransformer.java:1231: Class javax.naming.NamingEnumeration not found.
  

RE: how to precompile the xsp ?

2001-06-26 Thread tom . klaasen

An XSP is only compiled the first time it is called. Each subsequent time,
this compiled version is used. So the way to "pre-compile" an XSP is to call
it in your browser.

hth,

tomK


-Original Message-
From: Ling Kok Choon [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 26 juni 2001 16:32
To: [EMAIL PROTECTED]
Subject: how to precompile the xsp ?


hi,

   I am developing a web application with Cocoon 2. But the xsp's
performance is not very good ( 
very slow ), so is it posible to precompile the xsp file ? and may i know
how to do it ?

Thank you.


>From Kok Cho0n.


Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 06/26/01
Time: 22:32:02

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: Handler:java.io.FileNotFoundException: /sitemap.xmap (No such fil e or directory)

2001-06-26 Thread tom . klaasen

Have a look at the cocoon.xconf file. Near the end, there is a line that
looks something like this:



My guess is that this has somehow changed on your machine to



(note the slash).

Try removing the slash.

hth,

tomK



-Original Message-
From: Apostolou, Kostantinos
[mailto:[EMAIL PROTECTED]]
Sent: dinsdag 26 juni 2001 9:26
To: '[EMAIL PROTECTED]'
Subject: Handler:java.io.FileNotFoundException: /sitemap.xmap (No such
fil e or directory)


Hi I got the following problem

java.io.FileNotFoundException: /sitemap.xmap (No such file or
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:68)
at
org.apache.cocoon.environment.Source.getInputStream(Source.java:116)
at
org.apache.cocoon.environment.Source.getInputSource(Source.java:165)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat
eResource(ProgramGeneratorImpl.java:230)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr
ogramGeneratorImpl.java:158)
at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
at java.lang.Thread.run(Thread.java:479)

It seams that it can't find the sitemap.xmap file.
1.My $TOMCAT_HOME/webapps/cocoon dir looks like this

META-INF  WEB-INF  cocoon.xconf  docs  i18n  protected  resources
sitemap.xmap  stylesheets  sub  templates

I am using an ALPHA server 400 with REDHAT 6.2

JDK1.2

In my CLASS PATH I have the jar files of the following

nis1_2_1
jndi1_2_1
jndi1_1ea2_demo
rmregistry1_2_1
jaf-1.0.1
fscontext1_2beta3
cosnaming1_2_1

I got the Cocoon-2.0b1.tar.gz 
And I got a tomcat-3.2.1
My $TOMCAT_HOME/lib directory looks like 
ant.jar  jasper.jar  servlet.jar  test  webserver.jar  xerces_1_4_0.jar

I attatched the log file 

 <> 


Does anybody have any suggestion?

-
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] Bug in HTML-Serializer?

2001-06-26 Thread tom . klaasen

Why is this a problem?
Do you want to make the html human-readable? If not, don't care about it too
much. Your browser will ignore the newline.

hth,

tomK

-Original Message-
From: Jörn Heid [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 26 juni 2001 9:13
To: [EMAIL PROTECTED]
Subject: AW: [C2] Bug in HTML-Serializer?


Nobody understands me ;( My fault, of course.
The problem is that there's a newline in the ouput (that's my problem):

> BUT I get this with the html serializer (see the newline)
>
> 
> mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 26. Juni 2001 09:00
An: [EMAIL PROTECTED]
Betreff: Re: [C2] Bug in HTML-Serializer?


Hi

I don't think it's a bug, it's HTML.


To: Cocoon-Users <[EMAIL PROTECTED]>
Sent: Monday, June 25, 2001 8:59 PM
Subject: [C2] Bug in HTML-Serializer?


> With this stylesheet
>
>  border="1"/>
> I get this with the xml serializer
>
>  src="/images/empty.gif"/>
> BUT I get this with the html serializer (see the newline)
>
> 
> 
>
> Is it a bug or a feature I don't want?
>
> Please help.
>
> In my stylesheet I do have
>
>
>
> BTW, how can I remove all those spaces between > and 
> JOERN_HEID
>
>
> -
> 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]>


-
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] How to connect to mysql server ?

2001-06-26 Thread tom . klaasen

Hi,

Have a look at your cocoon.xconf file. There is a node there that looks like
this:

  

  
  @database-url@
  @database-user@
  @database-password@

  

You just have to fill in the right parameters. 

Don't forget to create the tables as specified in
webapp\docs\samples\sql\sql-pate.xml.sql

hth,

tomK

-Original Message-
From: Ling Kok Choon [mailto:[EMAIL PROTECTED]]
Sent: maandag 25 juni 2001 16:53
To: [EMAIL PROTECTED]
Subject: [C2] How to connect to mysql server ?


hi,

  May i know how to connect my cocoon web application to the mySQL server ?

Thank.


>From Kok Choon.


Name: Ling Kok Choon
E-mail: Ling Kok Choon <[EMAIL PROTECTED]>
Date: 06/25/01
Time: 22:53:03

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: redirect to port 80

2001-07-06 Thread tom . klaasen

Goedendag Pierre,

It's not Cocoon that decides which port to use, but tomcat. You might want
to check out $TOMCAT/conf/server.xml, under the heading "Connectors".

hth,
tomK


-Original Message-
From: Pierre-Henry Perret [mailto:[EMAIL PROTECTED]]
Sent: maandag 2 juli 2001 11:13
To: [EMAIL PROTECTED]
Subject: redirect to port 80


Bonjour,

I have installed cocoon and made it serving corretly xml pages, well
it's nice! 

I would like to register my site as a cocoon user but i can't serve on
other
port than 8080 (e.g i must give an address as
'http://localhost:8080/cocoon..') - all other network stuff working
correctly
, i mean DNS - i don't have to do this with tomcat jserv because i can
directly see a working servlet as in
'http://localhost/servlets/examples...' 

i guess no idea to manage this,

Pierre-Henry Perret
Cocoon user
StDenis, France

-
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: sitemap handler's sitemap is not available????

2001-07-13 Thread tom . klaasen



Check 
your %TOMCAT_HOME%/webapps/cocoon/WEB-INF/logs/cocoon.log file. This should 
contain the exact error. This "The sitemap handler's sitemap is not available" 
thing says only to look in the logs...
 
hth,
tomK

  -Original Message-From: raghu 
  [mailto:[EMAIL PROTECTED]]Sent: vrijdag 13 juli 2001 
  15:09To: C. Gaffga; [EMAIL PROTECTED]Subject: 
  sitemap handler's sitemap is not available
  I have built the cocoon and put 
  the war file in TOMCAT_ROOT/webapps and when i go to 
  http://localhost:8080/cocoon, i see 
  this page, 
  where is the error?  can u 
  please help
   
  
  Cocoon 2 - Internal server error
  

  type internal-server-error
  message The sitemap handler's sitemap is not available.
  description org.apache.cocoon.ProcessingException: The sitemap 
  handler's sitemap is not available.
  sender org.apache.cocoon.servlet.CocoonServlet
  source Cocoon servlet
  request-uri/cocoon/
  
  exceptionorg.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.
  
  path-info
  
  stacktraceorg.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.
	at org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	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:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.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)



RE: The sitemap handler's sitemap is not available

2001-07-16 Thread tom . klaasen

Hi Karun,

(1) Quoting is usually a good idea. It is not very clear to which message
you're reacting.
(2) Look in %TOMCAT_HOME%/web-apps/cocoon/WEB-INF/log/cocoon.log for the
exact error description. "sitemap handler's sitemap not found" only
indicates that the sitemap.xmap could not be compiled, and this can be
caused by a zillion reasons.

hth,
tomK

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: zaterdag 14 juli 2001 3:20
To: [EMAIL PROTECTED]
Subject: Re: The sitemap handler's sitemap is not available


i wish it could .. but i am having the same problem even after starting the 
server from the GUI environment. I have RH 7.0 and weblogic 6.0 SP1. 
The error . sitemap handler's sitemap not found. 
exception thrown from org.apache.cocoon.ProcessingException... 
I wish I could beat it .. 
Please share if you have anything relative .. 
Regard's 
Karun 

-
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: hi

2001-07-16 Thread tom . klaasen



Did 
you try adding the Turbine classes to your lib? If so, what happened 
then?
 
hth,
tomK

  -Original Message-From: Benjamin Cramer 
  [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 
  15:55To: '[EMAIL PROTECTED]'Subject: RE: 
  hi
  Raghu,
   
      This list is of little use to either of us. I have posted 
  the exact same question (twice) without any response, and in searching the 
  archives found another unanswered question posing the same 
  problem.
   
      The problem is that you have too many folks like Minakshi 
  that waste everyone's time and mail-server with assinine responses. My 
  suggestion to Minakshi: If you don't know the answer stay off the 
  list-serv.
   
      Raghu, if you do arrive at an answer, please post it. I will 
  do the same.
   
  Thanks,
   
  Ben 
  Cramer
  
-Original Message-From: Minakshi k 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, July 12, 2001 
1:18 PMTo: [EMAIL PROTECTED]Subject: Re: 
hi

Please mention "cocoon" in subject instead of personal subject like 
"hi"

>From: "raghu" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: <[EMAIL PROTECTED]>
>Subject: hi 
>Date: Thu, 12 Jul 2001 18:46:31 +0530 
> 
>Hi, 
>I have Tomcat 3.2.2 , jetspeed 1.3a1, apache 1.3.11 and 
mod_jk.so as a link between tomcat and apache. 
> I have installed cocoon 1.8.2, . I am able to see the Adding 
context /cocoon line when starting tomcat. 
>But when i go to http://localhost:8080/cocoon/Cocoon.xml, i 
get the following error. 
>What may be the error? Is it because of conflicting jar 
files? Do i need to have turbine-pool.jar file? 
>Is it conflicting with jetspeed Turbine resource properties? 
>i have renamed xml and parser to zxml and zparser. 
>Please help. 
> PUBLISHING ENGINE COULD NOT BE INITIALISED 
>java.lang.RuntimeException: Error creating 
org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed classes 
can be found in the classpath 
(org/apache/turbine/services/resources/TurbineResourceService) 
> at 
org.apache.cocoon.framework.Manager.create(Manager.java:122) 
> 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: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) 
> 
> 
> Warning: this page has been dynamically generated. 
> 
>Copyright (c) 1999-2001 The Apache XML Project. 
>All rights reserved. 
> 


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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: hi

2001-07-16 Thread tom . klaasen



I'm a 
bit on a wild goose chase here, because I don't use 
Cocoon1.8...
 
Does 
this turbine-pool.jar contain a file TurbineResourceService.class? (I can't 
find a reference to this jar file on the turbine site).
 
If 
not, download the TDK from the Turbine website, and take the turbine-2.2-dev.jar 
(or a similar one, if you use a different version). This contains 
TurbineResourceService.class (I just checked).
 
If 
you're absolutely certain this class is in one of the .jars of your lib, try 
copying all contents of %TOMCAT_HOME%/lib to 
%TOMCAT_HOME%/webapps/cocoon/WEB-INF/lib (every tomcat version seems to use a 
different lib dir for your webapps, and copying your jars in all possible lib 
dirs doesn't seem to hurt most of the time :) )
 
 
tomK

  -Original Message-From: Benjamin Cramer 
  [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 
  16:15To: '[EMAIL PROTECTED]'Subject: RE: 
  hi
  tomK,
   
      I have Turbine-pool as part of my %TOMCAT_HOME%/lib. My /lib 
  directory has the following in it:
  
    ant.jar    
ant_1_1.jar    bsf.jar    
bsfengines.jar    cocoon.jar    
fesi.jar    fop_0_15_0.jar    
jasper.jar    jaxp.jar    
sax-bugfix.jar    servlet.jar    
servlet_2_2.jar    
stylebook-1.0-b2.jar    test    
turbine-pool.jar    w3c.jar    
webserver.jar    xalan_1_2_D02.jar    
xerces.jar    xt.jar    
zparser.jar    zxml.jar
      I believe that I have all the necessary 
  components and renamed those that conflict. Cocoon is running because it 
  generated the error. Any help is much appreciated.
   
  Ben
  
 

-Original Message-From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 16, 2001 
8:58 AMTo: [EMAIL PROTECTED]Subject: RE: 
hi
Did you try adding the Turbine classes to your lib? 
If so, what happened then?
 
hth,
tomK

  -Original Message-From: Benjamin Cramer 
  [mailto:[EMAIL PROTECTED]]Sent: maandag 16 juli 2001 
  15:55To: '[EMAIL PROTECTED]'Subject: RE: 
  hi
  Raghu,
   
      This list is of little use to either of us. I have 
  posted the exact same question (twice) without any response, and in 
  searching the archives found another unanswered question posing the same 
  problem.
   
      The problem is that you have too many folks like 
  Minakshi that waste everyone's time and mail-server with assinine 
  responses. My suggestion to Minakshi: If you don't know the answer stay 
  off the list-serv.
   
      Raghu, if you do arrive at an answer, please post it. I 
  will do the same.
   
  Thanks,
   
  Ben Cramer
  
-Original Message-From: Minakshi k 
[mailto:[EMAIL PROTECTED]]Sent: Thursday, July 12, 2001 
1:18 PMTo: [EMAIL PROTECTED]Subject: Re: 
hi

Please mention "cocoon" in subject instead of personal subject 
like "hi"

>From: "raghu" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED] 
>To: <[EMAIL PROTECTED]>
>Subject: hi 
>Date: Thu, 12 Jul 2001 18:46:31 +0530 
> 
>Hi, 
>I have Tomcat 3.2.2 , jetspeed 1.3a1, apache 1.3.11 and 
mod_jk.so as a link between tomcat and apache. 
> I have installed cocoon 1.8.2, . I am able to see the 
Adding context /cocoon line when starting tomcat. 
>But when i go to http://localhost:8080/cocoon/Cocoon.xml, 
i get the following error. 
>What may be the error? Is it because of conflicting jar 
files? Do i need to have turbine-pool.jar file? 
>Is it conflicting with jetspeed Turbine resource 
properties? 
>i have renamed xml and parser to zxml and zparser. 
>Please help. 
> PUBLISHING ENGINE COULD NOT BE INITIALISED 
>java.lang.RuntimeException: Error creating 
org.apache.cocoon.processor.xsp.XSPProcessor: make sure the needed 
classes can be found in the classpath 
(org/apache/turbine/services/resources/TurbineResourceService) 
> at 
org.apache.cocoon.framework.Manager.create(Manager.java:122) 
> 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.s

RE: Coocon with Silver stream server

2001-07-17 Thread tom . klaasen

I've heard of this problem before. It had something to do with
Silverstream's getContextHandler() (or something similar) implementation.
Silverstream has no context (it stores everything in a DB, remember?), and
thus this method always returns null.

Moreover, this method appears to be heavily used by C2 (so I've heard).

The man who reported this to me, has given up trying to run C2 on
Silverstream. Maybe you can do a better job?

hth,
tomK

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: maandag 16 juli 2001 20:29
To: [EMAIL PROTECTED]
Subject: Coocon with Silver stream server


I am trying make cocoon work with silver strream server. I am using coccon
2.0, Silver stream 3.71 on Windows 2000 server.
After deploying cocoon.war file, if I try to access coccon, it gives me
following error message. I am able to open hello.jsp, under sample
directory. If I try to open cml file, it displays as an xml file and not as
html file. Any help will be highly appriciated.


ooo No Context Loader oo:
javax.servlet.ServletC
onfig
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:112)
at
com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.
java:754)
at
com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarSer
vletRequestDispatcher.java:50)
at
com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDisp
atcher.java:88)
at
com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarReso
urce.java:1130)
at
com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:523)
at
com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java
:114)
at com.sssw.srv.http.httpd.perform(httpd.java:4418)
at com.sssw.srv.http.Client.processRequest(Client.java:881)
at com.sssw.srv.http.Client.loop(Client.java:1215)
at com.sssw.srv.http.Client.runConnection(Client.java:1419)
at com.sssw.srv.http.Client.run(Client.java:1379)
at java.lang.Thread.run(Thread.java:484)
ooo No Context Loader oo:
org.apache.cocoon.envi
ronment.http.HttpContext
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:116)
at
com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.
java:754)
at
com.sssw.srv.busobj.AgoWarServletRequestDispatcher.dispatch(AgoWarSer
vletRequestDispatcher.java:50)
at
com.sssw.srv.busobj.AgoWarRequestDispatcher.forward(AgoWarRequestDisp
atcher.java:88)
at
com.sssw.srv.resources.AgWarResource.handleDirectoryRequest(AgWarReso
urce.java:1130)
at
com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:523)
at
com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java
:114)
at com.sssw.srv.http.httpd.perform(httpd.java:4418)
at com.sssw.srv.http.Client.processRequest(Client.java:881)
at com.sssw.srv.http.Client.loop(Client.java:1215)
at com.sssw.srv.http.Client.runConnection(Client.java:1419)
at com.sssw.srv.http.Client.run(Client.java:1379)
at java.lang.Thread.run(Thread.java:484)
ooo No Context Loader oo:
org.apache.cocoon.envi
ronment.Context
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:993)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
105)
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.lang.ClassLoader.defineClass(ClassLoader.java:426)
at
com.sssw.srv.cl.AgoJarClassLoader.findClass(AgoJarClassLoader.java:95
)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at
com.sssw.srv.cl.AgoBaseClassLoader.loadClass(AgoBaseClassLoader.java:
106)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:116)
at
com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.
java:754)
at

RE: the sitemap handler's sitemap is not available

2001-07-23 Thread tom . klaasen

check %TOMCAT_HOME%/webapps/cocoon/WEB-INF/cocoon.log



hth,
tomK

-Original Message-
From: raghu [mailto:[EMAIL PROTECTED]]
Sent: maandag 23 juli 2001 6:17
To: [EMAIL PROTECTED]
Subject: the sitemap handler's sitemap is not available


Cocoon 2 - Internal server error



type internal-server-error
message The sitemap handler's sitemap is not available.
description org.apache.cocoon.ProcessingException: The sitemap handler's
sitemap is not available.
sender org.apache.cocoon.servlet.CocoonServlet
source Cocoon servlet
request-uri
/cocoon/
exception
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
path-info

stacktrace
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not
available.
at
org.apache.cocoon.sitemap.Manager.setupProcessing(Manager.java:179)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:93)
at org.apache.cocoon.Cocoon.process(Cocoon.java:293)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:471)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
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)




What may be the error?  where should i check??
bye,
raghu

"black holes are,
when GOD is dividing by zero" 

-
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: Using Actions in Sitemaps

2001-07-23 Thread tom . klaasen

I'm going out on a limp (limb?) here, but:

This LoginAction, is this something you wrote yourself? If so, be sure that
the Map it returns is not null, because when it is, the components between
the action tags will not be executed.

return new HashMap(); should do the trick.

hth,
tomK

-Original Message-
From: Max Larsson [mailto:[EMAIL PROTECTED]]
Sent: maandag 23 juli 2001 15:16
To: [EMAIL PROTECTED]
Subject: AW: Using Actions in Sitemaps



>Is your LoginAction 1) without any package, and 2) in the classpath?
>Anytime you alter your classpath in ANY servlet, the servlet engine needs
>to be restarted.  It's a fact of life.

It's no problem with the classpath. Cocoon loads the class and executes it.
I've checked it in the logs. The problem is in the sitemap, but i don't
find enough documentation to solve it. This piece:

>  
>  
>  
>   

works fine. OK the LoginAction class isn't called. But if if change it to
use it in the following way:

>   
> 
>   
> 
> 
>   

C2 delivers resource not found. It's not a problem with the LoginAction
class.
It gets loaded and executed without any problems. I can post the source if
needed.

Max


-
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]>