WebLogic 6.1 installation, configuration

xiaoxiao2021-03-06  20

WebLogic 6.1 installation, configuration

1. Install the WebLogic 6.1 installation directory can be changed, and other default settings are used.

II .Weblogic Access the configuration of the Oracle database:

Configure Connection Pool

No need to install Oracle client

Copy $ Oracle_Home / JDBC / LIB / CLASS12.ZIP or CLASS111.Zip to WebLogic Lib Directory

STARTWEBLOGIC.CMD

Path variable joins ./bin/oci817_8

ClassPath Add CLASS12.ZIP or CLASS111.ZIP

The WebLogic Console interface is set as follows

URL: JDBC: Oracle: Thin: @Hostname: 1521: Sidname

Driver classes: Oracle.jdbc.driver.Orcledriver

Properties (Key = Value):

User = username

Password = password

DLL = OCIJDBC8

Protocol = thin

Codeset = GB2312

Where: Hostname is the host name, SINNAME is the SID in Oracle to connect,

UserName, Password is the username and password in Oracle

Need to install an Oracle client machine or server

STARTWEBLOGIC.CMD is added ./bin/oci817_8

The WebLogic Console interface is set as follows

URL: JDBC: WebLogic: Oracle

Driver classes: WebLogic.jdbc.oci.driver

Properties (Key = Value):

User = username

Password = password

Server = your_tnsname

Codeset = GB2312

Username, Password is Oracle username and password

Your_tnsname is the local service name that is configured in the Oracle client (Note that this TNSName may be different in different clients, you can see in the Net8 Assistant of the Oracle client)

Verify that the configuration is successful:

After filling in the configuration information, Apply

Select Target, set myServer to Chosen, Apply (if the configuration information is incorrect, the error message will be displayed on the server)

Select Monitoring-> Moniter All Active Pools If the set sourcePool name is displayed in the list, the configuration is successful.

2. New JDBC Datasource

PoolName wants to match the front settings

JNDI NAME is consistent with it when used in the program

Changed JNDI Name only takes effect after restarting WebLogic

III. About file name

Note: The directory name file name in StartWebLogic.cmd can only be (8.3) format (and no spaces in the name). This has been prompted in the comments in StartWeblogic.cmd.

IV. Use

1. Write EJB with JBuilder, sometimes RedPloy does not update, you need to delete the original module in WebLogic.

2.

No

WebLogic_sp.jar

Document, how to solve: in

JBuilder

of

WebLogic

of

Lib

Delete it

,

this is

WebLogic

one of

Bug, WebLogic

The startup script also deletes it

转载请注明原文地址:https://www.9cbs.com/read-43631.html

New Post(0)