manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wright <daddy...@gmail.com>
Subject Re: Need to create a stop-webapps.sh
Date Thu, 21 May 2015 14:16:07 GMT
Hi Deanna,

The "scary" messages are not scary at all; Zookeeper is very noisy and all
the "errors" you are seeing are in fact INFO messages.  So you are good.

Karl


On Thu, May 21, 2015 at 10:08 AM, Delapasse, Deanna <
ddelapasse@oceaneering.com> wrote:

> Ok...trying to be a good citizen so I switched to the zookeeper model
> (though the thought of including another product that I don't understand
> kind of terrifies me).   Recreated my postgres db and ran through the steps
> for running tomcat and YES!  My permissions issue is gone and tomcat works
> now.  The scan seemed to work great (good stuff in Elasticsearch & mcf log)
> BUT, the linux window where I started zookeeper is streaming some scary
> errors which I have pasted below.
>
> Maybe I missed something?  My steps:
> 1) Deleted postgresql db & stopped everything mcf-related
> 2) Ran ./lock-clean.sh
> 3) Ran ./setglobalproperties.sh
> 4) Ran ./initialize.sh to recreate db
> 5) Ran ./start-agents.sh
> 6) deployed 3 mcf*.xml files into tomcat7/conf/Catalina/localhost and
> restarted tomcat w/ -D param pointing to properties.xml
>
> Did I miss anything?  Any guess on these errors?  They are just appearing
> to stdout - not in manifoldcf.log
>
> Thanks so much!  This product will fill a giant void for us
> (alfresco->elasticsearch) if I can get it reliably working.
>
> Deanna
>
> *Errors from stdout in zookeeper window:*
> [root@oss-edi-dev multiprocess-zk-example]# [ProcessThread(sid:0
> cport:-1):] INFO org.apache.zookeeper.server.PrepRequestProcessor - Got
> user-level KeeperException when processing sessionid:0x14d76932ca40003
> type:setData cxid:0x1d44 zxid:0x808c txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf/resources-_REPR_TRACKER_PID_
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf/resources-_REPR_TRACKER_PID_
> [ProcessThread(sid:0 cport:-1):] INFO
> org.apache.zookeeper.server.PrepRequestProcessor - Got user-level
> KeeperException when processing sessionid:0x14d76932ca40003 type:setData
> cxid:0x1d46 zxid:0x808e txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf/resources-_REPR_TRACKER_RID_
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf/resources-_REPR_TRACKER_RID_
> [ProcessThread(sid:0 cport:-1):] INFO
> org.apache.zookeeper.server.PrepRequestProcessor - Got user-level
> KeeperException when processing sessionid:0x14d76932ca4000a type:create
> cxid:0x4d8 zxid:0x81ea txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf.locks-statslock-reindex-hopdeletedeps
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf.locks-statslock-reindex-hopdeletedeps
> [ProcessThread(sid:0 cport:-1):] INFO
> org.apache.zookeeper.server.PrepRequestProcessor - Got user-level
> KeeperException when processing sessionid:0x14d76932ca40044 type:setData
> cxid:0x2677 zxid:0x81ee txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf/resources-stats-reindex-hopdeletedeps
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf/resources-stats-reindex-hopdeletedeps
> [ProcessThread(sid:0 cport:-1):] INFO
> org.apache.zookeeper.server.PrepRequestProcessor - Got user-level
> KeeperException when processing sessionid:0x14d76932ca4000a type:create
> cxid:0x4fb zxid:0x823e txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf.locks-statslock-reindex-carrydown
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf.locks-statslock-reindex-carrydown
> [ProcessThread(sid:0 cport:-1):] INFO
> org.apache.zookeeper.server.PrepRequestProcessor - Got user-level
> KeeperException when processing sessionid:0x14d76932ca40044 type:setData
> cxid:0x26ad zxid:0x8241 txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf/resources-stats-reindex-carrydown
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf/resources-stats-reindex-carrydown
> [ProcessThread(sid:0 cport:-1):] INFO
> org.apache.zookeeper.server.PrepRequestProcessor - Got user-level
> KeeperException when processing sessionid:0x14d76932ca4000a type:create
> cxid:0x500 zxid:0x8245 txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf.locks-statslock-analyze-carrydown
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf.locks-statslock-analyze-carrydown
> [ProcessThread(sid:0 cport:-1):] INFO
> org.apache.zookeeper.server.PrepRequestProcessor - Got user-level
> KeeperException when processing sessionid:0x14d76932ca40044 type:setData
> cxid:0x26b0 zxid:0x8248 txntype:-1 reqpath:n/a Error
> Path:/org.apache.manifoldcf/resources-stats-analyze-carrydown
> Error:KeeperErrorCode = NoNode for
> /org.apache.manifoldcf/resources-stats-analyze-carrydown
>
>
>
> On Wed, May 20, 2015 at 8:23 PM, Karl Wright <daddywri@gmail.com> wrote:
>
>> Hi Deanna,
>>
>> First of all, file-based synchronization is deprecated at this point, so
>> we'd much prefer you use zookeeper.  If you are using file-based synch,
>> getting tomcat working is very hard because *all* mcf processes need to be
>> running as the same user.  With zookeeper that is not necessary.
>>
>> As for a stop-webapps script -- the jetty script is only provided for
>> convenience and demonstration, not production.
>>
>> Karl
>>
>>
>> On Wed, May 20, 2015 at 9:07 PM, Delapasse, Deanna <
>> ddelapasse@oceaneering.com> wrote:
>>
>>> Running the multiprocess-file-example is there anyway to get the pid of
>>> the jetty process so I can add a stop script?  Need to add an /etc/init.d
>>> stop script, but start-webapps.sh is calling some java which I guess is
>>> starting up Jetty.
>>>
>>> I tried to make tomcat work, but am giving up and want to stay with
>>> jetty for the near term (I did replace HSQLDB with PostgreSQL).
>>>
>>> thanks!
>>> Deanna
>>>
>>>
>>>
>>
>

Mime
View raw message