Mark Thomas | 1 Aug 2006 01:17
Picon
Favicon
Gravatar

Re: FW: PermGen overflow

Nikita Belov wrote:
> Why are you ignoring me? Am I state my question so incomprehensible or 
> is my English so bad?

http://tomcat.apache.org/faq/tomcatuser.html#why
bugzilla | 1 Aug 2006 01:16
Picon
Favicon

DO NOT REPLY [Bug 40147] - HTTP Status 404 - /jsp-examples/

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40147>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40147

markt <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

------- Additional Comments From markt <at> apache.org  2006-07-31 23:16 -------
Bugzilla isn't a support forum. Please use the users mailing list.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Dies Koper | 1 Aug 2006 02:39
Favicon

Re: FW: PermGen overflow

Hello Nikita,

I only recently joined this list so I might have missed your first 
message (actually I subscribed that same day).
I think what you wrote should help. If you are going to try it out, 
please let us know the result.

Other than that, all I can think of to decrease heap space is to try to 
move classes that are shared among different web apps to common/lib 
(parent classloader) so that they are loaded only once.

Good luck!
Dies

Nikita Belov wrote:
> Why are you ignoring me? Am I state my question so incomprehensible or 
> is my English so bad?
> 
> --
> Nikita
> 
> -----Original Message-----
> From: Nikita Belov [mailto:NBelov <at> abisoft.spb.ru] 
> Sent: Wednesday, July 26, 2006 6:58 PM
> To: 'Tomcat Developers List'
> Subject: PermGen overflow
> 
> Hello all,
> 
> I am sorry, I need ask help here, but I already have post this issue 
(Continue reading)

Zihui Ren | 1 Aug 2006 04:12
Picon

Push a principal object to Servlet ThreadLocal context

Hi All,

I created a Realm implementation which authenticates username/password with
credential stored in database. After authentication, I get a Principal
object and I need to push this object to a ThreadLocal object so that any
object run in Servlet can get the principal to do further authorization and
identity assertion. My current solution is
1) After authentication, store the principal in session.
2) Create a Valve , which put the principal to ThreadLocal before Servlet
invocation and remove it after Servlet invocation
invoke(Request request, Response response){
   get Principal from request;
   put it to ThreadLocal;
   getNext().invoke(request, reponse)
   remove it from ThreadLocal;
}
Do the Valve and the Servlet called by the Valve (in the end of valve
pipeline) run in the same Thread? Is there any better solution?

Thanks in advance!

- zihui
bugzilla | 1 Aug 2006 04:16
Picon
Favicon

DO NOT REPLY [Bug 37262] - JDBC datasources are never released

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37262>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37262

markt <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cactus <at> evalica.com

------- Additional Comments From markt <at> apache.org  2006-08-01 02:16 -------
*** Bug 29497 has been marked as a duplicate of this bug. ***

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 1 Aug 2006 04:16
Picon
Favicon

DO NOT REPLY [Bug 29497] - Connection pool, redeployment

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29497

markt <at> apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE

------- Additional Comments From markt <at> apache.org  2006-08-01 02:16 -------

*** This bug has been marked as a duplicate of 37262 ***

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 1 Aug 2006 10:41
Picon
Favicon

DO NOT REPLY [Bug 34805] - warn about invalid security contraint url patterns

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34805>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34805

mctozzy <at> gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |

------- Additional Comments From mctozzy <at> gmail.com  2006-08-01 08:41 -------
I think there might be a bug in this implementation which is reporting
legitimate url-mappings as questionable.

If I understand the original intent of this patch, should not the line that
currently appears as:

if (pattern.charAt(pattern.length()-1) != '/') {

should be:

if (pattern.charAt(pattern.length()-2) != '/') {

What do you think?

(Continue reading)

bugzilla | 1 Aug 2006 10:52
Picon
Favicon

DO NOT REPLY [Bug 40150] New: - Incorrect User/Role classnames are silently ignored.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40150>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40150

           Summary: Incorrect User/Role classnames are silently ignored.
           Product: Tomcat 5
           Version: 5.5.17
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: vandenberget <at> aciworldwide.com

org.apache.catalina.realm.JAASRealm does not verify any of the class names that
are set through setRoleClassNames() and setUserClassNames().

If an incorrect class name (e.g. a typo) is configured in context.xml, this is
unnoticed by JAASRealm. The result is that during authentication, when the
subject's principals are checked against the configured class names, the
principals are not recognised, and therefore not added to the subject.

The fact an incorrect configured class name is currently not detected and logged
makes it very hard to find the source of the problem. It can be easily fixed by
(Continue reading)

bugzilla | 1 Aug 2006 11:00
Picon
Favicon

DO NOT REPLY [Bug 40150] - Incorrect User/Role classnames are silently ignored.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40150>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40150

------- Additional Comments From vandenberget <at> aciworldwide.com  2006-08-01 09:00 -------
Created an attachment (id=18668)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18668&action=view)
Proposed fixed version of JAASRealm.

This version of JAASRealm validates the class names for setUserClassNames and
setRoleClassNames. It verifies if the class exists, and if it implements
java.security.Principal. If not, it logs a message (severe), that allows users
to detect the incorrect class name.

It might even be better if it threw an exception.

I've also restructured the code to parse the comma-delimited class name string,
as it was rather inefficient. It uses a StringTokenizer now.

--

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
bugzilla | 1 Aug 2006 13:23
Picon
Favicon

DO NOT REPLY [Bug 40151] New: - mod_jk with Apache doesn't handle jsessionid encoded directory URLs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40151>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40151

           Summary: mod_jk with Apache doesn't handle jsessionid encoded
                    directory URLs
           Product: Tomcat 5
           Version: Unknown
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev <at> jakarta.apache.org
        ReportedBy: damon <at> mahuika.co.nz

URLs of the form http://www.example.com/dir/;jsessionid=328s1t1289qrt (where
you'd expect the welcome file to be served up) don't work with mod_jk and Apache
2.2.3. Apache returns a 404 and adds the following to the error log: 
File does not exist: /wwwroot/dir/;jsessionid=328s1t1289qrt

Without the jsessionid part (http://www.example.com/dir/) works fine.

I've tried this against mod_jk from Tomcat connectors 1.2.18.

(Continue reading)


Gmane