Results 1 to 4 of 4

Thread: Deploy ExtReact to Tomcat

  1. #1
    Sencha Premium User
    Join Date
    Jul 2014
    Posts
    34
    Vote Rating
    1
      0  

    Default Deploy ExtReact to Tomcat

    hi all,

    Any step or guide to build a production version to Tomcat?

    Thanks

  2. #2
    Ext Team Member
    Join Date
    Sep 2017
    Posts
    505
    Answers
    2
    Vote Rating
    -202
      -1  

    Default

    Hello there- I just sent your question over to a team member that should be able to help. Thank you for your patience while we work on this for you.

  3. #3
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    77
    Answers
    1
    Vote Rating
    -78
      -1  

    Default

    Hi there,





    Deploying to Tomcat has nothing to do with ExtJS/ExtReact specifically. You can create one WAR file if it is a small application. Take a look at the thread where this was discussed - https://www.sencha.com/forum/showthr...egy-for-tomcat


    After creating an ExtReact App, just run npm run build, then copy build folder and drop in public folder of your web server
    https://github.com/facebook/create-r....md#deployment

    Regards,
    Pavan.
    Sencha Support.

  4. #4
    Sencha Premium User
    Join Date
    Jul 2014
    Posts
    34
    Vote Rating
    1
      0  

    Default

    Quote Originally Posted by pakumar View Post
    Hi there,





    Deploying to Tomcat has nothing to do with ExtJS/ExtReact specifically. You can create one WAR file if it is a small application. Take a look at the thread where this was discussed - https://www.sencha.com/forum/showthr...egy-for-tomcat


    After creating an ExtReact App, just run npm run build, then copy build folder and drop in public folder of your web server
    https://github.com/facebook/create-r....md#deployment

    Regards,
    Pavan.
    Sencha Support.
    Thank you for your reply.

    I tried npm run build and copy the files under build folder to Tomcat \webapps\demoProject
    However, I found that the application cannot be shown with the following error

    2018-09-13_112956.jpg

    It seem those files do not show in correct path.
    What can I do?

    Thanks

Similar Threads

  1. How to deploy an ExtJS 5 app in Tomcat ?
    By gardhiwasam in forum Ext 5: Q&A
    Replies: 1
    Last Post: 16 Nov 2016, 8:25 AM
  2. Deploy app on tomcat
    By chris938626 in forum Sencha Cmd
    Replies: 1
    Last Post: 26 Jul 2015, 8:08 AM
  3. Deploy Sencha touch 2.0 in Apache tomcat server
    By senchaSaurav in forum Sencha Touch 2.x: Discussion
    Replies: 1
    Last Post: 30 Mar 2012, 11:21 AM
  4. gwt+spring deploy tomcat failed
    By q1111 in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 13 Apr 2011, 12:37 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •