[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mifos-developer
Subject:    Re: [Mifos-developer] Wamarafiki Server.xml
From:       Keith Woodlock <keithwoodlock () openmf ! org>
Date:       2013-09-26 11:22:00
Message-ID: CAAm7MD5_VPDHGT_ys_79Ct2-gHnoti-8fOTQNMSr0BVUEJ9FXw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Dayna,

You have duplicated the configuration - i.e. you are not correctly
commenting out the config at the bottom of the file: Try the following
instead:

<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.JasperListener" />
<Listener
className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
<Listener
className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />

  <GlobalNamingResources>
       <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml"
       />

       <Resource type="javax.sql.DataSource"
            name="jdbc/mifosplatform-tenants"
            factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
            driverClassName="com.mysql.jdbc.Driver"
            url="jdbc:mysql://localhost:3306/mifosplatform-tenants"
            username="root"
            password="mysql"
            initialSize="3"
            maxActive="10"
            maxIdle="6"
            minIdle="3"
            validationQuery="SELECT 1"
            testOnBorrow="true"
            testOnReturn="true"
            testWhileIdle="true"
            timeBetweenEvictionRunsMillis="30000"
            minEvictableIdleTimeMillis="60000"
            logAbandoned="true"
            suspectTimeout="60"
       />
  </GlobalNamingResources>

  <Service name="Catalina">

<Connector protocol="org.apache.coyote.http11.Http11Protocol"
           port="8443" maxThreads="200" scheme="https"
           secure="true" SSLEnabled="true"
           keystoreFile="c:\Users\wama-rafiki"
           keystorePass="rafiki"
           clientAuth="false" sslProtocol="TLS"
           URIEncoding="UTF-8"
           compression="force"

 compressableMimeType="text/html,text/xml,text/plain,text/javascript,text/css"/>

      <Engine name="Catalina" defaultHost="localhost">

      <Realm className="org.apache.catalina.realm.LockOutRealm">
        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
      </Realm>

      <Host name="localhost"  appBase="webapps" unpackWARs="true"
autoDeploy="true">

          <Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs"
               prefix="localhost_access_log." suffix=".log"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />
      </Host>
    </Engine>
  </Service>
</Server>


On Thu, Sep 26, 2013 at 12:02 PM, Micro Finance <dharp@harpmfb.com> wrote:

> Please see attached xml file.  Thanks!!
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
> Mifos-developer mailing list
> mifos-developer@lists.sourceforge.net
> Unsubscribe or change settings at:
> https://lists.sourceforge.net/lists/listinfo/mifos-developer
>



-- 
regards,
Keith Woodlock

"Mifos X" Project Lead Developer/Architect,
Dublin, Ireland.
Skype: keith.woodlock
IRC: keithw_ire

[Attachment #5 (text/html)]

<div dir="ltr">Dayna,<div><br></div><div>You have duplicated the configuration - i.e. \
you are not correctly commenting out the config at the bottom of the file: Try the \
following instead:</div><div><br></div><div><div>&lt;?xml version=&#39;1.0&#39; \
encoding=&#39;utf-8&#39;?&gt;</div> <div>&lt;Server port=&quot;8005&quot; \
shutdown=&quot;SHUTDOWN&quot;&gt;</div><div>&lt;Listener \
className=&quot;org.apache.catalina.core.JasperListener&quot; \
/&gt;</div><div>&lt;Listener \
className=&quot;org.apache.catalina.core.JreMemoryLeakPreventionListener&quot; \
/&gt;</div> <div>&lt;Listener \
className=&quot;org.apache.catalina.mbeans.GlobalResourcesLifecycleListener&quot; \
/&gt;</div><div>&lt;Listener \
className=&quot;org.apache.catalina.core.ThreadLocalLeakPreventionListener&quot; \
/&gt;</div> <div><br></div><div>  &lt;GlobalNamingResources&gt;</div><div>       \
&lt;Resource name=&quot;UserDatabase&quot; auth=&quot;Container&quot;</div><div>      \
type=&quot;org.apache.catalina.UserDatabase&quot;</div><div>  description=&quot;User \
database that can be updated and saved&quot;</div><div>              \
factory=&quot;org.apache.catalina.users.MemoryUserDatabaseFactory&quot;</div><div>    \
pathname=&quot;conf/tomcat-users.xml&quot;</div> <div>       \
/&gt;</div><div><br></div><div>       &lt;Resource \
type=&quot;javax.sql.DataSource&quot;</div><div>            \
name=&quot;jdbc/mifosplatform-tenants&quot;</div><div>            \
factory=&quot;org.apache.tomcat.jdbc.pool.DataSourceFactory&quot;</div> <div>         \
driverClassName=&quot;com.mysql.jdbc.Driver&quot;</div><div>            \
url=&quot;jdbc:mysql://localhost:3306/mifosplatform-tenants&quot;</div><div>          \
username=&quot;root&quot;</div><div>            password=&quot;mysql&quot;</div> \
<div>            initialSize=&quot;3&quot;</div><div>            \
maxActive=&quot;10&quot;</div><div>            maxIdle=&quot;6&quot;</div><div>       \
minIdle=&quot;3&quot;</div><div>            validationQuery=&quot;SELECT \
1&quot;</div> <div>            testOnBorrow=&quot;true&quot;</div><div>            \
testOnReturn=&quot;true&quot;</div><div>            \
testWhileIdle=&quot;true&quot;</div><div>            \
timeBetweenEvictionRunsMillis=&quot;30000&quot;</div> <div>            \
minEvictableIdleTimeMillis=&quot;60000&quot;</div><div>            \
logAbandoned=&quot;true&quot;</div><div>            \
suspectTimeout=&quot;60&quot;</div><div>       /&gt;</div><div>  \
&lt;/GlobalNamingResources&gt;</div> <div><br></div><div>  &lt;Service \
name=&quot;Catalina&quot;&gt;</div><div><br></div><div>&lt;Connector \
protocol=&quot;org.apache.coyote.http11.Http11Protocol&quot;</div><div>           \
port=&quot;8443&quot; maxThreads=&quot;200&quot; scheme=&quot;https&quot;</div> <div> \
secure=&quot;true&quot; SSLEnabled=&quot;true&quot;</div><div>           \
keystoreFile=&quot;c:\Users\wama-rafiki&quot;</div><div>           \
keystorePass=&quot;rafiki&quot;</div><div>           clientAuth=&quot;false&quot; \
sslProtocol=&quot;TLS&quot;</div> <div>           \
URIEncoding=&quot;UTF-8&quot;</div><div>           \
compression=&quot;force&quot;</div><div>           \
compressableMimeType=&quot;text/html,text/xml,text/plain,text/javascript,text/css&quot;/&gt;</div><div>
 <br></div><div>      &lt;Engine name=&quot;Catalina&quot; \
defaultHost=&quot;localhost&quot;&gt;</div><div><br></div><div>      &lt;Realm \
className=&quot;org.apache.catalina.realm.LockOutRealm&quot;&gt;</div><div>        \
&lt;Realm className=&quot;org.apache.catalina.realm.UserDatabaseRealm&quot; \
resourceName=&quot;UserDatabase&quot;/&gt;</div> <div>      \
&lt;/Realm&gt;</div><div><br></div><div>      &lt;Host name=&quot;localhost&quot;  \
appBase=&quot;webapps&quot; unpackWARs=&quot;true&quot; \
autoDeploy=&quot;true&quot;&gt;</div><div><br></div><div>          &lt;Valve \
className=&quot;org.apache.catalina.valves.AccessLogValve&quot; \
directory=&quot;logs&quot;</div> <div>               \
prefix=&quot;localhost_access_log.&quot; suffix=&quot;.log&quot;</div><div>           \
pattern=&quot;%h %l %u %t &amp;quot;%r&amp;quot; %s %b&quot; /&gt;</div><div>      \
&lt;/Host&gt;</div><div>    &lt;/Engine&gt;</div> <div>  \
&lt;/Service&gt;</div><div>&lt;/Server&gt;</div></div></div><div \
class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 26, 2013 at 12:02 \
PM, Micro Finance <span dir="ltr">&lt;<a href="mailto:dharp@harpmfb.com" \
target="_blank">dharp@harpmfb.com</a>&gt;</span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Please see attached xml file.  Thanks!!<br> <br>
<br>------------------------------------------------------------------------------<br>
 October Webinars: Code for Performance<br>
Free Intel webinars can help you accelerate application performance.<br>
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from<br>
the latest Intel processors and coprocessors. See abstracts and register &gt;<br>
<a href="http://pubads.g.doubleclick.net/gampad/clk?id=60133471&amp;iu=/4140/ostg.clktrk" \
target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=60133471&amp;iu=/4140/ostg.clktrk</a><br>Mifos-developer \
mailing list<br>

<a href="mailto:mifos-developer@lists.sourceforge.net">mifos-developer@lists.sourceforge.net</a><br>
 Unsubscribe or change settings at:<br>
<a href="https://lists.sourceforge.net/lists/listinfo/mifos-developer" \
target="_blank">https://lists.sourceforge.net/lists/listinfo/mifos-developer</a><br></blockquote></div><br><br \
clear="all"><div><br></div>-- <br><div dir="ltr"> \
<div><div><div><div><div>regards,<br></div>Keith Woodlock<br><br></div>&quot;Mifos \
X&quot; Project Lead Developer/Architect,<br></div>Dublin, Ireland.<br></div>Skype: \
keith.woodlock<br></div>IRC: keithw_ire<br></div> </div>



------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk

Mifos-developer mailing list
mifos-developer@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic