Announcement

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

    Could not load project* from super dev mode when deployed to weblogic?

    Hi,

    MyProject works well when run in super dev mode via eclipse. But when packaged to test.war and deployed to weblogic, "Could not load project* from super dev mode " will appear, how to fix it?


    Env: jdk1.7, eclipse mars, smartgwt6, gwt2.7, windows8.1


    When I try to refresh in IE11, error like"...super dev mode server ..." appears. Following is the log in weblogic.

    PHP Code:
    <May 262016 10:31:12 AM CST> <Notice> <WebLogicServer> <BEA-000360> <The serve
    r started in RUNNING mode
    .>
    <
    May 262016 10:31:12 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server st
    ate changed to RUNNING
    .>
    === 
    2016-05-26 10:33:07,250 [ng)'] INFO  Download - Returning 304: Not modified
    on conditional get of: C:\Users\Administrator.WINDOWS-T5O009H\workspace\HelloTes
    ts\war\hellotests\sc\skins\Enterprise\load_skin.js
    === 2016-05-26 10:33:07,257 [ng)'
    INFO  Download Returning 304Not modified
    on conditional get of
    C:\Users\Administrator.WINDOWS-T5O009H\workspace\HelloTes
    ts
    \war\hellotests\sc\skins\Enterprise\skin_styles.css
    === 2016-05-26 10:33:07,263 [ng)'] INFO  RequestContext - URL: '/war/hellotests/
    sc/DataSourceLoader', User-Agent: 'Mozilla/5.0 (Windows NT 6.3WOW64Trident/7
    .0
    rv:11.0like Gecko': Unsupported with Accept-Encoding header
    === 2016-05-26 10:33:07,278 [ng)'
    DEBUG XML Parsed XML from C:\Users\Administ
    rator
    .WINDOWS-T5O009H\workspace\HelloTests\war\ds\SMUSER.ds.xml2ms
    === 2016-05-26 10:33:07,288 [ng)'] DEBUG DataSourceLoader - For DataSource 'SMUS
    ER
    ', got instanceId 73
    === 2016-05-26 10:33:07,308 [ng)'
    DEBUG ConfigParser Matched var nameisomor
    phicDir
    === 2016-05-26 10:33:07,308 [ng)'] DEBUG ConfigParser - value after substitution
    : C:/Users/Administrator.WINDOWS-T5O009H/workspace/HelloTests/war/hellotests/sc/
    system/reference/inlineExamples/serverExamples/other/customDataSource
    === 2016-05-26 10:33:07,309 [ng)'
    WARN  DataStructCache File customDataSource
    _user
    .ds not found at explicitly specified location C:/Users/Administrator.WINDO
    WS
    -T5O009H/workspace/HelloTests/war/hellotests/sc/system/reference/inlineExample
    s
    /serverExamples/other/customDataSourcechecking project-wide area
    === 2016-05-26 10:33:07,314 [ng)'] DEBUG XML - Parsed XML from C:\Users\Administ
    rator.WINDOWS-T5O009H\workspace\HelloTests\war\ds\customDataSource_user.ds.xml:
    2ms
    === 2016-05-26 10:33:07,321 [ng)'
    DEBUG DataSourceLoader - For DataSource 'cust
    omDataSource_user'
    got instanceId 76
    === 2016-05-26 10:33:07,328 [ng)'] DEBUG XML - Parsed XML from C:\Users\Administ
    rator.WINDOWS-T5O009H\workspace\HelloTests\war\ds\download_file.ds.xml: 3ms
    === 2016-05-26 10:33:07,335 [ng)'
    DEBUG DataSourceLoader - For DataSource 'down
    load_file'
    got instanceId 79
    === 2016-05-26 10:33:07,341 [ng)'] DEBUG XML - Parsed XML from C:\Users\Administ
    rator.WINDOWS-T5O009H\workspace\HelloTests\war\ds\user_list.ds.xml: 2ms
    === 2016-05-26 10:33:07,347 [ng)'
    DEBUG DataSourceLoader - For DataSource 'user
    _list'
    got instanceId 82
    === 2016-05-26 10:33:07,350 [ng)'] DEBUG XML - Parsed XML from C:\Users\Administ
    rator.WINDOWS-T5O009H\workspace\HelloTests\war\ds\efence.ds.xml: 2ms
    === 2016-05-26 10:33:07,355 [ng)'
    DEBUG DataSourceLoader - For DataSource 'efen
    ce'
    got instanceId 85
    === 2016-05-26 10:33:07,361 [ng)'] DEBUG XML - Parsed XML from C:\Users\Administ
    rator.WINDOWS-T5O009H\workspace\HelloTests\war\ds\enduser.ds.xml: 3ms
    === 2016-05-26 10:33:07,365 [ng)'
    DEBUG DataSourceLoader - For DataSource 'endu
    ser'
    got instanceId 88
    === 2016-05-26 10:33:07,371 [ng)'] INFO  Compression - /war/hellotests/sc/DataSo
    urceLoader: 3052 -> 753 bytes
    === 2016-05-26 10:33:07,384 [ng)'
    INFO  RequestContext URL'/war/hellotests/
    sc/DataSourceLoader'
    User-Agent'Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7
    .0; rv:11.0) like Gecko'
    Unsupported with Accept-Encoding header
    === 2016-05-26 10:33:07,387 [ng)'] DEBUG XML - Parsed XML from C:\Users\Administ
    rator.WINDOWS-T5O009H\workspace\HelloTests\war\ds\LOSTEVENT.ds.xml: 1ms
    === 2016-05-26 10:33:07,395 [ng)'
    DEBUG DataSourceLoader - For DataSource 'LOST
    EVENT'
    got instanceId 91
    === 2016-05-26 10:33:07,398 [ng)'] INFO  Compression - /war/hellotests/sc/DataSo
    urceLoader: 867 -> 371 bytes
    <May 26, 2016 10:33:13 AM CST> <Warning> <Socket> <BEA-000449> <Closing the sock
    et, as no data read from it on 127.0.0.1:22,654 during the configured idle timeo
    ut of 5 seconds.>
    <May 26, 2016 10:33:13 AM CST> <Warning> <Socket> <BEA-000449> <Closing the sock
    et, as no data read from it on 127.0.0.1:22,643 during the configured idle timeo
    ut of 5 seconds.> 

    HelloTests.gwt.xml
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- When updating your version of GWT, you should also update this DTD reference,
        so that your app can take advantage of the latest GWT module capabilities. -->
    <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN"
      "http://gwtproject.org/doctype/2.7.0/gwt-module.dtd">
    <module rename-to='hellotests'>
        <!-- Inherit the core Web Toolkit stuff. -->
        <inherits name='com.google.gwt.user.User' />
        <inherits name="com.google.gwt.i18n.I18N" />
        <inherits name="com.smartgwt.tools.SmartGwtTools" />
        <inherits name="com.smartgwtee.tools.Tools" />
        <inherits name="com.smartgwtee.SmartGwtEE" />
    
        <!-- Specify the app entry point class. -->
        <entry-point class='com.jeff.client.LoginUI' />
        <extend-property name="locale" values="zh" />
        <extend-property name="locale" values="fr_CA" />
    
        <!-- Specify the paths for translatable code -->
        <source path='client' />
        <source path='shared' />
    
        <!-- allow Super Dev Mode -->
        <add-linker name="xsiframe" />
    </module>
    HelloTests.html
    Code:
    <!doctype html>
    <!-- The DOCTYPE declaration above will set the     -->
    <!-- browser's rendering engine into                -->
    <!-- "Standards Mode". Replacing this declaration   -->
    <!-- with a "Quirks Mode" doctype is not supported. -->
    
    <html>
      <head>
        <meta http-equiv="content-type" content="text/html; charset=UTF-8">
        
        <!--                   <meta name="gwt:property" content="locale=zh_CN">      -->
        <!-- Consider inlining CSS to reduce the number of requested files -->
        <!--                                                               -->
        <link type="text/css" rel="stylesheet" href="HelloTests.css">
    
        <!--                                           -->
        <!-- Any title is fine                         -->
        <!--                                           -->
        <title>Jeff Xu Blog</title>
        <script> var isomorphicDir = "hellotests/sc/"; </script>
        
        <!--                                           -->
        <!-- This script loads your compiled module.   -->
        <!-- If you add any GWT meta tags, they must   -->
        <!-- be added before this line.                -->
        <!--                                           -->
        <script type="text/javascript" language="javascript" src="hellotests/hellotests.nocache.js"></script>
           <script type="text/javascript" language="javascript" src="hellotests/loadScriptTagFiles.js"></script>
      
      </head>
    
      <!--                                           -->
      <!-- The body can have arbitrary html, or      -->
      <!-- you can leave the body empty if you want  -->
      <!-- to create a completely dynamic UI.        -->
      <!--                                           -->
      <body>
        <script src="hellotests/sc/DataSourceLoader?dataSource=SMUSER,customDataSource_user,download_file,user_list,efence,enduser"></script>
        <script src="hellotests/sc/DataSourceLoader?dataSource=LOSTEVENT"></script>
        
      </body>
    </html>

    server.properties note: This file has not been used actually.
    Code:
    webRoot: __AUTODETECT__
    
    # Set this to the GWT module name.
    gwtModuleName: hellotests
    
    isomorphicPathRootRelative: $gwtModuleName/sc
    
    
    
    
    project.datasources: $webRoot/ds
    project.ui: $webRoot/shared/ui
    project.apps: $webRoot/shared/app
    
    
    RPCManager.enabledBuiltinMethods: *
    
    sql.defaultDatabase: Oracle
    sql.Oracle.driver.context: null
    sql.Oracle.driver.serverName: Embedded in JDBC URL
    sql.Oracle.interface.credentialsInURL: false
    sql.Oracle.driver.driverType: thin
    sql.Oracle.driver.networkProtocol: tcp
    sql.Oracle.driver.portNumber: 1521
    sql.Oracle.useURL: true
    sql.Oracle.driver: oracle.jdbc.driver.OracleDriver
    sql.Oracle.driver.url: jdbc:oracle:thin:@*****jk.clswi4m9fdq4.us-west-2.rds.amazonaws.com:1521:ORCL
    sql.Oracle.driverName: oracle
    sql.Oracle.database.type: oracle
    sql.Oracle.autoJointTransactions: true
    sql.Oracle.interface.type: driverManager
    sql.Oracle.dbName: test
    sql.Oracle.driver.name: null
    sql.Oracle.driver.user: def***
    sql.Oracle.driver.password: Jin****
    sql.Oracle.database.supportsSQLLimit: true
    sql.Oracle.pool.enabled: true
    sql.Oracle.driver.databaseName: default
    sql.Oracle.autoJoinTransactions: true
    
    i18n.resourceBundle.parse.utf-8: true

    web.xml

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
        <!-- TODO: Add <servlet> tags for each servlet here. -->
        <!-- TODO: Add <servlet-mapping> tags for each <servlet> here. -->
        <!-- TODO: Optionally add a <welcome-file-list> tag to display a welcome file. -->
      <!-- Servlets -->
      <welcome-file-list>
        <welcome-file>HelloTests.html</welcome-file>
      </welcome-file-list>
      
      <!--  <servlet>
        <servlet-name>SystemServiceServlet</servlet-name>
        <servlet-class>com.google.api.server.spi.SystemServiceServlet</servlet-class>
        <init-param>
          <param-name>services</param-name>
          <param-value/>
        </init-param>
      </servlet>
      <servlet-mapping>
        <servlet-name>SystemServiceServlet</servlet-name>
        <url-pattern>/_ah/spi/*</url-pattern>
      </servlet-mapping> -->
      
      
      <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>
    
     
        <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>/hellotests/sc/IDACall/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>IDACall</servlet-name>
            <url-pattern>/hellotests/IDACall/*</url-pattern>
        </servlet-mapping>
    
    <!--     DataSourceLoader requests -->
        <servlet-mapping>
            <servlet-name>DataSourceLoader</servlet-name>
            <url-pattern>/hellotests/sc/DataSourceLoader</url-pattern>
        </servlet-mapping>
    
    
        <servlet-mapping>
            <servlet-name>HttpProxy</servlet-name>
            <url-pattern>/hellotests/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>/hellotests/sc/skins/*</url-pattern>
        </servlet-mapping>
    
    <!--     serve ISC modules compressed, with expires headers -->
        <servlet-mapping>
            <servlet-name>FileDownload</servlet-name>
            <url-pattern>/hellotests/sc/system/modules/*</url-pattern>
        </servlet-mapping>
    
    <!--     serve ISC development modules compressed, with expires headers -->
        <servlet-mapping>
            <servlet-name>FileDownload</servlet-name>
            <url-pattern>/hellotests/sc/system/development/*</url-pattern>
        </servlet-mapping>
    
    <!--     server skin assets with expires headers -->
        <servlet-mapping>
            <servlet-name>FileDownload</servlet-name>
            <url-pattern>/hellotests/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.tld</taglib-location>
            </taglib>
            -->
            <taglib>
                <taglib-uri>isomorphic</taglib-uri>
                <taglib-location>/WEB-INF/iscTaglib.xml</taglib-location>
            </taglib>
    
        </jsp-config>    
        
        
    </web-app>
    Jeff
    Attached Files
    Last edited by pkuyjxu; 25 May 2016, 18:40.

    #2
    Somebody help please!

    Comment


      #3
      Take a look at the FAQ - you have not posted anywhere near enough information for someone to be able to help you.

      Same for your other thread.

      Comment


        #4
        Originally posted by Isomorphic View Post
        Take a look at the FAQ - you have not posted anywhere near enough information for someone to be able to help you.

        Same for your other thread.
        Thanks for notification, I have added more info in thread. Currently, I really hope to get a hand as soon as possiblle, thank you.

        Comment


          #5
          You've added a bunch of information, but not useful information..

          There are extensive docs for how to run SuperDevMode in the Debugging topic in the SmartGWT docs, including a Troubleshooting guide. It's not clear which, if any, of these steps you've followed. It's not clear if you're running the SuperDevMode code server at all.

          Comment


            #6
            Now it was fixed. After remove unitCache and GWT compiling,do not run in eclipse, just packaged war to ***.war directly.And then deploy to weblogic. However,I do not know why.

            BTW, how to GWT clean in eclipse? I always delete unitCache munually.

            Originally posted by Isomorphic View Post
            You've added a bunch of information, but not useful information..

            There are extensive docs for how to run SuperDevMode in the Debugging topic in the SmartGWT docs, including a Troubleshooting guide. It's not clear which, if any, of these steps you've followed. It's not clear if you're running the SuperDevMode code server at all.
            Last edited by pkuyjxu; 26 May 2016, 21:52.

            Comment

            Working...
            X