i     wouldent dont really  how to validate a xml document  to check
whether its valid or not.
all i can say for sure is that. i was able to use it accurately.the
only thing i changed about the setup was the name of the topmost
library.
 i have added a copy of my  org unit types,my org units, as well as my
opensrf_core.xml files.you can check them yourself just to be very
sure of its validity

the  ou.csv contains my org units
the outy.csv contains my org unit types
tthe third  one is the opensrf_core.xml file



On 7/23/09, Bill Erickson <erick...@esilibrary.com> wrote:
> "Mess: JPeer could not load all necesarry values from config"
>
> This means there is something wrong with /openils/conf/opensrf_core.xml.
> This is where Jabber configs live.  Did the file also change?  Is the file
> valid XML?
>
> -b
>
> On Thu, Jul 23, 2009 at 11:47 AM, Nuku Ameyibor <nayi...@gmail.com> wrote:
>
>> i   changed the nmae of my topmost library in the organizational
>> heirachy.i
>> updated   the org heirachy. when i tried to run autogen.sh i got errors.
>> these are the errors.
>> autogen.sh -c  /openils/conf/opensrf.xml -u
>> Updating fieldmapper
>>   * ! EXCEPTION ! *
>> TYPE: OpenSRF::EX::Config
>> Mess: Config Exception
>> Mess: JPeer could not load all necesarry values from config
>> Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection
>> Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm
>> Time: Thu Jul 23 11:43:51 2009
>> Updating web_fieldmapper
>>   * ! EXCEPTION ! *
>> TYPE: OpenSRF::EX::Config
>> Mess: Config Exception
>> Mess: JPeer could not load all necesarry values from config
>> Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection
>> Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm
>> Time: Thu Jul 23 11:44:11 2009
>> Updating OrgTree
>>   * ! EXCEPTION ! *
>> TYPE: OpenSRF::EX::Config
>> Mess: Config Exception
>> Mess: JPeer could not load all necesarry values from config
>> Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection
>> Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm
>> Time: Thu Jul 23 11:44:32 2009
>> Updating OrgTree HTML
>>   * ! EXCEPTION ! *
>> TYPE: OpenSRF::EX::Config
>> Mess: Config Exception
>> Mess: JPeer could not load all necesarry values from config
>> Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection
>> Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm
>> Time: Thu Jul 23 11:44:52 2009
>> Refreshing proximity of org units
>>   * ! EXCEPTION ! *
>> TYPE: OpenSRF::EX::Config
>> Mess: Config Exception
>> Mess: JPeer could not load all necesarry values from config
>> Loc.: 71 OpenSRF::Transport::SlimJabber::PeerConnection
>> Loc.: /openils/lib/perl5/OpenSRF/Transport/SlimJabber/PeerConnection.pm
>> Time: Thu Jul 23 11:45:12 2009
>>
>> Done
>>
>> under normal circumstances it runs well but as soon as i changed the name
>> of the topmost  library in my heirachy i got  errors.
>> i   also get erros when i am using the staff cient to login or using the
>>  dynamic catlalog in my opac. the slimpac catlog works fine anyways .
>> any ideas anyone??
>>
>>
>
>
> --
> Bill Erickson
> | VP, Software Development & Integration
> | Equinox Software, Inc. / The Evergreen Experts
> | phone: 877-OPEN-ILS (673-6457)
> | email: erick...@esilibrary.com
> | web: http://esilibrary.com
>

Attachment: ou.csv
Description: Binary data

Attachment: outy.csv
Description: Binary data

<?xml version="1.0"?>
<config>

  <!-- bootstrap config for OpenSRF apps -->
  <opensrf>

    <!-- The OpenSRF Routers's name on the network -->
    <!-- You should never need to change thischange this -->
    <router_name>router</router_name>

    <routers>

      <!-- List of router domains we should register with. 
        We must at least have our default jabber domain in here -->
      <router>evergreen-server.localdomain</router>

    </routers>
    <domains>

      <!-- Our jabber domain, currently only one domain is supported -->
      <domain>evergreen-server.localdomain</domain>

    </domains>
    <username>opensrf</username>
    <passwd>evergreen</passwd>
    <port>5222</port>

    <!-- log to a local file -->
    <logfile>/openils/var/log/osrfsys.log</logfile>

    <!-- Log to syslog. You can use this same layout for 
        defining the logging of all services in this file -->
<!--
    <logfile>syslog</logfile>
    <syslog>local2</syslog>
    <actlog>local1</actlog>
-->

    <!-- 0 None, 1 Error, 2 Warning, 3 Info, 4 debug, 5 Internal (Nasty) -->
    <loglevel>1</loglevel>

    <!-- config file for the services -->
    <settings_config>/openils/conf/opensrf.xml</settings_config>

  </opensrf>

  <!-- The section between <gateway>...</gateway> is a standard OpenSRF C stack config file -->
  <gateway>

    <!-- we consider ourselves to be the "originating" client for requests,
            which means we define the log XID string for log traces -->
    <client>true</client>

    <!--  the routers's name on the network -->
    <router_name>router</router_name>

    <!-- jabber domains to connect to (domain1, domain2, ...) -->
    <domains>
      <domain>evergreen-server.localdomain</domain>
    </domains>

<!-- These are the services that the gateway will serve. 
	Any other requests will receive an HTTP_NOT_FOUND (404) 
	DO NOT put any services here that you don't want the internet to have access to
-->
    <services>
      <service>opensrf.math</service>
      <service>open-ils.cat</service>
      <service>open-ils.search</service>
      <service>open-ils.circ</service>
      <service>open-ils.actor</service>
      <service>open-ils.auth</service>
      <service>open-ils.reporter</service>
    </services>

    <!-- jabber login info -->
    <username>opensrf</username>
    <passwd>evergreen</passwd>
    <port>5222</port>
    <logfile>/openils/var/log/gateway.log</logfile>
    <loglevel>1</loglevel>

  </gateway>

  <!-- ======================================================================================== -->

  <router>

    <!-- do not change -->
    <component>0</component>

    <trusted_domains>

      <!-- Trusted servers are allowed to register apps with the router -->
      <server>evergreen-server.localdomain</server>

      <!-- Trusted clients are allowed to send packets through the router -->
      <client>evergreen-server.localdomain</client>

    </trusted_domains>

    <transport>

      <!-- jabber server are we connecting to -->
      <server>evergreen-server.localdomain</server>
      <port>5222</port>

      <!-- if this is changed, all "router_name" settings 
                will need to be updated to match this setting -->
      <username>router</username>
      <password>evergreen</password>

      <!-- router's jabber resource -->
      <!-- do not change this -->
      <resource>router</resource>
      <connect_timeout>10</connect_timeout>
      <max_reconnect_attempts>5</max_reconnect_attempts>

    </transport>
    <logfile>/openils/var/log/router.log</logfile>
    <loglevel>1</loglevel>

  </router>

  <!-- ======================================================================================== -->

</config>

Reply via email to