I have run into a problem with the Desktop module.
First of all: If run the Application (Server and Desktop) on my local environment, it works fine.
But now i have the following usecase:
We have a singleWar-Deployment in a tomcat on a Linux-VM.
Our application has a Web- and a Desktop-App
The Web-App is accessible on the VM and works fine.
(The Web-App is accessible under “http://:8080//”)
(In our case, and are equals)
Now I want to run the Desktop App on my Local Windows computer and access the Server (Middleware) on the Linux-VM.
For this I have adapted the file „desktop-app.properties“ in the desktop module and changed:
# Middleware connection cuba.connectionUrlList = http://<hostname>:8080/<warFileName>/<modulePrefix>-core
Now I started the Desktop App (usually I just start the main-method in App.java) and try to logg in.
Immediately i get the following exception:
a org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [cuba_AuthenticationService]; nested exception is java.io.StreamCorruptedException: invalid stream header: 3C21646F
I can see the Request in the localhost_access_log form the tomcat:
„POST /<warFileName>/<modulePrefix>-core /remoting/cuba_AuthenticationService HTTP/1.1" 301 - "GET /<warFileName>HTTP/1.1" 302 - "GET /<warFileName>/ HTTP/1.1" 200 2336
I tried to change a few other configurations, but with the same Result
Did I miss something?
Whats the right way to achieve my goal?