You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2009/05/24 19:32:49 UTC
svn commit: r778195 -
/tomcat/trunk/java/org/apache/catalina/core/StandardService.java
Author: markt
Date: Sun May 24 17:32:49 2009
New Revision: 778195
URL: http://svn.apache.org/viewvc?rev=778195&view=rev
Log:
Remove another ServerFactory reference
Modified:
tomcat/trunk/java/org/apache/catalina/core/StandardService.java
Modified: tomcat/trunk/java/org/apache/catalina/core/StandardService.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardService.java?rev=778195&r1=778194&r2=778195&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/core/StandardService.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardService.java Sun May 24 17:32:49 2009
@@ -662,10 +662,9 @@
}
if( server==null ) {
- // Register with the server
- // HACK: ServerFactory should be removed...
-
- ServerFactory.getServer().addService(this);
+ // If no server was defined - create one
+ server = new StandardServer();
+ server.addService(this);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org