Announcement

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

    Basic question about production deployment

    As a newly registered SmartGWT Pro developer, I am learning the ropes on how to properly deploy SmartGWT application to a Tomcat 9's environment (hosted on AWS Linux 2)
    I've been following README file from those Maven archetypes (https://smartclient.com/smartgwt/jav...enSupport.html) and SmartGWT_Quick_Start_Guide to setup development environment and it has been working well (running GWT codeserver (<app>-client code) and <app>-server code ( 'mvn jetty:run -Pdev -pl *-server' ))

    But I have found very little information on what is required to deploy to Tomcat's environment (or other app server's environment).
    Based on test projects I built with the Maven archetypes (using 'prod' profile), there are usually TWO (2) WAR files being built (<app>-client.war and <app>-server.war), am I suppose to put both WAR files under Tomcat's webapps/ folder? I noticed if I put <app>-server.war as ROOT.war under Tomcat's webapps/ folder the SmartGWT app would run but then I will get a warning: 'Transport error - HTTP code: 404 for URL: http://localhost:8080/sc/IDACall?_csrf=xxxxxxx'

    Is there document or website available for production deployment to an application server? Just trying to clear up the confusion of what/which WAR file is needed (or both) and whether there're other configuration changes needed for production deployment. Or even simply a local Tomcat deployment for testing purpose....

    Thanks in advance for any information, hints, suggestions,
    ​​​​​​​Jasper

    #2
    You'll deploy the -server WAR. The -client WAR is a gwt-app artifact - the -server module depends on it, so its contents are included at build time. Otherwise it's just like deploying anything else to Tomcat.

    What archetype have you started with, and what changes have you made? If you were using an example that illustrated JNDI database connections, for example, you'd either have to change that or configure JNDI (add your driver library to Tomcat's lib directory and configure the context as illustrated in the example at etc/tomcat/context.xml).

    There's no obvious reason that requests for the IDACAll servlet should be going to the wrong URL - we'd again need some understanding of what you'd done to your project before attempting to deploy it. A copy of the server log might help.

    Comment


      #3
      Thanks.
      I was able to reproduce the issue in its simplest test case with archetype-smartgwt-quickstart-relogin archetype. Here's the screenshot of what I got and followed by the steps I used to recreate the issue:

      Note how this IDACall is missing the GWT module name in its URL construct.

      Please let me know if I'm missing something obvious.

      Again, appreciate any info/guidance/suggestions.

      Thanks,
      Jasper

      Click image for larger version

Name:	Screen Shot 2022-09-28 at 9.20.28 AM.png
Views:	307
Size:	97.0 KB
ID:	268776


      This is the Maven project I created:

      Code:
      mvn archetype:generate \
           -DartifactId=relogin \
           -Dmodule=ReLogin -Dmodule-short-name=relogin \
           -DgroupId=app.wong -Dpackage=app.wong.relogin \
           -DarchetypeGroupId=com.isomorphic.archetype \
           -DarchetypeArtifactId=archetype-smartgwt-quickstart-relogin \
           -DarchetypeVersion=LATEST -DinteractiveMode=false
      I made the following changes to Tomcat's conf/context.xml (taken from generated project's /etc/tomcat/context.xml ):

      Code:
       <Context>
          <!-- Default set of monitored resources. If one of these changes, the -->
          <!-- web application will be reloaded. -->
          <WatchedResource>WEB-INF/web.xml</WatchedResource>
          <WatchedResource>WEB-INF/tomcat-web.xml</WatchedResource>
          <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
      
          <!-- Uncomment this to disable session persistence across Tomcat restarts -->
          <!--
          <Manager pathname="" />
          -->
          <Resource name="jdbc/samples"
              type="javax.sql.DataSource"
              driverClassName="org.hsqldb.jdbcDriver"
              url="jdbc:hsqldb:hsql://localhost/isomorphic"
              username="sa"
              password=""
              testOnBorrow="true"
              validationQuery="SELECT 1 FROM information_schema.system_users" />
      </Context>
      If I recall correctly (during test trial period) that my Pro license only has the basic crtieria support, so I also changed this one line in UserProfileService.java from addToCriteria(..) to setCriteria(..): (also some System.out.println(...) for debugging)


      Code:
      public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
      ...
      // get the user account
      DSRequest userAccountRequest = new DSRequest("User", DataSource.OP_FETCH);
      // userAccountRequest.addToCriteria("username", DefaultOperators.Equals, username);
      userAccountRequest.setCriteria("username", username);
      ...

      I built the war file and put it in Tomcat's webapps folder, started Tomcat.
      I was able to get the login screen, login with given demo user/pass, but got the error dialog shown in attached screenshot.
      below is the catalina.out log entries:

      Code:
      28-Sep-2022 09:18:43.527 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT.war] has finished in [3,300] ms
      28-Sep-2022 09:18:43.527 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/ROOT-archive]
      28-Sep-2022 09:18:43.536 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/ROOT-archive] has finished in [9] ms
      28-Sep-2022 09:18:43.536 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/docs]
      28-Sep-2022 09:18:43.544 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/docs] has finished in [8] ms
      28-Sep-2022 09:18:43.544 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/manager]
      28-Sep-2022 09:18:43.563 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/manager] has finished in [19] ms
      28-Sep-2022 09:18:43.563 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/examples]
      28-Sep-2022 09:18:43.669 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/examples] has finished in [106] ms
      28-Sep-2022 09:18:43.669 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/host-manager]
      28-Sep-2022 09:18:43.679 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/host-manager] has finished in [10] ms
      28-Sep-2022 09:18:43.681 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
      28-Sep-2022 09:18:43.688 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [3494] milliseconds
      === 2022-09-28 09:19:18,545 [ec-2] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/builtinTypes.xml: 2ms
      === 2022-09-28 09:19:18,559 [ec-2] INFO PoolManager - SmartClient pooling started for 'simpleTypes' objects
      === 2022-09-28 09:19:18,656 [ec-3] DEBUG LoadISCTag - isomorphicURI not specified in tag, defaulting to: relogin/sc/
      loadUserByUsername: john.smith@isomorphic.com
      === 2022-09-28 09:19:26,120 [ec-5] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/WEB-INF/ds/isomorphic/User.ds.xml: 2ms
      === 2022-09-28 09:19:26,123 [ec-5] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/DataSource.ds.xml: 2ms
      === 2022-09-28 09:19:26,192 [ec-5] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/DataSourceField.ds.xml: 2ms
      === 2022-09-28 09:19:26,204 [ec-5] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/OperationBinding.ds.xml: 1ms
      === 2022-09-28 09:19:26,210 [ec-5] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/DSRequestModifier.ds.xml: 1ms
      === 2022-09-28 09:19:26,224 [ec-5] INFO DSRequest - Executing User.fetch rows: 0->-1 with
      criteria: {username:"john.smith@isomorphic.com"}
      === 2022-09-28 09:19:26,227 [ec-5] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
      === 2022-09-28 09:19:26,227 [ec-5] DEBUG DeclarativeSecurity - Request is not a client request, ignoring security checks.
      === 2022-09-28 09:19:26,229 [ec-5] DEBUG AppBase - No userTypes defined, allowing anyone access to all operations for this application
      === 2022-09-28 09:19:26,229 [ec-5] DEBUG AppBase - No public zero-argument method named '_null' found, performing generic datasource operation
      === 2022-09-28 09:19:26,275 [ec-5] DEBUG SQLDriver - SampleDB: Initializing SQL config via JNDI
      [Server@476fc8a1]: [Thread[HSQLDB Server @476fc8a1,5,main]]: handleConnection(Socket[addr=/127.0.0.1,port=55564,localport=9001]) entered
      [Server@476fc8a1]: [Thread[HSQLDB Server @476fc8a1,5,main]]: handleConnection() exited
      [Server@476fc8a1]: 0:SQLCLI:MODE:31
      [Server@476fc8a1]: [Thread[HSQLDB Connection @1d0539fe,5,HSQLDB Connections @476fc8a1]]: 0:Trying to connect user 'sa' to DB (isomorphic)
      [Server@476fc8a1]: [Thread[HSQLDB Connection @1d0539fe,5,HSQLDB Connections @476fc8a1]]: 0:Connected user 'sa'
      [Server@476fc8a1]: 0:SQLCLI:SQLPREPARE SELECT 1 FROM information_schema.system_users
      [Server@476fc8a1]: 0:SQLCLI:SQLEXECUTE:1
      [Server@476fc8a1]: 0:HSQLCLI:GETSESSIONATTR
      [Server@476fc8a1]: 0:SQLCLI:SQLFREESTMT:1
      [Server@476fc8a1]: 0:SQLCLI:SQLDISCONNECT
      [Server@476fc8a1]: [Thread[HSQLDB Server @476fc8a1,5,main]]: handleConnection(Socket[addr=/127.0.0.1,port=55565,localport=9001]) entered
      [Server@476fc8a1]: [Thread[HSQLDB Server @476fc8a1,5,main]]: handleConnection() exited
      [Server@476fc8a1]: 1:SQLCLI:MODE:31
      [Server@476fc8a1]: [Thread[HSQLDB Connection @3aec4357,5,HSQLDB Connections @476fc8a1]]: 1:Trying to connect user 'sa' to DB (isomorphic)
      [Server@476fc8a1]: [Thread[HSQLDB Connection @3aec4357,5,HSQLDB Connections @476fc8a1]]: 1:Connected user 'sa'
      [Server@476fc8a1]: 1:SQLCLI:SQLPREPARE SELECT 1 FROM information_schema.system_users
      [Server@476fc8a1]: 1:SQLCLI:SQLEXECUTE:1
      [Server@476fc8a1]: 1:call database_version()
      [Server@476fc8a1]: 1:call database_version()
      [Server@476fc8a1]: 1:call database_version()
      [Server@476fc8a1]: 1:call database_version()
      === 2022-09-28 09:19:26,537 [ec-5] DEBUG JSTranslater - disableStringInBrowser = false
      === 2022-09-28 09:19:26,537 [ec-5] DEBUG SQLDriver - SampleDB: Database metadata: {
      databaseProductString:"HSQL Database Engine 2.5.1",
      driverName:"HSQL Database Engine Driver",
      driverMajorVersion:2,
      driverMinorVersion:5,
      databaseProductName:"HSQL Database Engine",
      databaseProductVersion:"2.5.1",
      databaseMinorVersion:5,
      databaseMajorVersion:2,
      JDBCMinorVersion:2,
      driverVersion:"2.5.1",
      JDBCMajorVersion:4
      }
      [Server@476fc8a1]: 1:HSQLCLI:GETSESSIONATTR
      === 2022-09-28 09:19:26,541 [ec-5] DEBUG SQLDataSource - DataSource 6 acquired SQLDriver instance 242702771 during initialization
      === 2022-09-28 09:19:26,575 [ec-5] INFO Velocity - Velocity Tools not available - using standard Velocity Contexts.
      === 2022-09-28 09:19:26,579 [ec-5] DEBUG Velocity - Velocity config: {
      "runtime.log.name":"org.apache.Velocity",
      "resource.loader.file.path":""
      }
      SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
      SLF4J: Defaulting to no-operation (NOP) logger implementation
      SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
      === 2022-09-28 09:19:26,623 [ec-5] DEBUG SQLDataSource - 6: Executing SQL query on 'SampleDB': SELECT user.id, user.username, user.password, user.profile FROM PUBLIC.user WHERE (LOWER(user.username)='john.smith@isomorphic.com')
      === 2022-09-28 09:19:26,625 [ec-5] INFO PoolManager - SmartClient pooling disabled for 'SampleDB' objects
      [Server@476fc8a1]: 1:SQLCLI:SQLEXECUTE:1
      === 2022-09-28 09:19:26,626 [ec-5] DEBUG PoolableSQLConnectionFactory - makeObject() created an unpooled Connection '245022127'
      === 2022-09-28 09:19:26,626 [ec-5] DEBUG SQLConnectionManager - Borrowed connection '245022127'
      === 2022-09-28 09:19:26,627 [ec-5] INFO SQLDriver - Executing SQL query on 'SampleDB' using connection '245022127': SELECT user.id, user.username, user.password, user.profile FROM PUBLIC.user WHERE (LOWER(user.username)='john.smith@isomorphic.com')
      [Server@476fc8a1]: 1:SELECT user.id, user.username, user.password, user.profile FROM PUBLIC.user WHERE (LOWER(user.username)='john.smith@isomorphic.com')
      === 2022-09-28 09:19:26,632 [ec-5] INFO DSResponse - DSResponse: List with 1 items
      === 2022-09-28 09:19:26,633 [ec-5] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
      === 2022-09-28 09:19:26,633 [ec-5] DEBUG SQLDriver - Freeing SQLDriver dbConnection 245022127 for SQLDriver instance 242702771
      === 2022-09-28 09:19:26,633 [ec-5] DEBUG SQLConnectionManager - About to close PoolGuardConnectionWrapper with hashcode "245022127"
      === 2022-09-28 09:19:26,634 [ec-5] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
      === 2022-09-28 09:19:26,634 [ec-5] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
      loadUserByUsername: user found
      === 2022-09-28 09:19:26,635 [ec-5] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/WEB-INF/ds/isomorphic/UserRole.ds.xml: 0ms
      === 2022-09-28 09:19:26,637 [ec-5] INFO DSRequest - Executing UserRole.fetch rows: 0->-1 with
      criteria: {id:1}
      === 2022-09-28 09:19:26,637 [ec-5] DEBUG DeclarativeSecurity - Processing security checks for DataSource null, field null
      === 2022-09-28 09:19:26,637 [ec-5] DEBUG DeclarativeSecurity - Request is not a client request, ignoring security checks.
      === 2022-09-28 09:19:26,637 [ec-5] DEBUG AppBase - No userTypes defined, allowing anyone access to all operations for this application
      === 2022-09-28 09:19:26,637 [ec-5] DEBUG AppBase - No public zero-argument method named '_null' found, performing generic datasource operation
      === 2022-09-28 09:19:26,638 [ec-5] DEBUG SQLDataSource - DataSource 7 acquired SQLDriver instance 495326625 during initialization
      === 2022-09-28 09:19:26,638 [ec-5] DEBUG SQLDataSource - 7: Executing SQL query on 'SampleDB': SELECT roles.pk, roles.id, roles.role FROM PUBLIC.roles WHERE (roles.id=1)
      [Server@476fc8a1]: 1:SQLCLI:SQLEXECUTE:1
      === 2022-09-28 09:19:26,639 [ec-5] DEBUG PoolableSQLConnectionFactory - makeObject() created an unpooled Connection '1426085473'
      === 2022-09-28 09:19:26,639 [ec-5] DEBUG SQLConnectionManager - Borrowed connection '1426085473'
      === 2022-09-28 09:19:26,639 [ec-5] INFO SQLDriver - Executing SQL query on 'SampleDB' using connection '1426085473': SELECT roles.pk, roles.id, roles.role FROM PUBLIC.roles WHERE (roles.id=1)
      [Server@476fc8a1]: 1:SELECT roles.pk, roles.id, roles.role FROM PUBLIC.roles WHERE (roles.id=1)
      === 2022-09-28 09:19:26,640 [ec-5] INFO DSResponse - DSResponse: List with 1 items
      === 2022-09-28 09:19:26,640 [ec-5] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 7
      === 2022-09-28 09:19:26,640 [ec-5] DEBUG SQLDriver - Freeing SQLDriver dbConnection 1426085473 for SQLDriver instance 495326625
      === 2022-09-28 09:19:26,640 [ec-5] DEBUG SQLConnectionManager - About to close PoolGuardConnectionWrapper with hashcode "1426085473"
      === 2022-09-28 09:19:26,640 [ec-5] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 7
      === 2022-09-28 09:19:26,640 [ec-5] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 7
      loadUserByUsername [password]: smith
      === 2022-09-28 09:19:26,650 [ec-6] DEBUG LoadISCTag - isomorphicURI not specified in tag, defaulting to: relogin/sc/
      === 2022-09-28 09:19:26,704 [ec-8] INFO RequestContext - URL: '/relogin-server-1.0-SNAPSHOT/datasources.jsp', User-Agent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36': Safari with Accept-Encoding header
      === 2022-09-28 09:19:26,707 [ec-8] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 6
      === 2022-09-28 09:19:26,709 [ec-8] DEBUG SQLDataSource - About to clear SQLDriver state for DS instance 7
      === 2022-09-28 09:19:26,710 [ec-8] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/WEB-INF/ds/classic-models/Employee.ds.xml: 0ms
      === 2022-09-28 09:19:26,714 [ec-8] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/Validator.ds.xml: 0ms
      === 2022-09-28 09:19:26,721 [ec-8] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/ServerObject.ds.xml: 0ms
      === 2022-09-28 09:19:26,724 [ec-8] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/WEB-INF/ds/classic-models/Office.ds.xml: 0ms
      === 2022-09-28 09:19:26,726 [ec-8] DEBUG XML - Parsed XML from /Volumes/StudioData/Work/development/apache-tomcat-9.0.65/webapps/relogin-server-1.0-SNAPSHOT/relogin/sc/system/schema/ValueMap.ds.xml: 0ms

      Comment


        #4
        and here's the Tomcat's localhost_access_log entries:

        Code:
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:18 -0400] "GET /relogin-server-1.0-SNAPSHOT HTTP/1.1" 302 -
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:18 -0400] "GET /relogin-server-1.0-SNAPSHOT/ HTTP/1.1" 302 -
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:18 -0400] "GET /relogin-server-1.0-SNAPSHOT/login.jsp HTTP/1.1" 200 5241
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:18 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_FileLoader.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 404 831
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "POST /relogin-server-1.0-SNAPSHOT/login HTTP/1.1" 302 -
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/ HTTP/1.1" 200 5914
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/relogin.nocache.js HTTP/1.1" 200 7526
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Containers.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 179919
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/style.css HTTP/1.1" 200 47
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Foundation.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 454511
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Grids.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 1194384
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Drawing.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 386651
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Core.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 1605608
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_RichTextEditor.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 65265
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Calendar.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 304089
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_PluginBridges.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 12409
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Forms.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 1180848
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/loadScriptTagFiles.js HTTP/1.1" 200 3783
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Charts.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 344068
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_DataBinding.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 1568803
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/skins/Tahoe/load_skin.js?isc_version=v13.0p_2022-09-17.js HTTP/1.1" 200 67698
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Foundation.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 454511
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Core.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 1605608
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Containers.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 179919
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/initsc.js HTTP/1.1" 200 47
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Grids.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 1194384
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Drawing.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 386651
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Forms.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 1180848
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_RichTextEditor.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 65265
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Calendar.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 304089
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/skins/Tahoe/load_skin.js HTTP/1.1" 200 67698
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_DataBinding.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 1568803
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/modules/ISC_Charts.js?isc_version=13.0p_2022-09-17.js HTTP/1.1" 200 344068
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/datasources.jsp HTTP/1.1" 200 5607
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/34209BA6A5F4FD6B0A76157F0EFF44D5.cache.js HTTP/1.1" 200 478024
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/skins/Tahoe/skin_styles.css?isc_version=v13.0p_2022-09-17 HTTP/1.1" 200 253864
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/skins/Tahoe/skin_styles.css?isc_version=v13.0p_2022-09-17 HTTP/1.1" 200 253864
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/system/helpers/fonts/RobotoLight/RobotoLight.woff2 HTTP/1.1" 200 61320
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/system/helpers/fonts/corbel/corbel.woff HTTP/1.1" 200 149820
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/system/helpers/fonts/calibri/CALIBRI_1.TTF HTTP/1.1" 200 244412
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/skins/Tahoe/images/blank.gif HTTP/1.1" 200 43
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "POST /relogin-server-1.0-SNAPSHOT/sc/IDACall?_csrf=86fff39a-013f-497f-925b-ec56fba6eccf&isc_rpc=1&isc_v=v13.0p_2022-09-17&isc_xhr=1 HTTP/1.1" 404 797
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/skins/Tahoe/images/headerIcons/close.png HTTP/1.1" 200 301
        0:0:0:0:0:0:0:1 - - [28/Sep/2022:09:19:26 -0400] "GET /relogin-server-1.0-SNAPSHOT/relogin/sc/skins/Tahoe/images/Dialog/warn.png HTTP/1.1" 200 451

        Comment


          #5
          Thank you for the additional detail. We've been able to reproduce this and will have a developer assigned to look at it.

          Comment


            #6
            Thanks, appreciate it. Will wait for response from the developer.

            Jasper

            Comment


              #7
              Thanks again for the report. The fix for this will be present in archetypes included with the next builds of 13.0p and 13.d.

              Comment


                #8
                thanks. will this command grab the fixed archetype then? or will it take a while before it makes it to 'LATEST' archetypeVersion?

                mvn archetype:generate \
                -DartifactId=my-application \
                -Dmodule=MyApplication -Dmodule-short-name=myapp \
                -DgroupId=com.example -Dpackage=com.example.myapplication \
                -DarchetypeGroupId=com.isomorphic.archetype \
                -DarchetypeArtifactId=archetype-smartgwt-quickstart-relogin \
                -DarchetypeVersion=LATEST -DinteractiveMode=false

                The reason I am asking is, if I run the above command the project gets created would still source from 20220917 build (from pom.xml):

                <properties>
                <gwt.version>2.8.2</gwt.version>
                <smartgwt.version>13.0-p20220917</smartgwt.version>
                <servlets.version>3.1.0</servlets.version>

                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                </properties>

                So I wonder how long will it take for the archetype version to be updated?

                Thanks,
                Jasper
                Last edited by devwong; 5 Oct 2022, 06:00.

                Comment


                  #9
                  No. You would need to run the install or deploy goal to download and install/deploy the updated version to your Maven repo before the archetype plugin will find the update.

                  Comment


                    #10
                    Thanks. Got it to work. all fixed !! ;)

                    Comment

                    Working...
                    X