Announcement

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

    JBoss deployment issue

    A client currently has the following problem deploying in only one enviroment. They cannot reproduce in another machine. Do you have any hints/suggestions as to why they might be having this problem? If you need full information about the environment, what kind of information so I can ask them?

    Code:
    2011-08-09 18:17:21,760 INFO [STDOUT] (http-0.0.0.0-9080-2) Problem loading builtinTypes.xml
    2011-08-09 18:17:21,763 INFO [STDOUT] (http-0.0.0.0-9080-2) Exception when loading from __USE_CONTAINER__/isomorphic/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.isomorphic.xml.XML.toDSRecords(XML.java:298)
            at com.isomorphic.xml.XML.toDSRecords(XML.java:289)
            at com.isomorphic.xml.XML.toDSRecords(XML.java:285)
            at com.isomorphic.xml.XML.toDSRecords(XML.java:277)
            at com.isomorphic.rpc.RPCManager.parseRequest(RPCManager.java:1692)
            at com.isomorphic.rpc.RPCManager.<init>(RPCManager.java:323)
            at com.conceptwave.cui.servlet.RequestContext.extractRequest(RequestContext.java:559)

    #2
    Did you install the Init servlet in web.xml (as the error message suggests?)

    Comment


      #3
      Sorry, what do you mean by install? We've included the following jar files:

      commons-collections-3.2.1
      commons-jxpath-1.3
      commons-pool-1.4
      isc-jalarta-oro-2.0.6.jar
      isomorphic_core_rpc.jar
      isomorphic_js_parser
      velocity-1.6.1

      and web.xml file:

      Code:
      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
      <web-app>
      	<icon>
      		<small-icon>/WEB-INF/SmallIcon.gif</small-icon>
      		<large-icon>/WEB-INF/LargeIcon.gif</large-icon>
      	</icon>
      
      	<display-name>ConceptWave Framework</display-name>
      
      	<listener>
      		<listener-class>com.conceptwave.cui.servlet.ContextListener</listener-class>
      	</listener>
      	<listener>
      		<listener-class>com.conceptwave.serviceprovider.ContextAttributeListener</listener-class>
      	</listener>
      	<servlet>
      		<servlet-name>DispatchServlet</servlet-name>
      		<servlet-class>com.conceptwave.cui.servlet.DispatchServlet</servlet-class>
      	</servlet>
      
      	<servlet>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<servlet-class>com.isomorphic.servlet.FileDownload</servlet-class>
      	</servlet>
      	
      	<servlet>
      		<servlet-name>SkinFileDownload</servlet-name>
      		<servlet-class>com.conceptwave.cui.servlet.SkinFileDownload</servlet-class>
      	</servlet>
      	
      	<servlet>
      		<servlet-name>AxisServlet</servlet-name>
      		<display-name>Apache-Axis Servlet</display-name>
      		<servlet-class>org.apache.axis2.transport.http.AxisServlet</servlet-class>
      	</servlet>
      	<servlet>
      		<servlet-name>AdminServlet</servlet-name>
      		<display-name>Axis Admin Servlet</display-name>
      		<servlet-class>org.apache.axis2.transport.http.AxisAdminServlet</servlet-class>
      		<load-on-startup>100</load-on-startup>
      	</servlet>
      	<servlet>
      		<servlet-name>ListServicesServlet</servlet-name>
      		<display-name>ConceptWave SOAP Service List</display-name>
      		<servlet-class>com.conceptwave.cui.servlet.ListServicesServlet</servlet-class>
      	</servlet>
      	
      	<servlet>
      		<servlet-name>ConfigServiceImpl</servlet-name>
      		<servlet-class>com.conceptwave.j2ee.server.ConfigServiceImpl</servlet-class>
      	</servlet>
      	<servlet>
      		<servlet-name>VelocityServiceImpl</servlet-name>
      		<servlet-class>com.conceptwave.cui.controller.VelocityServiceImpl</servlet-class>
      	</servlet>
      
      	<!--
      		Use FileDownload servlet to download all static content that's part of
      		the skin, such as image files, so we can set Expires headers and other
      		cache control directives. In a production deployment, you'd want to
      		use a webserver such as Apache to do this.
      	-->
      	<servlet-mapping>
      		<servlet-name>SkinFileDownload</servlet-name>
      		<url-pattern>/isomorphic/skins/*</url-pattern>
      	</servlet-mapping>
      
      	<!-- serve ISC modules compressed, with expires headers -->
      	<servlet-mapping>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<url-pattern>/isomorphic/system/modules/*</url-pattern>
      	</servlet-mapping>
      
      	<servlet-mapping>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<url-pattern>/config/*</url-pattern>
      	</servlet-mapping>
      
      	<!-- serve ISC development modules compressed, with expires headers -->
      	<servlet-mapping>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<url-pattern>/isomorphic/system/development/*</url-pattern>
      	</servlet-mapping>
      
      	<!-- server skin assets with expires headers -->
      	<servlet-mapping>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<url-pattern>/isomorphic/system/reference/skin/*</url-pattern>
      	</servlet-mapping>
      
      	<servlet-mapping>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<url-pattern>/isomorphic/system/helpers/*</url-pattern>
      	</servlet-mapping>
      
      	<servlet-mapping>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<url-pattern>/cwgwt/*</url-pattern>
      	</servlet-mapping>
      	
      	<servlet-mapping>
      		<servlet-name>VelocityServiceImpl</servlet-name>
      		<url-pattern>/cwgwt/velocity/velocity/*</url-pattern>
      	</servlet-mapping>
      	
      	<!--
      		<welcome-file-list> <welcome-file>ConfigWebApp.html</welcome-file>
      		</welcome-file-list>
      	-->
      
      	<servlet-mapping>
      		<servlet-name>DispatchServlet</servlet-name>
      		<url-pattern>/*</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>AxisServlet</servlet-name>
      		<url-pattern>/servlet/AxisServlet</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>AxisServlet</servlet-name>
      		<url-pattern>*.jws</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>AxisServlet</servlet-name>
      		<url-pattern>/services/*</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>AxisServlet</servlet-name>
      		<url-pattern>/cwf/servlet/AxisServlet</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>AxisServlet</servlet-name>
      		<url-pattern>*.jws</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>AxisServlet</servlet-name>
      		<url-pattern>/cwf/services/*</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>ListServicesServlet</servlet-name>
      		<url-pattern>/servlet/ListServicesServlet</url-pattern>
      	</servlet-mapping>	
      	<servlet-mapping>
      		<servlet-name>ListServicesServlet</servlet-name>
      		<url-pattern>/services</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>ListServicesServlet</servlet-name>
      		<url-pattern>/services/</url-pattern>
      	</servlet-mapping>
      	
      	<servlet-mapping>
      		<servlet-name>ConfigServiceImpl</servlet-name>
      		<url-pattern>/config/ConfigService</url-pattern>
      	</servlet-mapping>
      	<servlet-mapping>
      		<servlet-name>IsomorphicFileDownload</servlet-name>
      		<url-pattern>/FusionCharts/*</url-pattern>
      	</servlet-mapping>
      
      	<!--
      		<servlet-mapping> <servlet-name>DispatchServlet</servlet-name>
      		<url-pattern>/*</url-pattern> </servlet-mapping>
      	-->
      
      	<!-- MIME mapping -->
      	<mime-mapping>
      		<extension>css</extension>
      		<mime-type>text/css</mime-type>
      	</mime-mapping>
      	<mime-mapping>
      		<extension>js</extension>
      		<mime-type>application/x-javascript</mime-type>
      	</mime-mapping>
      	<mime-mapping>
      		<extension>png</extension>
      		<mime-type>image/png</mime-type>
      	</mime-mapping>
      	<mime-mapping>
      		<extension>jpg</extension>
      		<mime-type>image/jpeg</mime-type>
      	</mime-mapping>
      	<mime-mapping>
      		<extension>gif</extension>
      		<mime-type>image/gif</mime-type>
      	</mime-mapping>
      	<mime-mapping>
      		<extension>ico</extension>
      		<mime-type>image/vnd.microsoft.icon</mime-type>
      	</mime-mapping>
      	<mime-mapping>
      		<extension>swf</extension>
      		<mime-type>application/x-shockwave-flash</mime-type>
      	</mime-mapping>
      
        <welcome-file-list>
          <welcome-file>index.html</welcome-file>
        </welcome-file-list>
      </web-app>

      Comment


        #4
        See the Deploying SmartClient topic, that's the installation procedure. However, based on your web.xml, what's missing is the Init servlet, as the error message says.

        Comment

        Working...
        X