Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-16745

Java 1.6 change/fix in classloader.loadClass breaks JSF (and some other things)

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.x, 2.7.0
    • Fix Version/s: 2.9.0
    • Component/s: Chat, JSF
    • Labels:
      None
    • Environment:
      java version "1.6.0_13"
      Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
      Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
      OSX 10.5.3
    • CLE Team Issue:
      Yes

      Description

      Chat fails to startup in java 1.6 with the given error:

      2009-07-23 14:48:57,191 INFO main org.apache.catalina.startup.HostConfig - Deploying web application archive sakai-chat-tool.war
      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 com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:615)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:402)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      2009-07-23 14:49:00,185 ERROR main org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sakai-chat-tool] - Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
      javax.faces.FacesException: java.lang.ClassNotFoundException: [Ljava.lang.String;
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:334)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      Caused by: 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 com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:615)
      at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:402)
      at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:328)
      ... 24 more
      2009-07-23 14:49:00,185 INFO main org.sakaiproject.util.ToolListener - registering tools from resource: /tools/sakai.chat.deleteMessage.xml
      2009-07-23 14:49:00,192 INFO main org.sakaiproject.util.ToolListener - registering tools from resource: /tools/sakai.synoptic.chat.xml
      2009-07-23 14:49:00,194 INFO main org.sakaiproject.util.ToolListener - registering tools from resource: /tools/sakai.chat.xml
      2009-07-23 14:49:00,203 ERROR main org.apache.catalina.core.StandardContext - Error listenerStart
      2009-07-23 14:49:00,203 ERROR main org.apache.catalina.core.StandardContext - Context [/sakai-chat-tool] startup failed due to previous errors

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  maintenanceteam Core Team
                  Reporter:
                  aaronz Aaron Zeckoski (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code