CodeRunner Standalone

Added a EventHandler + downloaded the Code from my Standalone. (runner.properties was included, the other files under bin folder were borrowed from the cloud code (CodeRunner.jar, CodeRunner.sh etc.))

Just not getting the code to run.
Always getting following Error:

Listening for transport dt_socket at address: 5005

[INFO] CodeRunner™ Backendless Debugging Utility

[INFO] Copyright© 2016 Backendless Corp. All rights reserved.

[INFO] Version: 3.0.0 Build date: 20160122-0712

[INFO] CodeRunner session is running for 2 hour and will be terminated on 16:22:53.051[UTC]

Exception in thread “main” java.lang.ExceptionInInitializerError

at com.backendless.coderunner.CodeRunnerLoader.main(CodeRunnerLoader.java:39)

Caused by: redis.clients.jedis.exceptions.JedisConnectionException: Could not get a resource from the pool

at redis.clients.util.Pool.getResource(Pool.java:50)

at redis.clients.jedis.JedisPool.getResource(JedisPool.java:86)

at com.backendless.redis.JedisManager.getJedis(JedisManager.java:94)

at com.backendless.redis.JedisManager.execute(JedisManager.java:220)

at com.backendless.redis.JedisManager.create(JedisManager.java:74)

at com.backendless.redis.JedisManager.create(JedisManager.java:54)

at com.backendless.coderunner.redis.RedisPoolManager.<init>(RedisPoolManager.java:62)

at com.backendless.coderunner.redis.RedisPoolManager.<clinit>(RedisPoolManager.java:19)

... 1 more

Caused by: redis.clients.jedis.exceptions.JedisConnectionException: java.net.ConnectException: Connection refused

at redis.clients.jedis.Connection.connect(Connection.java:154)

at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:83)

at redis.clients.jedis.BinaryJedis.connect(BinaryJedis.java:1643)

at redis.clients.jedis.JedisFactory.makeObject(JedisFactory.java:85)

at org.apache.commons.pool2.impl.GenericObjectPool.create(GenericObjectPool.java:861)

at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:435)

at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)

at redis.clients.util.Pool.getResource(Pool.java:48)

... 8 more

Caused by: java.net.ConnectException: Connection refused

at java.net.PlainSocketImpl.socketConnect(Native Method)

at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)

at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)

at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)

at java.net.Socket.connect(Socket.java:589)

at redis.clients.jedis.Connection.connect(Connection.java:148)

... 15 more

Regards,
Jens

Hi Jens,

Could you please check in the App Manager if Redis is running?

Regards,
Mark

As per FlightControl, both Redis and Coderunner are not running.

If i try to start them i just ger error messages.

No, not the flight control (it should not even be used at the moment). I am talking about Application Manager:

https://monosnap.com/file/dOifufNlraxUGJQcbS8CU7LYGdVrxk

How t o access app manager?

You must be running on Linux. I’m on mac and it is installed as a part of the app package. I apologize, I do not have a Linux installation handy. Will check and let you know.

I thought it could be a good idea to reboot the system so I went down to bitnami console and rebooted the server (reboot button).

Unfortunately, the web interface now shows “Server temporarily not available”.
Seems this way to reboot is dangerous.

Any advice how to get a system in such state back running?

Cheers,
Jens

I’ve rebooted the server once again.

Processes are active (see screenshot below).

Still the webinterface is not available…

I’ve setup a complete new instance of BEStandalone.

Still the same problem.

One thing I found is:
If I create a handler in php I am not able to start CodeRunner for debugging. However, I can directly deploy the php code. (=> which in fact is not too useful)

Hi Jens,

Could you please send the logs from backendless-3.0.0-xx/apps/backendless/logs to my email - sergey.chupov@themidnightcoders.com? Or you may attach them here as a zip archive.

Jens,

The issue with CodeRunner has been fixed. We will be posting an updated installer shortly.

Meanwhile, here’s info on how to run Application Manager:
https://wiki.bitnami.com/Applications/Bitnami_Standalone_Backendless#section-tab12

Regards,
Mark

Hey Mark,

do you have a release date?

Hi Jens,

It should be next week.

Regards,
Mark