Hi Jasvinder,

Once you have configured Postgresql as the database, there is no need to
start HSQLDB.  However, you *DO* need to do the initialize step, because
that creates the basic users, workspaces, and tables that ManifoldCF needs.

Karl


On Wed, Dec 19, 2018 at 8:37 AM Singh,Jasvinder <[email protected]>
wrote:

> Thanks Karl – My confusion started after I ran the Successfully ran Zookeeper
> multiprocessor example
>
>
>
> The point that is not clear is after I make database changes to use
> Postgre.sql – do I still need to run below 2 steps as in Example they are
> mentioned as step3 and step 4 ?
>
> I have the confusion because step 3 says it’s for *script to start the
> HSQLDB database and now I have configured the files to use PostGre*
>
> *3.*    *Start the database (using start-database[.sh|.bat])*
>
> *4.*    *Initialize the database (using initialize[.sh|.bat])*
>
>
>
>
>
> *From:* Karl Wright [mailto:[email protected]]
> *Sent:* Wednesday, December 19, 2018 4:53 PM
> *To:* Singh,Jasvinder
> *Cc:* dev
> *Subject:* Re: Steps to follow post PostgreSQL configuration for
> Zookeeper example
>
>
>
> Hi Jasvinder,
>
>
>
> The way to start with the Zookeeper configuration is to start with the
> Zookeeper multiprocess example (example-zk-multiprocess).  In that
> directory you will find all the scripts and configuration files needed to
> run the example as described.  I suggest that you try that example first AS
> IS, so that you understand all the parts -- database, application server,
> zookeeper, and agents service.  Once you do that (and I assure you that the
> example works if you follow the instructions), you can start making
> changes.  The first change might be to change the database configuration.
> Then test that.  Next, deploy the web applications on tomcat rather than
> jetty, and test that.  One thing at a time.
>
>
>
> Karl
>
>
>
>
>
> On Wed, Dec 19, 2018 at 3:42 AM Singh,Jasvinder <
> [email protected]> wrote:
>
> Karl – I need help to understand step -  I am using recommended *Running
> multiprocess ZooKeeper example using Tomcat *step – and have configured
> my properties-global.xml file to use PostgreSQL – as it was already
> having
>
> <property name="org.apache.manifoldcf.databaseimplementationclass"
> value="org.apache.manifoldcf.core.database.DBInterfaceHSQLDB"/>
>
>
>
> I replaced with Postgre setting along with other settings needed in this
> file.(see attached file)
>
>
>
> Now I am confused with documented steps – in yellow below – to
> start-database.bat (It is written to start hsqldb) – Not sure if we need to
> run the start-batabase.bat and initialize.bat when we
>
> Are  using Postgre as our selected database
>
>
>
>
>
> *Documentation Extract..*
>
>
>
> *start-database[.sh|.bat]*
>
> *script to start the HSQLDB database*
>
> *initialize[.sh|.bat]*
>
> *script to create the database instance, create all database tables, and
> register connectors*
>
>
>
> *Running multiprocess ZooKeeper example using Tomcat*
>
> *In order to run the ManifoldCF ZooKeeper example under Tomcat, you will
> need to take the following steps:*
>
> *1.*    *Start ZooKeeper (using the runzookeeper[.sh|.bat] script)*
>
> *2.*    *Initialize the ManifoldCF shared configuration data
> (using setglobalproperties[.sh|.bat])*
>
> *3.*    *Start the database (using start-database[.sh|.bat])*
>
> *4.*    *Initialize the database (using initialize[.sh|.bat])*
>
> *5.*    *Start the agents process (using start-agents[.sh|.bat], and
> optionally start-agents-2[.sh|.bat])*
>
> *6.*    *Modify the Tomcat startup script, or use the Tomcat service
> administration client, to set a Java "-Dorg.apache.manifoldcf.configfile"
> switch to point to the example's properties.xml file.*
>
> *7.*    *Start Tomcat.*
>
> *8.*    *Deploy and start the mcf-crawler-ui, mcf-authority-service, and
> mcf-api-service web applications, preferably using the Tomcat
> administration client.*
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
>
> CEB is now Gartner. Learn more.
> <https://www.gartner.com/technology/about/ceb-acquisition.jsp>
> CEB India Private Ltd. Registration No: U741040HR2004PTC035324. Registered
> office: 6th Floor, Tower-B, Building No.10, DLF Cyber City, Gurgaon 122002,
> Haryana India If you are not the intended recipient or have received this
> message in error, please notify the sender and permanently delete this
> message and any attachments.
>
>

Reply via email to