Re: why is ContextListener.attributeAdded means?

2019-07-24 Thread Karen Goh
 




On Wednesday, July 24, 2019, 11:29:39 PM GMT+8, Mark Eggers 
 wrote:


On 7/24/2019 12:58 AM, Karen Goh wrote:
> 
>
>
>
>
> On Wednesday, July 24, 2019, 12:54:35 PM GMT+8, Mark Eggers 
>  wrote:
>
>
> Karen,
>
> On 7/23/2019 7:41 PM, Karen Goh wrote:
>> Dear experts,
>>
>> I need some help again.
>>
>> I am trying to get a html page out on my browser, I changed my Tomcat server 
>> as the previous one has some Ant script 'creeping in when I downloaded an 
>> example'. However, I do not know why am I receiving an error message ?
>>
>> Background :-
>> -
>> Netbean IDE
>> Windows OS
>> Tomcat 9.0.12
>> JEE
>>
>> Error Message :
>>
>> 24-Jul-2019 10:03:27.271 INFO [main] 
>> org.apache.catalina.core.ApplicationContext.log ContextListener: 
>> contextInitialized()
>> 24-Jul-2019 10:03:27.271 INFO [main] 
>> org.apache.catalina.core.ApplicationContext.log SessionListener: 
>> contextInitialized()
>> 24-Jul-2019 10:03:27.292 INFO [main] 
>> org.apache.catalina.core.ApplicationContext.log ContextListener: 
>> attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')
>>
>> Can I know why there is a ContextListner:attributeAdded('StockTicer', 
>> 'async.Stockticker@4fa4f485') as appeared in the log ?
>>
>> How do I make it go away so that I can run my webApp ?
>>
>> Thank you for your help.
>> Karen
>
>
> This is coming from the examples that are shipped with Tomcat. In
> particular, this appears to be from the Stock Ticker asynchronous example.
>
> In other words, this is nothing to be concerned about.
>
> . . . just my two cents.
> /mde/
>
> I have never seen this log infor pop up.
>
> Now, I have another problem - Tomcat server keeps popping up the 
> authentication gui - Tomcat manager.
>
> I can't get this Tomcat Manager GUI to stop appear. And I have not configure 
> the app to use Tomcat Manager at all.
>
> Please let me know how to stop if from appearing.
>
> Tks.

This is a NetBeans thing. NetBeans uses the manager application (and the
manager-script role) to deploy or redeploy to Tomcat.

The instructions for configuring tomcat-users.xml are in that file.

Normally when you add a Tomcat server to NetBeans, it will ask to create
the user with that manager-script role if one does not exist. Or you
could supply one that you've configured in tomcat-users.xml.

Then save the password in NetBeans, so that you won't get prompted each
time there's a deploy or redeploy.

NetBeans by default will redeploy on save if you are currently running
the application. If you save the password for the user with the
manager-script role, then you should not see the prompt.

If the application is not running in Tomcat, then NetBeans won't try to
redeploy on save.


Thanks Mike. 

. . . just my two cents
/mde/


  

Re: why is ContextListener.attributeAdded means?

2019-07-24 Thread Mark Eggers
On 7/24/2019 12:58 AM, Karen Goh wrote:
>  
> 
> 
> 
> 
> On Wednesday, July 24, 2019, 12:54:35 PM GMT+8, Mark Eggers 
>  wrote:
> 
> 
> Karen,
> 
> On 7/23/2019 7:41 PM, Karen Goh wrote:
>> Dear experts,
>>
>> I need some help again.
>>
>> I am trying to get a html page out on my browser, I changed my Tomcat server 
>> as the previous one has some Ant script 'creeping in when I downloaded an 
>> example'. However, I do not know why am I receiving an error message ?
>>
>> Background :-
>> -
>> Netbean IDE
>> Windows OS
>> Tomcat 9.0.12
>> JEE
>>
>> Error Message :
>>
>> 24-Jul-2019 10:03:27.271 INFO [main] 
>> org.apache.catalina.core.ApplicationContext.log ContextListener: 
>> contextInitialized()
>> 24-Jul-2019 10:03:27.271 INFO [main] 
>> org.apache.catalina.core.ApplicationContext.log SessionListener: 
>> contextInitialized()
>> 24-Jul-2019 10:03:27.292 INFO [main] 
>> org.apache.catalina.core.ApplicationContext.log ContextListener: 
>> attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')
>>
>> Can I know why there is a ContextListner:attributeAdded('StockTicer', 
>> 'async.Stockticker@4fa4f485') as appeared in the log ?
>>
>> How do I make it go away so that I can run my webApp ?
>>
>> Thank you for your help.
>> Karen
> 
> 
> This is coming from the examples that are shipped with Tomcat. In
> particular, this appears to be from the Stock Ticker asynchronous example.
> 
> In other words, this is nothing to be concerned about.
> 
> . . . just my two cents.
> /mde/
> 
> I have never seen this log infor pop up.
> 
> Now, I have another problem - Tomcat server keeps popping up the 
> authentication gui - Tomcat manager.
> 
> I can't get this Tomcat Manager GUI to stop appear. And I have not configure 
> the app to use Tomcat Manager at all.
> 
> Please let me know how to stop if from appearing.
> 
> Tks.

This is a NetBeans thing. NetBeans uses the manager application (and the
manager-script role) to deploy or redeploy to Tomcat.

The instructions for configuring tomcat-users.xml are in that file.

Normally when you add a Tomcat server to NetBeans, it will ask to create
the user with that manager-script role if one does not exist. Or you
could supply one that you've configured in tomcat-users.xml.

Then save the password in NetBeans, so that you won't get prompted each
time there's a deploy or redeploy.

NetBeans by default will redeploy on save if you are currently running
the application. If you save the password for the user with the
manager-script role, then you should not see the prompt.

If the application is not running in Tomcat, then NetBeans won't try to
redeploy on save.

. . . just my two cents
/mde/





signature.asc
Description: OpenPGP digital signature


Re: why is ContextListener.attributeAdded means?

2019-07-24 Thread Karen Goh
 




On Wednesday, July 24, 2019, 12:54:35 PM GMT+8, Mark Eggers 
 wrote:


Karen,

On 7/23/2019 7:41 PM, Karen Goh wrote:
> Dear experts,
>
> I need some help again.
>
> I am trying to get a html page out on my browser, I changed my Tomcat server 
> as the previous one has some Ant script 'creeping in when I downloaded an 
> example'. However, I do not know why am I receiving an error message ?
>
> Background :-
> -
> Netbean IDE
> Windows OS
> Tomcat 9.0.12
> JEE
>
> Error Message :
>
> 24-Jul-2019 10:03:27.271 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log ContextListener: 
> contextInitialized()
> 24-Jul-2019 10:03:27.271 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log SessionListener: 
> contextInitialized()
> 24-Jul-2019 10:03:27.292 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log ContextListener: 
> attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')
>
> Can I know why there is a ContextListner:attributeAdded('StockTicer', 
> 'async.Stockticker@4fa4f485') as appeared in the log ?
>
> How do I make it go away so that I can run my webApp ?
>
> Thank you for your help.
> Karen


This is coming from the examples that are shipped with Tomcat. In
particular, this appears to be from the Stock Ticker asynchronous example.

In other words, this is nothing to be concerned about.

. . . just my two cents.
/mde/

I have never seen this log infor pop up.

Now, I have another problem - Tomcat server keeps popping up the authentication 
gui - Tomcat manager.

I can't get this Tomcat Manager GUI to stop appear. And I have not configure 
the app to use Tomcat Manager at all.

Please let me know how to stop if from appearing.

Tks.

  

Re: why is ContextListener.attributeAdded means?

2019-07-23 Thread Mark Eggers
Karen,

On 7/23/2019 7:41 PM, Karen Goh wrote:
> Dear experts,
> 
> I need some help again.
> 
> I am trying to get a html page out on my browser, I changed my Tomcat server 
> as the previous one has some Ant script 'creeping in when I downloaded an 
> example'.  However, I do not know why am I receiving an error message ?
> 
> Background :-
> -
> Netbean IDE
> Windows OS
> Tomcat 9.0.12
> JEE
> 
> Error Message :
> 
> 24-Jul-2019 10:03:27.271 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log ContextListener: 
> contextInitialized()
> 24-Jul-2019 10:03:27.271 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log SessionListener: 
> contextInitialized()
> 24-Jul-2019 10:03:27.292 INFO [main] 
> org.apache.catalina.core.ApplicationContext.log ContextListener: 
> attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')
> 
> Can I know why there is a ContextListner:attributeAdded('StockTicer', 
> 'async.Stockticker@4fa4f485') as appeared in the log ?
> 
> How do I make it go away so that I can run my webApp ?
> 
> Thank you for your help.
> Karen

This is coming from the examples that are shipped with Tomcat. In
particular, this appears to be from the Stock Ticker asynchronous example.

In other words, this is nothing to be concerned about.

. . . just my two cents.
/mde/



signature.asc
Description: OpenPGP digital signature


Re: why is ContextListener.attributeAdded means?

2019-07-23 Thread Karen Goh



Sent from Yahoo Mail for iPhone


On Wednesday, July 24, 2019, 12:04 PM, M. Manna  wrote:

Hi Goh,

It’s part of standard tomcat logging for servlet ctx init audit.

Check logging.properties file in your conf/ directory. You should be able
to change the level and tune how much logging is needed.

And btw, it’s an INFO, not ERROR/FATAL/SEVERE.
ContextListener:
> attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')
But, in my WebApp I don’t have this at all? So how did it creep into the log? 
Is there some kind of script lying somewhere, accidentally crept in without me 
knowing n some how make its way inside Tomcat...I know this sound abit over 
imaginative but I really can’t tell for sure this attributeAdded is something 
that comes with Tomcat

Thanks,

On Wed, 24 Jul 2019 at 11:42, Karen Goh 
wrote:

> Dear experts,
>
> I need some help again.
>
> I am trying to get a html page out on my browser, I changed my Tomcat
> server as the previous one has some Ant script 'creeping in when I
> downloaded an example'.  However, I do not know why am I receiving an error
> message ?
>
> Background :-
> -
> Netbean IDE
> Windows OS
> Tomcat 9.0.12
> JEE
>
> Error Message :
>
> 24-Jul-2019 10:03:27.271 INFO [main]
> org.apache.catalina.core.ApplicationContext.log ContextListener:
> contextInitialized()
> 24-Jul-2019 10:03:27.271 INFO [main]
> org.apache.catalina.core.ApplicationContext.log SessionListener:
> contextInitialized()
> 24-Jul-2019 10:03:27.292 INFO [main]
> org.apache.catalina.core.ApplicationContext.log ContextListener:
> attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')
>
> Can I know why there is a ContextListner:attributeAdded('StockTicer',
> 'async.Stockticker@4fa4f485') as appeared in the log ?
>
> How do I make it go away so that I can run my webApp ?
>
> Thank you for your help.
> Karen
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>




Re: why is ContextListener.attributeAdded means?

2019-07-23 Thread M. Manna
Hi Goh,

It’s part of standard tomcat logging for servlet ctx init audit.

Check logging.properties file in your conf/ directory. You should be able
to change the level and tune how much logging is needed.

And btw, it’s an INFO, not ERROR/FATAL/SEVERE.

Thanks,

On Wed, 24 Jul 2019 at 11:42, Karen Goh 
wrote:

> Dear experts,
>
> I need some help again.
>
> I am trying to get a html page out on my browser, I changed my Tomcat
> server as the previous one has some Ant script 'creeping in when I
> downloaded an example'.  However, I do not know why am I receiving an error
> message ?
>
> Background :-
> -
> Netbean IDE
> Windows OS
> Tomcat 9.0.12
> JEE
>
> Error Message :
>
> 24-Jul-2019 10:03:27.271 INFO [main]
> org.apache.catalina.core.ApplicationContext.log ContextListener:
> contextInitialized()
> 24-Jul-2019 10:03:27.271 INFO [main]
> org.apache.catalina.core.ApplicationContext.log SessionListener:
> contextInitialized()
> 24-Jul-2019 10:03:27.292 INFO [main]
> org.apache.catalina.core.ApplicationContext.log ContextListener:
> attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')
>
> Can I know why there is a ContextListner:attributeAdded('StockTicer',
> 'async.Stockticker@4fa4f485') as appeared in the log ?
>
> How do I make it go away so that I can run my webApp ?
>
> Thank you for your help.
> Karen
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


why is ContextListener.attributeAdded means?

2019-07-23 Thread Karen Goh
Dear experts,

I need some help again.

I am trying to get a html page out on my browser, I changed my Tomcat server as 
the previous one has some Ant script 'creeping in when I downloaded an 
example'.  However, I do not know why am I receiving an error message ?

Background :-
-
Netbean IDE
Windows OS
Tomcat 9.0.12
JEE

Error Message :

24-Jul-2019 10:03:27.271 INFO [main] 
org.apache.catalina.core.ApplicationContext.log ContextListener: 
contextInitialized()
24-Jul-2019 10:03:27.271 INFO [main] 
org.apache.catalina.core.ApplicationContext.log SessionListener: 
contextInitialized()
24-Jul-2019 10:03:27.292 INFO [main] 
org.apache.catalina.core.ApplicationContext.log ContextListener: 
attributeAdded('StockTicker', 'async.Stockticker@4fa4f485')

Can I know why there is a ContextListner:attributeAdded('StockTicer', 
'async.Stockticker@4fa4f485') as appeared in the log ?

How do I make it go away so that I can run my webApp ?

Thank you for your help.
Karen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org