Wednesday, July 5, 2023

Re: GWT war file deployment issue on Tomcat 9

Great. Thank you Colin. It works now after using the war file with clean build. thanks, Jenny

On Tuesday, July 4, 2023 at 12:44:46 PM UTC-5 Colin Alworth wrote:
It looks as though the war file that was deployed was built after Super Dev Mode had been started, but before the production build had been performed, so the generated JS only works with a local development server. Try a clean build, without starting dev mode?

If this still doesn't work, can you share more details about exactly how you build the project for production?

On Monday, July 3, 2023 at 11:33:26 AM UTC-5 jiny...@gmail.com wrote:
We were notified that we need to move our applications off from Weblogic 14 server to OpenShift platform. The first task is to make sure the GWT application works in local development environment with Tomcat 9 server. 

We can run the GWT application by starting Tomcat 9 server from Eclipse using WTP. However, when we tried to deploy the war file in the tomcat 9 deployment folder "webapps" and tried to access to the site url as below, an dialog is displayed as attached asking to get code server ready first. The war file was created from the war directory after GWT compilation process is finished. 



GWT 2.9
JDK 11
Eclipse 4,15
GWT plugin 3


Please help shed some lights on this deployment issue.

thanks!
Jenny



--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/4d9102e8-d715-42dd-bf3b-eb3f690912f3n%40googlegroups.com.

No comments:

Post a Comment