Dockerizing Xtext web app [message #1841312] |
Tue, 11 May 2021 18:48  |
Eclipse User |
|
|
|
Hi,
I have created a DSL web application.
When running the application from the terminal (with the command gradle jettyRun) , everything works as expected.
When dockerizing the same application, the applications works, but the xtext-services dont . When calling the generator, I get a 500 from the xtext services.
POST http://192.168.1.4:18282/xtext-service/generate?resource=56d64298.mdl [HTTP/1.1 500 Server Error 12ms]
Also i get this from the logs
84021 [qtp399573350-17] WARN org.eclipse.jetty.servlet.ServletHandler - /xtext-service/generate
java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
Any idea?
Best Regards,
Michael
[Updated on: Tue, 11 May 2021 18:54] by Moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07524 seconds