当前位置:文档之家› weblogic创建domain域

weblogic创建domain域

weblogic创建domain域.txt2008-02-21 15:55bash-2.05# lsbsu utils.jarbash-2.05# cd..bash: cd..: command not foundbash-2.05# cd ..bash-2.05# cd weblogic81bash-2.05# lscommon javelin samples server uninstall workshopbash-2.05# cd serverbash-2.05# ls3rd_party_licenses.txtabout_wls.html builder extLICENSE.TXT bin copyright libbash-2.05# cd binbash-2.05# '> ls>>>bash-2.05# pwd/usr/local/bea/weblogic81/server/binbash-2.05# ls -ltotal 7830-rwxr-xr-x 1 root other 5054 May 26 2006 ant-rwxr-xr-x 1 root other 171 May 26 2006 antRun-rwxr-xr-x 1 root other 1433 May 26 2006 antRun.pl-rwxr-xr-x 1 root other 2488 May 26 2006complete-ant-cmd.pl-rwxr-xr-x 1 root other 1406 May 26 2006 cw_blueglobe.ico -rwxr-xr-x 1 root other 1406 May 26 2006 html.ico-rwxr-xr-x 1 root other 557056 May 26 2006 iisproxy128.dll drwxr-xr-x 2 root other 512 May 26 2006 international-rwxr-xr-x 1 root other 569344 May 26 2006 mod_wl128_20.so -rwxr-xr-x 1 root other 569344 May 26 2006 mod_wl_20.so drwxr-xr-x 2 root other 512 May 26 2006 oci817_8drwxr-xr-x 2 root other 512 May 26 2006 oci901_8drwxr-xr-x 2 root other 512 May 26 2006 oci920_8-rwxr-xr-x 1 root other 548864 May 26 2006 proxy30128.dll -rwxr-xr-x 1 root other 548864 May 26 2006 proxy35128.dll -rwxr-xr-x 1 root other 548864 May 26 2006 proxy36128.dll -rwxr-xr-x 1 root other 548864 May 26 2006 proxy61128.dll-rwxr-xr-x 1 root other 4544 May 26 2006 runant.pl-rwxr-xr-x 1 root other 2894 May 26 2006 runant.py-rwxr-xr-x 1 root other 3722 May 26 2006 setWLSEnv.sh-rwxr-xr-x 1 root other 4039 May 26 2006 startNodeManager.sh-rwxr-xr-x 1 root other 1311 May 26 2006 startWLBuilder.sh -rwxr-xr-x 1 root other 12395 May 26 2006 startWLS.shdrwxr-xr-x 3 root other 512 May 26 2006 win64bash-2.05# cd /usr/local/bea/weblogic81/common/bin/bash-2.05# ls -ltotal 68-rwxr-xr-x 1 root other 10898 May 26 2006 commEnv.sh-rwxr-xr-x 1 root other 868 May 26 2006 config.sh-rwxr-xr-x 1 root other 2547 May 26 2006 configDB.sh-rwxr-xr-x 1 root other 840 May 26 2006 config_builder.sh -rwxr-xr-x 1 root other 377 May 26 2006 encryptWSSEPolicy.sh-rwxr-xr-x 1 root other 362 May 26 2006 generateSecretKeyFile.sh-rwxr-xr-x 1 root other 464 May 26 2006 quickstart.sh-rwxr-xr-x 1 root other 3922 May 26 2006 startManagedWebLogic.sh-rwxr-xr-x 1 root other 5437 May 26 2006 startPointBase.sh -rwxr-xr-x 1 root other 2681 May 26 2006 startPointBaseConsole.sh-rwxr-xr-x 1 root other 1792 May 26 2006 stopPointBase.sh bash-2.05# ./config.shUnable to instantiate GUI, defaulting to console mode.<--------------------- BEA WebLogic Configuration Wizard--------------------->Create or Extend a Configuration:---------------------------------Choose between creating and extending a configuration. Based on your selection, the Configuration Wizard guides you through the steps to generate a new orextend an existing configuration.->1|Create a new WebLogic configuration| Start here to create a WebLogic configuration in your projects |directory.2|Extend an existing WebLogic configuration| Start here to extend an existing WebLogic configuration. Use this|option to add applications and services, including Database access (JDBC)|and Messaging (JMS). This option also enables you to extend functionality|by enabling WebLogic Workshop.Enter index number to select OR [Exit][Next]> 1<--------------------- BEA WebLogic Configuration Wizard--------------------->Select a Domain Template:-------------------------Please select a template from the list or select another directory of templates.* [/usr/local/bea/weblogic81/common/templates/domains]1|Basic WebLogic Workshop Domain 8.1.5.0| BEA Systems, Inc.| Create a basic WebLogic Workshop domain, without installing sample |applications. Domains created from this template will support the |WebLogic Server and WebLogic Workshop runtime functionality, including|support for J2EE applications, Web applications, Web Services and custom|controls. Use domains created from this template for development of |WebLogic Workshop applications.->2|Basic WebLogic Server Domain 8.1.5.0| BEA Systems, Inc.| Create a basic WebLogic Server domain without installing sample |applications.3|WebLogic Server Examples Domain 8.1.5.0| BEA Systems, Inc.| Create the WebLogic Server Examples domain in a directory outside of the |installed kit. The Examples domain contains a collection of examples to|show best practices for coding individual J2EE APIs.4|Avitek Medical Records Sample Domain 8.1.5.0| BEA Systems, Inc.Enter index number to select OR [Down][Exit][Previous][Next]> 2<--------------------- BEA WebLogic Configuration Wizard--------------------->Choose Configuration Option:----------------------------*Do you want to run the wizard in express mode?->1|Yes2|NoEnter index number to select OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard--------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user isthe default administrator used to start development mode servers.| Name | Value |_|_________________________|_________________________________|1| *User name: | weblogic |2| *User password: | |3| *Confirm user password: | |4| Description: | The default administration user |Select Option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"Enter option number to select OR [Exit][Previous][Next]> 2<--------------------- BEA WebLogic Configuration Wizard--------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user isthe default administrator used to start development mode servers."*User password:" = []Input new *User password: OR [Exit][Reset][Accept]> weblogic<--------------------- BEA WebLogic Configuration Wizard--------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user isthe default administrator used to start development mode servers.| Name | Value |_|_________________________|_________________________________|1| *User name: | weblogic |2| *User password: | ******** |3| *Confirm user password: | |4| Description: | The default administration user |Select Option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"5 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]> 3<--------------------- BEA WebLogic Configuration Wizard--------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user isthe default administrator used to start development mode servers."*Confirm user password:" = []Input new *Confirm user password: OR [Exit][Reset][Accept]> weblogic<--------------------- BEA WebLogic Configuration Wizard--------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user isthe default administrator used to start development mode servers.| Name | Value |_|_________________________|_________________________________|1| *User name: | weblogic |2| *User password: | ******** |3| *Confirm user password: | ******** |4| Description: | The default administration user |Select Option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"5 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard--------------------->Domain Mode Configuration:--------------------------Enable Development or Production Mode for this domain.->1|Development Mode2|Production ModeEnter index number to select OR [Exit][Previous][Next]> 1 <--------------------- BEA WebLogic Configuration Wizard --------------------->Java SDK Selection:-------------------->1|Other Java SDKEnter index number to select OR [Exit][Previous][Next]> 1<--------------------- BEA WebLogic Configuration Wizard --------------------->Java SDK Selection:-------------------"JVM Directory" = []Input new JVM Directory OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard --------------------->Java SDK Selection:-------------------"JVM Directory" = []** You must specify a JDK location.Input new JVM Directory OR [Exit][Previous][Next]> n<--------------------- BEA WebLogic Configuration Wizard--------------------->Java SDK Selection:-------------------"JVM Directory" = []** You must specify a JDK location.Input new JVM Directory OR [Exit][Previous][Next]>/usr/local/bea/j2sdk1.4.2_12/<--------------------- BEA WebLogic Configuration Wizard--------------------->Java SDK Selection:-------------------"JVM Directory" = [/usr/local/bea/j2sdk1.4.2_12/]Input new JVM Directory OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard--------------------->Java SDK Selection:-------------------->1|Yes2|No** Unable to determine if the directory you selected contains a valid JDK.** Do you want to proceed? [/usr/local/bea/j2sdk1.4.2_12/]Enter index number to select OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard--------------------->Select the target domain directory for this configuration:----------------------------------------------------------"Target Location" = [/usr/local/bea/user_projects/domains] Input new Target Location OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard--------------------->Edit Domain Information:------------------------| Name | Value |_|________|__________|1| *Name: | mydomain |Enter value for "Name" OR [Exit][Previous][Next]> oaDomain<--------------------- BEA WebLogic Configuration Wizard--------------------->Edit Domain Information:------------------------| Name | Value |_|________|__________|1| *Name: | oaDomain |Select Option:1 - Modify "Name"2 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]><--------------------- BEA WebLogic Configuration Wizard--------------------->Creating Domain...0% 25% 50% 75% 100%[------------|------------|------------|------------][***************************************************]**** Domain Created Successfully! ****bash-2.05# pwd/usr/local/bea/weblogic81/common/binbash-2.05# cd ..bash-2.05# cd ..bash-2.05# cd ..bash-2.05# lsUpdateLicense.sh j2sdk1.4.2_12 logs user_projectsbeahomelist license.bea newlicense.bea utilsext_components license_scale_limited.bearegistry.xml weblogic81bash-2.05# cd user*bash-2.05# lsdomainsbash-2.05# cd doaminsbash: cd: doamins: No such file or directorybash-2.05# lsdomainsbash-2.05# cd domainsbash-2.05# lsgjjdomain oaDomainbash-2.05# cd oaDomainbash-2.05# lsDefaultAuthenticatorInit.ldiftapplications setEnv.shDefaultAuthorizerInit.ldift boot.properties start ManagedWebLogic.shDefaultRoleMapperInit.ldift config.xml start WebLogic.shSerializedSystemIni.dat fileRealm.properties stopW ebLogic.sh_cfgwiz_donotdelete rmfilestorebash-2.05#===================================================================== ===============================================================================================================solaris下weblogic创建weblogic域方法solaris下weblogic使用技巧点滴说明:服务器硬件:sun fire 280Rweblogic软件:weblogic 8.1 sp3MAIL:solarisxb@一、在solaris字符界面创建weblogic域方法:* 到weblogic的安装目录下:#cd /export/home/bea/weblogic81/common/bin* 执行./config.sh命令#./config.sh* 字符界面如下:Unable to instantiate GUI, defaulting to console mode.<-----------BEA WebLogic Configuration Wizard ------->Create or Extend a Configuration:---------------------------------Choose between creating and extending a configuration. Based on your selection, the Configuration Wizard guides you through the steps to generate a new or extend an existing configuration.->1|Create a new WebLogic configuration| Start here to create a WebLogic configuration in your projects |directory.2|Extend an existing WebLogic configuration| Start here to extend an existing WebLogic configuration. Use this |option to addapplications and services, including Database access|(JDBC) and Messaging (JMS). This option also enables you to extend |functionality by enabling WebLogic Workshop.Enter index number to select OR [Exit][Next]> 1<----------BEA WebLogic Configuration Wizard -------------------> * 选择要创建的域:Select a Domain Template:-------------------------Please select a template from the list or select another directory of templates.* [/export/home/bea/weblogic81/common/templates/domains]1|WebLogic Server Examples Domain 8.1.3.0| BEA Systems, Inc.| Create the WebLogic Server Examples domain in a directory outside of |the installedkit. The Examples domain contains a collection of|examples to show best practices for coding individual J2EE APIs.->2|Basic WebLogic Server Domain 8.1.3.0| BEA Systems, Inc.| Create a basic WebLogic Server domain without installing sample |applications.3|Basic WebLogic Workshop Domain 8.1.3.0| BEA Systems, Inc.| Create a basic WebLogic Workshop domain, without installing sample |applications. Domains created from this template will support the |WebLogic Server and WebLogic Workshop runtime functionality, including |support for J2EEapplications, Web applications, Web Services and|custom controls. Use domains created from this template for|development of WebLogic Workshop applications.4|Avitek Medical Records Sample Domain 8.1.3.0Enter index number to select OR [Down][Exit][Previous][Next]> 2<------------------- BEA WebLogic Configuration Wizard------------------->Choose Configuration Option:----------------------------*Do you want to run the wizard in express mode?->1|Yes2|NoEnter index number to select OR [Exit][Previous][Next]> 1* 创建weblogic管理用户和密码:<------------------- BEA WebLogic Configuration Wizard------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers.| Name | Value |_|_________________________|_________________________________|1| *User name: | weblogic |2| *User password: | |3| *Confirm user password: | |4| Description: | The default administration user |Select Option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"Enter option number to select OR [Exit][Previous][Next]> 2<------------------- BEA WebLogic Configuration Wizard------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers."*User password:" = []Input new *User password: OR [Exit][Reset][Accept]><------------------- BEA WebLogic Configuration Wizard------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This useris the default administrator used to start development mode servers.| Name | Value |_|_________________________|_________________________________|1| *User name: | weblogic |2| *User password: | ********** |3| *Confirm user password: | |4| Description: | The default administration user |Select Option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"5 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]> 3<------------------- BEA WebLogic Configuration Wizard------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers."*Confirm user password:" = []Input new *Confirm user password: OR [Exit][Reset][Accept]><------------------- BEA WebLogic Configuration Wizard------------------->Configure Administrative Username and Password:-----------------------------------------------Create a user automatically assigned to the Administrative Role. This user is the default administrator used to start development mode servers.| Name | Value |_|_________________________|_________________________________|1| *User name: | weblogic |2| *User password: | ********** |3| *Confirm user password: | ********** |4| Description: | The default administration user |Select Option:1 - Modify "User name"2 - Modify "User password"3 - Modify "Confirm user password"4 - Modify "Description"5 - Discard ChangesEnter option number to select OR [Exit][Previous][Next]><------------------- BEA WebLogic Configuration Wizard------------------->* 选择要创建域Domain的模式:选择Production Mode模式Domain Mode Configuration:--------------------------Enable Development or Production Mode for this domain.->1|Development Mode2|Production ModeEnter index number to select OR [Exit][Previous][Next]> 2<------------------- BEA WebLogic Configuration Wizard------------------->* Java环境选择:Java SDK SelectionJava SDK Selection:-------------------->1|JRockit SDK 1.4.2_04-8130 @ /export/home/bea/jrockit81sp3_142_04 2|Sun SDK 1.4.2_04 @ /export/home/bea/jdk142_043|Other Java SDKEnter index number to select OR [Exit][Previous][Next]> 2<------------------- BEA WebLogic Configuration Wizard------------------->* 选择domain的创建目录:注:目录路径不需要写domain的名称,要不目录会重。

相关主题