1

i would really appreciate help on this.

I have grails 2.3.2 and groovy installed on my koding virtual machine. Whenever i try to run my grails application on the VM, the server starts successfully and the console says " Server running. Browse to http://localhost:8080/TrekIsis" TrekIsis being my application name.

In my environment i have configured a url to my virtual machine as http://trek.ishan0205.kd.io but whenever i hit "http://trek.ishan0205.kd.io:8080/TrekIsis" it says "http://trek.ishan0205.kd.io:8080/TrekIsis cannot be served at this time. Wrong domain/server configuration?" though when i go to "http://trek.ishan0205.kd.io" i get kodings default virtual machine welcome message meaning that the path to the server is configured correctly.

I would really appreciate if you can guide me on how i can access my grails application on the virtual machine and set the right configuration.

PS: more information on koding : https://koding.com/

4

1 回答 1

2

知道了。每当我们运行 grails 进行开发时,我们使用嵌入式 tomcat 来运行应用程序,但是一旦应用程序在测试环境或生产环境中运行,由于性能问题,grails 应用程序被添加到容器中,然后部署而不是使用 run-app或运行战争命令。

所以我所要做的就是对我的应用程序进行一场战争,将它添加到我容器的 webapps 中,它就像一个魅力一样工作。

希望这可以帮助像我一样陷入困境的人。

于 2014-04-10T14:12:23.583 回答