Re: Multiprocess-ZK- Inside a docker container(linux)

2019-10-09 Thread Priya Arora
Yes , it is same, checked again
[image: image.png]

On Wed, Oct 9, 2019 at 8:06 PM Karl Wright  wrote:

> JAVA_HOME should point to the jdk root, not to the bin/java directory.
> Karl
>
> On Wed, Oct 9, 2019 at 10:32 AM Priya Arora  wrote:
>
>> Yes JAVA_HOME , has been set as usr/local/openjdk-8/bin/java, as the
>> docker image of Java is based on openjdk
>>
>>
>> > On 09-Oct-2019, at 7:57 PM, Karl Wright  wrote:
>> >
>>
>


Re: Multiprocess-ZK- Inside a docker container(linux)

2019-10-09 Thread Karl Wright
JAVA_HOME should point to the jdk root, not to the bin/java directory.
Karl

On Wed, Oct 9, 2019 at 10:32 AM Priya Arora  wrote:

> Yes JAVA_HOME , has been set as usr/local/openjdk-8/bin/java, as the
> docker image of Java is based on openjdk
>
>
> > On 09-Oct-2019, at 7:57 PM, Karl Wright  wrote:
> >
>


Re: Multiprocess-ZK- Inside a docker container(linux)

2019-10-09 Thread Priya Arora
Yes JAVA_HOME , has been set as usr/local/openjdk-8/bin/java, as the docker 
image of Java is based on openjdk


> On 09-Oct-2019, at 7:57 PM, Karl Wright  wrote:
> 


Re: Multiprocess-ZK- Inside a docker container(linux)

2019-10-09 Thread Karl Wright
Do you have JAVA_HOME set?
Karl


On Wed, Oct 9, 2019 at 5:01 AM Priya Arora  wrote:

> Hi All,,
>
> Getting this below error while accessing run zookeeper file  to run multi
> process zookeeper process inside docker comnatiner
>
> root@67d5fbd824c4:/usr/share/manifoldcf/multiprocess-zk-example# sh
> runzookeeper.sh
> runzookeeper.sh: 18: runzookeeper.sh: [[: not found
> executecommand.sh: 18: executecommand.sh: [[: not found
>
> Can somebody suggest why am i getting this error.
>
> Thanks
> Priya
>
> On Wed, Oct 9, 2019 at 1:58 PM Priya Arora  wrote:
>
> > Hi All,
> >
> > Any suggestions would be really helpful.
> >
> > Thanks and regards
> > Priya
> >
> > On Thu, Oct 3, 2019 at 10:33 AM Priya Arora  wrote:
> >
> >> Hi Cihad,
> >>
> >> *Do you run all scripts in only one docker container or multiple*?- I
> >> have tried with the approach of creating one sh file(which includes
> call to
> >> all other required sh files to start multiprocess)
> >> *I think these scripts should run in separate containers.  :-*Does
> >> that mean to have 6 different container's for all 6 sh files.
> >>
> >> * I recommend to use mysql or postgresql instead of
> >> start-database[.sh|.bat]* :- I am using postgres as database, and
> >> defined configuration settings in properties-global.xml, so will the
> >> database starts from this file and do need to start start-database.sh
> file.
> >>
> >> *Some docker related config settings are as below:-*
> >>
> >> RUN wget
> >>
> http://apache.mirror.rafal.ca/manifoldcf/apache-manifoldcf-${MANIFOLDCF_VERSION}/apache-manifoldcf-${MANIFOLDCF_VERSION}-bin.tar.gz
> >> && \
> >> wget
> >>
> https://maven.forgerock.org/repo/repo/eu/agno3/jcifs/jcifs-ng/${CIFS_VERSION}/jcifs-ng-${CIFS_VERSION}.jar
> >> && \
> >> tar -xzvf apache-manifoldcf-${MANIFOLDCF_VERSION}-bin.tar.gz && \
> >> cp -R apache-manifoldcf-${MANIFOLDCF_VERSION} /usr/share/manifoldcf
> >> && \
> >> cp jcifs-ng-${CIFS_VERSION}.jar
> >> /usr/share/manifoldcf/connector-lib-proprietary
> >>
> >> EXPOSE 8345
> >>
> >> WORKDIR /usr/share/manifoldcf/multiprocess-zk-example
> >> COPY config/mf/multiprocess/sh.sh
> >> /usr/share/manifoldcf/multiprocess-zk-example
> >>
> >> CMD [config/mf/multiprocess/sh.sh start]
> >> ,
> >> *sh.sh :- is file that includes all  other file to call.*
> >> #!/bin/bash
> >> sh /usr/share/manifoldcf/multiprocess-zk-example/runzookeeper.sh
> >> sh /usr/share/manifoldcf/multiprocess-zk-example/setglobalproperties.sh
> >> sh /usr/share/manifoldcf/multiprocess-zk-example/start-database.sh
> >> sh /usr/share/manifoldcf/multiprocess-zk-example/initialize.sh
> >> sh /usr/share/manifoldcf/multiprocess-zk-example/start-agents.sh
> >> sh /usr/share/manifoldcf/multiprocess-zk-example/start-agents-2.sh
> >> sh /usr/share/manifoldcf/multiprocess-zk-example/start-webapps.sh
> >>
> >>
> >> Any suggestion would be really helpful.
> >>
> >> Thanks and regards
> >> Priya
> >>
> >> On Tue, Oct 1, 2019 at 7:25 PM Cihad Guzel  wrote:
> >>
> >>> Hi Priya,
> >>>
> >>> Do you run all scripts in only one docker container or multiple? How do
> >>> you
> >>> use it? I think these scripts should run in separate containers.
> >>>
> >>> There is not a single command to run multiprocess-zk-example. Maybe you
> >>> can
> >>> run manifoldcf in a single process example. I recommend to use mysql or
> >>> postgresql instead of start-database[.sh|.bat]  if you want to use on
> >>> production environment.
> >>>
> >>> Your container restart problem is related that your scripts in the
> >>> container is terminated. If the script is terminated, the docker
> >>> container
> >>> is stopped and it can start again. Please check your Dockerfile, docker
> >>> run
> >>> command and the runnable script in the container.
> >>>
> >>> You should give more details about that your scripts and Dockerfile for
> >>> more comments.
> >>>
> >>> Kind Regards,
> >>> Cihad Guzel
> >>>
> >>> Priya Arora , 1 Eki 2019 Sal, 15:10 tarihinde
> şunu
> >>> yazdı:
> >>>
> >>> > Hi All,
> >>> >
> >>> > I am trying to run multi-process zookeeper process inside a docker
> >>> > container.
> >>> > Do we need to follow all steps to run multi process:-
> >>> >
> >>> >1.  *runzookeeper[.sh|.bat]* script)
> >>> >2.  *setglobalproperties[.sh|.bat]*)
> >>> >3. *start-database[.sh|.bat]*)
> >>> >4.  *initialize[.sh|.bat]*)
> >>> >5.  *start-agents[.sh|.bat]*, and optionally
> >>> *start-agents-2[.sh|.bat]*)
> >>> >6. *start-webapps[.sh|.bat]*)
> >>> >
> >>> > Is there any single command to run multi process ,as inside
> dockerfile
> >>> we
> >>> > can configure one command to start up.
> >>> > I have tried the approach to create a single sh/jar file that is
> >>> calling
> >>> > all the required(mentioned above) sh files. but its getting the
> >>> conatiner
> >>> > in restart mode.(every 1,2 minutes)
> >>> > Has any body tried the approach to configure multi process
> environment
> >>> > inside docker container.
> >>> >
> >>> > Also i manually 

Re: Error in creating authority connection with Active Directory

2019-10-09 Thread Karl Wright
Hi,
Please first of all subscribe to this list if you are going to post here.
Otherwise I have to moderate your posts into it.
Second, the users list might be a better choice.  But first, you'll need to
provide more information, such as:

(1) Providing the information from the connection view page, so we can see
your configuration and the connection status;
(2) Describing anything at all unique about the Active Directory setup.

Thanks,
Karl


On Wed, Oct 9, 2019 at 7:15 AM muthukumar r 
wrote:

> We are trying to use authority service in ManifoldCF to connect to Active
> directory to get the user tokens but We are getting dead authority error.
> Kindly help me to resolve the issue.
>


Error in creating authority connection with Active Directory

2019-10-09 Thread muthukumar r
We are trying to use authority service in ManifoldCF to connect to Active 
directory to get the user tokens but We are getting dead authority error. 
Kindly help me to resolve the issue.


unable to create authority connection with active directory

2019-10-09 Thread muthukumar r
We are trying to use authority service in ManifoldCF to connect to Active 
directory to get the user tokens but We are getting dead authority error. 
Kindly help me to resolve the issue