[daisy] daisy-repository-server.bat > Kernel startup failure.

Poldi Rijke poldi.rijke at gmail.com
Fri Feb 2 03:51:26 CST 2007


>
> > seems like there's an incorrect password in one of the config files
> > (cocoon.xconf or repository config)
> >
>
> More specifically, check in <openjms home>/config/openjms.xml where you
> should see something like:
>
>   <Users>
>     <User name="admin" password="openjms" />
>   </Users>


We changed this password to the one in the <datadir>/conf/myconfig.xml


This same username/password couple should also appear in the
>
> <datadir>/conf/myconfig.xml
>
> and the
>
> <daisyhome>/daisywiki/webapp/WEB-INF/config.xml
>
> (I don't have a 1.4 install at hand to look up the exact syntax in those
> files, but you should be able to find it easily back by searching on
> "admin")


We couldn't find <daisyhome>/daisywiki/webapp
>
> /WEB-INF/config.xml.

But cocoon.xconf contained a username="admin", and changed this one.

  <component class="org.outerj.daisy.jms.impl.JmsClientImpl" logger="
daisy.jmsclient" role="org.outerj.daisy.jms.JmsClient">
    <jmsConnection>
      <!-- note: to disable authentication, remove the credentials element
-->
      <credentials password="faikinhe" username="admin"/>

This one we left unchanged:

  <component class="
org.outerj.daisy.repository.clientimpl.RemoteRepositoryManager" logger="
daisy.repositorymanager" role="daisy-repository-manager">
    <repository-server-base-url>http://localhost:9263
</repository-server-base-url>
    <maxHttpConnections>60</maxHttpConnections>
    <!-- A User used to fill caches. Since this user also needs to be able
to retrieve
         user objects, this must be a user with administrator privileges.
-->
    <cacheUser login="internal" password="e12731b76344bedd90044d3c66a6a6"/>


In case that is all OK, you could also check the openjms database:
>
> mysql> select * from users;
> +----------+----------+
> | username | password |
> +----------+----------+
> | admin    | openjms  |
> +----------+----------+
> 1 row in set (0.07 sec)


Updated this record to change to the password in the files.


After startup of daisy this message appears in the webbrowser: *Initialization
Problem*
Message: null
Description: No details available.
Sender: org.apache.cocoon.servlet.CocoonServlet
Source: Cocoon Servlet
cause
Authenticatie mislukt (onbekende gebruikersnaam, verkeerd wachtwoord of
onbevestigde registratie).
request-uri
/daisy/
*Apache Cocoon 2.1.8* <http://cocoon.apache.org/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cocoondev.org/pipermail/daisy/attachments/20070202/506c329b/attachment.htm


More information about the daisy mailing list