JBOSS7 Installation and use

Source: Internet
Author: User
Tags tmp folder jboss server memory

Installation of 1.1 JBOSS7

Unzip the JBOSS7 installation package jboss-as-7.1.1.final directly, and the installation package can be downloaded from the JBoss website

1.2 JBOSS7 startup 1.2.1 Linux under Startup

Enter the bin directory of the JBOSS7 to execute the command

Start command: Nohup./standalone.sh &

View Log command: Tail–f nohup.out

Indicates a successful start, the Access port 8480,0.0.0.0 indicates that all IPs are listening, that is, all IP can access

1.2.2 Startup under Windows

Go to Jboss7 's Bin directory and run Standalone.bat

1.3 Modifying the Port of JBOSS7

JBOSS7 port configuration file in Jboss-as-7.1.1.final/standalone/configuration/standalone.xml, you can modify it according to your own needs

Modify port requires restart server to take effect

1.4 Configuring the JBOSS7 JDK

JBOSS7 default to find the Java_home configured JDK path, note Jboss7 support jdk1.7, do not support jdk1.8

You can specify the JDK path for JBOSS7

Modify the configuration file jboss-as-7.1.1.final/bin/standalone.conf inside

1.5 Configuring the startup parameters of the JBOSS7

Modify configuration file jboss-as-7.1.1.final/bin/standalone.conf configuration, depending on the server memory size configuration can be

-xms256m-xmx512m-xx:maxpermsize=256m-xx:permsize=128m

-XMS: Set the initial size of JVM memory
-XMX: Set the maximum value of JVM memory
-xx:permsize: Setting the initial value of a permanent domain
-xx:maxpermsize: Setting the maximum value for a permanent domain

1.6 Enable all IP access

JBOSS7 only allows local (intranet) IP addresses to access their HTTP services by default, so we need to turn on other machines to access

Modify the configuration file Jboss-as-7.1.1.final/standalone/configuration/standalone.xml inside

Modifying the configuration file requires a restart of the server to take effect

1.7 JBOSS7 Deployment Project

JBOSS7 The following War pack is placed under Jboss-as-7.1.1.final/standalone/deployments

Note: You need to put a file at the same time, the file name with the war package name, suffix named. Dodeploy, the contents are empty.

1.8 JBOSS7 Cleanup Cache

Clear the/jboss-as-7.1.1.final/standalone/tmp folder

1.9 JBOSS7 View Log

JBOSS7 's log is placed under the Jboss-as-7.1.1.final/standalone/log folder

JBOSS7 Installation and use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.