1 Reply Latest reply: Nov 26, 2012 12:36 AM by YE RSS

    failed to preload on startup in Web application

    YE
      I have an web application war file which is built by myeclipse. In tomcat it runs fine. But now I need to deploy it on Weblogic 12c. The weblogic domain uses Sun jdk1.6.
      However, deployment is failed.
      Please help me solve this problem. Thanks a lot!

      Error message are as follow:

      常错误: [HTTP:101216]Servlet: "ConnectorServlet" failed to preload on startup in Web application: "BZWeb.war". java.lang.NullPointerException: The real context root cannot be resolved against the local filesystem at net.fckeditor.connector.impl.ContextConnector.init(ContextConnector.java:73) at net.fckeditor.connector.Dispatcher.<init>(Dispatcher.java:100) at net.fckeditor.connector.ConnectorServlet.init(ConnectorServlet.java:60) at javax.servlet.GenericServlet.init(GenericServlet.java:240) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120) at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57) at weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:94) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:82) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:60) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:34) at weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:624) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:565) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1874) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1848) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1738) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2740) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1704) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:781) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:213) at

      weblogic.application.ModuleException: [HTTP:101216]Servlet: "ConnectorServlet" failed to preload on startup in Web application: "BZWeb.war".
      java.lang.NullPointerException: The real context root cannot be resolved against the local filesystem
           at net.fckeditor.connector.impl.ContextConnector.init(ContextConnector.java:73)

      Caused By: java.lang.NullPointerException: The real context root cannot be resolved against the local filesystem
           at net.fckeditor.connector.impl.ContextConnector.init(ContextConnector.java:73)
           at net.fckeditor.connector.Dispatcher.<init>(Dispatcher.java:100)