tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42115] New: - WebappClassLoader.loadClass throws java.lang.ClassNotFoundException: [Ljava.lang.String; in JDK 6.0
Date Fri, 13 Apr 2007 16:16:56 GMT
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=42115>.
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=42115

           Summary: WebappClassLoader.loadClass throws
                    java.lang.ClassNotFoundException: [Ljava.lang.String; in
                    JDK 6.0
           Product: Tomcat 5
           Version: 5.5.23
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: desik2003@gmail.com


I have 2 webapps which communicates using spring remoting. When remote method
return type is String, caller web application request fails with the following
exception:

java.lang.ClassNotFoundException: [Ljava.lang.String;
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
        at
org.springframework.remoting.rmi.CodebaseAwareObjectInputStream.resolveClass(CodebaseAwareObjectInputStream.java:99)

...

etc.

This happens only on JDK 6.0. On jdk 5.0 anything works fine. According to Sun,
problem is in catalina code. Catalina should load classes using Class.forName(s,
false, cl) instead of WebappClassLoader.loadClass(...)

Below are references to this problem:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149
https://glassfish.dev.java.net/issues/show_bug.cgi?id=714

-- 
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.

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


Mime
View raw message