Jbuilder9 + Weblogic8.1 installation Configuration

Source: Internet
Author: User
I. software acquisition

First of all, if a software developer cannot pay attention to the software copyright issue, it is really the sorrow of the software industry. Therefore, we strongly recommend that you use genuine software.

It is true that the daily price of genuine software is indeed a problem for individual users. Fortunately, the current software vendors have begun to sell services rather than just software, the poor people can try a big meal too.

I. jbuilder9 can be downloaded from the Borland official website to the enterprise trial 30-day trial version or the personal version.

: Http://www.borland.com/products/downloads/download_jbuilder.html

Ii. Weblogic Platform 8.1 can be registered on the official Bea website for free for trial use.

: Http://commerce.bea.com/index.jsp

Iii. Oracle 9i can be downloaded after you register a free account on the official Oracle website.

: Http://otn.oracle.com/software/index.html

  Ii. software installation and configuration

I. installation and configuration of Weblogic 8.1

1. click the installation file to start installation. First, click "Next", select "yes", and click "Next". The default directory is used here. Click "Next ", until installation starts.

2. step by step. After the installation is complete, we need to configure our own domain and click "Start/Program/BEA WebLogic platform8.1/Configuration Wizard" (figure 1 ), select create a new WebLogic configuration, and enter "name *, password *, description" in "Create a New WebLogic configuration", "Next à basic WebLogic Server domain à next à express à next" (figure 2) next, modify "configuration name: à create" (Figure 3) in the lower right corner of the page until done completes when the progress bar is 100%.

3. Now we can start mydomain to see if it can be used properly.

Click "Start/Program/BEA Weblogic Platform 8.1/user projects/mydomain/start server" to bring up the DOS pop-up window (figure 4), which keeps running. No exception is reported, congratulations! Your WebLogic has been started properly, and the basic installation and configuration of Weblogic have been completed.


Figure 1


Figure 2


Figure 3


Figure 4

Ii. installation and configuration of Oracle9i

(1). Install

1. Unzip the downloaded 92010nt_disk1.zip000092010nt_disk2.zip000092010nt_disk3.zipand the client 92010nt_clt.zip.

2. Run the setup.exe file in disk1. Oracle universal installer will guide you through the installation and configuration of Oracle products.

3. After the preliminary installation of oracle9i is complete, open "/Oracle/ora92/Network/admin/sqlnet. ora" and change "ETS" to "NONE ".

4. Click "Start/Program/Oracle-orahome92/configuration and migration tools/Database Configuration assistant" to add a database:


Figure 5

Step 1. Create a database

Step 2. New Database

Step 3. Global Database Name and Sid

Step 4. database features

Step 5. Select the default operation mode for the database

Step 6. initialize Parameters

Step 7. database storage

Step 8. Create a database.

The installation of oracle9i is complete.

(2). Set users

1. Click "Start/Program/Oracle-orahome92/Application Development/SQL plus ";

2. in "user name [u]:" and "password [p]:", enter the user name and password of system. The default value is system and Manager (or the password you set during installation ), after confirming that the information is correct, you can see the following interface.


Figure 6

3. Create a tablespace "test" with a size of 100 m:

Create tablespace "test ";
Logging;
Datafile 'd:/Oracle/oradata/test/Haig. ora 'size 100 m;

4. create user "test", default tablespace "test ";

Create user "test" Profile "default" identified by "test ";
Default;
Tablespace "test" account unlock;

5. Grant three permissions: unlimited tablespace, connect, resource;

Grant unlimited tablespace, connect, resource to "test ";

6. Log On with the "test" user;

Connect test/test;

"Connected" and okay are displayed normally.

(3). Create a sample database

1. Create a table;

Create Table count
(Num1 number (4, 2 ),
Num2 number (5, 2 ),
Result number (6, 2 ));

2. Insert data;

Insert into count (num1, num2, result) values (1, 1, 2 );
Insert into count (num1, num2, result) values (1, 1 );
Insert into count (num1, num2, result) values (2, 8, 10 );
Insert into count (num1, num2, result) values (158 );

3. submit data;

Commit;

The new table is created and the data is inserted successfully.

Iii. installation and configuration of jbuilder9

Jbuilder9's installation is convenient. Run ent_trial_install.exe and installanywhere to decompress and install next & Install.

After jbuilder9 is installed and runs properly, you can configure Weblogic in JBuilder, click "Start/Program/Borland JBuilder 9 Enterprise trial/Borland JBuilder 9 Enterprise trial" to start jbuilder9à on the menu bar and click "tools/configure servers... "à" Configure servers "window pops up. In the user home directory on the left, select" Weblogic Platform server 8.x" and select "enable server" on the right, at this time, all items on the right that were originally gray become black and usable. First, Set Home Directory: To D:/BEA/weblogic81/server on the "General" subpage (Note: Here D: /Bea should fill in your own Bea installation directory), "working directory:" set to D:/BEA/user_projects/mydomain, if your Bea is not installed in C: /, you need to set "VM parameters:" attribute "-djava. library. path = "D:/BEA/weblogic700/Server/bin" "and"-djava. security. policy = "D:/BEA/weblogic700/Server/lib/weblogic. policy "" remove a "D :".


Figure 7

Next, go to the "Custom" subpage, "Bea Home Directory:" set to D:/BEA; "JDK installation directory:" set to D:/BEA/jdk141_02, "Domain directory: "Set to D:/BEA/user_projects/mydomain, enter the username and password for WebLogic installation in" User name: "," possowrd: ", and set" listen address: "change to" localhost ". Do not select" add an Admin Console item to the Tools menu "or" add a Configuration Wizard item to the Tools menu ". Then, click" OK ".


Figure 8

Next, click "Project/default project properties…" in the menu bar... "À" Default Project Properties "window pops up. On the" server "subpage, select" Single Server for all services in Project ", select "WebLogic application server 8.x" from the drop-down list and click" OK.


Figure 9
Iv. Configure JDBC in WebLogic 8.1

There are two types of JDBC connections: direct connection and pool connection. This section describes how to configure a connection pool and a data source to establish a connection pool.

First, click "Start/Program/BEA Weblogic Platform 8.1/user projects/mydomain/start server" to start WebLogic server8.1, and then enter http: // localhost: 7001/console, press Enter. the WebLogic Server logon page is displayed. enter username: And password and click sign in to log on.

Click "Services deployments/jdbc/connection pools/configure a new JDBC connection pool... ", Create a connection pool, select database type: Oracle in choose database, database DRIVER: Select Oracle's driver (thin) versions: 8.17, 9.01, 9.20, click Continue, set in difine connection properties:

Name: oraclepool
Database Name: Test (Global Database Name created during Oracle Installation)
Host Name: localhost
Port: 1521
Database User name: Test (username created during Oracle Installation)
Password: Test (User Password created during Oracle Installation)
Confire password: Test (repeated password)

Click continue to go to the test database connection page. Click test driver configuration to go to The create an deploy page. If you see the green connection successful, the configuration is successful, click Create an deploy to create an oraclepool connection pool.

Next, configure the data source testtxdatasource, click the JDBC/data source node in the left-side domain tree of the console, and then click Configure a new jdbc tx data source on the right to go to the configure data source tab.

Name: testdatasource
JNDI name: JDBC/testdatasource

Click "continue" to enter the next page.

Pool name: oraclepool


Click create.

So far, Oracle's JDBC settings in WebLogic are complete. Restart weblogic. If no error is reported, the configuration is successful.

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.