cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien SACARD <sebastien.sac...@kelkoo.com>
Subject Re: missing classes ?
Date Thu, 30 May 2002 14:04:14 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
Thanks Vadim,<br>
&nbsp;I confused the context and the classpath. Thought the context was 'a kind-of'
Cocoon classpath.<br>
I found all the classes, now.<br>
<br>
I've got others problems, odd Exception, but I'll try to find out before
asking silly questions again :-)<br>
<br>
<br>
Vadim Gritsenko wrote:<br>
<blockquote type="cite"
 cite="mid00d401c207e1$62ae6eb0$7574558b@vgritsenkopc">
  <blockquote type="cite">
    <pre wrap="">From: Sebastien SACARD [<a class="moz-txt-link-freetext" href="mailto:sebastien.sacard@kelkoo.com">mailto:sebastien.sacard@kelkoo.com</a>]<br><br>Hi,<br><br>I'm
trying to run cocoon from the command line, like this :<br>/usr/java/jdk/bin/java -classpath
../WEB-INF/lib/cocoon-2.0.2.jar<br>org.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work<br></pre>
  </blockquote>
  <pre wrap=""><!---->-l/work/cocoon.log<br></pre>
  <blockquote type="cite">
    <pre wrap="">-uINFO index.html<br><br>and it appears that classes are
missing fromt the packages extracted<br>from the cocoon.war I just downloaded (cocoon-2.0.2)
. So I added them<br>in the classpath :<br>../WEB-INF/lib/avalon-excalibur-scratchpad-<br>20020212.jar:/opt/public/jserv/libexec/servlet-2.0-plus.jar<br>(for
excalibur/xml/Parser and javax classes)<br><br>questions :<br> - why do
I need to add them in the classpath whereas the packages are<br>defined in the context
directory (-c attribute ?). It seems that<br></pre>
  </blockquote>
  <pre wrap=""><!---->adding<br></pre>
  <blockquote type="cite">
    <pre wrap="">in the context is not enough. According to the Main class code, Cocoon<br>load
all the classes present in the context directory.<br></pre>
  </blockquote>
  <pre wrap=""><!----><br>Main does *not* load any classes. These lines
in the run.bat are for<br>reason:<br><br>set CP=%JAVA_HOME%\lib\tools.jar;%COCOON_WORK%<br>for
%%i in (%COCOON_LIB%\core\*.jar) do call appendcp.bat %%i<br>for %%i in (%COCOON_LIB%\optional\*.jar)
do call appendcp.bat %%i<br>for %%i in (.\build\cocoon\*.jar) do call appendcp.bat %%i<br><br><br></pre>
  <blockquote type="cite">
    <pre wrap="">- I can't find this class in any package :<br>org/apache/xml/resolver/tools/CatalogResolver.
Can someone tell me in<br>which package  I can access it ?<br></pre>
  </blockquote>
  <pre wrap=""><!----><br>xml-cocoon203\lib\optional\resolver-20020130.jar<br><br>Vadim<br><br><br></pre>
  <blockquote type="cite">
    <pre wrap="">Thanks<br><br>--<br>#############################################################<br>S&eacute;bastien
Sacard<br>Kelkoo.com - R&amp;D team<br>Phone: +(33) 4 76 29 73 51<br>Email:
<a class="moz-txt-link-abbreviated" href="mailto:Sebastien.Sacard@kelkoo.com">Sebastien.Sacard@kelkoo.com</a><br>Aim
: KelkooXIII<br>#############################################################<br><br><br><br>---------------------------------------------------------------------<br>Please
check that your question has not already been answered in the<br>FAQ before posting.
<a class="moz-txt-link-rfc2396E" href="http://xml.apache.org/cocoon/faqs.html">&lt;http://xml.apache.org/cocoon/faqs.html&gt;</a><br><br>To
unsubscribe, e-mail: <a class="moz-txt-link-rfc2396E" href="mailto:cocoon-users-unsubscribe@xml.apache.org">&lt;cocoon-users-unsubscribe@xml.apache.org&gt;</a><br>For
additional commands, e-mail: <a class="moz-txt-link-rfc2396E" href="mailto:cocoon-users-help@xml.apache.org">&lt;
cocoon-users-help@xml.apache.org&gt;</a><br></pre>
  </blockquote>
  <pre wrap=""><!----><br><br>---------------------------------------------------------------------<br>Please
check that your question has not already been answered in the<br>FAQ before posting.
<a class="moz-txt-link-rfc2396E" href="http://xml.apache.org/cocoon/faqs.html">&lt;http://xml.apache.org/cocoon/faqs.html&gt;</a><br><br>To
unsubscribe, e-mail: <a class="moz-txt-link-rfc2396E" href="mailto:cocoon-users-unsubscribe@xml.apache.org">&lt;cocoon-users-unsubscribe@xml.apache.org&gt;</a><br>For
additional commands, e-mail: <a class="moz-txt-link-rfc2396E" href="mailto:cocoon-users-help@xml.apache.org">&lt;cocoon-users-help@xml.apache.org&gt;</a><br><br><br></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="$mailwrapcol">-- <br>#############################################################<br>S&eacute;bastien
Sacard<br>Kelkoo.com - R&amp;D team<br>Phone: +(33) 4 76 29 73 51<br>Email:
<a class="moz-txt-link-abbreviated" href="mailto:Sebastien.Sacard@kelkoo.com">Sebastien.Sacard@kelkoo.com</a><br>Aim
: KelkooXIII<br>#############################################################<br></pre>
<br>
</body>
</html>


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

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


Mime
View raw message