<!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0; mso-font-charset:2; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:536871559 0 0 0 415 0;} @font-face {font-family:"/@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; background:white; mso-shading:windowtext; mso-pattern:solid white; font-size:10.0pt; mso-bidi-font-size:12.0pt; font-family:"Verdana","sans-serif"; mso-fareast-font-family:Verdana; mso-bidi-font-family:Verdana; color:black; background:white; mso-shading:windowtext; mso-pattern:solid white; mso-ansi-language:RU; mso-fareast-language:RU;} h2 {mso-style-unhide:no; mso-style-qformat:yes; mso-style-link:"标题 2 Char"; mso-style-next:正文; margin:4.5pt; mso-pagination:widow-orphan; page-break-after:avoid; mso-outline-level:2; background:white; mso-shading:windowtext; mso-pattern:solid white; font-size:14.0pt; font-family:"Verdana","sans-serif"; mso-fareast-font-family:Verdana; mso-bidi-font-family:Verdana; color:black; background:white; mso-shading:windowtext; mso-pattern:solid white; mso-ansi-language:RU; mso-fareast-language:RU; font-style:italic;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; mso-themecolor:hyperlink; text-decoration:underline; text-underline:single;} a:visited, span.MsoHyperlinkFollowed {mso-style-noshow:yes; mso-style-priority:99; color:purple; mso-themecolor:followedhyperlink; text-decoration:underline; text-underline:single;} span.2Char {mso-style-name:"标题 2 Char"; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:"标题 2"; mso-ansi-font-size:14.0pt; mso-bidi-font-size:14.0pt; font-family:"Verdana","sans-serif"; mso-ascii-font-family:Verdana; mso-fareast-font-family:Verdana; mso-hansi-font-family:Verdana; mso-bidi-font-family:Verdana; color:black; background:white; mso-shading:windowtext; mso-pattern:solid white; mso-ansi-language:RU; mso-fareast-language:RU; font-weight:bold; font-style:italic;} p.writely-toc-lower-roman, li.writely-toc-lower-roman, div.writely-toc-lower-roman {mso-style-name:writely-toc-lower-roman; mso-style-unhide:no; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; background:white; mso-shading:windowtext; mso-pattern:solid white; font-size:10.0pt; mso-bidi-font-size:12.0pt; font-family:"Verdana","sans-serif"; mso-fareast-font-family:Verdana; mso-bidi-font-family:Verdana; color:black; background:white; mso-shading:windowtext; mso-pattern:solid white; mso-ansi-language:RU; mso-fareast-language:RU;} p.Div, li.Div, div.Div {mso-style-name:Div; mso-style-unhide:no; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; background:white; mso-shading:windowtext; mso-pattern:solid white; font-size:10.0pt; mso-bidi-font-size:12.0pt; font-family:"Verdana","sans-serif"; mso-fareast-font-family:Verdana; mso-bidi-font-family:Verdana; color:black; background:white; mso-shading:windowtext; mso-pattern:solid white; mso-ansi-language:RU; mso-fareast-language:RU;} p.Li, li.Li, div.Li {mso-style-name:Li; mso-style-unhide:no; margin:0cm; margin-bottom:.0001pt; mso-pagination:widow-orphan; background:white; mso-shading:windowtext; mso-pattern:solid white; font-size:10.0pt; mso-bidi-font-size:12.0pt; font-family:"Verdana","sans-serif"; mso-fareast-font-family:Verdana; mso-bidi-font-family:Verdana; color:black; background:white; mso-shading:windowtext; mso-pattern:solid white; mso-ansi-language:RU; mso-fareast-language:RU;} span.sub-heading {mso-style-name:sub-heading; mso-style-unhide:no;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt; mso-ascii-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"; mso-font-kerning:0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:2; mso-list-type:hybrid; mso-list-template-ids:-1623682580 -1 -1 -1 -1 -1 -1 -1 -1 -1;} @list l0:level1 {mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l0:level2 {mso-level-number-format:alpha-lower; mso-level-tab-stop:72.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l0:level3 {mso-level-number-format:roman-lower; mso-level-tab-stop:108.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l0:level4 {mso-level-tab-stop:144.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l0:level5 {mso-level-number-format:alpha-lower; mso-level-tab-stop:180.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l0:level6 {mso-level-number-format:roman-lower; mso-level-tab-stop:216.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l0:level7 {mso-level-tab-stop:252.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l0:level8 {mso-level-number-format:alpha-lower; mso-level-tab-stop:288.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l0:level9 {mso-level-number-format:roman-lower; mso-level-tab-stop:324.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l1 {mso-list-id:77875294; mso-list-type:hybrid; mso-list-template-ids:-2348648 -1 67698689 -1 -1 -1 -1 -1 -1 -1;} @list l1:level1 {mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l1:level2 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:72.0pt; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings;} @list l1:level3 {mso-level-number-format:roman-lower; mso-level-tab-stop:108.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l1:level4 {mso-level-tab-stop:144.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l1:level5 {mso-level-number-format:alpha-lower; mso-level-tab-stop:180.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l1:level6 {mso-level-number-format:roman-lower; mso-level-tab-stop:216.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l1:level7 {mso-level-tab-stop:252.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l1:level8 {mso-level-number-format:alpha-lower; mso-level-tab-stop:288.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l1:level9 {mso-level-number-format:roman-lower; mso-level-tab-stop:324.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l2 {mso-list-id:1704789969; mso-list-type:hybrid; mso-list-template-ids:936957276 -1 67698689 -1 -1 -1 -1 -1 -1 -1;} @list l2:level1 {mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l2:level2 {mso-level-number-format:bullet; mso-level-text:; mso-level-tab-stop:72.0pt; mso-level-number-position:left; text-indent:-18.0pt; font-family:Wingdings;} @list l2:level3 {mso-level-number-format:roman-lower; mso-level-tab-stop:108.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l2:level4 {mso-level-tab-stop:144.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l2:level5 {mso-level-number-format:alpha-lower; mso-level-tab-stop:180.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l2:level6 {mso-level-number-format:roman-lower; mso-level-tab-stop:216.0pt; mso-level-number-position:right; text-indent:-9.0pt;} @list l2:level7 {mso-level-tab-stop:252.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l2:level8 {mso-level-number-format:alpha-lower; mso-level-tab-stop:288.0pt; mso-level-number-position:left; text-indent:-18.0pt;} @list l2:level9 {mso-level-number-format:roman-lower; mso-level-tab-stop:324.0pt; mso-level-number-position:right; text-indent:-9.0pt;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->
1. Add my domain:
l program -> BEA Weblogic 8.1 -> Quick Start
l Create a new domain configuration : testdoain
l User : weblogic Pwsd: Password
2. Start my domian:
program -> BEA Weblogic 8.1 -> User Project -> testdomin -> Start
3. Login Manage system :
l Browser Input: http://localhost:7001
l Domain Configurations -> Your Deployed Resources -> Applications
l myserver upload *.war
4. Services Configurations
l Services Configurations -> JDBC -> Connections Pool
l Services Configurations -> JDBC -> Data Sources
private static Context getInitialContext() throws Exception {
String url = "t3://127.0.0.1:7001";
String user = "weblogic";
String password = "Password ";
try {
Properties properties = new Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.jndi.WLInitialContextFactory");
properties.put(Context.PROVIDER_URL, url);
properties.put(Context.SECURITY_PRINCIPAL, user);
properties.put(Context.SECURITY_CREDENTIALS, password);
return new InitialContext(properties);
} catch (Exception ex) {
throw ex;
}
}