WebLogic preliminary study (1-3)

Source: Internet
Author: User

2. setEnv. sh

Open/weblogic/setEnv. sh and find this line.

JAVA_HOME =/usr/java

Change

JAVA_HOME =/usr/local/jdk1.2/


3. startWebLogic. sh

Find a "LINUX" string in uppercase and change it to "Linux". It's strange why? This is because at startup, the script file calls the uname command to get the system name, and then compares it with the "LINUX" string to check whether it is a linux system, but the system name returned by the uname command is Linux, so we need to change it. This should be a small BUG in the startup script, so WINT won't be so troublesome.

Run weblogic:

After simple configuration, the test run is completed.

Run the following command in the/weblogic/directory:

../SetEnv. sh (please note that I have two ".." here, because we need to execute this script under the current shell)

./StartWebLogic. sh

When WebLogic is successfully started, it indicates that WebLogic is successfully started.

Related Article

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.