Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Upgrading from SmartGWT 2.5 Trial to EE causes servlet context problem

    Hello,

    We recently acquired the licensed version of SmartGWT 2.5 enterprise and we're having a problem when replacing the trial libraries with the production ones. We've narrowed the problem down to the isomorphic_core_rpc.jar library, and can get the problem to go away if we resort back to the trial version. It seems likely there's a configuration setting somewhere that needs to change that we haven't done yet, but haven't found it on our own and help would be much appreciated. The stack trace is:

    Code:
    Exception when loading from __USE_CONTAINER__/asAdminModule/sc/system/schema/builtinTypes.xml:
    java.io.IOException: Configured for containerIO, but servletContext not available!  You need to install the Init servlet
            at com.isomorphic.io.ISCFile.<init>(ISCFile.java:139)
            at com.isomorphic.store.ProcessedFileCache.getObjectFromFile(ProcessedFileCache.java:138)
            at com.isomorphic.xml.XML.getXMLDocument(XML.java:254)
            at com.isomorphic.xml.XML.toDSRecords(XML.java:262)
            at com.isomorphic.xml.XML.toDSRecords(XML.java:265)
            at com.isomorphic.datasource.DataSource.<clinit>(DataSource.java:544)
            at com.tibco.as.admin.server.rpc.ActivespacesAdminServiceRPC.init(ActivespacesAdminServiceRPC.java:104)
            at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
            at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
            at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:736)
            at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
            at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
            at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
            at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
            at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
            at org.mortbay.jetty.Server.doStart(Server.java:224)
            at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
            at ASMMDeployer.run(ASMMDeployer.java:56)
            at ASMMDeployer.main(ASMMDeployer.java:22)
    Thanks,
    Mark

    #2
    As the error message says: "You need to install the Init servlet". This is explained in the installation instructions. It's also in the Troubleshooting section at the bottom.

    Comment


      #3
      RTFM right... sorry it's easier to ask than to read through. Thanks for the tip, we're all set.

      These links are probably all over, but just to reiterate:

      Update FAQ:
      http://forums.smartclient.com/showthread.php?t=8159#aUpdate

      EE install instructions:
      http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/SgwtEESetup.html

      Summary of required servlets:
      http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/ServletDetails.html

      Including/installing the Init servlet (in web.xml, no servlet mapping needed):
      Code:
      <servlet>
          <servlet-name>Init</servlet-name>
          <servlet-class>com.isomorphic.base.Init</servlet-class>
          <load-on-startup>1</load-on-startup>
      </servlet>

      Comment

      Working...
      X