# How to run openboxes in Apache Netbeans?

**URL:** https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554
**Category:** uncategorized
**Created:** [May 19, 2022, 4:04am UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554 "2022-05-19T04:04:19Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 19, 2022, 4:04am UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/1 "2022-05-19T04:04:19Z")

</div>

Hi Openboxes team,

May you share if we are able to debug openboxes in Apache Netbeans?  
In my Mac, already have npm install and also got error Unsupport Engine error.

## Do I need to downgrade my node and npm required by below error message?

“/bin/bash” “-lc” “"/usr/local/bin/npm" "install"”  
npm WARN EBADENGINE Unsupported engine {  
npm WARN EBADENGINE package: ‘openboxes@1.0.0’,  
npm WARN EBADENGINE required: { npm: ‘6.14.6’, node: ‘13.11.0’ },  
npm WARN EBADENGINE current: { node: ‘v15.14.0’, npm: ‘7.7.6’ }  
npm WARN EBADENGINE }

Thanks,  
Mick

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 19, 2022, 4:09am UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/2 "2022-05-19T04:09:36Z")

</div>

Here is my detail error:

========  
npm ERR! code 1  
npm ERR! path /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/node-sass  
npm ERR! command failed  
npm ERR! command sh -c node scripts/build.js  
npm ERR! Building: /usr/local/bin/node /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/node-gyp/bin/node-gyp.js rebuild --verbose --libsass\_ext= --libsass\_cflags= --libsass\_ldflags= --libsass\_library=  
npm ERR! gyp info it worked if it ends with ok  
npm ERR! gyp verb cli [  
npm ERR! gyp verb cli ‘/usr/local/bin/node’,  
npm ERR! gyp verb cli ‘/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/node-gyp/bin/node-gyp.js’,  
npm ERR! gyp verb cli ‘rebuild’,  
npm ERR! gyp verb cli ‘–verbose’,  
npm ERR! gyp verb cli ‘–libsass\_ext=’,  
npm ERR! gyp verb cli ‘–libsass\_cflags=’,  
npm ERR! gyp verb cli ‘–libsass\_ldflags=’,  
npm ERR! gyp verb cli ‘–libsass\_library=’  
npm ERR! gyp verb cli ]  
npm ERR! gyp info using node-gyp@3.8.0  
npm ERR! gyp info using node@15.14.0 | darwin | x64  
npm ERR! gyp verb command rebuild   
npm ERR! gyp verb command clean   
npm ERR! gyp verb clean removing “build” directory  
npm ERR! gyp verb command configure   
npm ERR! gyp verb check python checking for Python executable “python2” in the PATH  
npm ERR! gyp verb `which` failed Error: not found: python2  
npm ERR! gyp verb `which` failed at getNotFoundError (/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:13:12)  
npm ERR! gyp verb `which` failed at F (/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:68:19)  
npm ERR! gyp verb `which` failed at E (/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:80:29)  
npm ERR! gyp verb `which` failed at /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:89:16  
npm ERR! gyp verb `which` failed at /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/isexe/index.js:42:5  
npm ERR! gyp verb `which` failed at /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/isexe/mode.js:8:5  
npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:193:21)  
npm ERR! gyp verb `which` failed python2 Error: not found: python2  
npm ERR! gyp verb `which` failed at getNotFoundError (/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:13:12)  
npm ERR! gyp verb `which` failed at F (/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:68:19)  
npm ERR! gyp verb `which` failed at E (/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:80:29)  
npm ERR! gyp verb `which` failed at /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/which/which.js:89:16  
npm ERR! gyp verb `which` failed at /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/isexe/index.js:42:5  
npm ERR! gyp verb `which` failed at /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/isexe/mode.js:8:5  
npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:193:21) {  
npm ERR! gyp verb `which` failed code: ‘ENOENT’  
npm ERR! gyp verb `which` failed }  
npm ERR! gyp verb check python checking for Python executable “python” in the PATH  
npm ERR! gyp verb `which` succeeded python /Users/macbookpro/opt/anaconda3/bin/python  
npm ERR! gyp ERR! configure error  
npm ERR! gyp ERR! stack Error: Command failed: /Users/macbookpro/opt/anaconda3/bin/python -c import sys; print “%s.%s.%s” % sys.version\_info[:3];  
npm ERR! gyp ERR! stack File “”, line 1  
npm ERR! gyp ERR! stack import sys; print “%s.%s.%s” % sys.version\_info[:3];  
npm ERR! gyp ERR! stack ^  
npm ERR! gyp ERR! stack SyntaxError: invalid syntax  
npm ERR! gyp ERR! stack  
npm ERR! gyp ERR! stack at ChildProcess.exithandler (node:child\_process:326:12)  
npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:369:20)  
npm ERR! gyp ERR! stack at maybeClose (node:internal/child\_process:1067:16)  
npm ERR! gyp ERR! stack at Process.ChildProcess.\_handle.onexit (node:internal/child\_process:301:5)  
npm ERR! gyp ERR! System Darwin 21.5.0  
npm ERR! gyp ERR! command “/usr/local/bin/node” “/Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/node-gyp/bin/node-gyp.js” “rebuild” “–verbose” “–libsass\_ext=” “–libsass\_cflags=” “–libsass\_ldflags=” “–libsass\_library=”  
npm ERR! gyp ERR! cwd /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/node\_modules/node-sass  
npm ERR! gyp ERR! node -v v15.14.0  
npm ERR! gyp ERR! node-gyp -v v3.8.0  
npm ERR! gyp ERR! not ok  
npm ERR! Build failed with error code: 1

# npm ERR! A complete log of this run can be found in: npm ERR! /Users/macbookpro/.npm/\_logs/2022-05-19T03\_55\_48\_731Z-debug.log

Thanks,  
Mick

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 19, 2022, 5:03am UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/3 "2022-05-19T05:03:25Z")

</div>

I’m not an expert with npm / node so I don’t really know, but my assumption is that this is just a warning that you can ignore.

I’m current using the following versions.

```auto
$ node --version
v14.17.5
$ npm --version
6.14.14

```

And for what it’s worth I use NVM ([GitHub - nvm-sh/nvm: Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions](https://github.com/nvm-sh/nvm#installing-and-updating)) to switch between different node / npm versions.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 19, 2022, 5:16am UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/4 "2022-05-19T05:16:52Z")

</div>

As for the more detailed log, I have no idea. It seems like an issue with python 😕 which we don’t use. So that must be a specific node-gyp.

I searched for related issues in GitHub and found the following. Take a look at those and see if there’s anything useful. in there.

> <https://github.com/nodejs/node-gyp/issues/809>
>
> \`\`\`
> ernestscomputer:musicomp ernest son$ npm install
> 
> \> bufferutil@1.2.1 install… /Users/ernest son/Desktop/PROJECTS/musicomp/node\_modules/bufferutil
> \> node-gyp rebuild
> 
> CXX(target) Release/obj.target/bufferutil/src/bufferutil.o
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/include/node'
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/src'
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/uv/include'
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/v8/include'
> make: \*\*\* \[Release/obj.target/bufferutil/src/bufferutil.o\] Error 1
> gyp ERR! build error 
> gyp ERR! stack Error: \`make\` failed with exit code: 2
> gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:270:23)
> gyp ERR! stack at emitTwo (events.js:87:13)
> gyp ERR! stack at ChildProcess.emit (events.js:172:7)
> gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:200:12)
> gyp ERR! System Darwin 14.5.0
> gyp ERR! command "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"
> gyp ERR! cwd /Users/ernest son/Desktop/PROJECTS/musicomp/node\_modules/bufferutil
> gyp ERR! node -v v5.0.0
> gyp ERR! node-gyp -v v3.0.3
> gyp ERR! not ok 
> npm WARN install:bufferutil@1.2.1 bufferutil@1.2.1 install: \`node-gyp rebuild\`
> npm WARN install:bufferutil@1.2.1 Exit status 1
> 
> \> utf-8-validate@1.2.1 install /Users/ernest son/Desktop/PROJECTS/musicomp/node\_modules/utf-8-validate
> \> node-gyp rebuild
> 
> CXX(target) Release/obj.target/validation/src/validation.o
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/include/node'
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/src'
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/uv/include'
> clang: error: no such file or directory: 'son/.node-gyp/5.0.0/deps/v8/include'
> make: \*\*\* \[Release/obj.target/validation/src/validation.o\] Error 1
> gyp ERR! build error 
> gyp ERR! stack Error: \`make\` failed with exit code: 2
> gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/lib/build.js:270:23)
> gyp ERR! stack at emitTwo (events.js:87:13)
> gyp ERR! stack at ChildProcess.emit (events.js:172:7)
> gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:200:12)
> gyp ERR! System Darwin 14.5.0
> gyp ERR! command "/usr/local/Cellar/node/5.0.0/bin/node" "/usr/local/lib/node\_modules/npm/node\_modules/node-gyp/bin/node-gyp.js" "rebuild"
> gyp ERR! cwd /Users/ernest son/Desktop/PROJECTS/musicomp/node\_modules/utf-8-validate
> gyp ERR! node -v v5.0.0
> gyp ERR! node-gyp -v v3.0.3
> gyp ERR! not ok 
> npm WARN install:utf-8-validate@1.2.1 utf-8-validate@1.2.1 install: \`node-gyp rebuild\`
> npm WARN install:utf-8-validate@1.2.1 Exit status 1
> \`\`\`

> <https://github.com/nodejs/node-gyp/issues/1977>
>
> Still need python2, i don't know why. i installed node-gyp with python 3.73
> \`\`\`…
> C:\\Windows\\system32\> npm install -g node-gyp
> C:\\Users\\81810\\AppData\\Roaming\\npm\\node-gyp -\> C:\\Users\\81810\\AppData\\Roaming\\npm\\node\_modules\\node-gyp\\bin\\node-gyp.js
> + node-gyp@6.0.1
> updated 1 package in 9.504s
> PS C:\\Windows\\system32\> npm install -g ffi
> 
> \> ref@1.3.5 install C:\\Users\\81810\\AppData\\Roaming\\npm\\node\_modules\\ffi\\node\_modules\\ref
> \> node-gyp rebuild
> 
> 
> C:\\Users\\81810\\AppData\\Roaming\\npm\\node\_modules\\ffi\\node\_modules\\ref\>if not defined npm\_config\_node\_gyp (node "C:\\Program Files\\nodejs\\node\_modules\\npm\\node\_modules\\npm-lifecycle\\node-gyp-bin\\\\..\\..\\node\_modules\\node-gyp\\bin\\node-gyp.js" rebuild ) else (node "C:\\Program Files\\nodejs\\node\_modules\\npm\\node\_modules\\node-gyp\\bin\\node-gyp.js" rebuild )
> gyp ERR! find Python
> gyp ERR! find Python Python is not set from command line or npm configuration
> gyp ERR! find Python Python is not set from environment variable PYTHON
> gyp ERR! find Python checking if "python" can be used
> gyp ERR! find Python - executable path is "C:\\Program Files\\Python37\\python.exe"
> gyp ERR! find Python - version is "3.7.3"
> gyp ERR! find Python - version is 3.7.3 - should be \>=2.6.0 \<3.0.0
> gyp ERR! find Python - THIS VERSION OF PYTHON IS NOT SUPPORTED
> gyp ERR! find Python checking if "python2" can be used
> gyp ERR! find Python - "python2" is not in PATH or produced an error
> gyp ERR! find Python checking if the py launcher can be used to find Python 2
> gyp ERR! find Python - "py.exe" is not in PATH or produced an error
> gyp ERR! find Python checking if Python is C:\\Python27\\python.exe
> gyp ERR! find Python - "C:\\Python27\\python.exe" could not be run
> gyp ERR! find Python checking if Python is C:\\Python37\\python.exe
> gyp ERR! find Python - "C:\\Python37\\python.exe" could not be run
> gyp ERR! find Python
> gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> gyp ERR! find Python You need to install the latest version of Python 2.7.
> gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
> gyp ERR! find Python you can try one of the following options:
> gyp ERR! find Python - Use the switch --python="C:\\Path\\To\\python.exe"
> gyp ERR! find Python (accepted by both node-gyp and npm)
> gyp ERR! find Python - Set the environment variable PYTHON
> gyp ERR! find Python - Set the npm configuration variable python:
> gyp ERR! find Python npm config set python "C:\\Path\\To\\python.exe"
> gyp ERR! find Python For more information consult the documentation at:
> gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
> gyp ERR! find Python \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
> gyp ERR! find Python
> gyp ERR! configure error
> gyp ERR! stack Error: Could not find any Python installation to use
> gyp ERR! stack at PythonFinder.fail (C:\\Program Files\\nodejs\\node\_modules\\npm\\node\_modules\\node-gyp\\lib\\find-python.js:303:47)
> gyp ERR! stack at PythonFinder.runChecks (C:\\Program Files\\nodejs\\node\_modules\\npm\\node\_modules\\node-gyp\\lib\\find-python.js:132:21)
> gyp ERR! stack at PythonFinder.\<anonymous\> (C:\\Program Files\\nodejs\\node\_modules\\npm\\node\_modules\\node-gyp\\lib\\find-python.js:221:16)
> gyp ERR! stack at PythonFinder.execFileCallback (C:\\Program Files\\nodejs\\node\_modules\\npm\\node\_modules\\node-gyp\\lib\\find-python.js:267:16)
> gyp ERR! stack at exithandler (child\_process.js:302:5)
> gyp ERR! stack at ChildProcess.errorhandler (child\_process.js:314:5)
> gyp ERR! stack at ChildProcess.emit (events.js:209:13)
> gyp ERR! stack at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:270:12)
> gyp ERR! stack at onErrorNT (internal/child\_process.js:456:16)
> gyp ERR! stack at processTicksAndRejections (internal/process/task\_queues.js:80:21)
> gyp ERR! System Windows\_NT 10.0.18362
> gyp ERR! command "C:\\\\Program Files\\\\nodejs\\\\node.exe" "C:\\\\Program Files\\\\nodejs\\\\node\_modules\\\\npm\\\\node\_modules\\\\node-gyp\\\\bin\\\\node-gyp.js" "rebuild"
> gyp ERR! cwd C:\\Users\\81810\\AppData\\Roaming\\npm\\node\_modules\\ffi\\node\_modules\\ref
> gyp ERR! node -v v12.10.0
> gyp ERR! node-gyp -v v5.0.3
> gyp ERR! not ok
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! ref@1.3.5 install: \`node-gyp rebuild\`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the ref@1.3.5 install script.
> npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
> 
> npm ERR! A complete log of this run can be found in:
> npm ERR! C:\\Users\\81810\\AppData\\Roaming\\npm-cache\\\_logs\\2019-11-24T23\_02\_43\_511Z-debug.log
> PS C:\\Windows\\system32\>
> \`\`\`
> 
> \</details\>

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 19, 2022, 4:42pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/5 "2022-05-19T16:42:06Z")

</div>

> May you share if we are able to debug openboxes in Apache Netbeans?

I forgot to respond to this.

I have been using IntelliJ Utimate for the better part of 10 years so I don’t have much experience with Netbeans. The last time I tried to use Netbeans was many many years ago (Netbeans 8.2) and it seemed to work pretty well. I just fired it up and it looks fine to me. Newer versions of Netbeans will probably support newer versions of Grails so I’m not sure how it’ll handle an older Grails project like ours.

 ![image](https://community.openboxes.com/uploads/default/original/1X/b61550aab6f1a4f804eb0e88127aa8cc4acb0a11.png)

As for whether it plays nice with npm and node, I don’t really know. I generally run servers in dev mode (`grails run-app` (for running the main webapp) and `npm run watch` (for editing React resources) in terminal windows outside of the IDE.

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 23, 2022, 3:37pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/6 "2022-05-23T15:37:49Z")

</div>

Thank you @jmiranda

I tried to install  
node v14.17.5  
npm v6.14.14  
last one to install compatible sass version  
npm install node-sass@4.14 --save-dev --unsafe-perm node-sass

There is no more error but I cannot run the app.

This screenshot, it is selected index.html file.

 ![Screen Shot 2022-05-23 at 22.36.16](https://community.openboxes.com/uploads/default/original/1X/f55095919801b7b5b32acb57a2d0f1300cb89891.png)

Thanks,  
Mick

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 23, 2022, 3:39pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/7 "2022-05-23T15:39:18Z")

</div>

Here is my run test result:  
/////////  
PASS src/js/tests/form-elements/ButtonField.test.jsx  
ButtonField component is correctly rendering  
✓ string label (10ms)  
✓ component label (1ms)

PASS src/js/tests/api-client/apiClient.test.js  
apiClient  
✓ returns 200 (19ms)  
✓ returns 400 (3ms)  
✓ returns 401 (3ms)  
✓ returns 403 (1ms)  
✓ returns 404 (2ms)  
✓ returns 500 (2ms)

PASS src/js/tests/form-elements/WizardSteps.test.jsx  
✓ WizardSteps renders correctly (3ms)

Test Suites: 6 skipped, 3 passed, 3 of 9 total  
Tests: 9 skipped, 9 passed, 18 total  
Snapshots: 3 passed, 3 total  
Time: 4.883s  
Ran all test suites.  
Done.  
///////////

Thanks,  
Mick

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 23, 2022, 4:39pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/8 "2022-05-23T16:39:39Z")

</div>

I tried to SDK and grails but cannot resolve dependencies as error below:  
//////  
(base) macbookpro@MacBookPro openboxes-0.8.16-hotfix3 % grails compile  
Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0  
Welcome to Grails 1.3.9 - [http://grails.org/](http://grails.org/)  
Licensed under Apache Standard License 2.0  
Grails home is set to: /Users/macbookpro/.sdkman/candidates/grails/current

Base Directory: /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3  
Resolving dependencies…  
:: problems summary ::  
:::: WARNINGS  
module not found: org.jboss.tattletale#tattletale-ant;1.2.0.Beta2

```
    ==== grailsPlugins: tried

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      /Users/macbookpro/Downloads/openboxes-0.8.16-hotfix3/lib/tattletale-ant-1.2.0.Beta2.jar

    ==== grailsHome: tried

      /Users/macbookpro/.sdkman/candidates/grails/current/lib/tattletale-ant-1.2.0.Beta2.xml

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      /Users/macbookpro/.sdkman/candidates/grails/current/lib/tattletale-ant-1.2.0.Beta2.jar

    ==== grailsHome: tried

      /Users/macbookpro/.sdkman/candidates/grails/current/dist/tattletale-ant-1.2.0.Beta2.xml

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      /Users/macbookpro/.sdkman/candidates/grails/current/dist/tattletale-ant-1.2.0.Beta2.jar

    ==== grailsHome: tried

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      /Users/macbookpro/.sdkman/candidates/grails/current/plugins/grails-tattletale-ant-1.2.0.Beta2.jar

    ==== grailsCentral: tried

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      http://plugins.grails.org/grails-tattletale-ant/tags/RELEASE_1_2_0_Beta2/grails-tattletale-ant-1.2.0.Beta2.jar

    ==== localMavenResolver: tried

      /Users/macbookpro/.m2/repository/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      /Users/macbookpro/.m2/repository/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

    ==== mavenCentral: tried

      http://repo1.maven.org/maven2/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      http://repo1.maven.org/maven2/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

    ==== http://repo.grails.org/grails/plugins-releases/: tried

      http://repo.grails.org/grails/plugins-releases/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      http://repo.grails.org/grails/plugins-releases/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

    ==== http://repo.grails.org/grails/plugins/: tried

      http://repo.grails.org/grails/plugins/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      http://repo.grails.org/grails/plugins/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

    ==== http://repo.grails.org/grails/core/: tried

      http://repo.grails.org/grails/core/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      http://repo.grails.org/grails/core/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

    ==== http://oss.sonatype.org/content/repositories/snapshots/: tried

      http://oss.sonatype.org/content/repositories/snapshots/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      http://oss.sonatype.org/content/repositories/snapshots/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

    ==== localMavenResolver: tried

      /Users/macbookpro/.m2/repository/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

      -- artifact org.jboss.tattletale#tattletale-ant;1.2.0.Beta2!tattletale-ant.jar:

      /Users/macbookpro/.m2/repository/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

            ::::::::::::::::::::::::::::::::::::::::::::::

            :: UNRESOLVED DEPENDENCIES ::

            ::::::::::::::::::::::::::::::::::::::::::::::

            :: org.jboss.tattletale#tattletale-ant;1.2.0.Beta2: not found

            ::::::::::::::::::::::::::::::::::::::::::::::

```

:::: ERRORS  
SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.pom

```
    SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/jboss/tattletale/tattletale-ant/1.2.0.Beta2/tattletale-ant-1.2.0.Beta2.jar

```

///////

Thanks,  
Mick

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 24, 2022, 4:43pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/9 "2022-05-24T16:43:48Z")

</div>

> [@chandara](#):
>
> grails compile  
> Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0

Make sure you’re using Java 7. We recommend using Zulu.

> **[Azul Downloads](https://www.azul.com/downloads/?version=java-7-lts&os=macos&package=jdk)**
>
> Click here to download the Azul Zulu Builds of OpenJDK for Java 8, 11, 17, 21, 23 for Linux, Windows and macOS. Also download Azul Platform Prime.

As for the dependency error …

```auto
SERVER ERROR: HTTPS Required

```

… we’ve fixed that in the most recent version. 0.8.16-hotfix3 is at least a few months old, so I would recommend using the develop branch.

I believe the fix was to add an insecure Maven Repo to BuildConfig.groovy.

```auto
repositories {
        //grailsRepo "http://grails.org/plugins"
        grailsPlugins()
        grailsHome()
        grailsCentral()

        mavenLocal()
        mavenCentral()

        mavenRepo "https://repo.grails.org/grails/plugins-releases/"
        mavenRepo "https://repo.grails.org/grails/plugins/"
        mavenRepo "https://repo.grails.org/grails/core/"
        mavenRepo "https://oss.sonatype.org/content/repositories/snapshots/"
        mavenRepo "http://insecure.repo1.maven.org/maven2"
    }

```

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 26, 2022, 3:26pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/10 "2022-05-26T15:26:59Z")

</div>

Thank you @jmiranda.  
After got notified new version so I used a new one instead,  
and tried to following each configuration step.

> grails upgrade  
> I got below errors.

Also I used same version node and npm Github instruction.

 ![Screen Shot 2022-05-26 at 22.29.23](https://community.openboxes.com/uploads/default/original/1X/671280851ff65b8036c971b9e665c18bf905d55b.png)

//////  
(base) macbookpro@MacBookPro openboxes-0.8.17-hotfix4 % grails upgrade  
Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0  
Welcome to Grails 1.3.9 - [http://grails.org/](http://grails.org/)  
Licensed under Apache Standard License 2.0  
Grails home is set to: /Users/macbookpro/.sdkman/candidates/grails/current

Base Directory: /Users/macbookpro/Downloads/openboxes-0.8.17-hotfix4  
Resolving dependencies…  
Dependencies resolved in 1002ms.  
Running script /Users/macbookpro/.sdkman/candidates/grails/current/scripts/Upgrade.groovy  
Environment set to development

```
    WARNING: This target will upgrade an older Grails application to 1.3.9.
    Are you sure you want to continue?
                (y, n)

```

y  
[delete] Deleting directory /Users/macbookpro/.grails/1.3.9/projects/openboxes-0.8.17-hotfix4/resources  
[copy] Copying 1 file to /Users/macbookpro/Downloads/openboxes-0.8.17-hotfix4/web-app/WEB-INF  
[copy] Copying 1 file to /Users/macbookpro/Downloads/openboxes-0.8.17-hotfix4/web-app/WEB-INF  
[copy] Copying 4 files to /Users/macbookpro/Downloads/openboxes-0.8.17-hotfix4/web-app/WEB-INF/tld  
Installing zip /Users/macbookpro/.sdkman/candidates/grails/current/plugins/grails-hibernate-1.3.9.zip… …  
[delete] Deleting directory /Users/macbookpro/.grails/1.3.9/projects/openboxes-0.8.17-hotfix4/plugins/hibernate-1.3.9  
[mkdir] Created dir: /Users/macbookpro/.grails/1.3.9/projects/openboxes-0.8.17-hotfix4/plugins/hibernate-1.3.9  
[unzip] Expanding: /Users/macbookpro/.sdkman/candidates/grails/current/plugins/grails-hibernate-1.3.9.zip into /Users/macbookpro/.grails/1.3.9/projects/openboxes-0.8.17-hotfix4/plugins/hibernate-1.3.9  
Installed plugin hibernate-1.3.9 to location /Users/macbookpro/.grails/1.3.9/projects/openboxes-0.8.17-hotfix4/plugins/hibernate-1.3.9. …  
java.lang.NullPointerException: Cannot invoke method getAt() on null object  
at \_PluginDependencies\_groovy$\_run\_closure21\_closure45.doCall(\_PluginDependencies\_groovy:477)  
at \_PluginDependencies\_groovy$\_run\_closure21\_closure45.doCall(\_PluginDependencies\_groovy)  
at \_PluginDependencies\_groovy.withPluginInstall(\_PluginDependencies\_groovy:500)  
at \_PluginDependencies\_groovy.this$4$withPluginInstall(\_PluginDependencies\_groovy)  
at \_PluginDependencies\_groovy$\_run\_closure21.doCall(\_PluginDependencies\_groovy:475)  
at \_PluginDependencies\_groovy$\_run\_closure21.call(\_PluginDependencies\_groovy)  
at \_GrailsPlugins\_groovy$\_run\_closure3.doCall(\_GrailsPlugins\_groovy:98)  
at Upgrade$\_run\_closure1.doCall(Upgrade.groovy:208)  
at Upgrade$\_run\_closure2.doCall(Upgrade.groovy:216)  
at gant.Gant$\_dispatch\_closure5.doCall(Gant.groovy:381)  
at gant.Gant$\_dispatch\_closure7.doCall(Gant.groovy:415)  
at gant.Gant$\_dispatch\_closure7.doCall(Gant.groovy)  
at gant.Gant.withBuildListeners(Gant.groovy:427)  
at gant.Gant.this$2$withBuildListeners(Gant.groovy)  
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)  
at gant.Gant.dispatch(Gant.groovy:415)  
at gant.Gant.this$2$dispatch(Gant.groovy)  
at gant.Gant.invokeMethod(Gant.groovy)  
at gant.Gant.executeTargets(Gant.groovy:590)  
at gant.Gant.executeTargets(Gant.groovy:589)  
Error installing plugin: Cannot invoke method getAt() on null object: Cannot invoke method getAt() on null object  
(base) macbookpro@MacBookPro openboxes-0.8.17-hotfix4 %  
//////////

Thanks,  
Chandara

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 26, 2022, 4:14pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/11 "2022-05-26T16:14:44Z")

</div>

> [@chandara](#):
>
> Java HotSpot™ 64-Bit Server VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0

This is telling me that you’re running with Java 8. You need to use Java 7.

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 26, 2022, 4:15pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/12 "2022-05-26T16:15:46Z")

</div>

> [@chandara](#):
>
> After got notified new version so I used a new one instead,  
> and tried to following each configuration step.

Just checkout the develop branch for the latest changes.

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 27, 2022, 2:40pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/13 "2022-05-27T14:40:46Z")

</div>

Thank @jmiranda  
I still got same error after change to use SDK 7.

 ![Screen Shot 2022-05-27 at 21.37.28](https://community.openboxes.com/uploads/default/original/1X/3b75735874bd974f285687808d0785c359a3c3b1.png)

Thanks,  
Chandara

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 27, 2022, 5:07pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/14 "2022-05-27T17:07:14Z")

</div>

The IDE setting is only applicable if you’re running Grails from within the IDE. Since you’re running `grails run-app` from the command line you need to tell your terminal (bash) to use Java 7.

Just to confirm that your system is trying to use Java 8, execute the following command from your terminal and post the output here.

```auto
java -version

```

On Ubuntu, I usually have to do two things

1. Configure the default JVM

```auto
$ sudo update-alternatives --config java
There are 5 choices for the alternative java (providing /usr/bin/java).

  Selection Path Priority Status
------------------------------------------------------------
  0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto mode
  1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual mode
  2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1071 manual mode
  3 /usr/lib/jvm/java-7-oracle/jre/bin/java 1073 manual mode
* 4 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual mode
  5 /usr/lib/jvm/java-9-openjdk-amd64/bin/java 1091 manual mode

Press <enter> to keep the current choice[*], or type selection number: 2
update-alternatives: using /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java to provide /usr/bin/java (java) in manual mode

```

1. Set the JAVA\_HOME environment property in my .bashrc

```auto
export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

```

I don’t know exactly what you need to do on Mac, but here’s a resource to help you figure it out.

> <https://stackoverflow.com/questions/21964709/how-to-set-or-change-the-default-java-jdk-version-on-macos>

You’ll know you did it right when you see something like this

```auto
$ java -version
Picked up JAVA_TOOL_OPTIONS: -Dhttps.protocols=TLSv1.2
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-3)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
``
```

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 27, 2022, 6:16pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/15 "2022-05-27T18:16:53Z")

</div>

Thank you @jmiranda  
It is seem working now.

> I used these two command  
> /usr/libexec/java\_home -V  
> export JAVA\_HOME=`/usr/libexec/java\_home -v 1.7

It is running now. only fixing issue cannot connect to mySQL database.

Thanks,  
Chandara

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 27, 2022, 6:30pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/16 "2022-05-27T18:30:58Z")

</div>

@jmiranda Im reaching the last step.

What am I missing for the error below?  
Here is my connectionstring:

 ![Screen Shot 2022-05-28 at 01.30.10](https://community.openboxes.com/uploads/default/original/1X/6572bf7913d2e8a0ffd2491f5e4707a8003e560e.png)

////////  
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.  
at sun.reflect.GeneratedConstructorAccessor87.newInstance(Unknown Source)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)  
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)  
at com.mysql.jdbc.Util.getInstance(Util.java:408)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)  
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2105)  
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2030)  
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:778)  
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)  
at sun.reflect.GeneratedConstructorAccessor84.newInstance(Unknown Source)  
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)  
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)  
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)  
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)  
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)  
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)  
Caused by: java.sql.SQLException: Unknown system variable ‘storage\_engine’  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)  
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978)  
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914)  
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)  
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)  
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2491)  
at com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1552)  
at com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2607)  
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1480)  
at com.mysql.jdbc.ConnectionImpl.setSessionVariables(ConnectionImpl.java:5030)  
at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3202)  
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2068)  
… 18 more  
2022-05-28 01:26:58,742 [C3P0PooledConnectionPoolManager[identityToken-\>1hge160ap1veldcsvyjli|3af7ee3e]-HelperThread-#1] WARN resourcepool.BasicResourcePool - Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@5edd8648 is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests.  
2022-05-28 01:26:58,838 [main] ERROR context.GrailsContextLoader - Error executing bootstraps: Error creating bean with name ‘messageSource’: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionManager’: Cannot resolve reference to bean ‘sessionFactory’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’: Cannot resolve reference to bean ‘lobHandlerDetector’ while setting bean property ‘lobHandler’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘lobHandlerDetector’: Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!  
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘messageSource’: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionManager’: Cannot resolve reference to bean ‘sessionFactory’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’: Cannot resolve reference to bean ‘lobHandlerDetector’ while setting bean property ‘lobHandler’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘lobHandlerDetector’: Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!  
at org.grails.tomcat.InlineExplodedTomcatServer.doStart(InlineExplodedTomcatServer.groovy:112)  
at org.grails.tomcat.InlineExplodedTomcatServer$doStart.callCurrent(Unknown Source)  
at org.grails.tomcat.TomcatServer.start(TomcatServer.groovy:97)  
at grails.web.container.EmbeddableServer$start.call(Unknown Source)  
at \_GrailsRun\_groovy$\_run\_closure5\_closure12.doCall(\_GrailsRun\_groovy:158)  
at \_GrailsRun\_groovy$\_run\_closure5\_closure12.doCall(\_GrailsRun\_groovy)  
at \_GrailsSettings\_groovy$\_run\_closure10.doCall(\_GrailsSettings\_groovy:280)  
at \_GrailsSettings\_groovy$\_run\_closure10.call(\_GrailsSettings\_groovy)  
at \_GrailsRun\_groovy$\_run\_closure5.doCall(\_GrailsRun\_groovy:149)  
at \_GrailsRun\_groovy$\_run\_closure5.call(\_GrailsRun\_groovy)  
at \_GrailsRun\_groovy.runInline(\_GrailsRun\_groovy:116)  
at \_GrailsRun\_groovy.this$4$runInline(\_GrailsRun\_groovy)  
at \_GrailsRun\_groovy$\_run\_closure1.doCall(\_GrailsRun\_groovy:59)  
at RunApp$\_run\_closure1.doCall(RunApp.groovy:33)  
at gant.Gant$\_dispatch\_closure5.doCall(Gant.groovy:381)  
at gant.Gant$\_dispatch\_closure7.doCall(Gant.groovy:415)  
at gant.Gant$\_dispatch\_closure7.doCall(Gant.groovy)  
at gant.Gant.withBuildListeners(Gant.groovy:427)  
at gant.Gant.this$2$withBuildListeners(Gant.groovy)  
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)  
at gant.Gant.dispatch(Gant.groovy:415)  
at gant.Gant.this$2$dispatch(Gant.groovy)  
at gant.Gant.invokeMethod(Gant.groovy)  
at gant.Gant.executeTargets(Gant.groovy:590)  
at gant.Gant.executeTargets(Gant.groovy:589)  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘transactionManager’: Cannot resolve reference to bean ‘sessionFactory’ while setting bean property ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’: Cannot resolve reference to bean ‘lobHandlerDetector’ while setting bean property ‘lobHandler’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘lobHandlerDetector’: Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!  
… 25 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘sessionFactory’: Cannot resolve reference to bean ‘lobHandlerDetector’ while setting bean property ‘lobHandler’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘lobHandlerDetector’: Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!  
… 25 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘lobHandlerDetector’: Invocation of init method failed; nested exception is org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!  
… 25 more  
Caused by: org.springframework.jdbc.support.MetaDataAccessException: Could not get Connection for extracting meta data; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!  
… 25 more  
Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!  
… 25 more  
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!  
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:118)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:692)  
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:140)  
… 25 more  
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.  
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1469)  
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:644)  
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:554)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutAndMarkConnectionInUse(C3P0PooledConnectionPool.java:758)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:685)  
… 26 more  
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.  
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)  
at com.mysql.jdbc.Util.getInstance(Util.java:408)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)  
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2105)  
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2030)  
at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:778)  
at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47)  
at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)  
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)  
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)  
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:175)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:220)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:206)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:203)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1138)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquireAndDecrementPendingAcquiresWithinLockOnSuccess(BasicResourcePool.java:1125)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$700(BasicResourcePool.java:44)  
at com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask.run(BasicResourcePool.java:1870)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)  
Caused by: java.sql.SQLException: Unknown system variable ‘storage\_engine’  
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965)  
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3978)  
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3914)  
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2530)  
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)  
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2491)  
at com.mysql.jdbc.StatementImpl.executeUpdateInternal(StatementImpl.java:1552)  
at com.mysql.jdbc.StatementImpl.executeLargeUpdate(StatementImpl.java:2607)  
at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1480)  
at com.mysql.jdbc.ConnectionImpl.setSessionVariables(ConnectionImpl.java:5030)  
at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3202)  
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2068)  
… 15 more

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 27, 2022, 6:41pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/17 "2022-05-27T18:41:48Z")

</div>

Set the database configuration in openboxes-config.properties.

You will need to create the file if you haven’t already done so.

See the README for instructions

> **[GitHub - openboxes/openboxes: OpenBoxes is a supply chain management system...](https://github.com/openboxes/openboxes#5-create-openboxes-configuration-file)**
>
> OpenBoxes is a supply chain management system designed to manage inventory and track stock movements for healthcare facilities. - GitHub - openboxes/openboxes: OpenBoxes is a supply chain managemen...

 ![image](https://community.openboxes.com/uploads/default/original/1X/e3f85d5465010238e46298c5f4f8193a1e6cfac9.jpeg)

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 27, 2022, 6:45pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/18 "2022-05-27T18:45:30Z")

</div>

Once it does connect to the database and you can see that the application is running through database migrations please be patient. This process can take a long time especially if you haven’t followed the instructions carefully (hint: make to increase heap size and permgen).

---

<div class="post-metadata">

### Author: ![chandara](https://community.openboxes.com/letter_avatar_proxy/v4/letter/c/4da419/32.png) [@chandara](https://community.openboxes.com/u/chandara)
#### Post date: [May 28, 2022, 4:32am UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/19 "2022-05-28T04:32:51Z")

</div>

Thank you @jmiranda

I created in this location. is it a correct place?

 ![Screen Shot 2022-05-28 at 11.23.48](https://community.openboxes.com/uploads/default/original/1X/63224e4875e6f9eaa47082ef452ec64a81d29b11.png)

Thanks,  
Chandara

---

<div class="post-metadata">

### Author: ![jmiranda](https://community.openboxes.com/user_avatar/community.openboxes.com/jmiranda/32/199_2.png) [@jmiranda](https://community.openboxes.com/u/jmiranda)
#### Post date: [May 28, 2022, 12:18pm UTC](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554/20 "2022-05-28T12:18:50Z")

</div>

No it’ should be created under your user home directory. On A Mac that would be something like

```auto
/Users/username/.grails

```

If you encounter any more issues send me the full output from the grails run-app command.

[Next page](https://community.openboxes.com/t/how-to-run-openboxes-in-apache-netbeans/554.md?page=2)
