---
title: "How to set up develop enviroment"
author: "zhuhaihua"
date: "2008-10-28T21:40:35Z"
tags: ["Go", "JDBC", "Oracle", "UP", "Weblogic"]
slug: "how-to-set-up-develop-enviroment"
draft: false
lastmod: "2008-11-11T10:00:17Z"
id: 259190
url: "https://littlerain.iteye.com/blog/259190"
---

Develop Enviroment Setup:

Weblogic:

1.Install the weblogic instance.

 

2.Run the BEA WebLogic Configuration Wizard  
\--&gt;create a new WebLogic configuration  
\--&gt;Basic WebLogic Server Domain  
\--&gt;Express(or Custom)  
\--&gt;Fill in the username and password  
\--&gt;spicify:  
a.Development Mode  
b.BEA Supplied SDKs:Sun SDK 1.4...  
\--&gt;Fill in the Configuration Name: bestbuy\_domain  
\--&gt;Done

3.Start the server and jump into the weblogic console: [http://localhost:7001/console](http://localhost:7001/console) and use the username and password that you fill in at step 2.

 

4.Config JDBC  
go to bestbuy\_domain--&gt;Services--&gt;JDBC  
a.Connection Pools  
\--&gt;Connection Pools  
\--&gt;click link"Configure a new JDBC Connection Pool... "  
\--&gt;Database Type:Oracle  
   Database Driver:Oracle's Driver(Thin) Versions:9.0.1, 9.2.0,10  
   Continue  
\--&gt;Fill in the Database Name,Host Name,Port,......  
\--&gt;Test Driver Configuration: test passed.

b.DataSource  
\--&gt;Data Sources  
\--&gt;Click link"Configure a new JDBC Data Source"  
\--&gt;Fill in "Name","JNDI Name":jdbc.workbrain  
Note: you could find the jndi name from the "config.xml" at "\\bestbuy\_domain\\config.xml"  
\--&gt;Select the Pool Name that you just created  
\--&gt;Continue  
\--&gt;Create

 

5.Modify the config file "startWebLogic.cmd" accroding your enviroment.

 

6.Deployment:  
go to bestbuy\_domain--&gt;Deployments--&gt;Applications  
\--&gt;Deploy a new Application...  
\--&gt;Go to the parent directory that contains your application.  
\--&gt;Select the application that you want to deploy then continue.  
\--&gt;Deploy

 

7.Access the application: [http://localhost:7001](http://localhost:7001), ok!