Alfred,

I am not familiar with the example you mention, but the contents of your
attributes is not garbage.

The WELCOME_FILES contains a String array.
The resources contains a class named
org.apache.naming.resource.ProxyDirContext.

Cor.

-----Original Message-----
From: A. Alfred Ayache [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 03, 2002 22:19
To: Tomcat Users List
Subject: Garbage in Context Attributes


Just ran ServerSnoop from the Hunter book, and in the
context.getAttributeNames() I get two attributes with partial garbage:

context.getAttributeNames():
  context.getAttribute("org.apache.catalina.WELCOME_FILES"):
[Ljava.lang.String;@baa466
  context.getAttribute("org.apache.catalina.resources"):
org.apache.naming.resources.ProxyDirContext@7f409c

Anyone know why this is happening?

Thanks,
--
A. Alfred Ayache,              | 20 years' experience
President, The Last Byte, Inc. | Testimonials
Custom software par excellence | Links
http://www.lastbyte-inc.com    | Free Software

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to