Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why can I deploy the WAR into GlassFish server?

deploy glassfish server War
0
Posted

Why can I deploy the WAR into GlassFish server?

0

A. This is becuase a known issue about logging confict. However, fortunately, we have a simple solution. Find the logging configuration file located at nexus.war/WEB-INF/log4j.properties, remove the console appender like this: • In the first line, change “log4j.rootLogger=INFO, console, logfile” to “log4j.rootLogger=INFO, logfile” • Remove the last 3 lines staring with “log4j.appender.console” Then restart GlassFish and deploy the WAR with the modified log4j.properties file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123