JBuilder7 + Weblogic7 + configure EJB for mysql development (add BMP and CMP development instances )[
Source: Internet
Author: User
Configure JBuilder7 + Weblogic7 + mysql to develop EJB
Configuring JB + WLS can be a nightmare. I searched all the posts I could find online, but there were only three or four quality posts.
The post is indeed well written in some aspects. I also rely on them for help. After a few days of hard work, I have successfully integrated JB7 + WLS7
And MYSQL databases to develop EJBs. But these few posts are the previous JB4-6, WLS5-6. In the case of 1, many options are not applicable.
JB7 + WLS7, both of which are unilateral, does not have a complete document from configuration to deployment.
1. Installation is not required.
2. Configuration: after JB7 and WLS7 are installed, configure WLS7 first, because WLS7 is not configured with JB7 and JB7 needs to select the WLS environment
The following steps are explained in sequence:
The example field I used in this document (that is, the field is used). Then, if this field is to be used in the future, it will be directly written as the following field.
Configure MYSQL (other databases are the same) to create a database name, for example, ejbdb. Configure the username and password, for example, root, 111111)
Put mysql jdbc (such as mysql. jar) in a directory, usually under % JAVA_HOME %/lib. But as long as it is not on a floppy disk
It can always be found.
Configure WLS7
If WLS7 is installed under c: ea, go to the c: eaweblogic700in directory and modify startWLS. cmd (note that you must first modify this
The file is because, in some documents, it is wrong to modify startWeblogic. cmd under c: eauser_projectsmydomain .) First repair
Modify this file. The startWeblogic. cmd file in c: eauser_projectsmydomain has not yet been generated. Make sure you do not correct the file. For example
If startWLS. sh is modified in linux
Find set CLASSPATH = % JAVA_HOME % libools. jar; % WL_HOME % serverlibweblogic_sp.jar;
% WL_HOME % serverlibweblogic. jar; % CLASSPATH %
Add mysql. jar:
Set CLASSPATH = % JAVA_HOME % libools. jar; % WL_HOME % serverlibweblogic_sp.jar;
% WL_HOME % serverlibweblogic. jar; pathmysql. jar; % CLASSPATH %
Archive exit. Run BEA Weblogic platform 7.0-> domain configuration wizard on the startup menu.
Configuration wizard.
1. Select a template: Select WLS Domain, the default mydomain Name
2. Choose Server Type: first
3. Specify directory for "mydomain" domain: C: eauser_projects
4. The value Administrative Server Info-Admin Server Name or IP address is used to write the ip address of the machine, which is safe.
5. Configure Managed Server: Server Name: myserver by default
Server Listen Address: write the ip Address of the machine. Other default
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.