Why can I deploy the WAR into GlassFish server?
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.