Hello,
I am getting the following error when starting Cuba Studio Server 6.5.4 and 6.5.5:
java.lang.IllegalStateException: Invalid web resources path: /home/web
I can run v6.5.2 and prior with no problem (never installed 6.5.3). Is there something I need to change in my setup with these newer versions?
Hi,
The issue is known and it was described in release notes.
To solve the problem cd to the folder where the studio.sh is located (studio/bin) and launch the script there.
We are going to fix the issue in the next Studio release.
Regards.
Use java.io.File(String pathname) Logic
Lastly, use the reference as a java.io.File(String pathname) reference, following the default resolution rules outlined by that constructor. In brief, the reference will be used as-is, be it relative (to current working directory, aka ${user.dir}) or absolute path, or even network reference (such as on Windows and use of UNC paths).
2 cases:
not changing in $STUDIO_HOME/bin
java.lang.IllegalStateException: Invalid web resources path: /home/web
at com.haulmont.studio.server.j.a(SourceFile:80)
at com.haulmont.studio.server.a.g(SourceFile:194)
at com.haulmont.studio.server.launcher.s.run(SourceFile:836)
at com.haulmont.studio.server.g.run(SourceFile:310)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$null$49(GtkApplication.java:139)
at java.lang.Thread.run(Thread.java:748)
changing in $STUDIO_HOME/bin
2017-07-27 00:24:14.174:INFO::JavaFX Application Thread: Logging initialized @18052ms
2017-07-27 00:24:14.536:INFO:oejs.Server:JavaFX Application Thread: jetty-9.2.20.v20161216
2017-07-27 00:24:14.802:INFO:oejw.StandardDescriptorProcessor:JavaFX Application Thread: NO JSP Support for /studio, did not find org.eclipse.jetty.jsp.JettyJspServlet
00:24:14,999 INFO [IOUtils] META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
00:24:15,376 INFO [IOUtils] META-INF/services/org.atmosphere.cpr.AtmosphereFramework not found in class loader
2017-07-27 00:24:15.909:INFO:oejsh.ContextHandler:JavaFX Application Thread: Started
o.e.j.w.WebAppContext@73d809f9{/studio,file:/opt/studio-6.5.5/web/,AVAILABLE}<<<<<<<<<<<<IMPORTANT
2017-07-27 00:24:15.924:INFO:oejs.ServerConnector:JavaFX Application Thread: Started ServerConnector@72b46de6{HTTP/1.1}{0.0.0.0:8111}
2017-07-27 00:24:15.925:INFO:oejs.Server:JavaFX Application Thread: Started @19804ms