Deploying the WAR file

Deploying the WAR file in standalone mode

  1. Login to the console with the credentials of the management user.

2. Click Deployments.

3. To add the ROOT.war file, click Add.

4. Upload the required WAR file.

5. In the Verify Deployments screen, verify the name and runtime name of your WAR file.

Note: Do not select the Enable checkbox.

6. Access your application using http://localhost:8080.

Change the RAM size in standalone.conf file in the bin folder in case of any memory issue.

Deploying the CloudIO WAR file

  1. Create a folder named cloudio using the following command: **$ mkdir /cloudio

  2. Deploy the WAR file. After installing the platform, the io.properties file is auto-generated in the cloudio folder.

  3. Paste the log4j.properties file in cloudio folder.

  4. Update the log4j file with valid log file path and paste it in tomcat's lib folder.

  5. Restart WildFly

log4j.rootLogger=debug, R
log4j.logger.com.rapapp.platform.server=debug
log4j.logger.com.rapapp.platform.server.script=debug
log4j.logger.com.rapapp.platform.server.rest=debug
log4j.logger.com.ibatis=debug
log4j.logger.java.sql=debug
log4j.logger.org.quartz=debug
log4j.logger.org.apache=debug
log4j.logger.org=debug
log4j.logger.com.rapapp.platform.installer=debug
log4j.logger.io.cloudio=debug
# Console output
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{DATE} %5p %c{1}:%L - %m%n
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=<log_file_path>
# Ex: /u02/tomcat_home/workers12/worker1/logs/io.log
log4j.appender.R.MaxFileSize=10240KB
log4j.appender.R.MaxBackupIndex=10
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{DATE} %5p %c{1}:%L - %m%n

Last updated