Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to run my webapp on cloudbees with play2 + scala?
    primarykey
    data
    text
    <p>I'm trying to launch a webapp with play2 (2.0.2) and scala (2.9.2) on the cloudbees platform. To make my test, I use the default scala webapp (generate by play2) and try to put it on cloudbees. I follow the tutorial : <a href="http://wiki.cloudbees.com/bin/view/RUN/Play+2.0" rel="nofollow">http://wiki.cloudbees.com/bin/view/RUN/Play+2.0</a></p> <p>First thing that I noticed is the version 0.3.2 for the play2-war-plugin can't be found in the cloudbees repo. In fact, instead of searching in </p> <blockquote> <p>repository-play-war.forge.cloudbees.com/release/com/github/play2war/play2-war-plugin_2.9.1_0.11.2/</p> </blockquote> <p>(where you can find the right version), sbt search in </p> <blockquote> <p>repository-play-war.forge.cloudbees.com/release/com/github/play2war/play2-war-plugin_2.9.1_0.11.3/</p> </blockquote> <p>So I changed the version to 0.7.3 play-war-plugin and 0.6 play-war-core linked to my play2 version (according to the documentation of play-war-plugin github's documentation). </p> <p>After that I try <code>play war</code> and I get </p> <blockquote> <p>[error] Not a valid command: war (similar: start, run)</p> <p>[error] Not a valid project ID: war</p> <p>[error] Not a valid configuration: war</p> <p>[error] Not a valid key: war (similar: watch, run, target)</p> <p>[error] war</p> <p>[error] ^</p> </blockquote> <p>So I use <code>play package</code>, it works and makes app-1.0-Snapshot.war in the target directory. Then I use the cloudbees sdk to run my app </p> <pre><code>bees app:deploy -a myDomain/test -t jboss target/app-1.0-Snapshot.war bees app:update myDomain/test disableProxyBuffering=true </code></pre> <p>Finally, I access to my app on test.mydomain.cloudbees.net</p> <p>And here the problem, I have got an error :</p> <blockquote> <p>Oops, an error occured</p> <p>This exception has been logged with id 6bjlb33p7.</p> </blockquote> <p>So I checked my log file on the cloudbees interface but there is no error message. I can see the requests in the Access tab. </p> <p>Is there something that I'm missing ? How can I make this app works ?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload