Jbuilder7 + weblogic6.X configuration
Abstract: Jbuilder7 + weblogic6.X configuration
: Win 2000 Temp, Tmp configuration
Because we generated ejb related to a series of code compiler, then the temporary files generated there will be a local release ah, but in the Temp Win2000, Tmp directory chooses spaces such as% USERPROFILE% \ Local Settings \ Temp, Next we have to configure to:
1) Right-click "My Computer" election attributes, in the pop-up dialog box select the "Advanced" and then choose "Environment Variables" button,
2) Revise the "Administrator of the user variable" and the "system variables" in the TEMP, TEMP, TMPDIR options, click each option, then "Edit" (right), each variable called TEMP, TEMP , the values are changed TMPDIR c: \ WINNT \ temp, of course, this is not necessary, but I suggest that you do so.
In fact, had no difficulty, if diverted End, Win2000 environment so should be no problem.
WebLogic 6.X part
First, JDBC Connection Pool to the configuration database as an example of small Mysql
In this configuration before the first to use the database JDBC Driver Jar files on D: \ bea \ wlserver6.1 \ lib \ jdbc directory (recommendation to do so, not on building a directory jdbc hymns), and then edit D: \ bea \ wlserver6.1 \ config \ mydomain under startWebLogic.cmd documents in the classpath adding database JDBC Driver documents, such as the Scarlet Letter:
: RunWebLogic
Echo on
Set PATH = \ bin;. \ Bin \ oci817_8; d: \ oracle \ ora81 \ bin;% PATH%
Set CLASSPATH =. \ lib \ cr_wls60f.jar;. \ Lib \ weblogic_sp.jar;. \ Lib \ weblogic.jar;. \ Lib \ jdbc \ mysql.jar
This Weblogic will start loading to the use of the database JDBC driver, configuration also will be normal, otherwise they will be in error.
1) In order Weblogic console launched Services \ JDBC \ Connection Pools
2) Click the Configure a new JDBC Connection Pool …
3) Fill each of the parameters, as follows: url: jdbc: mysql: / / 127.0.0.1:3306 / test
Driver classname: org.gjt.mm.mysql.Driver
Properties (key = value): user = root
4) Do not forget to click Apply to that application:)
5) Connections signed by the initial capacity, the largest capacity, growth capacity can be configured according to their own needs
6) also critical final step, we have done the above configuration has not been applied to Weblogic, so step worse,
Targets signed the election, the election Servers signed, the election Available (available) in the myserver, and then "," Application of a further point Apply.
In this way we will be doing the work truly effective, Weblogic also be aware that we configuration JDBC Connection Pool
Second, configuration data sources
1) In order Weblogic console launched Services \ JDBC \ Tx Data Sources
2) Click the Configure a new JDBC Tx Data Source …
3) Fill each of the parameters, as follows:
Jndi name: MysqlDataSoruce
PoolName: MysqlPool
Row prefetch size: 48
Stream chunk size: 2564) do not forget to click Apply to that application:)
5) Similarly, the election Targets signed, signed Servers election, the election Available (available) in the myserver, and then "," Application of a further point Apply.
In this way we will be doing the work truly effective, Weblogic also be aware that we configuration DataSource.
JBuilder 7, in the relevant configuration
A database-driven loading
Weblogic with the same, in this configuration before the first to use the database JDBC Driver Jar files on D: \ JBuilder7 \ lib \ jdbc directory (recommendation to do so, not on building a directory jdbc hymns)
1) Open JBuilder 7, click Tools \ EnterPrise Setup …….
2) In the pop-up window, select signed Database Drivers
3) Add another point button, the pop-up a new window (perhaps you on the map with a slightly different)
4) New … then click the button, the pop-up a new window, and change the Name: The default value for mysql (as long as meaningful, what were all from 10%)
5) Click the Add button to find … and add database JDBC Driver, of course, we go to the D: \ JBuilder7 \ lib \ jdbc go under the election mysql.jar, careful not to mysql.jar start, as Figure selected as a click OK on the trip.
Note: will be compatible with the Shift and Ctrl keys at the same time a number of elections. Jar files.
6) The results are as follows map, if there are multiple needs added. Jar file, but also points to add Add … button.
7) OK exit.
OK again, mysql JDBC driver has been added.
9) Once again, the Ok, JBuilder tips from the emphasis will be effective only after the above configuration, and to identify and restart JBuilder.
Second, EJB 2.0 and the application server configuration, as an example to WebLogic 6.X
In this configuration prior to installation of Borland Enterprise Servler 5.02, also 4.5% IAS, Talia is one thing, of course, that I am a new not old, the installation process slightly, because it is very easy to install! Basically all the way round , I put my installed in the D: \ BorlandEnterpriseServer made.
1) Open JBuilder 7, click Tools \ EnterPrise Setup …….
2) Select CORBA signed in the Configuration under the drop-down list box, select VisiBroker
3) Choose Edit …, the pop-up window click Edit Confiuration path for orb tools
4) Click Path for ORB tools: Read the next button, the pop-up Select Directory window, select D: \ BorlandEnterpriseServer5 \ bin and OK.
5) re-twice OK, JBuilder also ask you to restart, no way, as it said so, the resumption JBuilder.
6) After the restart, but also to Tools \ EnterPrise Setup ……., CORBA of the election, the election Edit, in the pop-up window select Library for projects: next to the button …
7) In the pop-up a new window for the User Home in you will find one more option Borland Enterprise Server 5.0.2 + Client
That is shown in Figure Heiliang choice options, and then three times out OK.
Select Project \ Default Project Properties of
9) In the dialog box select Server shells signed Figure, click the button …,
10) In the new pop-up dialog box, select the WebLogic Application Server 6.x +, and then check Enable server, see figure in Hong Kuang.
11) check Enable server, or other various options to fill, click the button …,
Select Home directory;
Working directory selection;
For your machine installed Weblogic position.
12) signed the Class click the Add button, the above chart will be D: \ bea \ wlserver6.1 \ lib \ cr_wls60f.jar add documents come. As Figure red.
Reuse Move Up button will be D: \ bea \ wlserver6.1 \ lib \ cr_wls60f.jar most of the documents moved to end, the general added. Jar in the document below.
This step also more important, because in the JBuilder environment can be directly activated Weblogic, that it will begin testing license is legitimate, that is, whether there cr_wls60f.jar document.
13) then select Custom signed, in accordance with the following configuration shown in red, could you Weblogic directory with the location and I are different, but the meaning is probably the same.
After the allocation, Click on the OK button to withdraw from
Domain name: mydomain
Server name: myserver
Version: 6.1 Service Pack1 (d: / bea/wlserver6.1)
14) to the window in Figure Single server for all services in project the drop-down list box, select WebLogic Application Server 6.x + As shown, then OK exit.
15) At this point JBuiler 7 with the completion of the allocation of WebLogic 6.x
Bill-switched from: csdn
Java, java, J2SE, j2se, J2EE, j2ee, J2ME, j2me, ejb, ejb3, JBOSS, jboss, spring, hibernate, jdo, struts, webwork, ajax, AJAX, mysql, MySQL, Oracle, Weblogic, Websphere, scjp, scjd
↑ Back
Tags: Configuration






