On Thu, 21 Jun 2001, Ling Kok Choon wrote:

> hi friends,
>
>    I am facing the same problem when i try to start the cocoon 2. I have build and 
>install the
> cocoon 2 beta version to my system ( windows 98, tomcat 3.2.2 , jdk 1.3.1 ), and i 
>have follow
> all the step at the install page. But the Cocoon 2 Internal Server Error still occur.
>   I checked the log file, and i found some error happened, but i don't know how to 
>solve it. SO
> hoping your help.....
>
> Note : sitemap's error code is at the bottom of this email, (Error number 3).
>
>
> Here is a part of the log file :
>
> 1) here i think is the Database connection error, right ?

This is due to wrong installation method. You should install C2 directly
by using the ant script:

  build.sh -Dinclude.webapp.libs=yes \
           -Dinstall.war=[YOUR-SERVLET-WEBAPPS-DIR] \
           install

This way the {$install.war} will be replaced with the right installation
path.

>
> 
>***********************************************************************************************
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15320   [cocoon  ] (Thread-24):
> org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
> java.sql.SQLException: File input/output error:
> ${install.war}/cocoon/WEB-INF/db/cocoondb.properties

<snip/>

> 2) Again a Database connection error, right ?

Same reason here

>
> 
>***********************************************************************************************
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-10): URL 
>for Root:
> file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15380   [cocoon  ] (Thread-24):
> org.apache.avalon.excalibur.datasource.JdbcConnection: could not be instantiated.
> java.sql.SQLException: File input/output error:
> ${install.war}/cocoon/WEB-INF/db/cocoondb.properties

<snip/>

> 3) Here is the sitemap error :
>
> 
>***********************************************************************************************
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15540   [cocoon  ] (Thread-10): Making 
>URL from
> file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/sitemap.xmap
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15540   [cocoon  ] (Thread-30): Making 
>URL from
> file:/D:/jakarta-tomcat-3.2.2/webapps/cocoon/sitemap.xmap
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15590   [cocoon  ] (Thread-30): 
>UnnamedSelector:
> ComponentSelector could not find the component for hint: 
>org\apache\cocoon\www\sitemap_xmap
>
> 2001-06-21 02:19:08 - path="/cocoon" :DEBUG   15590   [cocoon  ] (Thread-30): Could 
>not access
> component for hint: org\apache\cocoon\www\sitemap_xmap
> java.lang.NullPointerException

As you can easily see here that this is a DEBUG message. So don't be concerned about 
it. It says that there wasn't a sitemap generated already and the system is generating 
one for you.

Giacomo


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to