Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900353

Static code instrumenter breaks SUN ONE application server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jcov_1.1
    • jcov_1.1
    • tools
    • None
    • 1.1
    • sparc
    • solaris_8
    • Verified

      After we instrument the [AppserverRoot]/lib/appserv-rt.jar, the app server stop working and we saw
      following exception on console when we tried to start the admin server:

      % ./startserv
      CORE1116: Sun ONE Application Server 7.0
      INFO: CORE5076: Using [Java HotSpot(TM) Server VM, Version 1.4.0_02] from [Sun Microsystems Inc.]
      INFO: ADM0002:System MBean initialized:[ias:type=controller]
      INFO: ADM0002:System MBean initialized:[ias:type=configurator]
      INFO: ADM0001:MBeanServer initialized successfully
      INFO: ADM0005:Timestamp files for configuration created for:[admin-server]
      INFO: ADM0005:Timestamp files for configuration created for:[server1]
      INFO: ADM0102: Starting a thread for tracking manual changes
      INFO: IOP5053: Received a locate request on a disabled connection. Locate requests are permitted.
      INFO: JTS5014: Recoverable JTS instance, serverId = [100]
      INFO: RAR5060: Install JDBC Datasources ...
      INFO: JMS5015: Install JMS resources ...
      INFO: WEB0100: Loading web module [adminapp:adminapp.war] in virtual server [admin-server] at [/web1]
      INFO: WEB0100: Loading web module [admingui:adminGUI.war] in virtual server [admin-server] at [/admin]
      SEVERE: WebModule[/admin]: Servlet /admin threw load() exception
      javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
              at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
              at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
              at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
              at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
      ----- Root Cause -----
      java.lang.ExceptionInInitializerError
              at com.iplanet.ias.web.jsp.JspServlet.init(JspServlet.java:101)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
              at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
              at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
              at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
              at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
      Caused by: java.lang.NullPointerException
              at org.apache.jasper.logging.DefaultLogger._jcov_X_gather(DefaultLogger.java)
              at org.apache.jasper.logging.DefaultLogger.<init>(DefaultLogger.java:84)
              at org.apache.jasper.logging.Logger.<clinit>(Logger.java:99)
              ... 13 more

      SEVERE: WebModule[/web1]: Servlet /web1 threw load() exception
      javax.servlet.ServletException: Servlet.init() for servlet jsp threw exception
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
              at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
              at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
              at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
              at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)
      ----- Root Cause -----
      java.lang.NoClassDefFoundError
              at com.iplanet.ias.web.jsp.JspServlet.init(JspServlet.java:101)
              at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:921)
              at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:813)
              at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3346)
              at org.apache.catalina.core.StandardContext.start(StandardContext.java:3592)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
              at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
              at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:345)
              at org.apache.catalina.startup.Embedded.start(Embedded.java:957)
              at com.iplanet.ias.web.WebContainer.start(WebContainer.java:426)
              at com.iplanet.ias.web.WebContainer.startInstance(WebContainer.java:514)
              at com.iplanet.ias.server.J2EERunner.confPostInit(J2EERunner.java:170)

      INFO: HTTP3072: HTTP listener http-listener-1 [http://shinnecock:4848] ready to accept requests
      startup: server started successfully

      ###@###.### 2002-12-19

            afedorch Alexey Fedorchenko (Inactive)
            klooney Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: