Giter VIP home page Giter VIP logo

dawdler-runtime's Introduction

dawdler-runtime

dawdler运行环境

zookeeper

zookeeper直接启动即可,进入bin目录,执行 sh zkServer.sh start 启动zookeeper.

dawdler-server

dawdler服务器结构说明

    bin 存放dawdler启动的jar包与脚本.

    conf dawdler的配置信息,server-conf是服务器配置,datasources数据源配置.

    deploys 部署dawdler的项目,这与tomcat的webapps相似,更像jboss/WildFly的deploy的概念.每个目录的资源是独立使用的,包括类加载器.

    lib 这里面的jar包是所有deploys下面的模块项目通用的,比如mysql驱动,数据库连接池等等相关的jar包,可以放到这里.

    logs 存放日志.

deploys 补充说明: 例如写了一个 user模块,admin模块,以下是deploys的目录结构.

    -deploys
        --user
            ---classes //存放class
            ---lib //存放依赖jar包
        --admin
            ---classes
            ---lib

启动dawdler

进入dawdler的bin目录,通过 sh dawdler.sh run 启动(win环境dawdler.bat linux或mac环境sh dawdler.sh).

运行`sh dawdler.sh`会有以下输出

    commands:
    run               Start dawdler in the current window 在当前窗口启动dawdler

    start             Start dawdler in a separate window 在后台启动dawdler 

    stop              Stop dawdler 停止dawdler(关闭dawdler之前会拒绝所有的请求,同时等待处理完客户端的请求之后停止服务器)

    stopnow           Stop dawdler immediately 立刻停止dawdler,如果客户端有请求为处理完会收到一个强制停止的异常

dawdler-runtime's People

Contributors

srchen1987 avatar srchen007 avatar

Stargazers

 avatar  avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

coon33

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.