GithubHelp home page GithubHelp logo

click2sync / rc-win-srv-wrapper Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 136 KB

Click2Sync Windows Service Wrapper for Java Implementations with WinRun4J

Home Page: https://www.click2sync.com

License: MIT License

Batchfile 89.74% PowerShell 10.26%
winrun4j windows service java reverseconnector wrapper eggshell click2sync

rc-win-srv-wrapper's Introduction

rc-win-srv-wrapper

Click2Sync Windows Service Wrapper for Java Implementations with WinRun4J

Requirements

  1. Windows 32/64-bit
  2. Java 32/64-bit
  3. Download org.boris.winrun4j classes
  4. Include them in your Java project
  5. Inherit from AbstractService like the ServiceTest test of https://github.com/poidasmith/winrun4j/blob/master/org.boris.winrun4j.test/java/src/org/boris/winrun4j/test/ServiceTest.java
  6. Swap file names of C2SRCSVC.exe to C2SRCSVC_32.exe and C2SRCSVC_64.exe to C2SRCSVC.exe if you want to work with 64 Java

Install

  1. Copy folder to C:\ or to Program Files
  2. installservice.bat
  3. Configure Task scheduler to execute logrotate command every day
  4. Configure Task scheduler to execute "net start c2ssb1srvc" and execute it everytime you consider appropriate

Uninstall

  1. uninstallservice.bat
  2. remove scheduled task for logrotation
  3. Remove Folder C:\installationfolder or Program Files\installationfolder

Validate if running correctly / Debug

  1. check logs folder if last file is changed frequently (it should change at least every minute)
  2. if logrotation is working ok, logs should never be bigger than 6 log files and no bigger than a GB, if anything is not working like this, we have logrotation bad configured

Configuration

  1. config.properties for Java integration parameters (if changing properties, service needs to be restarted)
  2. C2SRCSVC.ini for changing Java Path, dlls paths, Windows Service Configurations, log paths, etc. (if changing properties, service needs to be restarted)

rc-win-srv-wrapper's People

Contributors

clicktosync avatar neshte avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

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.