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.000001 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-name">Test
>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="-1"><xsp-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]>

Reply via email to