zoukankan      html  css  js  c++  java
  • Java Web Services (2)

    ZHAOFLIU-Mac:dev liuzhaofu$ ./start --seed
    #############################################################
    OSSA startup script
    #############################################################
    INFO: .ossa_profile exists. Sourcing from .ossa_profile
    INFO: Product dir - /Users/liuzhaofu/opus-dev/product
    INFO: Node modules dir - /Users/liuzhaofu/opus-dev/product/node/common
    INFO: Node services dir - /Users/liuzhaofu/opus-dev/product/node/services
    INFO: Node connectors dir - /Users/liuzhaofu/opus-dev/product/node/connectors
    INFO: Node Auxilliary dir - /Users/liuzhaofu/opus-dev/product/node/aux
    INFO: Web UI dir - /Users/liuzhaofu/opus-dev/product/web/ui
    WARN: OSSA_WORKING_DIR env variable not defined. Defaulting to <user.home>/ossa-work
    INFO: OSSA working dir(logs, db, etc) - /Users/liuzhaofu/ossa-work
    INFO: Done initialization.

    **********************************************************************************
    INFO: Stopping services...
    #############################################################
    OSSA stop script
    #############################################################
    WARN: No OSSA services running. Nothing to kill.
    INFO: Deleting /Users/liuzhaofu/ossa-work/logs/*
    INFO: Stopping MongoDB. Deleting /Users/liuzhaofu/ossa-work/mongodb
    INFO: MongoDB stopped
    INFO: Stopping NGINX. Deleting /Users/liuzhaofu/ossa-work/nginx
    INFO: Done cleanup.

    **********************************************************************************
    INFO: Starting all services...
    WARN: MongoDB not running. Attempting to start MongoDB...
    curl: (7) Failed to connect to localhost port 9200: Connection refused
    INFO: logstash not running. Nothing to kill.
    INFO: elasticsearch not running. Nothing to kill.
    INFO: kibana not running. Nothing to kill.
    about to fork child process, waiting until server is ready for connections.
    forked process: 675
    child process started successfully, parent exiting
    INFO: MongoDB started successfully
    INFO: Creating nginx.conf file under /Users/liuzhaofu/ossa-work/nginx/config
    WARN: NGINX not running. Attempting to start NGINX...
    nginx: [warn] 1024 worker_connections exceed open file resource limit: 256
    INFO: NGINX started successfully

    **********************************************************************************
    INFO: Skipping ossa node modules initialization as NPM_LINK is not set to true

    **********************************************************************************
    INFO: Setting env variables for node services...

    **********************************************************************************
    INFO: Service ui - starting...
    INFO: Service ui - npm install/update...

    **********************************************************************************
    INFO: Starting node services...
    INFO: throttleOfMicroServiceRunningMax is empty in Global Env (~/.bash_profile), default 6 (processes)

    **********************************************************************************
    INFO: Service action-engine - starting...

    **********************************************************************************
    INFO: Service apigw - starting...

    **********************************************************************************
    INFO: Service connector-store - starting...

    **********************************************************************************
    INFO: Service controller - starting...

    **********************************************************************************
    INFO: Service event-data-store - starting...
    INFO: Service action-engine - npm install/update...
    INFO: Service apigw - npm install/update...

    **********************************************************************************
    INFO: Service ocdl-store - starting...

    **********************************************************************************
     Parallel Throttle: 6 processes have been created. Sleep 12 seconds  
    INFO: Service connector-store - npm install/update...
    INFO: Service controller - npm install/update...
    INFO: Service ocdl-store - npm install/update...
    INFO: Service event-data-store - npm install/update...
    INFO: Service ui - npm update...
    INFO: Service event-data-store - npm update...
    INFO: Service action-engine - npm update...
    INFO: Service connector-store - npm update...
    INFO: Service apigw - npm update...
    INFO: Service controller - npm update...
    INFO: Service ocdl-store - npm update...

    **********************************************************************************
    INFO: Service poller - starting...

    **********************************************************************************
    INFO: Service recipe-catalog-store - starting...

    **********************************************************************************
    INFO: Service recipe-manager - starting...

    **********************************************************************************
    INFO: Service recipe-store - starting...

    **********************************************************************************
    INFO: Service scheduler-store - starting...

    **********************************************************************************
    INFO: Service stats - starting...

    **********************************************************************************
     Parallel Throttle: 12 processes have been created. Sleep 12 seconds  
    INFO: Service recipe-store - npm install/update...
    INFO: Service recipe-catalog-store - npm install/update...
    INFO: Service poller - npm install/update...
    INFO: Service scheduler-store - npm install/update...
    INFO: Service stats - npm install/update...
    INFO: Service recipe-manager - npm install/update...
    INFO: Service recipe-store - npm update...
    INFO: Service scheduler-store - npm update...
    INFO: Service stats - npm update...
    INFO: Service recipe-catalog-store - npm update...
    INFO: Service poller - npm update...
    INFO: Service recipe-manager - npm update...
    INFO: Service ui - npm start...

    **********************************************************************************
    INFO: Service subscription-manager - starting...

    **********************************************************************************
    INFO: Service token-manager - starting...

    **********************************************************************************
    INFO: Service trigger-cache - starting...

    **********************************************************************************
    INFO: Service trigger-engine - starting...

    **********************************************************************************
    INFO: Service trigger-manager - starting...

    **********************************************************************************
    INFO: Service user-manager - starting...

    **********************************************************************************
     Parallel Throttle: 18 processes have been created. Sleep 12 seconds  
    INFO: Service action-engine - npm start...
    INFO: Service subscription-manager - npm install/update...
    INFO: Service token-manager - npm install/update...
    INFO: Service trigger-cache - npm install/update...
    INFO: Service trigger-engine - npm install/update...
    INFO: Service user-manager - npm install/update...
    INFO: Service trigger-manager - npm install/update...
    INFO: Service subscription-manager - npm update...
    INFO: Service token-manager - npm update...
    INFO: Service trigger-cache - npm update...
    INFO: Service trigger-engine - npm update...
    INFO: Service user-manager - npm update...
    INFO: Service trigger-manager - npm update...
    INFO: Service controller - npm start...
    INFO: Service apigw - npm start...

    **********************************************************************************
    INFO: Service usercontext-store - starting...

    **********************************************************************************
    INFO: Starting built-in connectors...

    **********************************************************************************
    INFO: Service email - starting...

    **********************************************************************************
    INFO: Service sms - starting...
    INFO: Waiting for Micro-service action-engine:8565

    **********************************************************************************
    INFO: Service timer - starting...
    INFO: Service usercontext-store - npm install/update...
    INFO: Service sms - npm install/update...
    INFO: Service timer - npm install/update...
    INFO: Service email - npm install/update...
    INFO: Service usercontext-store - npm update...
    INFO: Service timer - npm update...
    INFO: Service sms - npm update...
    INFO: Service email - npm update...
    INFO: Service scheduler-store - npm start...  to start. 0
    INFO: Service stats - npm start...ngine:8565  to start. 6
    INFO: Service poller - npm start...
    INFO: Service recipe-manager - npm start...
    INFO: Service user-manager - npm start...565  to start. 15
    INFO: Service subscription-manager - npm start...
    INFO: Service email - npm start...ngine:8565  to start. 21
    INFO: Service trigger-manager - npm start...
    INFO: Service sms - npm start...-engine:8565  to start. 24
    INFO: Service timer - npm start...
    INFO: Service ocdl-store - npm start...:8565  to start. 36
    INFO: Service event-data-store - npm start...
    INFO: Service connector-store - npm start...
    INFO: Waiting for Micro-service apigw:857765  to start. 42
    INFO: Service recipe-store - npm start...start. 0
    INFO: Service recipe-catalog-store - npm start...
    INFO: Waiting for Micro-service connector-store:8559
    INFO: Service trigger-cache - npm start...
    INFO: Service trigger-engine - npm start...559  to start. 0
    INFO: Service token-manager - npm start...
    INFO: Service usercontext-store - npm start...
    INFO: Waiting for Micro-service controller:8568 to start. 6
    INFO: Waiting for Micro-service event-data-store:8564
    INFO: Waiting for Micro-service ocdl-store:8566
    INFO: Waiting for Micro-service opus-connector:
    INFO: Waiting for Micro-service ossa-pod-manager:8704
    INFO: Waiting for Micro-service poller:8578
    INFO: Waiting for Micro-service recipe-catalog-store:8580
    INFO: Waiting for Micro-service recipe-manager:8581
    INFO: Waiting for Micro-service recipe-store:8553
    INFO: Waiting for Micro-service scheduler-store:8560
    INFO: Waiting for Micro-service stats:8583
    INFO: Waiting for Micro-service subscription-manager:8590
    INFO: Waiting for Micro-service token-manager:8561
    INFO: Waiting for Micro-service trigger-cache:8562
    INFO: Waiting for Micro-service trigger-engine:8571art. 0
    INFO: Waiting for Micro-service trigger-manager:8574
    INFO: Waiting for Micro-service user-manager:8584
    INFO: Waiting for Micro-service usercontext-store:8556

    **********************************************************************************
    INFO: All log files are under /Users/liuzhaofu/ossa-work/logs


    **********************************************************************************
    INFO: Seeding Users, Recipes, Catalogs...
    ('Using ', 'http://localhost:8584/users', 'http://localhost:8581/recipes', 'http://localhost:8556/users', 'http://localhost:8559/connectors', 'http://localhost:8566/ocdls')
    Creating Users
    Users created, creating accounts
    Users accounts created
    Creating Public Catalog, Creating OSSA User
    OSSA User Created, Uploading recipes to public Catalog
    Public catalog created.
    Uploading connectors
    Connectors uploaded
    Uploading Ocdls
    Ocdls uploaded
    INFO: Seeding completed successfully.

  • 相关阅读:
    CSS基础
    数据库优化之SQL Server
    压力测试与系统调优
    JBoss架构分析
    JBoss基本配置
    深入了解硬盘结构
    EJB2与EJB3架构对比
    JBoss高级配置
    病毒分类及病毒命名规则详解
    深入讲解防火墙的概念原理与实现
  • 原文地址:https://www.cnblogs.com/thlzhf/p/5124909.html
Copyright © 2011-2022 走看看