2 Replies Latest reply: May 13, 2013 9:58 AM by gauty RSS

    Client and server versions are incompatible OEDQ Home Page

    gauty
      Hi All,

      I installed OEDQ on a tomcat7 server.
      running JDK 1.7.

      But once I try to load the Director, I get this error.
      Any Idea why?
      Client and server versions are incompatible. Client:9.0.4(694), Server: UNKNOWN (Code 238,502)
      Please see below the contents of web.xml file.

      <?xml version="1.0" encoding="UTF-8"?>
      <web-app id="WebApp_ID" version="2.4"
      xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
      <display-name>dndirector</display-name>

      <welcome-file-list>
      <welcome-file>index.html</welcome-file>
      <welcome-file>index.htm</welcome-file>
      <welcome-file>index.jsp</welcome-file>
      <welcome-file>default.html</welcome-file>
      <welcome-file>default.htm</welcome-file>
      <welcome-file>default.jsp</welcome-file>
      </welcome-file-list>

      <security-constraint>
      <web-resource-collection>
      <web-resource-name>everything</web-resource-name>
      <url-pattern>*.do</url-pattern>
      <url-pattern>*.dn</url-pattern>
      <url-pattern>*.dnhtml</url-pattern>
      <url-pattern>/webservices</url-pattern>
      <url-pattern>/webservices/</url-pattern>
      <url-pattern>/webservices/status.jsp</url-pattern>
      <url-pattern>/ws/*</url-pattern>
      </web-resource-collection>

      <user-data-constraint>
      <transport-guarantee>NONE</transport-guarantee>
      </user-data-constraint>
      </security-constraint>

      <!-- Struts Tag Library Descriptors -->

      <jsp-config>

      <taglib>
      <taglib-uri>/tags/datanomic</taglib-uri>
      <taglib-location>/WEB-INF/datanomic.tld</taglib-location>
      </taglib>

      <taglib>
      <taglib-uri>/tags/struts-bean</taglib-uri>
      <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
      </taglib>

      <taglib>
      <taglib-uri>/tags/struts-html</taglib-uri>
      <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
      </taglib>

      <taglib>
      <taglib-uri>/tags/struts-logic</taglib-uri>
      <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
      </taglib>

      <taglib>
      <taglib-uri>/tags/struts-nested</taglib-uri>
      <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
      </taglib>

      <taglib>
      <taglib-uri>/tags/struts-tiles</taglib-uri>
      <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
      </taglib>

      <taglib>
      <taglib-uri>http://com.datanomic/web</taglib-uri>
      <taglib-location>/WEB-INF/dn.tld</taglib-location>
      </taglib>
      </jsp-config>

      <context-param>
      <param-name>contextConfigLocation</param-name>

      <!-- logging config first, then other beans then local config -->

      <param-value>
      classpath:conf/dashboard.xml
      classpath:conf/dashboardexport.xml
      classpath:conf/datasource.xml
      classpath:conf/datauploader.xml
      classpath:conf/dbsupport.xml
      classpath:conf/eventlogger.xml
      classpath:conf/externalresources.xml
      classpath:conf/guihelper.xml
      classpath:conf/housekeeper.xml
      classpath:conf/imagesupport.xml
      classpath:conf/instrumentation.xml
      classpath:conf/missionlieutenant.xml
      classpath:conf/missionmanager.xml
      classpath:conf/datanexus.xml
      classpath:conf/processengine.xml
      classpath:conf/promulgator.xml
      classpath:conf/realtime.xml
      classpath:conf/resultscomparison.xml
      classpath:conf/resultsdatabase.xml
      classpath:conf/resultsetexportmanager.xml
      classpath:conf/bpresultsretrieval.xml
      classpath:conf/resultsetmanager.xml
      classpath:conf/sccs.xml
      classpath:conf/autorun.xml
      classpath:conf/datainterfaces.xml
      classpath:conf/export.xml
      classpath:conf/externalisedproperties.xml
      classpath:conf/issues.xml
      classpath:conf/locks.xml
      classpath:conf/lookup.xml
      classpath:conf/ofBrowsing.xml
      classpath:conf/permissions.xml
      classpath:conf/processmodel.xml
      classpath:conf/projectmodel.xml
      classpath:conf/resource.xml
      classpath:conf/resultsprovider.xml
      classpath:conf/resultspublish.xml
      classpath:conf/resultsretrievalcore.xml
      classpath:conf/runmanager.xml
      classpath:conf/transfer.xml
      classpath:conf/userdata.xml
      classpath:conf/widgetstore.xml
      classpath:conf/snapshot.xml
      classpath:conf/stageddata.xml
      classpath:conf/testsupport.xml
      classpath:conf/triggers.xml
      classpath:conf/valueselection.xml
      classpath:conf/webservices.xml
      classpath:conf/zipserver.xml
      classpath:conf/blueprints.xml
      classpath:conf/daoconf.xml
      classpath:conf/databasespecies.xml
      classpath:conf/debuglogging.xml
      classpath:conf/logging.xml
      classpath:conf/management.xml
      classpath:conf/omnibus.xml
      classpath:conf/userauth.xml
      WEB-INF/configuration.xml
      </param-value>
      </context-param>

      <!-- Additional resource search entries -->

      <context-param>
      <param-name>assetTreeResourceList</param-name>

      <!-- logging config first, then other beans then local config -->

      <param-value>
      classpath:com/datanomic/director/datasource/assettree/assettree.xml
      classpath:com/datanomic/director/resources/dynamic/assettree.xml
      classpath:com/datanomic/director/resources/external/assettree/assettree.xml
      classpath:com/datanomic/director/imagesupport/server/assettree/assettree.xml
      classpath:com/datanomic/director/externaltasks/assettree/assettree.xml
      classpath:com/datanomic/director/missionmanager/assettree/assettree.xml
      classpath:com/datanomic/director/runtime/data/assettree/assettree.xml
      classpath:com/datanomic/director/resultsetexport/assettree/assettree.xml
      classpath:com/datanomic/director/results/assettree/assettree.xml
      classpath:com/datanomic/director/datainterfaces/assettree/assettree.xml
      classpath:com/datanomic/director/exports/assettree/assettree.xml
      classpath:com/datanomic/director/lookupmanager/assettree/assettree.xml
      classpath:com/datanomic/director/project/server/assettree/assettree.xml
      classpath:com/datanomic/director/userdata/assettree/assettree.xml
      classpath:com/datanomic/director/snapshot/assettree/assettree.xml
      classpath:com/datanomic/director/stageddata/assettree/assettree.xml
      classpath:com/datanomic/director/webservices/assettree/assettree.xml
      </param-value>
      </context-param>

      <listener>
      <listener-class>
      org.springframework.web.context.ContextLoaderListener
      </listener-class>
      </listener>
      <context-param>
      <param-name>contextClass</param-name>
      <param-value>
      com.datanomic.director.startup.WebApplicationContext
      </param-value>
      </context-param>

      <!--
      User Authentication filter
      This filter passes on a request if a valid session exists, otherwise returns
      HTTP status 403 (forbidden).
      -->
      <filter>
      <filter-name>authFilter</filter-name>
      <filter-class>
      com.datanomic.userauth.server.http.AuthFilter
      </filter-class>
      </filter>

      <!-- User Authentication filter mapping -->

      <!-- Original authenticated transport -->

      <filter-mapping>
      <filter-name>authFilter</filter-name>
      <url-pattern>/main</url-pattern>
      </filter-mapping>

      <!-- New transport, authenticated or not authenticated -->

      <filter-mapping>
      <filter-name>authFilter</filter-name>
      <url-pattern>/trans</url-pattern>
      </filter-mapping>

      <filter-mapping>
      <filter-name>authFilter</filter-name>
      <url-pattern>/transx</url-pattern>
      </filter-mapping>

      <!-- Standard Action Servlet Configuration (with debugging) -->
      <servlet>
      <servlet-name>action</servlet-name>
      <servlet-class>com.datanomic.director.struts.FixupUnhelpfulActionServlet</servlet-class>
      <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
      </init-param>
      <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
      </init-param>
      <init-param>
      <param-name>detail</param-name>
      <param-value>2</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
      </servlet>

      <!-- Standard Action Servlet Mapping -->
      <servlet-mapping>
      <servlet-name>action</servlet-name>
      <url-pattern>*.dn</url-pattern>
      </servlet-mapping>

      <servlet>
      <servlet-name>action2</servlet-name>
      <servlet-class>com.datanomic.director.struts.FixupUnhelpfulActionServlet</servlet-class>
      <init-param>
      <param-name>config</param-name>
      <param-value>/WEB-INF/struts-config.xml</param-value>
      </init-param>
      <init-param>
      <param-name>debug</param-name>
      <param-value>2</param-value>
      </init-param>
      <init-param>
      <param-name>detail</param-name>
      <param-value>2</param-value>
      </init-param>
      <init-param>
      <param-name>fixupmapping</param-name>
      <param-value>*.do</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
      </servlet>

      <!-- Standard Action Servlet Mapping -->
      <servlet-mapping>
      <servlet-name>action2</servlet-name>
      <url-pattern>*.do</url-pattern>
      </servlet-mapping>

      <servlet-mapping>
      <servlet-name>action2</servlet-name>
      <url-pattern>*.dx</url-pattern>
      </servlet-mapping>

      <servlet>
      <servlet-name>test</servlet-name>
      <servlet-class>
      com.datanomic.director.TestDirectorServlet
      </servlet-class>
      </servlet>

      <!-- Test Servlet Mapping -->
      <servlet-mapping>
      <servlet-name>test</servlet-name>
      <url-pattern>/test</url-pattern>
      </servlet-mapping>

      <!-- Stuff transport -->

      <servlet>
      <servlet-name>trans</servlet-name>
      <servlet-class>com.datanomic.utils.transport.http.server.TransportServlet</servlet-class>
      </servlet>

      <servlet-mapping>
      <servlet-name>trans</servlet-name>
      <url-pattern>/trans</url-pattern>
      </servlet-mapping>

      <servlet-mapping>
      <servlet-name>trans</servlet-name>
      <url-pattern>/transx</url-pattern>
      </servlet-mapping>

      <!--
      Zip Server servlet
      This servlet is used to server help pages from zip files in the database. Yes, I know.
      -->
      <servlet>
      <servlet-name>zip</servlet-name>
      <servlet-class>
      com.datanomic.director.zipserver.manager.ZipServerServlet
      </servlet-class>
      <load-on-startup>1</load-on-startup>
      </servlet>

      <!-- Configuration properties servlet mapping -->
      <servlet-mapping>
      <servlet-name>zip</servlet-name>
      <url-pattern>/zip/*</url-pattern>
      </servlet-mapping>

      <!-- ========================= -->
      <!-- jaxws webservices servlet -->
      <!-- ========================= -->

      <servlet>
      <servlet-name>webservices</servlet-name>
      <servlet-class>com.datanomic.director.webservices.http.ServiceServlet</servlet-class>

      <init-param>
      <param-name>statuspage</param-name>
      <param-value>/ws/status.jsp</param-value>
      </init-param>
      <load-on-startup>1</load-on-startup>
      </servlet>

      <servlet-mapping>
      <servlet-name>webservices</servlet-name>
      <url-pattern>/webservices/*</url-pattern>
      </servlet-mapping>

      <!-- ========================================== -->
      <!-- Simple login servlet for use in forms, etc -->
      <!-- ========================================== -->

      <servlet>
      <servlet-name>login</servlet-name>
      <servlet-class>com.datanomic.director.webapp.login.LoginServlet</servlet-class>
      </servlet>

      <servlet-mapping>
      <servlet-name>login</servlet-name>
      <url-pattern>/loginservlet/*</url-pattern>
      </servlet-mapping>

      <!-- ============================== -->
      <!-- Form interface to web services -->
      <!-- ============================== -->

      <context-param>
      <param-name>formwsbasedir</param-name>
      <param-value>/ws</param-value>
      </context-param>

      <servlet>
      <servlet-name>formwebservices</servlet-name>
      <servlet-class>com.datanomic.director.webservices.http.forms.FormServiceServlet</servlet-class>

      <!-- Default results page: not relative to base dir -->

      <init-param>
      <param-name>defaultresults</param-name>
      <param-value>/ws/wsresults.jsp</param-value>
      </init-param>

      <!-- Default error page: not relative to base dir -->

      <init-param>
      <param-name>defaulterror</param-name>
      <param-value>/ws/wserror.jsp</param-value>
      </init-param>
      </servlet>

      <servlet-mapping>
      <servlet-name>formwebservices</servlet-name>
      <url-pattern>/formws/*</url-pattern>
      </servlet-mapping>

      <!-- =================================== -->
      <!-- Security filter for form HTML pages -->
      <!-- =================================== -->

      <filter>
      <filter-name>FormWSFilter</filter-name>
      <filter-class>com.datanomic.director.webservices.http.forms.FormSecurityFilter</filter-class>

      <!-- Regex selection items to filter: matches against entire URI with context prefix, in case insensitive mode -->

      <init-param>
      <param-name>selector</param-name>
      <param-value>.*(/|(\.(jsp|htm|html)))</param-value>
      </init-param>
      </filter>

      <!-- Pattern must match formwsbasedir context parameter set above.

      We could match everything and check for a base dir prefix, but this would catch all transport
      calls, etc which seems inefficient.
      -->

      <filter-mapping>
      <filter-name>FormWSFilter</filter-name>
      <url-pattern>/ws/*</url-pattern>
      </filter-mapping>

      <!-- Image Servlet -->
      <servlet>
      <servlet-name>graph</servlet-name>
      <servlet-class>com.datanomic.dashboard.servlets.DQGraph</servlet-class>
      </servlet>

      <!-- Image Servlet Mapping -->
      <servlet-mapping>
      <servlet-name>graph</servlet-name>
      <url-pattern>/dashboard/graph.png</url-pattern>
      </servlet-mapping>

      <!-- Admin UI Servlet -->
      <servlet>
      <servlet-name>adminui</servlet-name>
      <servlet-class>com.datanomic.dashboard.servlets.DQAdminUI</servlet-class>
      </servlet>

      <!-- Admin UI Servlet Mapping -->
      <servlet-mapping>
      <servlet-name>adminui</servlet-name>
      <url-pattern>/dashboard/AdminUI</url-pattern>
      </servlet-mapping>

      <!-- Error Pages -->
      <error-page>
      <error-code>404</error-code>
      <location>/dashboard/error/404.jsp</location>
      </error-page>
      <error-page>
      <exception-type>com.datanomic.dashboard.zerrors.DashboardRuntimeException</exception-type>
      <location>/dashboard/error/500.jsp</location>
      </error-page>

      <filter>
      <filter-name>SecurityFilter</filter-name>
      <filter-class>com.datanomic.director.launchpad.security.SecurityFilter</filter-class>
      </filter>

      <filter-mapping>
      <filter-name>SecurityFilter</filter-name>
      <url-pattern>*.dnhtml</url-pattern>
      </filter-mapping>

      <servlet>
      <servlet-name>launchpad</servlet-name>
      <servlet-class>com.datanomic.utils.web.WebDispatcherServlet</servlet-class>
      <init-param>
      <param-name>controllerRegisterFactory</param-name>
      <param-value>com.datanomic.director.launchpad.web.LaunchpadRegisterFactory</param-value>
      </init-param>
      </servlet>

      <servlet-mapping>
      <servlet-name>launchpad</servlet-name>
      <url-pattern>*.dnhtml</url-pattern>
      </servlet-mapping>

      <servlet>
      <servlet-name>launchpad-unsecured</servlet-name>
      <servlet-class>com.datanomic.utils.web.WebDispatcherServlet</servlet-class>
      <init-param>
      <param-name>controllerRegisterFactory</param-name>
      <param-value>com.datanomic.director.launchpad.web.LaunchpadUnsecuredRegisterFactory</param-value>
      </init-param>
      </servlet>

      <servlet-mapping>
      <servlet-name>launchpad-unsecured</servlet-name>
      <url-pattern>*.dnhtm</url-pattern>
      </servlet-mapping>

      <servlet>
      <servlet-name>blueprintimages</servlet-name>
      <servlet-class>com.datanomic.director.launchpad.web.BlueprintImageServlet</servlet-class>
      </servlet>

      <servlet-mapping>
      <servlet-name>blueprintimages</servlet-name>
      <url-pattern>/blueprints/*</url-pattern>
      </servlet-mapping>

      </web-app>

      What might be going wrong? Please help.. :(