ldaley / grails-remote-control

Facilitates executing commands (closures) against remote or local Grails applications
Apache License 2.0
23 stars 16 forks source link

groovyx.remote.RemoteControlException when using the "-war" option #10

Closed sergiomichels closed 10 years ago

sergiomichels commented 11 years ago

I cannot run my tests when using the war option:

grails -Dgeb.env=phantomjs test-app -war -functional

It causes:

groovyx.remote.RemoteControlException: Error sending command chain to 'http://localhost:8080/insoft-fw/grails-remote-control'
    at groovyx.remote.transport.http.HttpTransport.send(HttpTransport.groovy:65)
    at groovyx.remote.client.RemoteControl.sendCommandChain(RemoteControl.groovy:114)
    at groovyx.remote.client.RemoteControl.exec(RemoteControl.groovy:73)
    at groovyx.remote.client.RemoteControl.exec(RemoteControl.groovy:67)
    at br.com.insoft4.fw.security.LoginSpec.setupSpec(LoginSpec.groovy:18)
Caused by: java.io.FileNotFoundException: http://localhost:8080/insoft-fw/grails-remote-control
    at groovyx.remote.transport.http.HttpTransport.send_closure1(HttpTransport.groovy:62)
    at groovyx.remote.transport.http.HttpTransport.send(HttpTransport.groovy:53)
    ... 4 more

Running without the war option executes with success.

ldaley commented 10 years ago

Will fix this in the next version.

ldaley commented 10 years ago

Should be fixed in 1.5. Please reopen if not.