Announcement

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

    problems of admin console!

    i use adminconsole to config my database connection with oracle , input some parameters and press test button, showing message like "Transport error - HTTP code: 404 for URL:http://127.0.0.1:8888/test/sc/IDACall"

    the web.xml like :
    Code:
    <web-app 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"
             version="2.4">
    
    
    
        <!-- Note: The servlets/filters referenced here are documented in the SDK javadoc -->
         <context-param>
            <param-name>ORACLE_CONFIG</param-name>
            <param-value>/WEB-INF/classes/server.properties</param-value>
        </context-param>
        
        
    
        <!-- //>FileLoader -->
        <!-- Dynamic Compression -->
        <filter>
            <filter-name>CompressionFilter</filter-name>
            <filter-class>com.isomorphic.servlet.CompressionFilter</filter-class>
        </filter>
        <!-- CompressionFilter for dynamic compression -->
        <filter-mapping>
            <filter-name>CompressionFilter</filter-name>
            <url-pattern>/*</url-pattern>
        </filter-mapping>
        <!-- //<FileLoader -->
    
    
        <!-- The IDACall servlet handles all Built-in DataSource operations -->
        <servlet>
            <servlet-name>IDACall</servlet-name>
            <servlet-class>com.isomorphic.servlet.IDACall</servlet-class>
        </servlet>
        
        <!-- The DataSourceLoader servlet returns Javascript representations of the dataSources whose
             ID's are passed to it - it is an alternative to using the <loadDS> JSP tag -->
        <servlet>
            <servlet-name>DataSourceLoader</servlet-name>
            <servlet-class>com.isomorphic.servlet.DataSourceLoader</servlet-class>
        </servlet>
    
        <!-- The FileDownload servlet downloads static files, like a webserver -->
        <servlet>
            <servlet-name>FileDownload</servlet-name>
            <servlet-class>com.isomorphic.servlet.FileDownload</servlet-class>
        </servlet>
    
        <!-- ISC init: initializes ISC framework -->
        <servlet>
            <servlet-name>Init</servlet-name>
            <servlet-class>com.isomorphic.base.Init</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
    
        <servlet>
            <servlet-name>HttpProxy</servlet-name>
            <servlet-class>com.isomorphic.servlet.HttpProxyServlet</servlet-class>
        </servlet>
    
        <!-- The PreCache servlet initializes when the servlet engine starts up and pre-loads 
             data need for all client requests.  This is optional, and improves performance
             of the first few page requests.  PreCache cannot be invoked by a browser, because
             there is no "servlet-mapping" defined for it. -->
        <servlet>
            <servlet-name>PreCache</servlet-name>
            <servlet-class>com.isomorphic.servlet.PreCache</servlet-class>
            <load-on-startup>2</load-on-startup>
        </servlet>
    
    
    
    
        <!-- RPCManager uses this URL by default for Built-in DataSource operations -->
        <servlet-mapping>
            <servlet-name>IDACall</servlet-name>
            <url-pattern>/test/sc/IDACall/*</url-pattern>
        </servlet-mapping>
    
        <!-- DataSourceLoader requests -->
        <servlet-mapping>
            <servlet-name>DataSourceLoader</servlet-name>
            <url-pattern>/sc/DataSourceLoader</url-pattern>
        </servlet-mapping>
    
        <servlet-mapping>
            <servlet-name>HttpProxy</servlet-name>
            <url-pattern>/test/sc/HttpProxy/*</url-pattern>
        </servlet-mapping>
    
        <!-- 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>FileDownload</servlet-name>
            <url-pattern>/test/sc/skins/*</url-pattern>
        </servlet-mapping>
    
        <!-- serve ISC modules compressed, with expires headers -->
        <servlet-mapping>
            <servlet-name>FileDownload</servlet-name>
            <url-pattern>/test/sc/system/modules/*</url-pattern>
        </servlet-mapping>
    
        <!-- serve ISC development modules compressed, with expires headers -->
        <servlet-mapping>
            <servlet-name>FileDownload</servlet-name>
            <url-pattern>/test/sc/system/development/*</url-pattern>
        </servlet-mapping>
    
        <!-- server skin assets with expires headers -->
        <servlet-mapping>
            <servlet-name>FileDownload</servlet-name>
            <url-pattern>/test/sc/system/reference/skin/*</url-pattern>
        </servlet-mapping>
    
        <!-- General config -->
        <session-config>
            <session-timeout>30</session-timeout>
        </session-config>
    
        <jsp-config>
            <!-- Isomorphic JSP tags -->
            <taglib>
                <taglib-uri>isomorphic</taglib-uri>
                <taglib-location>/WEB-INF/iscTaglib.xml</taglib-location>
            </taglib>
        </jsp-config>
    
        <mime-mapping>
            <extension>csv</extension>
            <mime-type>text/csv</mime-type>
        </mime-mapping>
    
        <mime-mapping>
            <extension>manifest</extension>
            <mime-type>text/cache-manifest</mime-type>
        </mime-mapping>
        
    </web-app>
    appreciate for your reply!
Working...
X