-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploy WAR to Apache Tomcat: Content Encoding Error #20
Comments
Do you have any Stacktrace log to show? Any chance it might be related to this issue? (grails/grails-core#12829) |
"java -jar grailszk-example-0.1.war" works fine. But when i copy the same war to a Tomcat container (9.0.71) i get attached screen. Sorry. No Stracktrace log (see attached logs).
|
Ok. I'll take a look at it. |
Hi Maicon, can i support you in some manner to resolve the issue. Thanks, Andreas |
Hi, Andreas. Sorry it's taking too much time but I've been busy as of late. I'll solve this pressing issue as soon as I can. Although I can't give any particular date. Also, you can try to solve this issue and make a pull request. Let me know if you are interested. In the meantime, is it possible for you to deploy your app using the embedded tomcat? ( |
Hi Maicon, there is no pressure on time. I can wait. Till now i have no experience in grails plugin development, but if i find time i will give a try. Thanks for your feedback. |
@asmbit, can you test your app with the lastest version? |
Hi @maiconandsilva, grailszk-example now works. But my application has same problem as before. I will investigate more and let you know. Thanks a lot! |
Have you changed the version in your application? You can create an example in which I can reproduce this error to fix it. |
Yes, i changed version to 3.2.3.
With "bootRun" everything works fine. When deploying the war in Tomcat, i get the error as described before. Have a nice day and thanks a lot! |
Hi @maiconandsilva, i found a better solution instead of forward:
For me the issue is solved. Thank you for your great readiness. |
Oh, Thank you. I'm going to check out the issue with using |
The problem is that ZK's Adding the following solves the issue if your ZK version is 8.6.0 or later: configurations.all {
exclude group: "org.zkoss.zk", module: "zkwebfragment"
} For prior versions:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
metadata-complete="true">
</web-app> See updated grailszk-example. PS: There are other methods to prevent the |
Great job! Thank you :) |
I'm not able to run the grailszk-example within a Tomcat Application Container as described in https://docs.grails.org/4.0.0/guide/deployment.html#deploymentContainer.
The text was updated successfully, but these errors were encountered: