Index: web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java =================================================================== --- web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java (revision 33171) +++ web-glue/src/main/java/com/sun/enterprise/web/WebContainer.java (working copy) @@ -47,7 +47,6 @@ import javax.servlet.jsp.JspFactory; import com.sun.appserv.server.util.Version; import com.sun.common.util.logging.LoggingConfigImpl; -import com.sun.enterprise.config.serverbeans.ApplicationRef; import com.sun.enterprise.config.serverbeans.Config; import com.sun.enterprise.config.serverbeans.ConfigBeansUtilities; import com.sun.enterprise.config.serverbeans.DasConfig; @@ -55,7 +54,6 @@ import com.sun.enterprise.config.serverbeans.HttpService; import com.sun.enterprise.config.serverbeans.SecurityService; import com.sun.enterprise.config.serverbeans.Server; -import com.sun.enterprise.config.serverbeans.Servers; import com.sun.enterprise.config.serverbeans.SessionProperties; import com.sun.enterprise.container.common.spi.util.ComponentEnvManager; import com.sun.enterprise.container.common.spi.util.InjectionManager; @@ -484,6 +482,7 @@ if (serverInfo == null) { ServerInfo.setServerInfo(Version.getVersion()); ServerInfo.setPublicServerInfo(Version.getVersion()); + System.setProperty("product.name", Version.getVersion()); } else if (serverInfo.isEmpty()) { ServerInfo.setServerInfo(Version.getVersion()); ServerInfo.setPublicServerInfo(serverInfo); @@ -491,7 +490,7 @@ ServerInfo.setServerInfo(serverInfo); ServerInfo.setPublicServerInfo(serverInfo); } - + _logger.log(Level.INFO, "product name is: " + System.getProperty("product.name")); initInstanceSessionProperties(); ConstructorWomb womb = @@ -3189,4 +3188,4 @@ public Class loadCommonClass(String className) throws Exception { return clh.getCommonClassLoader().loadClass(className); } -} +} \ No newline at end of file