You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/06/06 21:11:34 UTC

DO NOT REPLY [Bug 51328] New: StringManager/ResourceBundle parsing error causes webapp deployment to fail on ppc64 gcj

https://issues.apache.org/bugzilla/show_bug.cgi?id=51328

             Bug #: 51328
           Summary: StringManager/ResourceBundle parsing error causes
                    webapp deployment to fail on ppc64 gcj
           Product: Tomcat 6
           Version: 6.0.32
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: dknox@redhat.com
    Classification: Unclassified


Created attachment 27119
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27119
Patch for StringManager

On some jvms (IBM and GCJ/ jdk1.5 on ppc64,
org/apache/catalina/util/StringManager initialization can fail due to a runtime
exception when a localstring can't be parsed (e.g, NumberFormatException). The
failure can occur during context and session initialization and cause a
complete failure to deploy a webapp. A patch is attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51328] StringManager/ResourceBundle parsing error causes webapp deployment to fail on ppc64 gcj

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51328

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> 2011-06-06 21:01:15 UTC ---
What exactly error and stacktrace you are observing?

I do not quite get it where invalid values can come from. It it a real use
case? Why there is no MissingResourceException?


There is try/catch in the StringManager constructor already. Any additional
error handling may go there.


BTW,
1) The proposed patch is wrong (it does not update managers hashtable, it
catches too much - it should not catch Errors) and it does not respect code
formatting.
2) GCJ has known issues and is certainly not recommended for production
environments, as was mentioned several times on the users@ list.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51328] StringManager/ResourceBundle parsing error causes webapp deployment to fail on ppc64 gcj

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51328

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 51328] StringManager/ResourceBundle parsing error causes webapp deployment to fail on ppc64 gcj

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51328

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-06-20 13:16:56 UTC ---
No response to Konstantin's questions and since gcj is known to have all sorts
of issues, resolving this as invalid since it appears to be (another) gcj
issue.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org