tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Dev Lists <devli...@hanik.com>
Subject Re: Running MINA inside Tomcat causing problems.
Date Tue, 21 Aug 2007 17:57:43 GMT
then modify HostConfig.java to spit out that info, I looked at the code, 
it doesn't tell you why its reloading even with debug enabled

Filip

satish viswanatham wrote:
> Hi
>
> This undeploy does not happen during startup. It happens after receiving few
> TCP and UDP messages.
>
> Now the app gets un-deployed and does not get re-deployed. No additional
> information was provided why the app got un-deployed.
>
> I want to know the root cause of why the app being un-deployed?
>
> thanks
> Satish
>
> On 8/20/07, Filip Hanik - Dev Lists <devlists@hanik.com> wrote:
>   
>> does the undeploy happen during startup? or after running for a while?
>>
>> if it is during runtime, you can disable the host autoDeploy
>>
>> <Host deployOnStartup="true" autoDeploy="false".....>
>>
>> Filip
>>
>> satish viswanatham wrote:
>>     
>>> Is there way to log more details about  why HostConfig checkResources
>>>       
>> was
>>     
>>> called? On an exception or some other problem?
>>>
>>> Aug 20, 2007 1:24:54 PM
>>>       
>> org.apache.catalina.startup.HostConfigcheckResources
>>     
>>>> INFO: Undeploying context [/tester]
>>>>
>>>>         
>>> thanks
>>> Satish
>>>
>>> On 8/20/07, satish viswanatham <satish.viswanatham@gmail.com> wrote:
>>>
>>>       
>>>> Hi Filip,
>>>>
>>>> Thank you for a quick response.  I do have reloadable="false" in my
>>>> context.
>>>>
>>>> I do not see web.xml's time stamp changing.
>>>>
>>>> thanks
>>>> Satish
>>>>
>>>> On 8/20/07, Filip Hanik - Dev Lists <devlists@hanik.com> wrote:
>>>>
>>>>         
>>>>> make sure your turn reloadable="false" for your context,
>>>>> and make sure nothing modifies the timestamp of WEB-INF/web.xml
>>>>>
>>>>> Filip
>>>>>
>>>>> satish viswanatham wrote:
>>>>>
>>>>>           
>>>>>> Hi
>>>>>>
>>>>>> I have a Servlet- which start TCP and UDP MINA servers. After
>>>>>>
>>>>>>             
>>>>> receiving few
>>>>>
>>>>>           
>>>>>> packets on the server - the servlet gets un-deployed. Not java stack
>>>>>>
>>>>>>             
>>>>> trace
>>>>>
>>>>>           
>>>>>> or details were available in the logs. Is there is a way to debug
>>>>>>
>>>>>>             
>>>>> this? The
>>>>>
>>>>>           
>>>>>> code runs fine outside Tomcat.  I think MINA uses Sl4J and I made
>>>>>>             
>> sure
>>     
>>>>> I
>>>>>
>>>>>           
>>>>>> have commons-logging.jar, log4j.jar and sl4j-log4j12-1.3.1.jar. I
am
>>>>>>
>>>>>>             
>>>>> using
>>>>>
>>>>>           
>>>>>> Tomcat 5.5.12. Which version of log4j does Tomcat 5.5.12 use? I tried
>>>>>>
>>>>>>             
>>>>> with
>>>>>
>>>>>           
>>>>>> both Apache MINA 1.1 and 1.0. It has the same issue. I have just
this
>>>>>>
>>>>>>             
>>>>> web
>>>>>
>>>>>           
>>>>>> app deployed on tomcat.
>>>>>>
>>>>>> Please let me know, if you have suggestions.
>>>>>>
>>>>>> thanks
>>>>>>
>>>>>> Aug 20, 2007 1:24:54 PM
>>>>>>
>>>>>>             
>>>>> org.apache.catalina.startup.HostConfigcheckResources
>>>>>
>>>>>           
>>>>>> INFO: Undeploying context [/tester]
>>>>>>
>>>>>>
>>>>>> Aug 20, 2007 1:26:41 PM
>>>>>>
>>>>>>             
>>>>> org.apache.catalina.loader.WebappClassLoaderloadClass
>>>>>
>>>>>           
>>>>>> INFO: Illegal access: this web application instance has been stopped
>>>>>> already.  Could not load
>>>>>>
>>>>>>             
>> org.apache.mina.transport.socket.nio.support.DatagramConnectorDelegate
>>     
>>>>> .  The
>>>>>
>>>>>           
>>>>>> eventual following stack trace is caused by an error thrown for
>>>>>>
>>>>>>             
>>>>> debugging
>>>>>
>>>>>           
>>>>>> purposes as well as to attempt to terminate the thread which caused
>>>>>>
>>>>>>             
>>>>> the
>>>>>
>>>>>           
>>>>>> illegal access, and has no functional impact.
>>>>>> Aug 20, 2007 1:26:41 PM
>>>>>>
>>>>>>             
>>>>> org.apache.catalina.loader.WebappClassLoaderloadClass
>>>>>
>>>>>           
>>>>>> INFO: Illegal access: this web application instance has been stopped
>>>>>> already.  Could not load org.apache.log4j.spi.ThrowableInformation
>>>>>>
>>>>>>             
>>>>> .  The
>>>>>
>>>>>           
>>>>>> eventual following stack trace is caused by an error thrown for
>>>>>>
>>>>>>             
>>>>> debugging
>>>>>
>>>>>           
>>>>>> purposes as well as to attempt to terminate the thread which caused
>>>>>>
>>>>>>             
>>>>> the
>>>>>
>>>>>           
>>>>>> illegal access, and has no functional impact.
>>>>>> Aug 20, 2007 1:26:41 PM
>>>>>>
>>>>>>             
>>>>> org.apache.catalina.loader.WebappClassLoaderloadClass
>>>>>
>>>>>           
>>>>>> INFO: Illegal access: this web application instance has been stopped
>>>>>> already.  Could not load org.apache.log4j.spi.ThrowableInformation
>>>>>>
>>>>>>             
>>>>> .  The
>>>>>
>>>>>           
>>>>>> eventual following stack trace is caused by an error thrown for
>>>>>>
>>>>>>             
>>>>> debugging
>>>>>
>>>>>           
>>>>>> purposes as well as to attempt to terminate the thread which caused
>>>>>>
>>>>>>             
>>>>> the
>>>>>
>>>>>           
>>>>>> illegal access, and has no functional impact.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>             
>> ------------------------------------------------------------------------
>>     
>>>>>> No virus found in this incoming message.
>>>>>> Checked by AVG Free Edition.
>>>>>> Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date:
>>>>>>
>>>>>>             
>>>>> 8/19/2007 7:27 AM
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>>
>>>>>
>>>>>
>>>>>           
>>> ------------------------------------------------------------------------
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG Free Edition.
>>> Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date:
>>>       
>> 8/19/2007 7:27 AM
>>     
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>>     
>
>   
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition. 
> Version: 7.5.484 / Virus Database: 269.12.0/961 - Release Date: 8/19/2007 7:27 AM
>   


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message