-
-
Notifications
You must be signed in to change notification settings - Fork 951
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
Grails 5 - Unable to deploy on Wildfly 26.1.2 #12743
Comments
Hello Guys, i'm facing the same issue with the latest version of Grails. If we use an older version(Grails 3 for example), the application is deployed with success and works normally. |
I would like to update grails to version 5, but I will do it after solved. |
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@puneetbehl Could you help me with this issue? I replicated test with grails 5.2.5 and 6.0.0-M1 versions and I got same problem. Even after updating micronaut dependencies and some related fixes from latest grails versions. This error occurs only at deployment time in wildfly. |
I am getting same error while deploying sample hello world grails 5.2.5 on Websphere server. If you are able to resolve it or provide any insights, please share it. Thank you. |
@tpraj24 I didn't get a chance to look at it. |
hi Puneet - Following up to see if you got a chance to check this. We are in process of migrating to grails 5 and our application runs on Websphere server, we were not able to go further without resolving this deployment issue. Any help is really appreciated. |
Did you able to pass through this issue. |
I tried with latest stable grails release (5.3.2), that too have the same issue. I tried the workaround here. But it is not working somehow. Anyone found the solution for this? |
Do these changes fixes the issue? If so then shouldn't there be a new release with this fix? @puneetbehl can you kindly help to fix the issue in probably new release or guide how it can be used in existing 5.3.2 release? |
Also I have this problem with Grails 5.2.0 and Tomcat 9 |
Hi @ziceck I used another approach without application container running grails with embedded tomcat and nginx as reverse proxy. |
same issue here, grails 5.3.2, wildfly 27.0.1 final. We are not using any micronaut dependency. |
In my case, with Grails 4.x I was using |
thanks but this didn't solve the problem. I understand that your case was replaced by different versions of gradle. |
Investigating a little more, I see that the micronaut dependency, although our project does not add it, is transitive due to the grails-core dependency. I also add that the war created with gradle assemble, which includes embedded tomcat, while giving java -jar file.war, works correctly. The problem is with the war that does not include embedded tomcat, and that we need to use it on wildfly 20. I tested in my case both on wildfly 20 and wildfly 27 that have error. (adding websphere and tomcat, which mentioned above) |
I add that this happens both using grails 5.3.2, 5.3.3, and grails 6.0.0 latest version |
I'm having this issue too and while not having a solution I think that very probably the error comes from Micronaut, not from Grails, but as Grails 5 and 6 rely on Micronaut we inherit this error. |
I believe the root cause is that Wildfly 26.1.2 doesn't provide support for Jakarta EE 10. Please try using the latest WildFly release and feel free to reopen this issue if you find any other errors. |
test-6.2.0.zip Grails documentation mentions that "The Grails framework requires that runtime containers support Servlet 3.0 and above". Is there any way to make my Grails app compatible with either Jakarta EE 8 / Servlet API 4.0 or Jakarta EE 10 / Servlet API 6.0? |
did you find any solution to deploy grails 5+ on wildfly 31? i have tried to deploy a "hellow world" grails 5.3.6 project on wildfly 31 but i get "403 forbidden". |
I'm trying to deploy my grails application (latest stable version 5.2.4) on Wildfly application server (version 26.1.2). I've dealt with some log-related conflict points, however, now I'm getting the following error:
This seems to have something bug from micronaut dependency. Maybe the issue below:
micronaut-projects/micronaut-core#7144
Gradle dependencies:
WEB-INF jboss configs:
jboss-web.xml
jboss-deployment-structure
Expected Behavior
Deploy and usually run the application in Wildfly as grails 5.2.4.
Actual Behaviour
Failed deployment
Steps To Reproduce
1.Run grails clean
2. Run grails dev war
3. Upload war on wildfly management interface
4. I got the above mentioned error
Environment Information
Example Application
No response
Version
5.2.4
The text was updated successfully, but these errors were encountered: