ASF Bugzilla – Attachment 16519 Details for
Bug 36802
Embeded Tomcat Initialises Context Twice
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to StandardContext to prevent double initialisation.
StandardContext-patch.txt (text/plain), 932 bytes, created by
Darran Lofthouse
on 2005-09-24 22:40:35 UTC
(
hide
)
Description:
Update to StandardContext to prevent double initialisation.
Filename:
MIME Type:
Creator:
Darran Lofthouse
Created:
2005-09-24 22:40:35 UTC
Size:
932 bytes
patch
obsolete
>Index: StandardContext.java >=================================================================== >RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/StandardContext.java,v >retrieving revision 1.176 >diff -u -r1.176 StandardContext.java >--- StandardContext.java 12 Sep 2005 00:19:38 -0000 1.176 >+++ StandardContext.java 24 Sep 2005 17:47:15 -0000 >@@ -5035,10 +5035,13 @@ > throw e; > } > } >- super.init(); > >- // Notify our interested LifecycleListeners >- lifecycle.fireLifecycleEvent(INIT_EVENT, null); >+ if ( initialized == false ) { >+ super.init(); >+ >+ // Notify our interested LifecycleListeners >+ lifecycle.fireLifecycleEvent(INIT_EVENT, null); >+ } > > // Send j2ee.state.starting notification > if (this.getObjectName() != null) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36802
: 16519