You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Thorsten Scherler <th...@apache.org> on 2003/05/19 18:59:32 UTC

Re: Problem with updating to Cocoon 2.1 M1

Sometimes I really have too much work!

I have sent it to the dev-list, sorry!

Scherler, Thorsten wrote:
> Hello everyone,
> 
>  
> 
> when I came in my office today my system was “updated” and then I have 
> to reinstall everything! But I didn’t had my “old” versions.
> 
>  
> 
> So I updated to:
> 
> J2sdk-1_4_2-beta-windows-i586.exe
> 
> Tomcat_4.1.24-LE-jdk14.exe
> 
> cocoon-2.1-M1-build.tar.gz
> 
>  
> 
> Is there a wiki-page or something similar where I can read what I have 
> to do to update?
> 
>  
> 
> Now nothing is really working anymore:
> 
> 1)       I had the xalan – error message:
> 
> The output format must have a 
> '{http://xml.apache.org/xalan}content-handler' property!
> 
>  
> 
> I fixed that with <map:transformers default="xalan">
> 
>  
> 
> 2)       Now all my xsp-pages that have been working fine before are 
> screwed!
> 
> 
>   *Internal Server Error*
> 
> Message: null
> 
> Description: No details available.
> 
> Sender: org.apache.cocoon.servlet.CocoonServlet
> 
> Source: Cocoon Servlet
> 
> Request URI
> 
> getreport-response
> 
> cause
> 
> Error compiling GETreport_xsp:
> 
> ERROR 1 (org\apache\cocoon\www\global\reports\xsp\GETreport_xsp.java):
> 
> ...
> 
> {
> 
>  sDate_one=request.getParameter("date");
> 
>   }
> 
>  catch( ParseException e )
> 
>  
> 
> // start error (lines 303-303) "Unreachable catch block"
> 
> {
> 
>  
> 
> // end error
> 
>  getLogger().error("XSP param error: ", e);
> 
> }
> 
> Date date_one = null;
> 
>  try
> 
>  
> 
> ...
> 
> ERROR 2 (org\apache\cocoon\www\global\reports\xsp\GETreport_xsp.java):
> 
> ...
> 
> {
> 
> GETpool = request.getParameter("pool");
> 
>   }
> 
>  catch( ParseException e )
> 
>  
> 
> // start error (lines 323-323) "Unreachable catch block"
> 
> {
> 
>  
> 
> // end error
> 
>  getLogger().error("XSP pool error: ", e);
> 
> }
> 
> String GETlang = "";
> 
> try
> 
>  
> 
> ...
> 
> ERROR 3 (org\apache\cocoon\www\global\reports\xsp\GETreport_xsp.java):
> 
> ...
> 
> {
> 
> GETlang = request.getParameter("GETlang");
> 
>   }
> 
>  catch( ParseException e )
> 
>  
> 
> // start error (lines 332-332) "Unreachable catch block"
> 
> {
> 
>  
> 
> // end error
> 
>  getLogger().error("XSP pool error: ", e);
> 
> }
> 
> String GETcountry = "";
> 
> try
> 
>  
> 
> ...
> 
> ERROR 4 (org\apache\cocoon\www\global\reports\xsp\GETreport_xsp.java):
> 
> ...
> 
> {
> 
> GETcountry = request.getParameter("GETcountry");
> 
>   }
> 
>  catch( ParseException e )
> 
>  
> 
> // start error (lines 341-341) "Unreachable catch block"
> 
> {
> 
>  
> 
> // end error
> 
>  getLogger().error("XSP pool error: ", e);
> 
> }
> 
>  
> 
>     
> 
>  
> 
> ...
> 
> Line 303, column 0: Unreachable catch block
> 
> Line 323, column 0: Unreachable catch block
> 
> Line 332, column 0: Unreachable catch block
> 
> Line 341, column 0: Unreachable catch block
> 
> request-uri
> 
> /cas/getreport-response
> 
> Apache Cocoon 2.1-M1 <http://cocoon.apache.org/>
> 
> 3)        
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: Problem with updating to Cocoon 2.1 M1

Posted by Thorsten Scherler <th...@apache.org>.
Thanks, I will check that tomorrow!

Geoff Howard wrote:
> Note that you can still get problems with _mismatched_ versions
> of the endorsed jars, IIUC.  So, make sure the jars in
> common\endorsed match the jars in WEB-INF\lib.  If you "upgraded"
> cocoon, you'll need to get them from the dist you're using, not
> the lenya endorsed.tar.gz (unless they happened to have built that
> using the same dist you are).
> 
> Geoff
> 
> At 01:29 PM 5/19/2003, you wrote:
> 
>> Hello Mark,
>>
>> I used http://www.wyona.org/lenya/endorsed.tar.gz!
>>
>> ...I did not have to replace the files because there not have been any 
>> in that directory before.
>>
>> ...but to answer your question: Yes I did!
>>
>> Mark Eggers wrote:
>>
>>> Quick question:
>>> If you build Cocoon from scratch, you'll find a
>>> <cocoon-src>\lib\endorsed directory.
>>> Did you replace %CATALINA_HOME%\common\endorsed with
>>> the contents of that directory?
>>> This works for me on Linux (Tomcat 4.1.24, latest
>>> Cocoon CVS, j2sdk 1.4.2-beta) and Windows/2000
>>> Professional (Tomcat 4.1.24, latest Cocoon CVS, j2sdk
>>> 1.4.1_02).
>>> HTH
>>> /mde/
>>> just my two cents . . . .
>>>
>>> __________________________________
>>> Do you Yahoo!?
>>> The New Yahoo! Search - Faster. Easier. Bingo.
>>> http://search.yahoo.com
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>>
>>



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: Problem with updating to Cocoon 2.1 M1

Posted by Geoff Howard <co...@leverageweb.com>.
Note that you can still get problems with _mismatched_ versions
of the endorsed jars, IIUC.  So, make sure the jars in
common\endorsed match the jars in WEB-INF\lib.  If you "upgraded"
cocoon, you'll need to get them from the dist you're using, not
the lenya endorsed.tar.gz (unless they happened to have built that
using the same dist you are).

Geoff

At 01:29 PM 5/19/2003, you wrote:
>Hello Mark,
>
>I used http://www.wyona.org/lenya/endorsed.tar.gz!
>
>...I did not have to replace the files because there not have been any in 
>that directory before.
>
>...but to answer your question: Yes I did!
>
>Mark Eggers wrote:
>>Quick question:
>>If you build Cocoon from scratch, you'll find a
>><cocoon-src>\lib\endorsed directory.
>>Did you replace %CATALINA_HOME%\common\endorsed with
>>the contents of that directory?
>>This works for me on Linux (Tomcat 4.1.24, latest
>>Cocoon CVS, j2sdk 1.4.2-beta) and Windows/2000
>>Professional (Tomcat 4.1.24, latest Cocoon CVS, j2sdk
>>1.4.1_02).
>>HTH
>>/mde/
>>just my two cents . . . .
>>
>>__________________________________
>>Do you Yahoo!?
>>The New Yahoo! Search - Faster. Easier. Bingo.
>>http://search.yahoo.com
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: Problem with updating to Cocoon 2.1 M1

Posted by Thorsten Scherler <th...@apache.org>.
Hello Mark,

I used http://www.wyona.org/lenya/endorsed.tar.gz!

...I did not have to replace the files because there not have been any 
in that directory before.

...but to answer your question: Yes I did!

Mark Eggers wrote:
> Quick question:
> 
> If you build Cocoon from scratch, you'll find a
> <cocoon-src>\lib\endorsed directory.
> 
> Did you replace %CATALINA_HOME%\common\endorsed with
> the contents of that directory?
> 
> This works for me on Linux (Tomcat 4.1.24, latest
> Cocoon CVS, j2sdk 1.4.2-beta) and Windows/2000
> Professional (Tomcat 4.1.24, latest Cocoon CVS, j2sdk
> 1.4.1_02).
> 
> HTH
> 
> /mde/
> just my two cents . . . .
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com



---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: Problem with updating to Cocoon 2.1 M1

Posted by Mark Eggers <it...@yahoo.com>.
Quick question:

If you build Cocoon from scratch, you'll find a
<cocoon-src>\lib\endorsed directory.

Did you replace %CATALINA_HOME%\common\endorsed with
the contents of that directory?

This works for me on Linux (Tomcat 4.1.24, latest
Cocoon CVS, j2sdk 1.4.2-beta) and Windows/2000
Professional (Tomcat 4.1.24, latest Cocoon CVS, j2sdk
1.4.1_02).

HTH

/mde/
just my two cents . . . .


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org