The 12 Tips of (CommandBox) Christmas - Day 5 - FusionReactor

Read the blog post here:

I have installled the module and requested a trial license. When I start server I got this error:

`

FusionReactor

FusionReactor was unable to start

FusionReactor was unable to lock the fusionreactor.lock file in this instance’s folder

`

Seems a permission problem. I’m on windows. Any thoughts on how to solve?

What version of CommandBox are you on? Can you try the 3.5 rc. I got this the other day, and I think it was related to the folder path or something weird. Can you show me the output of “server info --verbose”?

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I’m on 3.4.0

`

“C:\Program Files\Java\jre1.8.0_40\bin\java.exe”
-Xmx512m
-Xms512m
-javaagent:“E:\CommandBox/lib/lucee-inst.jar”
-jar “E:\CommandBox\lib\runwar-3.3.3.jar”
-war “E:\ColdfusionBuilder\MyApp\TropicalSeo”
–background=true
–port 51276
–host 127.0.0.1
–debug false
–stop-port 51718
–processname “TropicalSeo”
–log-dir “E:\CommandBox/server/8DA2ED295311C0EB4E3AB880FFAD9EED-TropicalSeo
/log”
–open-browser true
–open-url http://127.0.0.1:51276
–cfengine-name lucee
–server-name “TropicalSeo”
–lib-dirs “E:\CommandBox/lib”
–tray-icon “E:\CommandBox/lib/trayicon.png”
–tray-config “E:\CommandBox/lib/traymenu.json”
–directoryindex “true”
–cfml-web-config “E:\CommandBox/server/8DA2ED295311C0EB4E3AB880FFAD9EED-Tro
picalSeo”
–cfml-server-config “E:\CommandBox/engine/cfml/server/”
–urlrewrite-enable true
–urlrewrite-file “E:\CommandBox\cfml\system\config\urlrewrite.xml”

`

I don’t see the java agent for FusionReactor in that list anywhere. Do you still have the module installed?

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Yes the module is installed

Start the server with –debug and paste the full console output here. Something’s not making since because if the module was installed, there should be a javaagent showing in the JVM args. If there’s no Java agent, then it should be impossible for you to get the error you said you are getting.

I’m using the fusion reactor module right now and it’s working great. Did you try the CommandBox 3.5 rc?

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

This is the debug output:

`

Looking for server JSON file by convention: E:\ColdfusionBuilder\MyApp\TropicalS
eo/server.json
webroot defaulted to location of server’s JSON file: E:\ColdfusionBuilder\MyApp
TropicalSeo
start server in - E:\ColdfusionBuilder\MyApp\TropicalSeo
server name - TropicalSeo
server config file - E:\ColdfusionBuilder\MyApp\TropicalSeo/server.json

OK, this is more what I expected:

-javaagent:“E:\CommandBox/server/8DA2ED295311C0EB4E3AB880FFAD9EED-TropicalSeo/lucee-4.5.3.020/fusionreactor/fusionreactor.jar=name=TropicalSeo,address=49621”

So, not sure why that isn’t working. Can you poke in the E:\CommandBox/server/8DA2ED295311C0EB4E3AB880FFAD9EED-TropicalSeo/lucee-4.5.3.020/fusionreactor/ folder and see if FusionReactor created files and folders in there or if it’s just the jar file?

If you run “server log” do you see a section similar to this? I’m still trying to figure out of FR is even loading or not.

INFO Fusionreactor: --------------------------------------------------------------------------------------
INFO Fusionreactor: FusionReactor - Copyright © Intergral GmbH. All Rights Reserved
INFO Fusionreactor: Revision: 6.2.5 fusionreactor.99.62094.branches/FR-6.2.x-MAINT
INFO Fusionreactor: Date : Fri, 4 Nov 2016 19:27:00 GMT
INFO Fusionreactor: Java : 1.8.0_25 [25.25-b02] Oracle Corporation (64 bit)
INFO Fusionreactor: OS : Windows 7 [6.1] amd64
INFO Fusionreactor: --------------------------------------------------------------------------------------

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

I’ve just installed 3.5rc and now it works great!!!

Excellent and thanks for the report. I made a small change to the module for it to work on 3.5 so I’ll go back and do some testing with 3.4 and see why that isn’t working any longer.

Thanks!

~Brad

ColdBox/CommandBox Developer Advocate
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com