tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfarc...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core StandardEngine.java
Date Fri, 04 Apr 2003 22:46:17 GMT
jfarcand    2003/04/04 14:46:17

  Modified:    catalina/src/share/org/apache/catalina/core
                        StandardEngine.java
  Log:
  Set the container before initializing a Service (throws a NPE when embedded).
  
  Revision  Changes    Path
  1.9       +5 -5      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java
  
  Index: StandardEngine.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardEngine.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- StandardEngine.java	21 Mar 2003 07:34:39 -0000	1.8
  +++ StandardEngine.java	4 Apr 2003 22:46:17 -0000	1.9
  @@ -413,8 +413,8 @@
               // for consistency...: we are probably in embeded mode
               try {
                   service=new StandardService();
  -                service.initialize();
                   service.setContainer( this );
  +                service.initialize();
               } catch( Throwable t ) {
                   t.printStackTrace();
               }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message