Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Vadim Gritsenko

Matthew Hailstone wrote:

Awesome! I changed the xsp file to declare a namespace of:

xmlns:session=http://apache.org/xsp/session/2.0;
  create-session=true

instead of 

xmlns:xsp-session=http://apache.org/xsp/session/2.0;
  create-session=true

and changed all the tags in the file (of course :)

Thank you Vadim.

It now compiles, but I have a new problem.

Forgive me for relentlessly inquiring, but I really have no clue. :)
I am excited that I am actually getting somewhere, which I haven't been
for some time.


...

java.lang.NullPointerException
   at
org.apache.cocoon.components.language.markup.xsp.XSPRequestHelper.setSes
sionAttribute(XSPRequestHelper.java:454)
   at
org.apache.cocoon.www.eval.logic.form_xsp.generate(form_xsp.java:265)
   at
org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGe
nerator.java:226)
   at
  


...

Thoughts?


Bug in your XSP. 99 out of 100 that you are using request or response 
variables before they are initialized, or session before it is created 
(you have to explicitly create session).


Vadim



Matthew
  



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

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




RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Matthew Hailstone

Vadim,
  How do I _explicitly_ create a session? Isn't the following supposed
to do that?

  xmlns:session=http://apache.org/xsp/session/2.0;
create-session=true

I looked on the website for the short list of xsp-session tags to use,
but couldn't find anything to do this. I also have searched the mailing
list with no luck.

http://xml.apache.org/cocoon/userdocs/xsp/session.html


Matthew

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

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




Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Vadim Gritsenko

Matthew Hailstone wrote:

Vadim,
  How do I _explicitly_ create a session? Isn't the following supposed
to do that?

  xmlns:session=http://apache.org/xsp/session/2.0;
create-session=true


Yes, this will create the session. Other ways are get-session-id/, and 
request.getSession().

PS You might be using request or response variables before they are 
initialized. See also generated java code.

Vadim



I looked on the website for the short list of xsp-session tags to use,
but couldn't find anything to do this. I also have searched the mailing
list with no luck.

http://xml.apache.org/cocoon/userdocs/xsp/session.html


Matthew
  





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

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




RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-20 Thread Matthew Hailstone

Interesting. It looks like the java file created by 2.0.3
creates/initializes the session object for you, but 2.0.1 generated java
file does not. (Notwithstanding they both have the create-session
attribute in the namespace definition) There were a few other null
pointer exceptions that I had to take care of that were 2.0.1 specific,
but were my personal code and not Cocoon generated stuff. But, that was
it!

Thanks so much for your help.

Matthew

 -Original Message-
 From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, September 20, 2002 9:42 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Cocoon 2.0.3 under Enhydra 3.1
 
 
 Matthew Hailstone wrote:
 
 Vadim,
   How do I _explicitly_ create a session? Isn't the 
 following supposed 
 to do that?
 
   xmlns:session=http://apache.org/xsp/session/2.0;
 create-session=true
 
 
 Yes, this will create the session. Other ways are 
 get-session-id/, and 
 request.getSession().
 
 PS You might be using request or response variables before they are 
 initialized. See also generated java code.
 
 Vadim
 
 
 
 I looked on the website for the short list of xsp-session 
 tags to use, 
 but couldn't find anything to do this. I also have searched 
 the mailing 
 list with no luck.
 
 http://xml.apache.org/cocoon/userdocs/xsp/session.html
 
 
 Matthew
   
 
 
 
 
 
 -
 Please check that your question  has not already been answered in the
 FAQ before posting. http://xml.apache.org/cocoon/faq/index.html
 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail:   [EMAIL PROTECTED]
 
 

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

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




Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-19 Thread Vadim Gritsenko

Matthew,

The code generated with 2.0.1 means that session logicsheet was not applied. Please 
look at 2.0.1 samples for session logicsheet usage. It might be that with 2.0.1 you 
have to use session namespace, not xsp-session. This bug was fixed, now (2.0.3) 
you can use any namespace prefix you want.


Vadim





Matthew Hailstone wrote:

oops. Yeah, I put the xsp:content elements in the 'if' condition to see
if it would help.

But, after comparing the working java file from 2.0.3 with the one
created with 2.0.1, I found the following commented below:


  

Matthew Hailstone wrote:



Vadim,

Here is a portion of my xsp file:

 if( xsp:contentxsp-session:get-attribute
name=test-name-wcart//xsp:content == null
 ||
 ((String)xsp:contentxsp-session:get-attribute
name=test-name-wcart//xsp:content).length() == 0
){
xsp:content

  

Oh no, not like this, but:

  if(xsp-session:get-attribute
name=test-name-wcart/ == null
  ||
  ((String)xsp-session:get-attribute
name=test-name-wcart/).length() == 0
 ){
 xsp:content
.
 /xsp:content
 }





  

Here is the java file that is created to be compiled:

   if (xspAttr.addAttribute(, name, name, CDATA,
test-name-wcart);
  




Notice here, though, how the code should be:

  XSPSessionHelper.getSessionAttribute(session,
  String.valueOf(test-name-wcart),
  null)



  

this.contentHandler.startElement(http://apache.org/xsp/session/2.0;,
get-attribute,
xsp-session:get-attribute,
xspAttr);
   xspAttr.clear();



this.contentHandler.endElement(http://apache.org/xsp/session/2.0;,
  get-attribute,
xsp-session:get-attribute);
   == null || ((String) xspAttr.addAttribute(, name, name,
   CDATA, test-name-wcart);


this.contentHandler.startElement(http://apache.org/xsp/session/2.0;,

  

get-attribute,


xsp-session:get-attribute,
xspAttr);
   xspAttr.clear();



this.contentHandler.endElement(http://apache.org/xsp/session/2.0;,
  get-attribute,
xsp-session:get-attribute);
  ).length() == 0) {


  



  

It seems that the xslt (I'm guessing) is not producing the
  

correct java


code from the xsp-session namespace tags.
  




The working java file created from 2.0.3 looks like this with the same
xsp:


  if( 

(
  XSPSessionHelper.getSessionAttribute(session,
  String.valueOf(test-name-wcart),
  null)
)
   == null
  || ((String)

(
  XSPSessionHelper.getSessionAttribute(session,
  String.valueOf(test-name-wcart),
  null)
)
  ).length() == 0){




Matthew
  





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

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




RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Matthew Hailstone

Vadim,

 In the second email it was recommended to use Paranoid servlet which 
 makes me to think that enhyndra has broken class loader. Issues with 
 broken class loading can be endless and hard to trace.
 
 In your install, however, you are trying to start with regular 
 CocoonServlet (as far as I can tell). Have you tried paranoid servlet?
 

Yes. I have tried to use the ParanoidServlet servlet class also, and it
has the same problems. :(

ok. Here is another scenario. I can actually run Cocoon 2.0.1, and get
the Cocoon welcome page, and go into all of the sample links. But, for
some reason, my sub-sitemap section doesn't work. Here are my findings.

error web page:

type fatal

message Language Exception

description org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
form_xsp: Line 255, column 76: ')' expected. Line 360, column 6: 'else'
without 'if'. Line 363, column 92: ')' expected. Line 479, column 68:
')' expected. Line 694, column 8: 'else' without 'if'. Line 869, column
80: ')' expected. Line 884, column 50: ')' expected. Line 1149, column
10: 'else' without 'if'. Line 1335, column 44: ')' expected. Line 1351,
column 61: ')' expected. Line 1603, column 12: 'else' without 'if'. Line
1794, column 61: ')' expected. Line 0, column 0: 12 errors 

sender org.apache.cocoon.servlet.ParanoidCocoonServlet

source Cocoon servlet

request-uri

/eval/form

path-info

eval/form


access.log.01

org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
form_xsp:
Line 255, column 76:  ')' expected.
Line 360, column 6:  'else' without 'if'.
Line 363, column 92:  ')' expected.
Line 479, column 68:  ')' expected.
Line 694, column 8:  'else' without 'if'.
Line 869, column 80:  ')' expected.
Line 884, column 50:  ')' expected.
Line 1149, column 10:  'else' without 'if'.
Line 1335, column 44:  ')' expected.
Line 1351, column 61:  ')' expected.
Line 1603, column 12:  'else' without 'if'.
Line 1794, column 61:  ')' expected.
Line 0, column 0: 
12 errors

at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre
ateResource(ProgramGeneratorImpl.java:285)
at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(ProgramGeneratorImpl.java:196)
at
org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGener
ator.java:168)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipelin
e(AbstractEventPipeline.java:154)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Caching
EventPipeline.java:238)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(C
achingEventPipeline.java:99)
at
org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(Cach
ingStreamPipeline.java:276)
at
org.apache.cocoon.www.eval.sitemap_xmap.matchN10063(sitemap_xmap.java:77
2)
at
org.apache.cocoon.www.eval.sitemap_xmap.process(sitemap_xmap.java:454)
at
org.apache.cocoon.www.eval.sitemap_xmap.process(sitemap_xmap.java:359)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.www.sitemap_xmap.matchN102F5(sitemap_xmap.java:3946)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2737)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2492)
at org.apache.cocoon.sitemap.Handler.process(Handler.java:180)
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:127)
at
org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:144
)
at org.apache.cocoon.Cocoon.process(Cocoon.java:582)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:795)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
org.apache.tomcat.core.ServiceInvocationHandler.method(ServletWrapper.ja
va:641)
at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.ja
va:549)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:
392)
at
org.apache.tomcat.core.Context.handleRequest(Context.java:732)
at
org.enhydra.servlet.servletManager.ServletManager.service(ServletManager
.java:1096)
at
org.enhydra.servlet.connectionMethods.http.HttpHandler.doARequest(HttpHa
ndler.java:241)
at
org.enhydra.servlet.connectionMethods.http.HttpHandler.processRequests(H
ttpHandler.java:258)
at
org.enhydra.servlet.connectionMethods.http.HttpHandler.run(HttpHandler.j
ava:96)
at java.lang.Thread.run(Thread.java:479)
org.apache.cocoon.components.language.LanguageException: Error compiling
form_xsp:
Line 255, column 76:  ')' expected.
Line 360, column 6:  'else' without 'if'.
Line 363, column 92:  ')' expected.
Line 479, 

Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Vadim Gritsenko

Matthew Hailstone wrote:

Vadim,

  

In the second email it was recommended to use Paranoid servlet which 
makes me to think that enhyndra has broken class loader. Issues with 
broken class loading can be endless and hard to trace.

In your install, however, you are trying to start with regular 
CocoonServlet (as far as I can tell). Have you tried paranoid servlet?


Yes. I have tried to use the ParanoidServlet servlet class also, and it
has the same problems. :(


I don't know why; as I said - some class loading issues. :-/


ok. Here is another scenario. I can actually run Cocoon 2.0.1, and get
the Cocoon welcome page, and go into all of the sample links. But, for
some reason, my sub-sitemap section doesn't work. Here are my findings.
  

...

org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
form_xsp:
Line 255, column 76:  ')' expected.


Look into java source; compiler must be right. If it works with Cocoon 
2.0.3, it just because some errors were fixed since 2.0.1


Line 360, column 6:  'else' without 'if'.
Line 363, column 92:  ')' expected.
Line 479, column 68:  ')' expected.
Line 694, column 8:  'else' without 'if'.
Line 869, column 80:  ')' expected.
Line 884, column 50:  ')' expected.
Line 1149, column 10:  'else' without 'if'.
Line 1335, column 44:  ')' expected.
Line 1351, column 61:  ')' expected.
Line 1603, column 12:  'else' without 'if'.
Line 1794, column 61:  ')' expected.
Line 0, column 0: 
12 errors
  

...

I see this exception repeatedly in the core.log.01 file:

WARN(2002-09-18) 08:41.12:584   [core] (/)
Thread-23/ExcaliburComponentManager: Looking up component on an
uninitialized ComponentManager:
org.apache.cocoon.generation.GeneratorSelector

DEBUG   (2002-09-18) 08:41.12:884   [core] (/) Thread-23/LogKitLogger:
org.apache.cocoon.generation.XMLDBGenerator: could not be instantiated.
org.apache.cocoon.ProcessingException: Problem setting up the
connection: org.dbxml.client.xmldb.DatabaseImpl


Don't worry about it. It means you have got no XML:DB database.
...


DEBUG   (2002-09-18) 08:41.12:904   [core] (/) Thread-23/LogKitLogger:
org.apache.cocoon.generation.XMLDBCollectionGenerator: could not be
instantiated.
org.apache.cocoon.ProcessingException: Problem setting up the
connection: org.dbxml.client.xmldb.DatabaseImpl


Ditto.
...

ERROR   (2002-09-18) 08:41.12:834   [sitemap.generator.velocity] (/)
Thread-23/VelocityGenerator: ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.

ERROR   (2002-09-18) 08:41.12:854   [sitemap.generator.velocity] (/)
Thread-23/VelocityGenerator: ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.

ERROR   (2002-09-18) 08:41.18:843   [sitemap.generator.velocity] (/)
Thread-23/VelocityGenerator: ResourceManager : unable to find resource
'VM_global_library.vm' in any resource loader.


It could be important if you would use Velocity.


Here is a the portion of my form.xsp file that it's complaining it can't
compile:

xsp:logic
  String m_strFormAction = form;
  String m_query = ;
  String m_querySelect = ;
  if( xsp-session:get-attribute name=test-name/ == null
  ||
  ((String)xsp-session:get-attribute
name=test-name/).length() == 0
 ){


Try surrounding this with xsp:content:

xsp:content

xsp-session:set-attribute name=test-nameTest
Name/xsp-session:set-attribute
xsp-session:set-attribute name=query from info where id in
(select distinct id from another_info where id in (select distinct id
from results))/xsp-session:set-attribute
field id=test-name label=Test Name type=select
  value value=-1xsp-session:get-attribute
name=test-name//value
/field


/xsp:content


Vadim



  }
...

  

I hope my comments will give you perspective on possible ways of 
resolving this problem
(I'm merely helping you help yourself ;-)

Vadim



Yes. And in all honesty, every little suggestion is very helpful.
Thank you very much for lending me some of your time and insight,

Matthew
  



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

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




Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Vadim Gritsenko

Matthew Hailstone wrote:

Vadim,

Here is a portion of my xsp file:

  if( xsp:contentxsp-session:get-attribute
name=test-name-wcart//xsp:content == null
  ||
  ((String)xsp:contentxsp-session:get-attribute
name=test-name-wcart//xsp:content).length() == 0
 ){
 xsp:content


Oh no, not like this, but:

  if(xsp-session:get-attribute
name=test-name-wcart/ == null
  ||
  ((String)xsp-session:get-attribute
name=test-name-wcart/).length() == 0
 ){
 xsp:content
.
 /xsp:content
 }


Vadim



Here is the java file that is created to be compiled:

if (xspAttr.addAttribute(, name, name, CDATA,
test-name-wcart);

 
this.contentHandler.startElement(http://apache.org/xsp/session/2.0;,
 get-attribute,
xsp-session:get-attribute,
 xspAttr);
xspAttr.clear();


 
this.contentHandler.endElement(http://apache.org/xsp/session/2.0;,
   get-attribute,
xsp-session:get-attribute);
== null || ((String) xspAttr.addAttribute(, name, name,
CDATA, test-name-wcart);

 
this.contentHandler.startElement(http://apache.org/xsp/session/2.0;,
 get-attribute,
xsp-session:get-attribute,
 xspAttr);
xspAttr.clear();


 
this.contentHandler.endElement(http://apache.org/xsp/session/2.0;,
   get-attribute,
xsp-session:get-attribute);
   ).length() == 0) {


It seems that the xslt (I'm guessing) is not producing the correct java
code from the xsp-session namespace tags.

Any suggestion/assessment?

Matthew
  



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

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




RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-18 Thread Matthew Hailstone

oops. Yeah, I put the xsp:content elements in the 'if' condition to see
if it would help.

But, after comparing the working java file from 2.0.3 with the one
created with 2.0.1, I found the following commented below:


 Matthew Hailstone wrote:
 
 Vadim,
 
 Here is a portion of my xsp file:
 
   if( xsp:contentxsp-session:get-attribute
 name=test-name-wcart//xsp:content == null
   ||
   ((String)xsp:contentxsp-session:get-attribute
 name=test-name-wcart//xsp:content).length() == 0
  ){
  xsp:content
 
 
 Oh no, not like this, but:
 
   if(xsp-session:get-attribute
 name=test-name-wcart/ == null
   ||
   ((String)xsp-session:get-attribute
 name=test-name-wcart/).length() == 0
  ){
  xsp:content
 .
  /xsp:content
  }



 
 Here is the java file that is created to be compiled:
 
 if (xspAttr.addAttribute(, name, name, CDATA,
 test-name-wcart);



Notice here, though, how the code should be:

  XSPSessionHelper.getSessionAttribute(session,
  String.valueOf(test-name-wcart),
  null)



 
  
 this.contentHandler.startElement(http://apache.org/xsp/session/2.0;,
  get-attribute,
 xsp-session:get-attribute,
  xspAttr);
 xspAttr.clear();
 
 
  
 this.contentHandler.endElement(http://apache.org/xsp/session/2.0;,
get-attribute,
 xsp-session:get-attribute);
 == null || ((String) xspAttr.addAttribute(, name, name,
 CDATA, test-name-wcart);
 
  
 this.contentHandler.startElement(http://apache.org/xsp/session/2.0;,
  
 get-attribute,
 xsp-session:get-attribute,
  xspAttr);
 xspAttr.clear();
 
 
  
 this.contentHandler.endElement(http://apache.org/xsp/session/2.0;,
get-attribute,
 xsp-session:get-attribute);
).length() == 0) {
 
 


 It seems that the xslt (I'm guessing) is not producing the
 correct java
 code from the xsp-session namespace tags.



The working java file created from 2.0.3 looks like this with the same
xsp:


  if( 

(
  XSPSessionHelper.getSessionAttribute(session,
  String.valueOf(test-name-wcart),
  null)
)
   == null
  || ((String)

(
  XSPSessionHelper.getSessionAttribute(session,
  String.valueOf(test-name-wcart),
  null)
)
  ).length() == 0){




Matthew

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

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




Re: Cocoon 2.0.3 under Enhydra 3.1

2002-09-17 Thread Vadim Gritsenko

Matthew Hailstone wrote:

I am trying to run Cocoon 2.0.3 under Enhydra 3.1.
Here is my environment:
Win2K
jdk1.3.1_03

I get the following in my Enhydra log:



java.lang.NullPointerException
   at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
   at
  

...

Any thoughts?


Pls apply patch:

http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/servlet/CocoonServlet.java.diff?r1=1.19.2.7r2=1.19.2.8diff_format=h

Because of this bug you can't see what's went wrong.


Vadim



Regards.

Matthew
  





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

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




RE: Cocoon 2.0.3 under Enhydra 3.1

2002-09-17 Thread Matthew Hailstone

Vadim,
  Thanks for your reply and the reference to the patch. I've been
pulling my hair out trying to make Cocoon work under Enhydra3.1. :) I
performed a CVS update on a previously checkedout cocoon_2_0_3_branch
tag module. It appears to be the 2.0.4-dev version. I verified that the
patch that you linked me to had been made in that update. I created a
war file, extracted it to Enhydra's webapps directory, and setup the
webapp again through the Enhydra Admin Console interface. When I try to
run Cocoon, I get the following error page:

Cocoon 2 - Internal servlet error




type fatal

message Cocoon was not initialized.

description Cocoon was not initialized. Cannot process request.

sender org.apache.cocoon.servlet.CocoonServlet

source Cocoon servlet

request-uri

/

access.log:

DEBUG   (2002-09-17) 16:12.52:525   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: getRealPath for /:
C:\usr\local\enhydra3.1\webapps\cocoon2\
DEBUG   (2002-09-17) 16:12.52:535   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: URL for Root:
file:/C:/usr/local/enhydra3.1/webapps/cocoon2/
DEBUG   (2002-09-17) 16:12.52:535   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: work-directory was not set - defaulting to
\usr\local\enhydra3.1\work\Cocoon2\cocoon-files
DEBUG   (2002-09-17) 16:12.52:545   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: upload-directory was not set - defaulting
to \usr\local\enhydra3.1\work\Cocoon2\cocoon-files\upload-dir
DEBUG   (2002-09-17) 16:12.52:555   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: cache-directory was not set - defaulting
to \usr\local\enhydra3.1\work\Cocoon2\cocoon-files\cache-dir
DEBUG   (2002-09-17) 16:12.52:555   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Using configuration file:
/WEB-INF/cocoon.xconf
DEBUG   (2002-09-17) 16:12.52:555   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: show-time was not set - defaulting to
false
DEBUG   (2002-09-17) 16:12.52:555   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: parent-component-manager was not set -
defaulting to null.
DEBUG   (2002-09-17) 16:12.52:555   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: container-encoding was not set -
defaulting to ISO-8859-1.
DEBUG   (2002-09-17) 16:12.52:555   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: form-encoding was not set - defaulting to
null.
DEBUG   (2002-09-17) 16:12.52:575   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Trying to load class:
org.hsqldb.jdbcDriver
WARN(2002-09-17) 16:12.52:575   [access] (Unknown-URI)
Unknown-thread/CocoonServlet: Could not force-load class:
org.hsqldb.jdbcDriver
java.lang.ClassNotFoundException: org.hsqldb.jdbcDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:281)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at
org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:88)
at
org.apache.cocoon.servlet.CocoonServlet.forceLoad(CocoonServlet.java:843
)
at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1213)
at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:436)
at
org.apache.tomcat.core.ServletWrapper$2.method(ServletWrapper.java:286)
at
org.apache.tomcat.core.ServletWrapper.handleInvocation(ServletWrapper.ja
va:549)
at
org.apache.tomcat.core.ServletWrapper.loadServlet(ServletWrapper.java:28
3)
at
org.apache.tomcat.core.Context.loadServlets(Context.java:1062)
at org.apache.tomcat.core.Context.init(Context.java:540)
at
org.enhydra.servlet.servletManager.ServletManager.initContext(ServletMan
ager.java:903)
at
org.enhydra.servlet.servletManager.ServletManager.buildContext(ServletMa
nager.java:828)
at
org.enhydra.servlet.servletManager.ServletManager.start(ServletManager.j
ava:1157)
at
com.lutris.appserver.admin.presentation.Perform.performAction(Perform.ja
va:76)
at
com.lutris.appserver.admin.presentation.Perform.runPage(Perform.java:151
)
at
com.lutris.appserver.server.jolt.joltpo.JoltPage.run(JoltPage.java:458)
at
com.lutris.appserver.server.httpPresentation.HttpPresentationManager.run
PresentationObj(HttpPresentationManager.java:423)
at
com.lutris.appserver.server.httpPresentation.HttpPresentationManager.Run
(HttpPresentationManager.java:231)
at
com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationSer
vlet.serviceDirect(HttpPresentationServlet.java:588)
at
com.lutris.appserver.server.httpPresentation.servlet.HttpPresentationSer
vlet.service(HttpPresentationServlet.java:770)
at