The following article transferred from another article, the specific address is unknown, the author thanks. Add that the attention to local For starters, Weblogic configuration often confusing, in fact, should be relatively easy.
For example, changes can be directly Weblogic8.1
\ Bea \ user_projects \ domains \ mydomain under startweblogic.cmd
Find the "Set classpath =", adding mysql.jar path, such as:
set CLASSPATH = C: \ mysql.jar;% WEBLOGIC_CLASSPATH%;
% POINTBASE_CLASSPATH%;% JAVA_HOME% \ jre \ lib \ rt.jar;
% WL_HOME% \ server \ lib \ webservices.jar;% CLASSPATH%
mysql.jar best path first.
---------> This is the Simplified Chinese version of the download address.
Download directly, but IP restrictions. (5 possible)
Crack patch not easy to use. Overwrite license.bea file, open the back of the release version into release = "9.2". And then to normal operation, but does not work under MyEclipse. Hope of solving the big brother, or directly without cracking, themselves with no problem.
The following are MyEclipse5.1 the Weblogic configuration:
Configuring WebLogic 9.2
WebLogic installation easier, not matter how tired described here, and we can refer to the documentation. Now focus on talk about the WebLogic configuration, because the back will be used in the configuration MyEclipse configuration information here.
① Run Start -> Program -> BEA Products -> Tools -> Configuration Wizard.
② Select Create a new WebLogic domain, Next.
③ In the Select Domain Source screen to keep the default, Next.
④ In the User name, enter the user, the two have to enter password 12345678 (password required 8-bit), Next.
⑤ In the Configure Server Start Mode and JDK interface, keep the default, select the JDK is "Sun SDK 1.5.0_04 @ C: \ BEA \ jdk150_04", pay attention here, if you choose "Other JDK" configuration higher than SDK 1.5.0_04 version, an exception will occur when the server starts, it is best to keep the default, and then Next.
⑥ In the Customize Environment and Services Settings screen in the default is No, Next.
⑦ In the Domain name, enter mydomain, click Create.
⑧ done, click Done Close Configuration Wizard dialog box.
⑨ Run Start -> Program -> BEA Products -> User Projects -> mydomain -> Start Admin Server for Weblogic Server Domain, check whether the server is started successfully. http://localhost:7001/console
Configuring the WebLogic 9 Server MyEclipse
Start Eclipse, select "Window -> Preferences" menu, open the Preferences dialog box. Expand Application Servers node under MyEclipse, click on WebLogic 9, select the Enable radio button to the right, enable the WebLogic server. Configuration is as follows:
① BEA home directory: C: \ BEA (assuming WebLogic installed in C: \ BEA directory)
② WebLogic installation directory: C: \ BEA \ WebLogic92
③ Admin username: user (the configuration from the WebLogic)
④ Admin password: 12345678 (the configuration from the WebLogic)
⑤ Execution domain root: C: \ BEA \ user_projects \ domains \ mydomain
⑥ Execution server name: AdminServer
⑦ Security policy file: C: \ BEA \ WebLogic92 \ server \ lib \ weblogic.policy
⑧ JAAS login configuration file: (Null)
Then expand the WebLogic 9 node, click the JDK, the right choice WLS JDK name at the default WebLogic 9 JDK. This combo box is installed by default as a separate JRE. Click the Add button, pop-up WebLogic -> Add JVM dialog box, select the JRE home directory at WebLogic JDK installation folder in the folder, my version is C: \ BEA \ jdk150_04, the program will automatically fill other options. Click the OK button to close the dialog box. This time in the WLS JDK name combo box, select jdk150_04 the.
At this point, MyEclipse configuration in WebLogic 9 job is done. Here you can look at the Eclipse can start the WebLogic server in it? After installing the MyEclipse, Eclipse tool bar will have a "Run / Stop / Restart MyEclipse Application Servers" drop-down button. Click the button drop-down section, select "WebLogic 9 -> Start" menu, that WebLogic has started. By looking at the console messages, you can check the success of start, or what exception.
Click Paths, Prepend to classpath in the right list box, through the Add JAR / ZIP button to add:
C: \ BEA \ WebLogic81 \ server \ lib \ weblogic.jar
C: \ BEA \ WebLogic81 \ server \ lib \ webservices.jar
If you want to the database, the database driver library also need to add in, here we use the WebLogic own SQL Server database-driven library:
C: \ BEA \ WebLogic81 \ server \ lib \ mssqlserver4v65.jar
Of common startup problems
Appear The WebLogic Server did not start up properly. Java.io.InvalidClassException tips and abnormal problem is usually caused because of improper selection of JDK in the MyEclipse configuration options and configuration of WebLogic JDK should be selected when the same JDK. When you select the default JDK, you can also configure the BEA in MyEclipse the jrockit90_150_04 the JDK.
This article comes from CSDN blog, reproduced, please credit: http://blog.csdn.net/zhao2271394/archive/2009/03/12/3985604.aspx
Related Posts of configured weblogic 9.X
1. Add Spring 2.0 in Libraries Choose the following four jar, and configure the / WEB-INF/lib under Spring2.0 AOP Libraries Spring2.0 Core Libraries Spring2.0 Persistence Core Libraries Spring2.0 WEb Libraries At the same time, the applicationContext ...
The end of the project stage, the client suddenly put forward a very troublesome but normal demand, the system records all changes must be carried out. Formats such as: 2004.1.1 12:30 Ikuya wind orders Sales Order Date 2004.1.2-> 2004.1.3 The firs ...
ROR is Ruby on Rails. Ruby is a well-known has been very good dynamic language It's dynamic language. Simple and easy. Dynamic languages are interpreted, but the performance may make a discount, but not absolute, because the application is complex, th
The first is the company give you a chance to meet, it is necessary to know to meet from time to equal the interview, and have a lot of companies to see you at the first time will give you a ready point of doing something trivial, these questions, althoug
Private http://www.lifevv.com/tenyo/doc/20070605102040991.html c3p0 for open source's JDBC connection pool, with the release hibernate. This article describes how to use the hibernate configuration in c3p0. c3p0 connection pool configuration is v ...
Hibernate in the configuration file: <properties> <property name="hibernate.hbm2ddl.auto" value="create" /> </ properties> Parameter Description: validate load hibernate, the authentication to create a database t ...
Concurrent Programming in Java: Design Principles and Patterns (Doug Lea) Concurrent Programming in Java: Design Principles and Patterns, 2nd edition (Doug Lea; Addison-Wesley, 1999 years) Java Concurrent Programming - Design principles and patterns (seco
According to Sun's definition, JavaBean is a reusable software components. In fact JavaBean is a Java class, through the package into a property and methods of treatment of a function or a business object, referred to as bean. Because JavaBean is ...
Hibernate cache: 2-bit cache, also known as process-level cache or SessionFactory level cache, secondary cache can be shared by all of the session Cache configuration and the use of: Will echcache.xml (the document code in hibernate package directory ...