I am completely new to Crash. I have a service application with no web and no Spring with crash.cli, crash.shell and crash.connectors.telnet included via Maven.
In my application I am starting up Crash with standalone.Bootstrap.bootstrap().
When I connect using telnet I get errors in the log (see below).
Also how do I set properties in general? I tried using either /crash.properties or conf/crash.properties in my classpath but it didn't recognize a change to crash.telnet.port.
My intention is to run my service as usual but connect to it via Crash when it is running using telnet or ssh.
2014-06-16 12:45:51,773 | ERROR | rsh.lang.impl.groovy.GroovyCompiler | Connection1 | Could not get a welcome message, will use empty
groovy.lang.MissingPropertyException: No such property: welcome for class: org.crsh.lang.impl.groovy.ShellBinding
at groovy.lang.Binding.getVariable(Binding.java:62) ~[groovy-2.3.2.jar:2.3.2]
at org.crsh.lang.impl.groovy.ShellBinding.getVariable(ShellBinding.java:218) ~[crash.shell-1.3.0.jar:na]
at org.crsh.lang.impl.groovy.GroovyCompiler.eval(GroovyCompiler.java:94) [crash.shell-1.3.0.jar:na]
at org.crsh.lang.impl.groovy.GroovyCompiler.doCallBack(GroovyCompiler.java:71) [crash.shell-1.3.0.jar:na]
at org.crsh.shell.impl.command.CRaSHSession.getWelcome(CRaSHSession.java:130) [crash.shell-1.3.0.jar:na]
at org.crsh.shell.impl.async.AsyncShell.getWelcome(AsyncShell.java:82) [crash.shell-1.3.0.jar:na]
at org.crsh.telnet.term.processor.Processor.run(Processor.java:131) [crash.connectors.telnet-1.3.0.jar:na]
at org.crsh.telnet.term.processor.ProcessorIOHandler.handle(ProcessorIOHandler.java:56) [crash.connectors.telnet-1.3.0.jar:na]
at org.crsh.telnet.term.TelnetHandler.run(TelnetHandler.java:38) [crash.connectors.telnet-1.3.0.jar:na]
at net.wimpi.telnetd.net.Connection.run(Connection.java:119) [telnetd-x-2.1.1.jar:na]
2014-06-16 12:45:51,774 | ERROR | rsh.lang.impl.groovy.GroovyCompiler | Connection1 | Could not get a prompt message, will use empty
groovy.lang.MissingPropertyException: No such property: prompt for class: org.crsh.lang.impl.groovy.ShellBinding
at groovy.lang.Binding.getVariable(Binding.java:62) ~[groovy-2.3.2.jar:2.3.2]
at org.crsh.lang.impl.groovy.ShellBinding.getVariable(ShellBinding.java:218) ~[crash.shell-1.3.0.jar:na]
at org.crsh.lang.impl.groovy.GroovyCompiler.eval(GroovyCompiler.java:94) [crash.shell-1.3.0.jar:na]
at org.crsh.lang.impl.groovy.GroovyCompiler.doCallBack(GroovyCompiler.java:71) [crash.shell-1.3.0.jar:na]
at org.crsh.shell.impl.command.CRaSHSession.getPrompt(CRaSHSession.java:145) [crash.shell-1.3.0.jar:na]
at org.crsh.shell.impl.async.AsyncShell.getPrompt(AsyncShell.java:86) [crash.shell-1.3.0.jar:na]
at org.crsh.telnet.term.processor.Processor.writePromptFlush(Processor.java:369) [crash.connectors.telnet-1.3.0.jar:na]
at org.crsh.telnet.term.processor.Processor.run(Processor.java:135) [crash.connectors.telnet-1.3.0.jar:na]
at org.crsh.telnet.term.processor.ProcessorIOHandler.handle(ProcessorIOHandler.java:56) [crash.connectors.telnet-1.3.0.jar:na]
at org.crsh.telnet.term.TelnetHandler.run(TelnetHandler.java:38) [crash.connectors.telnet-1.3.0.jar:na]
at net.wimpi.telnetd.net.Connection.run(Connection.java:119) [telnetd-x-2.1.1.jar:na]