<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.jakarta.tomcat.user">
    <title>gmane.comp.jakarta.tomcat.user</title>
    <link>http://blog.gmane.org/gmane.comp.jakarta.tomcat.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221961"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221958"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221935"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221910"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221903"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221893"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221892"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221885"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221884"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221876"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221868"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221858"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221850"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221845"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221843"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221840"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221818"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221817"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221807"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221792"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221961">
    <title>After going to Tomcat 6 I get log4j problems. Why? (RE:)</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221961</link>
    <description>&lt;pre&gt;Creating a new Thread as Pid recommended:
Concerning the questions posed by Konstantin Kolinko:
I am not sure I follow: you mean the version? I have log4j in the WEB-INF\xml, and commons-logging and commons-logging-api as well
No problem up to Tomcat 5.5. Does this answer your question?


The custom jar provides an SSLImplementation to be "hooked" in the connectors. When it tries to log I get exception. No problem in Tomcat 5.5.
This exception goes away if I move commons-logging in %TOMCAT_HOME%\lib BUT then I have exceptions in my web application (even if I delete the commons-logging from WEB-INF\lib)

Has something changed in the logging in Tomcat 6?
How can I resolve this problems?

Thank you!




I'd suspect that one of them is the culprit.
2012/5/25 Hermes Flying &amp;lt;flyinghermes&amp;lt; at &amp;gt;yahoo.com&amp;gt;:

Your description is too generic to say.

You do not say what jars are exactly where and what actual
configuration (server.xml and logging) you have.

See
1) "Class Loading" page in documentation.

Placing custom jars &lt;/pre&gt;</description>
    <dc:creator>Hermes Flying</dc:creator>
    <dc:date>2012-05-25T20:40:02</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221958">
    <title>CATALINA_BASE and CATALINA_HOME deployment</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221958</link>
    <description>&lt;pre&gt;I'm trying to convert my app to use the preferred catalina base and home deployment.  I understand that this allows for easier migration between tomcat versions, etc.  As a point of reference, I'm reading about how to do this in Tomcat: The Definitive Guide.  Also, I'm dealing with 5.5.35, if that matters.

I have one question.  I understand that the separation of the core tomcat stuff from my instance stuff is good.  But the book says to copy the entire conf folder over to my instance folder ( CATALINA_BASE/myapp/conf ).  Isn't this copying a bunch of tomcat version specific stuff that I'll have to sift through when it's time to migrate?  Will I be able to just upgrade CATALINA_HOME and not upgrade all of that copied conf stuff as well?

Thanks,
Chad
&lt;/pre&gt;</description>
    <dc:creator>Chad.Davis&lt; at &gt;emc.com</dc:creator>
    <dc:date>2012-05-25T19:31:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221935">
    <title>mod_jk not working !!</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221935</link>
    <description>&lt;pre&gt; m trying to do a setup of tomcat clustering in which one tomcat is on port
8080 and other one is on 8081.
i have downloaded the tomcat-connector in the modules folder of my apache.i
built it using build-unix.sh by downloading the script from net as it was
nt already there in the downloaded tomcat-connector. it buit mod_jk.so
which i have placed inside modules folder as
/usr/local/apache2/modules/mod_jk.so
then i created workers.properties file and gave the description of workers
there .and included it in httpd.cong file .
still when i type http://localhost/jsp-pages which are in my webapps / it
is not passing requast to tomcat which is holding the js pages.
you may hav a look at the conf files to get a better fel of the problem !
the link is
http://www.coderanch.com/t/581294/Tomcat/Tomcat-Clustering#2648034
&lt;/pre&gt;</description>
    <dc:creator>Aman Arora</dc:creator>
    <dc:date>2012-05-25T05:25:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221910">
    <title>memory leak in tomcat</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221910</link>
    <description>&lt;pre&gt;Hi,

I have a leaking Tomcat App
I checked the heap with the Eclipse Memory Analyser
and it says

The classloader/component *"org.apache.catalina.loader.WebappClassLoader &amp;lt; at &amp;gt;
0x94532f50"*
occupies *376.421.152 (79,51%)* bytes. The memory is accumulated in one
instance of
*"java.util.HashMap$Entry[]"* loaded by *"&amp;lt;system class loader&amp;gt;"*.

and the data that is in the entries of the gigantic Map is
org.hibernate.impl.SessionFactoryObjectFactory

Does anyone know why this?

Christian




**
  Class Name Shallow Heap Retained Heap

   - java.util.HashMap$Entry[64] &amp;lt; at &amp;gt; 0xaa9314c0 &amp;lt;mat://object/0xaa9314c0&amp;gt;

272 339.906.832 [image: \]

   - *table* java.util.HashMap &amp;lt; at &amp;gt; 0xaa931498 &amp;lt;mat://object/0xaa931498&amp;gt;

40 339.906.872 [image: .][image: \]

   - *map* org.hibernate.util.FastHashMap &amp;lt; at &amp;gt; 0x94e4bc98&amp;lt;mat://object/0x94e4bc98&amp;gt;

16 339.906.888 [image: .][image: .][image: \]

   - *INSTANCES* class org.hibernate.impl.SessionFactoryObjectFactory &amp;lt; at &amp;gt;
   0x759319f8 &amp;lt;mat://object/0x759319f8&amp;gt;

24 339.907.088 [image: .][image: .][image:&lt;/pre&gt;</description>
    <dc:creator>Christian Kaufhold</dc:creator>
    <dc:date>2012-05-24T12:21:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221903">
    <title>encrypt the database password</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221903</link>
    <description>&lt;pre&gt;Hi All,

There is a tomcat server with some database setup.

cd apache-tomcat-6.0.29/conf
cat server.xml

  &amp;lt;Resource auth="Container"
driverClassName="oracle.jdbc.driver.OracleDriver"

              factory="oracle.jdbc.pool.OracleDataSourceFactory"
maxActive="20"
              maxIdle="10" maxWait="-1" name="jdbc/abc" password="abcADMIN"
              type="oracle.jdbc.pool.OracleDataSource"

url="jdbc:oracle:thin:&amp;lt; at &amp;gt;localhost:1521:mydb" user="abc" /&amp;gt;


So which the plain password, end user may get the password directly.


How can create encrypted password within server.xml
&lt;/pre&gt;</description>
    <dc:creator>Bill Wang</dc:creator>
    <dc:date>2012-05-24T05:34:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221893">
    <title>user switching or application interacting with container based authentication</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221893</link>
    <description>&lt;pre&gt;Hello,

we are running a web application with form based authentication. we now
have a requirement to switch between users (for subsets of users) with a
minimum of user interaction (log out and log in providing username &amp;amp;
password is way too much work for the user). so i was thinking of
providing each user with a badge with a unique barcode (a hash of
username&amp;amp;password?) which they can scan into a dedicated field in the
webpage and which will trigger the user switch. note that this barcode
field will only be available once a person has logged in in the normal
way (form based), so the user switch request is received within an
authenticated session.

the difficult part of the story is how can i tell the 'container based
authentication' that the current session is transferred to another user
with possibly other roles OR how can i create a new session for the new
user (so applying the correct authorization and providing a
HttpServletRequest returning the correct values of getUserPrincipal()
and isUserInRole()). &lt;/pre&gt;</description>
    <dc:creator>dirk ooms</dc:creator>
    <dc:date>2012-05-23T23:01:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221892">
    <title>jk 1.2.36 throwing 503/sendfull/cping errors</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221892</link>
    <description>&lt;pre&gt;Centos 5.8, x86_64, apache 2.2.22, java 1.6.0_32, tomcat 7.0.27, apr
1.4.6 (also happens on another machine with apache 2.2.21 and java
1.6.0_29, rest of the versions are the same)

Connecting apache to tomcat ajp, same machine.
Once I upgraded to 1.2.36 I started receiving 503 errors when trying to
access my webapps.
1.2.32 and 1.2.35 work fine.

Tomcat catalina.out and access logs show nothing

Jk log shows:
[Wed May 23 15:56:32 2012] [32504:1138178368] [debug]
ajp_get_endpoint::jk_ajp_common.c (3154): acquired connection pool
slot=0 after 0 retries
[Wed May 23 15:56:32 2012] [32504:1138178368] [debug]
ajp_marshal_into_msgb::jk_ajp_common.c (626): ajp marshaling done
[Wed May 23 15:56:32 2012] [32504:1138178368] [debug]
ajp_service::jk_ajp_common.c (2449): processing app-03 with 2 retries
[Wed May 23 15:56:32 2012] [32504:1138178368] [debug]
ajp_send_request::jk_ajp_common.c (1623): (app-03) all endpoints are
disconnected.
[Wed May 23 15:56:32 2012] [32504:1138178368] [debug]
jk_open_socket::jk_connect.c (&lt;/pre&gt;</description>
    <dc:creator>Anthony J. Biacco</dc:creator>
    <dc:date>2012-05-23T22:12:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221885">
    <title>JRE Access violation</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221885</link>
    <description>&lt;pre&gt;Any suggestions as to where to start looking for this error?

This is TC 7.0.22 32-bit running on Windows Server 2008R2, on a Dell 
Dual-processor 4-core hyperthreaded (total 16 cores according to the OS) 
box with 16GB RAM.  Overall memory usage is approx 26% according to task 
Manager.

There are 5 instances of Tomcat running, each on a different TCP port, 
and each running from its own doc base.  They are all running the same 
application, though with slightly different settings for different 
customers.  I have allocated 512MB to each instance, and the biggest one 
is using approx 260MB according to task manager.  Only the single 
instance of TC has had this problem, and it has died each of the last 
two days, after running perfectly for over two months.  All other 
instances continue to run with no trouble, including one which has much 
more activity than the one with the trouble.

This is the only unexpected entry in any of the TC logs.

2012-05-23 08:12:04 Commons Daemon procrun stdout initialized
#
#&lt;/pre&gt;</description>
    <dc:creator>David kerber</dc:creator>
    <dc:date>2012-05-23T20:53:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221884">
    <title>Shared data source (Bug 49543)</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221884</link>
    <description>&lt;pre&gt;Hi,

I'm testing this functionality (versions 6.0.35 and 7.0.27) but it's not
working for me (https://issues.apache.org/bugzilla/show_bug.cgi?id=49543 ,
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Resource_Links).


--&amp;gt;server.xml


  &amp;lt;GlobalNamingResources&amp;gt;

    &amp;lt;Resource name="jdbc/globalpg" auth="Container"
type="javax.sql.DataSource" removeAbandoned="true"
removeAbandonedTimeout="300"
                                   maxActive="400" maxIdle="30"
maxWait="10000"
                                   validationQuery="select 1"
                                   testOnBorrow="true"

factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
                                   driverClassName="org.postgresql.Driver"
                                   url="jdbc:postgresql://
172.17.1.5:5432/tjse"
                                   username="user1"
                                   password="validpassword"
                                   /&amp;gt;

  &amp;lt;/GlobalNamingResources&amp;gt;


--&amp;gt;conf/Catalina/localhost&lt;/pre&gt;</description>
    <dc:creator>Robert Anderson</dc:creator>
    <dc:date>2012-05-23T20:31:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221876">
    <title>Tomcat 7. MX4J</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221876</link>
    <description>&lt;pre&gt;Hello,

We are going to migrate our application from tomcat 6 to tomcat 7. But
during migration we've faced with the following issue:
we have the following configuration to have possbility to manage JMX Bean
using browser (through http):
...
&amp;lt;Connector port="8009"
                 handler.list="mx"
                 mx.enabled="true"
                 mx.httpHost="10.30.244.40"
                 mx.authMode="basic"
                 mx.authUser="someUser"
                 mx.authPassword="pass"
                 mx.httpPort="9012"
                 enableLookups="false" redirectPort="8443"
protocol="AJP/1.3"/&amp;gt;
...

as described at the following page:
http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html
But when we use this configuration we have the following warnings: WARNING:
[SetAllPropertiesRule]{Server/Service/Connector} Setting property
'handler.list' to 'mx' did not find a matching property.
However
http://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html#Monitoring_your_Cluster_with_JMX
.
Also I've not&lt;/pre&gt;</description>
    <dc:creator>Vadzim Mikhalenak</dc:creator>
    <dc:date>2012-05-22T14:49:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221868">
    <title>connection reset errors</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221868</link>
    <description>&lt;pre&gt;Dear Tomcat community,

I am trying to resolve the problem where some client code in Java frequently gets the following error in the logs:

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1000)
...

The client code performs a simple HTTP POST request to a Tomcat server (FreeBSD 9.0-STABLE, Java 1.6.0_03, Tomcat 6.0.26). Below is the HTTP connector from server.xml:

    &amp;lt;Connector port="8080" protocol="HTTP/1.1" 
               connectionTimeout="10000" enableLookups="false" c&lt;/pre&gt;</description>
    <dc:creator>Kees Jan Koster</dc:creator>
    <dc:date>2012-05-22T09:11:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221858">
    <title>TC7: trigger seeding of SecureRandom</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221858</link>
    <description>&lt;pre&gt;Hi There

We've just upgraded out web app to TC7. It seems the following is being 
outputted repeatedly on the console for each page load:

trigger seeding of SecureRandom
done seeding SecureRandom

Closer inspection reveals, the Tomcat class SessionIdGenerator using 
SecureRandom.

Is this normal? Why would SecureRandom have to be seeded so often? I am 
also worried about the Tomcat console log filling up over time.

Thanks

Jamie
&lt;/pre&gt;</description>
    <dc:creator>Jamie</dc:creator>
    <dc:date>2012-05-21T07:18:28</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221850">
    <title>Tomcat SPDY Connector</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221850</link>
    <description>&lt;pre&gt;Hi!

I'm currently experimenting with developing a .Net SPDY Client / IIS SPDY Redirector (written in C#) that could be used as a possible replacement over AJP, to forward HTTP requests from IIS to Tomcat (some time ago I mentioned that I might look into writing such a client when I had some spare time [1] - which is the case now ;) ).
It is based on Draft3 of the SPDY specification [2], which names the protocol "spdy/3".

Currently I'm testing the client with Google servers which support both "spdy/2" and "spdy/3". I'd also like to test it with Tomcat. I don't know much about Tomcat's code/architecture, but from looking at the SPDY code from Tomcat trunk [3], it seems that Tomcat is currently only supporting spdy/2, but not spdy/3. Is this correct?

If yes, are there already plans to implement spdy/3? (The main difference between SPDY v2 and v3 is the addition of flow control, which I think is important when using SPDY as server-to-server protocol, to prevent flooding the intermediate server with messages i&lt;/pre&gt;</description>
    <dc:creator>Konstantin Preißer</dc:creator>
    <dc:date>2012-05-19T00:04:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221845">
    <title>WebApp on Tomcat recognize automaticely uploaded file</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221845</link>
    <description>&lt;pre&gt;Hello,

can anyone help me, if  there is a configuration parameter in tomcat, which
permit to the web application to auto-recognize when I put an image from
filesystem into the webapp?

I put images in the path of my application: appBase/webAppA/uploads through
another webAppB, but seems that webAppA recognizes the images only after
Tomcat restart.
Working until now with tomcat integrated into eclipse, I didn't noticed
this event because eclipse was publishing automatically after each upload.

Thank you to anyone for any kind of help.

Ermal
&lt;/pre&gt;</description>
    <dc:creator>Ermal Aliraj</dc:creator>
    <dc:date>2012-05-18T20:53:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221843">
    <title>I have /subapp/a and /subapp/b. Can i have different sessions for them?</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221843</link>
    <description>&lt;pre&gt;Hi,

first time posting on a mailing list, hope i'm not breaking any rules of
some sort. My problem is pretty simple but it seems a lot of people have
trouble understanding it in other forums. Let's say i have 2 main entry
points into my application: /subapp/a and /subapp/b. They are part of the
same webapp but they are somehow different and i want to distinguish
between them. Having a separate session for each of them would be the
greatest thing but is this possible for Tomcat? The path of the session
cookie (JSESSIONID) is automatically put at the root context path (so
/subapp in this example). And i don't want to have multiple wars or
multiple Tomcats... I would like this in Tomcat 7 btw... I'm trying to
avoid changing Tomcat itself so i tried to extend/wrap the usual response
classes/interfaces but no luck because Tomcat writes the Set-Cookie header
directly into the coyote response header...

Any help would be appreciated, been wrestling with this for some days...

Thanks,
Teo
&lt;/pre&gt;</description>
    <dc:creator>Teo</dc:creator>
    <dc:date>2012-05-18T19:37:16</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221840">
    <title>Threads in Tomcat</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221840</link>
    <description>&lt;pre&gt;I'm maintaining a Web application for searching multiple wikis, this app
runs under Tomcat 6. I need to modify a servlet so it instantiates a
'Thread' subclass to perform a wiki availability check every so often, say
every 30 minutes. Given that I'm no expert on the use of threads, a
co-worker suggested the following questions to look into:

·         Does the spawned thread have a time limit imposed by Tomcat?

·         Does it take up worker thread space from other Tomcat threads?


I'd appreciate any help anyone could give w.r.t. these questions.
&lt;/pre&gt;</description>
    <dc:creator>Vance -</dc:creator>
    <dc:date>2012-05-18T16:14:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221818">
    <title>How to get debug output from JNDIRealm.java?</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221818</link>
    <description>&lt;pre&gt;Hi,

I'm trying to debug some problems while enabling JNDIRealm in Tomcat 6.0.33.

I've gotten Tomcat itself to output debug logging, but looking at the JNDIRealm.java code, e.g.:

http://www.docjar.com/html/api/org/apache/catalina/realm/JNDIRealm.java.html

It looks like there's a bunch of debug output that the Java code *can* output.

The problem is that I don't know how to enable that debug output/logging?

I'm assuming that something needs to be added to the Tomcat logging.properties, but can anyone tell me what that should be to get the messages such as would be output by the following code in JNDIRealm.java:

1044           if (username == null || username.equals("")
 1045               || credentials == null || credentials.equals("")) {
 1046               if (containerLog.isDebugEnabled())
 1047                   containerLog.debug("username null or empty: returning null principal.");
 1048               return (null);

??

Thanks,
Jim
&lt;/pre&gt;</description>
    <dc:creator>ohaya&lt; at &gt;cox.net</dc:creator>
    <dc:date>2012-05-17T16:10:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221817">
    <title>Tomcat 4.0 &amp;  Tomcat 6.0 AuthenticatorBase</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221817</link>
    <description>&lt;pre&gt;Hello-
We have a custom form authenticator that runs on tomcat 4.0. Now, we
have a need to migrate that into tomcat 6.0. There are compilation
errors with the following.

import org.apache.catalina.HttpRequest;
import org.apache.catalina.HttpResponse;

I looked at the tomcat 6.0 API and found that these classes are not
there anymore. I believe these are replaced by 

import org.apache.catalina.connector.Request;
import org.apache.catalina.connector.Response;

However, it still shows error on getSession and when I looked at the
authenticatorbase API it is not present in 6.0
associate(ssoId, getSession(request, true));

Could someone shed some light on how to go about this?

Thank you,
Regards,
Vasanth Sekar
&lt;/pre&gt;</description>
    <dc:creator>Sekar, Vasanth</dc:creator>
    <dc:date>2012-05-17T15:31:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221807">
    <title>aliases attribute tomcat7</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221807</link>
    <description>&lt;pre&gt;Hi Everybody,

I just can't get this to work.
Installed Tomcat 7.0.21 on ubuntu 11 using apt-get.
I deployed ROOT.war and then went on to configure aliases.
Tried adding the attribute in:

$CATALINA_BASE/conf/Catalina/localhost/ROOT.xml
$CATALINA_BASE/conf/Catalina/localhost/context.xml
$CATALINA_BASE/conf/Catalina/localhost/context.xml.default
$CATALINA_BASE/conf//context.xml

But nothing seems to work..

In the mean while I've resorted to adding:

$CATALINA_BASE/conf/Catalina/localhost/img.xml

With docBase attribute pointing at the right place and it works.
But it seems to me that aliases is more appropriate.

Does anyone know what I'm doing wrong?
How should I debug this?

Thanks,
Michael
&lt;/pre&gt;</description>
    <dc:creator>Michael Ravits</dc:creator>
    <dc:date>2012-05-17T05:41:06</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221792">
    <title>Tomcat 7.0.27 websocket cluster</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221792</link>
    <description>&lt;pre&gt;Hello all,
I've a little question about the websocket implementation available in
Apache Tomcat 7.0.27.
There is a way to cluster an websocket application working with a session
replication feature?

Thanks
[]'s,
Ronaldo Rigoni
&lt;/pre&gt;</description>
    <dc:creator>Ronaldo Rigoni ...</dc:creator>
    <dc:date>2012-05-16T17:31:53</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221774">
    <title>tomcat slowing down</title>
    <link>http://comments.gmane.org/gmane.comp.jakarta.tomcat.user/221774</link>
    <description>&lt;pre&gt;Hi,

I made a thread dump off the slow server.
btw how to put this post in the mail-thread?



 thanx







Full thread dump Java HotSpot(TM) 64-Bit Server VM (19.0-b09 mixed mode):



"http-8080-103" daemon prio=10 tid=0x00007f8f70ca6000 nid=0xfd8 in
Object.wait() [0x00007f8f7faf9000]

   java.lang.Thread.State: WAITING (on object monitor)

            at java.lang.Object.wait(Native Method)

            - waiting on &amp;lt;0x00000007b32a5d28&amp;gt; (a
org.apache.tomcat.util.net.JIoEndpoint$Worker)

            at java.lang.Object.wait(Object.java:485)

            at
org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458)

            - locked &amp;lt;0x00000007b32a5d28&amp;gt; (a
org.apache.tomcat.util.net.JIoEndpoint$Worker)

            at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484)

            at java.lang.Thread.run(Thread.java:662)



"http-8080-102" daemon prio=10 tid=0x00007f8f7055f800 nid=0xfd7 in
Object.wait() [0x00007f8f7fbfa000]

   java.lang.Thread.State: WAITING (on obje&lt;/pre&gt;</description>
    <dc:creator>Christian Kaufhold</dc:creator>
    <dc:date>2012-05-16T14:46:38</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.jakarta.tomcat.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.jakarta.tomcat.user</link>
  </textinput>
</rdf:RDF>

