Vaadin on Openshift

Hi all,

I just created my first Vaadin application. The application works fine on my local server.

I want to upload this app to Openshift.

I followed the instructions here:

The app has been uploaded, but the only thing that is displayed is text. No panels or CSS or anything.

Does anyone have any idea why this is happening?

Thank you!

Console output:

Jul 01, 2014 8:39:50 AM com.vaadin.server.VaadinServlet serveOnTheFlyCompiledScss

WARNING: Scss file VAADIN/themes/lion/styles.scss exists but ScssStylesheet was
not able to find it

Jul 01, 2014 8:39:50 AM com.vaadin.server.VaadinServlet serveStaticResourcesInVAADIN

INFO: Requested resource
[/VAADIN/themes/lion/styles.css] not found from filesystem
or through class loader. Add widgetset and/or theme JAR to your classpath or
add files to WebContent/VAADIN folder.

Added console output

Old post and probably resolved already, but: you should probably pre-compile the theme from .scss to .css and include the CSS file in the WAR. That way, there is no need for the server to even try to recompile the theme on the fly, and page load performance will be significantly better.

When production mode is enabled, on-the-fly theme compilation is disabled anyway so having a pre-compiled theme is a must.