Git Product home page Git Product logo

how-to-launch-wildfly-9.0-with-aspectj-1.8-ltw's Introduction

Environment requirement

Run with Eclipse

Modify VM arguments

  • replace this line
    -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager,com.manageengine
  • append this line -javaagent:${ASPECTJ_HOME}/lib/aspectjweaver.jar -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Xbootclasspath/p:${WILDFLY_HOME}/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.0.Final.jar

Hint: This configuration require fill absolute path, in my case:
${ASPECTJ_HOME} is /Users/LD-Mac/aspectj1.8
${WILDFLY_HOME} is /Users/LD-Mac/wildfly-9.0.0.Final

open launch configuration


Run with CLI

Modify ${WILDFLY_HOME}/bin/standalone.conf

  • find if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
    replace below code after that
    JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,org.jboss.logmanager,com.manageengine"
  • find if [ "x$JAVA_OPTS" = "x" ]; then
    add below three line code after that
    JAVA_OPTS="$JAVA_OPTS -Xbootclasspath/p:$JBOSS_HOME/modules/system/layers/base/org/jboss/logmanager/main/jboss-logmanager-2.0.0.Final.jar"
    JAVA_OPTS="$JAVA_OPTS -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
    JAVA_OPTS="$JAVA_OPTS -javaagent:$ASPECTJ_HOME/lib/aspectjweaver.jar"

Hint: You must config your aspectj home directory to $ASPECTJ_HOME.


Test launch

  1. Launch your Wildfly with upon configuration.
  2. Send a http POST to http://localhost:8080/cms-scheduler/cron/execute with these parameters.
    • workflowTypeName=Helloflow
    • workflowTypeVersion=0.2
    • cronPattern=*/20 * * * * *

    Hint: Recommend use Postman

how-to-launch-wildfly-9.0-with-aspectj-1.8-ltw's People

Contributors

mochaslave avatar robert-abela avatar

Watchers

 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.