IDEA seems to init web app 3 times on Tomcat startup

Is anyone else seeing this??? I just filed a bug for it, but it seems that
when I start IDEA my app inits 3 times for no good reason... Not sure what's
going on, it LOOKS like it's initing my app for EVERY context that exists,
although I have only ONE module with ONE context. Maybe it's not tossing
the old configs???

this doesn't happen in 4.0.x builds:

/Users/robert/Documents/jakarta-tomcat-5.0.24/bin/catalina.sh run
Using CATALINA_BASE: /Users/robert/Documents/jakarta-tomcat-5.0.24
Using CATALINA_HOME: /Users/robert/Documents/jakarta-tomcat-5.0.24
Using CATALINA_TMPDIR: /Users/robert/Documents/jakarta-tomcat-5.0.24/temp
Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Home
Jun 21, 2004 9:03:34 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 21, 2004 9:03:34 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3042 ms
Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/.
xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Connected to server
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:39 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/c
ool.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:42 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/m
esquite.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:46 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/w
ebapps.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:49 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 21, 2004 9:03:49 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 21, 2004 9:03:49 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=6/87
config=/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/jk2.properties
Jun 21, 2004 9:03:50 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15554 ms
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
TilesRequestProcessor - -Tiles definition factory found for request
processor ''.
PropertyMessageResources - -Initializing,
config='org.apache.struts.actions.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true

6 comments
Comment actions Permalink

Yup, just posted more info in the bug, but it seems that IDEA is loading
EVERYTHING in the work dir, even though a context is not supposed to be
loaded. This is bad. Why would I want every single web app to start if I
don't want to test it in IDEA? IDEA should be clearing the work dir and
ONLY loading the webapp context I am starting. Nothing else.

Further when IDEA is shutting down Tomcat, it should clean up the current
app's context.

R


On 6/21/04 9:10 AM, in article BCFC56A1.1EAC%robert@codepuccino.com, "Robert
S. Sfeir" <robert@codepuccino.com> wrote:

Is anyone else seeing this??? I just filed a bug for it, but it seems that
when I start IDEA my app inits 3 times for no good reason... Not sure what's
going on, it LOOKS like it's initing my app for EVERY context that exists,
although I have only ONE module with ONE context. Maybe it's not tossing
the old configs???

this doesn't happen in 4.0.x builds:

/Users/robert/Documents/jakarta-tomcat-5.0.24/bin/catalina.sh run
Using CATALINA_BASE: /Users/robert/Documents/jakarta-tomcat-5.0.24
Using CATALINA_HOME: /Users/robert/Documents/jakarta-tomcat-5.0.24
Using CATALINA_TMPDIR: /Users/robert/Documents/jakarta-tomcat-5.0.24/temp
Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Home
Jun 21, 2004 9:03:34 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 21, 2004 9:03:34 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3042 ms
Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/.
xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Connected to server
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:39 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/c
ool.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:42 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/m
esquite.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:46 AM org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/w
ebapps.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources', returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:49 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 21, 2004 9:03:49 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 21, 2004 9:03:49 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=6/87
config=/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/jk2.properties
Jun 21, 2004 9:03:50 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 15554 ms
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
TilesRequestProcessor - -Tiles definition factory found for request
processor ''.
PropertyMessageResources - -Initializing,
config='org.apache.struts.actions.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true


0
Comment actions Permalink

I am not sure if this is currently supported, but it should load each
webapp that is configured in the current run/debug configuration. For
most, this will only be one application, but a few unlucky people, it
would be multiple web applications.

This would allow me to configure my own /, and also /this and /that
when desired.

Norris Shelton
Sun Certified Java Programmer




Robert S. Sfeir wrote:

>Yup, just posted more info in the bug, but it seems that IDEA is loading
>EVERYTHING in the work dir, even though a context is not supposed to be
>loaded. This is bad. Why would I want every single web app to start if I
>don't want to test it in IDEA? IDEA should be clearing the work dir and
>ONLY loading the webapp context I am starting. Nothing else.
>
>Further when IDEA is shutting down Tomcat, it should clean up the current
>app's context.
>
>R
>
>
>On 6/21/04 9:10 AM, in article BCFC56A1.1EAC%robert@codepuccino.com, "Robert
>S. Sfeir" <robert@codepuccino.com> wrote:
>

>
>>Is anyone else seeing this??? I just filed a bug for it, but it seems that
>>when I start IDEA my app inits 3 times for no good reason... Not sure what's
>>going on, it LOOKS like it's initing my app for EVERY context that exists,
>>although I have only ONE module with ONE context. Maybe it's not tossing
>>the old configs???
>>
>>this doesn't happen in 4.0.x builds:
>>
>>/Users/robert/Documents/jakarta-tomcat-5.0.24/bin/catalina.sh run
>>Using CATALINA_BASE: /Users/robert/Documents/jakarta-tomcat-5.0.24
>>Using CATALINA_HOME: /Users/robert/Documents/jakarta-tomcat-5.0.24
>>Using CATALINA_TMPDIR: /Users/robert/Documents/jakarta-tomcat-5.0.24/temp
>>Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Home
>>Jun 21, 2004 9:03:34 AM org.apache.coyote.http11.Http11Protocol init
>>INFO: Initializing Coyote HTTP/1.1 on http-8080
>>Jun 21, 2004 9:03:34 AM org.apache.catalina.startup.Catalina load
>>INFO: Initialization processed in 3042 ms
>>Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardService start
>>INFO: Starting service Catalina
>>Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardEngine start
>>INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
>>Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost start
>>INFO: XML validation disabled
>>Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost getDeployer
>>INFO: Create Host deployer for direct deployment ( non-jmx )
>>Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHostDeployer
>>install
>>INFO: Processing Context configuration file URL
>>file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/.
>>xml
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.util.LocalStrings', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.action.ActionResources', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='java.resources.application', returnNull=true
>>[INFO] TilesPlugin - -Tiles definition factory loaded for module ''.
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validator-rules.xml'
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validation.xml'
>>Connected to server
>>Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting OJB Alias to: mesquite
>>Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>setOjbDBAlias
>>INFO: OJB DB ALIAS set to: mesquite
>>Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting Broker Key for Persistence Broker.
>>Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.Constants init
>>INFO: 32 Constants Found and Loaded!
>>Jun 21, 2004 9:03:39 AM org.apache.catalina.core.StandardHostDeployer
>>install
>>INFO: Processing Context configuration file URL
>>file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/c
>>ool.xml
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.util.LocalStrings', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.action.ActionResources', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='java.resources.application', returnNull=true
>>[INFO] TilesPlugin - -Tiles definition factory loaded for module ''.
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validator-rules.xml'
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validation.xml'
>>Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting OJB Alias to: mesquite
>>Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>setOjbDBAlias
>>INFO: OJB DB ALIAS set to: mesquite
>>Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting Broker Key for Persistence Broker.
>>Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.Constants init
>>INFO: 32 Constants Found and Loaded!
>>Jun 21, 2004 9:03:42 AM org.apache.catalina.core.StandardHostDeployer
>>install
>>INFO: Processing Context configuration file URL
>>file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/m
>>esquite.xml
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.util.LocalStrings', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.action.ActionResources', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='java.resources.application', returnNull=true
>>[INFO] TilesPlugin - -Tiles definition factory loaded for module ''.
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validator-rules.xml'
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validation.xml'
>>Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting OJB Alias to: mesquite
>>Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>setOjbDBAlias
>>INFO: OJB DB ALIAS set to: mesquite
>>Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting Broker Key for Persistence Broker.
>>Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.Constants init
>>INFO: 32 Constants Found and Loaded!
>>Jun 21, 2004 9:03:46 AM org.apache.catalina.core.StandardHostDeployer
>>install
>>INFO: Processing Context configuration file URL
>>file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/w
>>ebapps.xml
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.util.LocalStrings', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.action.ActionResources', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='java.resources.application', returnNull=true
>>[INFO] TilesPlugin - -Tiles definition factory loaded for module ''.
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validator-rules.xml'
>>[INFO] ValidatorPlugIn - -Loading validation rules file from
>>'/WEB-INF/classes/validation.xml'
>>Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting OJB Alias to: mesquite
>>Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>setOjbDBAlias
>>INFO: OJB DB ALIAS set to: mesquite
>>Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>initConnection
>>INFO: Setting Broker Key for Persistence Broker.
>>Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.Constants init
>>INFO: 32 Constants Found and Loaded!
>>Jun 21, 2004 9:03:49 AM org.apache.coyote.http11.Http11Protocol start
>>INFO: Starting Coyote HTTP/1.1 on http-8080
>>Jun 21, 2004 9:03:49 AM org.apache.jk.common.ChannelSocket init
>>INFO: JK2: ajp13 listening on /0.0.0.0:8009
>>Jun 21, 2004 9:03:49 AM org.apache.jk.server.JkMain start
>>INFO: Jk running ID=0 time=6/87
>>config=/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/jk2.properties
>>Jun 21, 2004 9:03:50 AM org.apache.catalina.startup.Catalina start
>>INFO: Server startup in 15554 ms
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
>>[INFO] TilesRequestProcessor - -Tiles definition factory found for request
>>processor ''.
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.actions.LocalStrings', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
>>[INFO] PropertyMessageResources - -Initializing,
>>config='org.apache.struts.util.LocalStrings', returnNull=true
>>
>>
>>
>

>

0
Comment actions Permalink

It does do that, but that¹s part of the problem, it doesn¹t clean it up
afterwards, so if you change /this to /that, then it will display the old
/that home page, hence the problem you saw this weekend. Further from what
I found this AM, if you change /this to /that, your app will get loaded
twice as /this AND /that!

R


On 6/21/04 10:40 AM, in article 40D6F34E.1020602@yahoo.com, "Norris Shelton"
<i.hate.spam@yahoo.com> wrote:

I am not sure if this is currently supported, but it should load each webapp
that is configured in the current run/debug configuration. For most, this
will only be one application, but a few unlucky people, it would be multiple
web applications.

This would allow me to configure my own /, and also /this and /that when
desired.
Norris Shelton
Sun Certified Java Programmer



Robert S. Sfeir wrote:

>>
>> Yup, just posted more info in the bug, but it seems that IDEA is loading
>> EVERYTHING in the work dir, even though a context is not supposed to be
>> loaded. This is bad. Why would I want every single web app to start if I
>> don't want to test it in IDEA? IDEA should be clearing the work dir and
>> ONLY loading the webapp context I am starting. Nothing else.
>>
>> Further when IDEA is shutting down Tomcat, it should clean up the current
>> app's context.
>>
>> R
>>
>>
>> On 6/21/04 9:10 AM, in article BCFC56A1.1EAC%robert@codepuccino.com, "Robert
>> S. Sfeir" <robert@codepuccino.com> <mailto:robert@codepuccino.com> wrote:
>>
>>
>>
>>>
>>> Is anyone else seeing this??? I just filed a bug for it, but it seems that
>>> when I start IDEA my app inits 3 times for no good reason... Not sure what's
>>> going on, it LOOKS like it's initing my app for EVERY context that exists,
>>> although I have only ONE module with ONE context. Maybe it's not tossing
>>> the old configs???
>>>
>>> this doesn't happen in 4.0.x builds:
>>>
>>> /Users/robert/Documents/jakarta-tomcat-5.0.24/bin/catalina.sh run
>>> Using CATALINA_BASE: /Users/robert/Documents/jakarta-tomcat-5.0.24
>>> Using CATALINA_HOME: /Users/robert/Documents/jakarta-tomcat-5.0.24
>>> Using CATALINA_TMPDIR: /Users/robert/Documents/jakarta-tomcat-5.0.24/temp
>>> Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Home
>>> Jun 21, 2004 9:03:34 AM org.apache.coyote.http11.Http11Protocol init
>>> INFO: Initializing Coyote HTTP/1.1 on http-8080
>>> Jun 21, 2004 9:03:34 AM org.apache.catalina.startup.Catalina load
>>> INFO: Initialization processed in 3042 ms
>>> Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardService start
>>> INFO: Starting service Catalina
>>> Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardEngine start
>>> INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
>>> Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost start
>>> INFO: XML validation disabled
>>> Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost getDeployer
>>> INFO: Create Host deployer for direct deployment ( non-jmx )
>>> Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHostDeployer
>>> install
>>> INFO: Processing Context configuration file URL
>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/.
>>> xml
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='java.resources.application', returnNull=true
>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validator-rules.xml'
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validation.xml'
>>> Connected to server
>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting OJB Alias to: mesquite
>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>> setOjbDBAlias
>>> INFO: OJB DB ALIAS set to: mesquite
>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting Broker Key for Persistence Broker.
>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.Constants init
>>> INFO: 32 Constants Found and Loaded!
>>> Jun 21, 2004 9:03:39 AM org.apache.catalina.core.StandardHostDeployer
>>> install
>>> INFO: Processing Context configuration file URL
>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/c
>>> ool.xml
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='java.resources.application', returnNull=true
>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validator-rules.xml'
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validation.xml'
>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting OJB Alias to: mesquite
>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>> setOjbDBAlias
>>> INFO: OJB DB ALIAS set to: mesquite
>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting Broker Key for Persistence Broker.
>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.Constants init
>>> INFO: 32 Constants Found and Loaded!
>>> Jun 21, 2004 9:03:42 AM org.apache.catalina.core.StandardHostDeployer
>>> install
>>> INFO: Processing Context configuration file URL
>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/m
>>> esquite.xml
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='java.resources.application', returnNull=true
>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validator-rules.xml'
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validation.xml'
>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting OJB Alias to: mesquite
>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>> setOjbDBAlias
>>> INFO: OJB DB ALIAS set to: mesquite
>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting Broker Key for Persistence Broker.
>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.Constants init
>>> INFO: 32 Constants Found and Loaded!
>>> Jun 21, 2004 9:03:46 AM org.apache.catalina.core.StandardHostDeployer
>>> install
>>> INFO: Processing Context configuration file URL
>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/w
>>> ebapps.xml
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='java.resources.application', returnNull=true
>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validator-rules.xml'
>>> ValidatorPlugIn - -Loading validation rules file from
>>> '/WEB-INF/classes/validation.xml'
>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting OJB Alias to: mesquite
>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>> setOjbDBAlias
>>> INFO: OJB DB ALIAS set to: mesquite
>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>> initConnection
>>> INFO: Setting Broker Key for Persistence Broker.
>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.Constants init
>>> INFO: 32 Constants Found and Loaded!
>>> Jun 21, 2004 9:03:49 AM org.apache.coyote.http11.Http11Protocol start
>>> INFO: Starting Coyote HTTP/1.1 on http-8080
>>> Jun 21, 2004 9:03:49 AM org.apache.jk.common.ChannelSocket init
>>> INFO: JK2: ajp13 listening on /0.0.0.0:8009
>>> Jun 21, 2004 9:03:49 AM org.apache.jk.server.JkMain start
>>> INFO: Jk running ID=0 time=6/87
>>> config=/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/jk2.properties
>>> Jun 21, 2004 9:03:50 AM org.apache.catalina.startup.Catalina start
>>> INFO: Server startup in 15554 ms
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
>>> TilesRequestProcessor - -Tiles definition factory found for request
>>> processor ''.
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.actions.LocalStrings', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
>>> PropertyMessageResources - -Initializing,
>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>>
>>>
>>>
>>
>>
>>



0
Comment actions Permalink

Correct, I have the same problem. It is like it is not comparing the
.jsp to the _jsp.java like tomcat does. It is not aware that it is now
a different page.

Doh.

Norris Shelton
Sun Certified Java Programmer




Robert S. Sfeir wrote:

It does do that, but that's part of the problem, it doesn't clean it
up afterwards, so if you change /this to /that, then it will display
the old /that home page, hence the problem you saw this weekend.
Further from what I found this AM, if you change /this to /that, your
app will get loaded twice as /this AND /that!

>

R

>
>

On 6/21/04 10:40 AM, in article 40D6F34E.1020602@yahoo.com, "Norris
Shelton" <i.hate.spam@yahoo.com> wrote:

>

I am not sure if this is currently supported, but it should load
each webapp that is configured in the current run/debug
configuration. For most, this will only be one application, but a
few unlucky people, it would be multiple web applications.

>

This would allow me to configure my own /, and also /this and
/that when desired.
Norris Shelton
Sun Certified Java Programmer

>
>
>

Robert S. Sfeir wrote:

>
>

Yup, just posted more info in the bug, but it seems that IDEA
is loading
EVERYTHING in the work dir, even though a context is not
supposed to be
loaded. This is bad. Why would I want every single web app
to start if I
don't want to test it in IDEA? IDEA should be clearing the
work dir and
ONLY loading the webapp context I am starting. Nothing else.

>

Further when IDEA is shutting down Tomcat, it should clean up
the current
app's context.

>

R

>
>

On 6/21/04 9:10 AM, in article
BCFC56A1.1EAC%robert@codepuccino.com, "Robert
S. Sfeir" <robert@codepuccino.com>
<mailto:robert@codepuccino.com> wrote:

>


>
>

Is anyone else seeing this??? I just filed a bug for it,
but it seems that
when I start IDEA my app inits 3 times for no good
reason... Not sure what's
going on, it LOOKS like it's initing my app for EVERY
context that exists,
although I have only ONE module with ONE context. Maybe
it's not tossing
the old configs???

>

this doesn't happen in 4.0.x builds:

>

/Users/robert/Documents/jakarta-tomcat-5.0.24/bin/catalina.sh
run
Using CATALINA_BASE:
/Users/robert/Documents/jakarta-tomcat-5.0.24
Using CATALINA_HOME:
/Users/robert/Documents/jakarta-tomcat-5.0.24
Using CATALINA_TMPDIR:
/Users/robert/Documents/jakarta-tomcat-5.0.24/temp
Using JAVA_HOME:
/System/Library/Frameworks/JavaVM.framework/Home
Jun 21, 2004 9:03:34 AM
org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 21, 2004 9:03:34 AM
org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3042 ms
Jun 21, 2004 9:03:34 AM
org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 21, 2004 9:03:34 AM
org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
Jun 21, 2004 9:03:35 AM
org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Jun 21, 2004 9:03:35 AM
org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Jun 21, 2004 9:03:35 AM
org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/.
xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources',
returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for
module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Connected to server
Jun 21, 2004 9:03:39 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:39 AM
com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:39 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:39 AM
com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:39 AM
org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/c
ool.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources',
returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for
module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:42 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:42 AM
com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:42 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:42 AM
com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:42 AM
org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/m
esquite.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources',
returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for
module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:46 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:46 AM
com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:46 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:46 AM
com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:46 AM
org.apache.catalina.core.StandardHostDeployer
install
INFO: Processing Context configuration file URL
file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost/w
ebapps.xml
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.action.ActionResources',
returnNull=true
PropertyMessageResources - -Initializing,
config='java.resources.application', returnNull=true
TilesPlugin - -Tiles definition factory loaded for
module ''.
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validator-rules.xml'
ValidatorPlugIn - -Loading validation rules file from
'/WEB-INF/classes/validation.xml'
Jun 21, 2004 9:03:48 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting OJB Alias to: mesquite
Jun 21, 2004 9:03:48 AM
com.codepuccino.utilities.BaseOJBConnector
setOjbDBAlias
INFO: OJB DB ALIAS set to: mesquite
Jun 21, 2004 9:03:48 AM
com.codepuccino.utilities.BaseOJBConnector
initConnection
INFO: Setting Broker Key for Persistence Broker.
Jun 21, 2004 9:03:48 AM
com.codepuccino.utilities.Constants init
INFO: 32 Constants Found and Loaded!
Jun 21, 2004 9:03:49 AM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 21, 2004 9:03:49 AM org.apache.jk.common.ChannelSocket
init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Jun 21, 2004 9:03:49 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=6/87
config=/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/jk2.properties
Jun 21, 2004 9:03:50 AM
org.apache.catalina.startup.Catalina start
INFO: Server startup in 15554 ms
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.logic.LocalStrings',
returnNull=true
TilesRequestProcessor - -Tiles definition factory
found for request
processor ''.
PropertyMessageResources - -Initializing,
config='org.apache.struts.actions.LocalStrings',
returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.html.LocalStrings',
returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.taglib.html.LocalStrings',
returnNull=true
PropertyMessageResources - -Initializing,
config='org.apache.struts.util.LocalStrings', returnNull=true

>


>
>
>

>
>
>

0
Comment actions Permalink

Or different context for that matter. I bet if we look in the generated
java file, the package will be wrong also.

R


On 6/21/04 10:57 AM, in article 40D6F755.7030103@yahoo.com, "Norris Shelton"
<i.hate.spam@yahoo.com> wrote:

Correct, I have the same problem. It is like it is not comparing the .jsp to
the _jsp.java like tomcat does. It is not aware that it is now a different
page.

Doh.
Norris Shelton
Sun Certified Java Programmer



Robert S. Sfeir wrote:

>> Re: IDEA seems to init web app 3 times on Tomcat startup It does do that,
>> but that¹s part of the problem, it doesn¹t clean it up afterwards, so if you
>> change /this to /that, then it will display the old /that home page, hence
>> the problem you saw this weekend. Further from what I found this AM, if you
>> change /this to /that, your app will get loaded twice as /this AND /that!
>>
>> R
>>
>>
>> On 6/21/04 10:40 AM, in article 40D6F34E.1020602@yahoo.com, "Norris Shelton"
>> <i.hate.spam@yahoo.com> <mailto:i.hate.spam@yahoo.com> wrote:
>>
>>
>>> I am not sure if this is currently supported, but it should load each webapp
>>> that is configured in the current run/debug configuration. For most, this
>>> will only be one application, but a few unlucky people, it would be multiple
>>> web applications.
>>>
>>> This would allow me to configure my own /, and also /this and /that when
>>> desired.
>>> Norris Shelton
>>> Sun Certified Java Programmer
>>>
>>>
>>>
>>> Robert S. Sfeir wrote:
>>>
>>>>
>>>> Yup, just posted more info in the bug, but it seems that IDEA is loading
>>>> EVERYTHING in the work dir, even though a context is not supposed to be
>>>> loaded. This is bad. Why would I want every single web app to start if I
>>>> don't want to test it in IDEA? IDEA should be clearing the work dir and
>>>> ONLY loading the webapp context I am starting. Nothing else.
>>>>
>>>> Further when IDEA is shutting down Tomcat, it should clean up the current
>>>> app's context.
>>>>
>>>> R
>>>>
>>>>
>>>> On 6/21/04 9:10 AM, in article BCFC56A1.1EAC%robert@codepuccino.com,
>>>> "Robert
>>>> S. Sfeir" <robert@codepuccino.com> <mailto:robert@codepuccino.com>
>>>> <mailto:robert@codepuccino.com> wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> Is anyone else seeing this??? I just filed a bug for it, but it seems
>>>>> that
>>>>> when I start IDEA my app inits 3 times for no good reason... Not sure
>>>>> what's
>>>>> going on, it LOOKS like it's initing my app for EVERY context that exists,
>>>>> although I have only ONE module with ONE context. Maybe it's not tossing
>>>>> the old configs???
>>>>>
>>>>> this doesn't happen in 4.0.x builds:
>>>>>
>>>>> /Users/robert/Documents/jakarta-tomcat-5.0.24/bin/catalina.sh run
>>>>> Using CATALINA_BASE: /Users/robert/Documents/jakarta-tomcat-5.0.24
>>>>> Using CATALINA_HOME: /Users/robert/Documents/jakarta-tomcat-5.0.24
>>>>> Using CATALINA_TMPDIR: /Users/robert/Documents/jakarta-tomcat-5.0.24/temp
>>>>> Using JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Home
>>>>> Jun 21, 2004 9:03:34 AM org.apache.coyote.http11.Http11Protocol init
>>>>> INFO: Initializing Coyote HTTP/1.1 on http-8080
>>>>> Jun 21, 2004 9:03:34 AM org.apache.catalina.startup.Catalina load
>>>>> INFO: Initialization processed in 3042 ms
>>>>> Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardService start
>>>>> INFO: Starting service Catalina
>>>>> Jun 21, 2004 9:03:34 AM org.apache.catalina.core.StandardEngine start
>>>>> INFO: Starting Servlet Engine: Apache Tomcat/5.0.24
>>>>> Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost start
>>>>> INFO: XML validation disabled
>>>>> Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHost getDeployer
>>>>> INFO: Create Host deployer for direct deployment ( non-jmx )
>>>>> Jun 21, 2004 9:03:35 AM org.apache.catalina.core.StandardHostDeployer
>>>>> install
>>>>> INFO: Processing Context configuration file URL
>>>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost
>>>>> /.
>>>>> xml
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='java.resources.application', returnNull=true
>>>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validator-rules.xml'
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validation.xml'
>>>>> Connected to server
>>>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting OJB Alias to: mesquite
>>>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> setOjbDBAlias
>>>>> INFO: OJB DB ALIAS set to: mesquite
>>>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting Broker Key for Persistence Broker.
>>>>> Jun 21, 2004 9:03:39 AM com.codepuccino.utilities.Constants init
>>>>> INFO: 32 Constants Found and Loaded!
>>>>> Jun 21, 2004 9:03:39 AM org.apache.catalina.core.StandardHostDeployer
>>>>> install
>>>>> INFO: Processing Context configuration file URL
>>>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost
>>>>> /c
>>>>> ool.xml
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='java.resources.application', returnNull=true
>>>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validator-rules.xml'
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validation.xml'
>>>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting OJB Alias to: mesquite
>>>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> setOjbDBAlias
>>>>> INFO: OJB DB ALIAS set to: mesquite
>>>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting Broker Key for Persistence Broker.
>>>>> Jun 21, 2004 9:03:42 AM com.codepuccino.utilities.Constants init
>>>>> INFO: 32 Constants Found and Loaded!
>>>>> Jun 21, 2004 9:03:42 AM org.apache.catalina.core.StandardHostDeployer
>>>>> install
>>>>> INFO: Processing Context configuration file URL
>>>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost
>>>>> /m
>>>>> esquite.xml
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='java.resources.application', returnNull=true
>>>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validator-rules.xml'
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validation.xml'
>>>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting OJB Alias to: mesquite
>>>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> setOjbDBAlias
>>>>> INFO: OJB DB ALIAS set to: mesquite
>>>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting Broker Key for Persistence Broker.
>>>>> Jun 21, 2004 9:03:46 AM com.codepuccino.utilities.Constants init
>>>>> INFO: 32 Constants Found and Loaded!
>>>>> Jun 21, 2004 9:03:46 AM org.apache.catalina.core.StandardHostDeployer
>>>>> install
>>>>> INFO: Processing Context configuration file URL
>>>>> file:/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/Catalina/localhost
>>>>> /w
>>>>> ebapps.xml
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.action.ActionResources', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='java.resources.application', returnNull=true
>>>>> TilesPlugin - -Tiles definition factory loaded for module ''.
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validator-rules.xml'
>>>>> ValidatorPlugIn - -Loading validation rules file from
>>>>> '/WEB-INF/classes/validation.xml'
>>>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting OJB Alias to: mesquite
>>>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> setOjbDBAlias
>>>>> INFO: OJB DB ALIAS set to: mesquite
>>>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.BaseOJBConnector
>>>>> initConnection
>>>>> INFO: Setting Broker Key for Persistence Broker.
>>>>> Jun 21, 2004 9:03:48 AM com.codepuccino.utilities.Constants init
>>>>> INFO: 32 Constants Found and Loaded!
>>>>> Jun 21, 2004 9:03:49 AM org.apache.coyote.http11.Http11Protocol start
>>>>> INFO: Starting Coyote HTTP/1.1 on http-8080
>>>>> Jun 21, 2004 9:03:49 AM org.apache.jk.common.ChannelSocket init
>>>>> INFO: JK2: ajp13 listening on /0.0.0.0:8009
>>>>> Jun 21, 2004 9:03:49 AM org.apache.jk.server.JkMain start
>>>>> INFO: Jk running ID=0 time=6/87
>>>>> config=/Users/robert/Documents/jakarta-tomcat-5.0.24/conf/jk2.properties
>>>>> Jun 21, 2004 9:03:50 AM org.apache.catalina.startup.Catalina start
>>>>> INFO: Server startup in 15554 ms
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.taglib.logic.LocalStrings', returnNull=true
>>>>> TilesRequestProcessor - -Tiles definition factory found for request
>>>>> processor ''.
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.actions.LocalStrings', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
>>>>> PropertyMessageResources - -Initializing,
>>>>> config='org.apache.struts.util.LocalStrings', returnNull=true
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>



0
Comment actions Permalink

Guys, could you please restrict your quotings a bit? The excessive quotes in your postings make your dialog really difficult and unpleasant to read!

In German usenet, there is even an akronym for that type of quoting: "TOFU", which stands for "Text oben - Fullquote unten" (oben = above, unten = below). And many people regard tofu to be the vegetarian equivalent of spam...

Best regards,
Jens

0

Please sign in to leave a comment.