[Logo] OLD FORUM - Use new one: https://www.CaptainCasa.online/forum
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Deploying CC Project to separate tomcat8 server  XML
Forum Index -> Development
Author Message
vadingding

Power User
[Avatar]

Joined: 14/07/2017 13:26:37
Messages: 145
Offline

Hi Captain,

Is there no problem if I copy & pasted CC project from CC's default tomcat server to another tomcat server ?

I just tried it, seems like there is no problem. But I just want to be sure..

Thanks Captain!
unger

Power User

Joined: 22/07/2008 05:19:28
Messages: 261
Offline

There are some items (the app's environment) that are not in the webapps folder:
  • streamstore data (may be in the default folder "work" or outside)
  • configuration (may be outside webcontent in any file location)
    An application developer is responsible to setup the new target environment. After this step transfer of webapps' folders is possible.

    Of course: Both tomcats should have same configurations, like datasources etc, to get same expected behaviour.

    Regards,
    Joachim

  • CaptainCasa

    Power User
    [Avatar]

    Joined: 21/11/2007 12:23:06
    Messages: 5555
    Offline

    Hi,

    just some words from my side in addition: the best way to desitribute of course is not "copying of what is below tomcat/webapps/xxx" but to create a proper deployment unit (".war").

    In the project there is corresponding ANT-build-script (build-folder) which you may use as base.

    With .war files you can set up some proper versioning and it is much easier to e.g. roll back one version to some previous version etc. etc.

    Regards, Björn

    Björn Müller, CaptainCasa GmbH
    vadingding

    Power User
    [Avatar]

    Joined: 14/07/2017 13:26:37
    Messages: 145
    Offline

    Thank you for the response, will do.
    vadingding

    Power User
    [Avatar]

    Joined: 14/07/2017 13:26:37
    Messages: 145
    Offline

    Hi Captain,

    I deployed the CC Project on Tomcat 8.5.49 server, but the image on my log in page is smaller compared to the project deployed at CC's default server.

    I attached a snapshot for comparison.

    Is this something to do with CC ???

    [Thumb - snapshot.png]
     Filename snapshot.png [Disk] Download
     Description here
     Filesize 26 Kbytes
     Downloaded:  438 time(s)

    vadingding

    Power User
    [Avatar]

    Joined: 14/07/2017 13:26:37
    Messages: 145
    Offline

    Cant attach file, it says Internal server error upon submit
    CaptainCasa

    Power User
    [Avatar]

    Joined: 21/11/2007 12:23:06
    Messages: 5555
    Offline

    ...files can only be uploaded up to a size of 100kBytes. Unfortunately the forum's error message is a bit misleading...

    Regards, Björn

    Björn Müller, CaptainCasa GmbH
    vadingding

    Power User
    [Avatar]

    Joined: 14/07/2017 13:26:37
    Messages: 145
    Offline

    The file is successfully uploaded.
    vadingding

    Power User
    [Avatar]

    Joined: 14/07/2017 13:26:37
    Messages: 145
    Offline

    Tried to run tomcat server manually by executing startup.bat and the image problem solved.

    But when running the tomcat server as service, the problem occurs.
     
    Forum Index -> Development
    Go to:   
    Powered by JForum 2.1.6 © JForum Team