Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to deploy WildFly

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

How to deploy WildFly, I believe many inexperienced people are helpless about this, this article summarizes the causes and solutions of the problem, through this article I hope you can solve this problem.

After reinstalling the 2019.2 version of idea, wildfly8.1.0 doesn't work.

Problem: After startup, only wildfly started, the project seems not deployed, nor started, and after configuring wildfly, idea always identified as 16.1.0, do not know why.

Guess: 2019.2 idea is incompatible with wildfly 8.1.0 (or idea 2019.2 does not support wildfly 8.1.0).

Process: download the latest version of wildfly 17.0.0 again, although the startup failed, but finally deployed, there are error logs reported.

Problem: After using wildfly 17.0.0, the startup error is reported,

The requested URL/modules/system/layers/base/org/picketbox-4.9.4.Final.jar was not found on this server. auth.confcannot be read

Reason: In wildfly 10 and later versions, there is a system attribute java.security.auth.login.config, whose value is the above path, but in versions before 10, there is no such attribute, so, when using 10 and later versions, configure this system variable value to be empty, which is used to overwrite the original. - Djava.security.auth.login.config=

Question: What the java.security.auth.login.config attribute does

No answer, if God knows.

Issue: wildFly 17.0.0 startup error com.fasterxml.jackson.datatype.jdk8.Jdk8Module cannot be cast to com.fasterxml.jackson.databind.Module

Guess: wildFly 8 conflicts with jackson, so when using 8, add to jboss-deployment-structure.xml

However, at wildFly 17, this conflict may have been resolved, so the above code is not needed. After commenting it out, the error disappears.

After reading the above, do you know how to deploy WildFly? If you still want to learn more skills or want to know more related content, welcome to pay attention to the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report