|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Client Notifications Tutorial [message #1837396 is a reply to message #1837391] |
Fri, 29 January 2021 05:09   |
Eclipse User |
|
|
|
Possible, but not likely when both *.war files (your.project.ui.html.war and your.project.server.war) are deployed on the same Tomcat instance. The line you highlighted is not related to network proxies but to dynamic Proxy classes.
It is not clear what the problem is from the information you posted so far. You have to make sure that the following chain works:
1. Browser connects to the UI server at http://your-server:8082/your-ui-app
2. UiServlet accepts the request, and passes it to the client model to handle. The client model calls a remote service -> hand off to HTTP Service Tunnel
3. HTTP Service Tunnel connects to the backend server at http://your-server:8080/your-server-app/process
4. ProcessServlet accepts the request and call the remote service
If connection #1 does not work, you will see an error message in the browser (check the network log in the F12 developer tools). Possible causes: firewall blocks access to UI server, tomcat is not running, ui.html WAR file is not deployed, error while starting up the ui.html Scout platform, wrong configuration in web.xml or config.properties.
If code in #2 encounters an exception (e.g. NullPointerException in execClickAction), a message is written to the client log file and a message box is shown to the user.
If connection #3 does not work, a ProcessingException will be thrown. Possible causes: firewall blocks access to backend server, server WAR file is not deployed, error while starting up the server Scout platform, wrong configuration in ui.html config.properties, wrong configuration in web.xml or config.properties in the server WAR file.
If code in #4 encounters an exception (e.g. NullPointerException in YourProcessService or database error), a message is writen to the backend log file and an error is sent back to the HTTP service tunnel. This causes a ProcessingException to be thrown, which will again be written to the client log file and a message is shown to the user.
Regards,
Beat
|
|
|
|
|
|
|
Re: Client Notifications Tutorial [message #1837904 is a reply to message #1837655] |
Wed, 10 February 2021 02:58  |
Eclipse User |
|
|
|
Hi,
I know that I use an ancient release and I need to migrate to new one.
By the way, I check your suggestions and everything in the plugin.xml is defined accorded with the HowTo page and the path is consistent with my workspace, but still not work.
|
|
|
Powered by
FUDForum. Page generated in 0.09476 seconds