Git Product home page Git Product logo

commandbox-fusionreactor's Introduction

Master Branch Build Status

This module adds support to enable FusionReactor on the servers you start inside CommandBox.

For full docs on this module, go here:

https://commandbox.ortusbooks.com/embedded-server/fusionreactor

For an overview of common settings and usage, read below.

Installation

Install the module like so:

install commandbox-fusionreactor

Configuration

This will automatically add the JVM args into any server you start using the server start command.

Add your FusionReactor license like so:

fusionreactor register "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

You can get a FusionReactor trial, or if you need to purchase a license, visit here: https://www.ortussolutions.com/products/fusion-reactor

Usage

FusionReactor will choose a random, unused port to bind to. Check the console when starting the server to see what it is.

You can open the FusionReactor web admin by running the following command:

fusionreactor open

Additional Configuration

For full docs on this module, go here:

https://commandbox.ortusbooks.com/embedded-server/fusionreactor

commandbox-fusionreactor's People

Contributors

bdw429s avatar bferdinandus avatar elpete avatar iknowkungfoo avatar mbandizzle avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

commandbox-fusionreactor's Issues

uninstall commandbox-fusionreactor no longer seems to work

When installing commandbox-fusionreactor everything works fine, but uninstall doesnt appear to work any more.

cd ~/coldbox/
install commandbox-fusionreactor
box install
server start
-- has FR running as expected
server stop
uninstall commandbox-fusionreactor --system
uninstall commandbox-fusionreactor
server start
-- still has FR running

You must restart commadbox for the uninstall to work now. Is there anything that can be done to make commandbox know that we uninstall this module or do you have to restart commandbox is you uninstall any module?

Can't launch server on M1 Mac (arm64)

Hi, Brad!

I'm using the Docker image ortussolutions/commandbox:lucee5-3.4.4. My Dockerfile contains: RUN box install commandbox-fusionreactor.

When starting the container, I get the following output:

INFO: Starting server using generated script: /usr/local/bin/startup.sh
Error occurred during initialization of VM
Could not find agent library /usr/local/lib/serverHome//fusionreactor/libfrjvmti_x64.so in absolute path, with error: > /usr/local/lib/serverHome//fusionreactor/libfrjvmti_x64.so: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
exited with code 1

As an attempted workaround, I've tried downloading the arm64 build of FusionReactor with:

RUN curl -s --create-dirs https://download.fusionreactor.io/FR/Latest/libfrjvmti_aarch64.so -o /usr/local/lib/serverHome/fusionreactor/libfrjvmti_aarch64.so

and then setting jvm.args in my server.json to:
"-javaagent:/usr/local/lib/serverHome/fusionreactor/libfrjvmti_aarch64.so"

But I still get the same error message. I believe that it's possible to supply multiple javaagent args so even if I'm adding the right one successfully, the wrong one is still present as well.

I think this needs to be fixed somewhere in ModuleConfig.cfc, but I haven't dug into it yet.

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.