2012年12月5日 星期三

WebLogic 10.3.5安裝步驟

<pre class="brush:bash">
unzip wls1035_dev.zip d:\wls1035_dev
set MW_HOME=d:\wls1035_dev
%MW_HOME%\wlserver\server\bin\setWLSEnv.cmd
mkdir C:\home\myhome\mydomain
%JAVA_HOME%\bin\java.exe -Xmx1024m -XX:MaxPermSize=128m weblogic.Server
</pre>

create domain

<pre class="brush:bash">
%MW_HOME%/wlserver/common/bin/config.[sh|cmd]
</pre>

ASUS Black Diamond Dual-Band Gigabit Wireless-N Router (RT-N56U) 看來不錯






Apple AirPort Extreme Wan to Lan 只有 419.5Mbps, 同時連線數只有128,


看來 ASUS Black Diamond Dual-Band Gigabit Wireless-N Router (RT-N56U)

Linux root才能開 1024以下的port

2012年12月4日 星期二

WebLogic Exercise Lab 13

1. Create a empty directory at C:\student

2. Extract the archive file course_wls10_sysadmin_adv.rar under C:\student

3. Run prompt.cmd at C:\student\course_wls10_sysadmin_adv\bin
Note. suggest to create a shortcut for prompt.cmd

4. In the prompt BEA Lab Framework, please change your directory to lab13

C:\student\course_wls10_sysadmin_adv\labs\Lab13>ant setup_exercise

Note. The HRDatabase and AdminServer will be started
You can visit AdminConsole by http://localhost:7001/console
Account/Password is system/weblogic
5. Start dizzy1 managed server
C:\student\course_wls10_sysadmin_adv\work\domains\dizzyworld\bin>startManagedWebLogic.cmd dizzy1

You have to type account/password (system/weblogic)

Please shutdown dizzy1 server by using CTRL+C

Then, Please copy

C:\student\course_wls10_sysadmin_adv\work\domains\dizzyworld\servers\AdminServer\security



to

C:\student\course_wls10_sysadmin_adv\work\domains\dizzyworld\servers\dizzy1\security



Then, restart dizzy1 server again. There's no need to type account and password again.

連上網站 http://localhost:7001/console

SAF(Streo-And-Forward) 同一個版本上做 queue的訊息交換

lab手冊
file:///C:/student/course_wls10_sysadmin_adv/labs/resources/lab-guide.htm

讓 Windows XP支援 exFAT檔案格式

 
下載更新:

WebAPP .bash_profile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
 . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/lib/oracle/11.2/instantclient_11_2

export PATH
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/instantclient_11_2
export TNS_ADMIN=/usr/lib/oracle/11.2/instantclient_11_2/tns
SQLPATH=/usr/lib/oracle/11.2/instantclient_11_2
export SQLPATH
NLS_LANG=AMERICAN_AMERICA.AL32UTF8
export NLS_LANG

APACHE_HOME=/usr/local/apache2
export APACHE_HOME
WL_HOME=/home/gs34/Oracle/Middleware/wlserver_10.3
export WL_HOME
DOMAIN_HOME=/home/gs34/Oracle/Middleware/user_projects/domains/base_domain
export DOMAIN_HOME
INSTALL_HOME=${DOMAIN_HOME}/INSTALL/gs34
export INSTALL_HOME

EBAO_HOME=${DOMAIN_HOME}/EBAO_HOME
export EBAO_HOME

EBAO_TMP_HOME=${DOMAIN_HOME}/EBAO_TMP_HOME
export EBAO_TMP_HOME

EBAO_ARCH_HOME=${DOMAIN_HOME}/EBAO_ARCH_HOME
export EBAO_ARCH_HOME

EXT_LIB_HOME=${EBAO_HOME}/share_lib
export EXT_LIB_HOME


BATCH_HOME=${EBAO_HOME}/applications/batch/bin
export BATCH_HOME

EBAO_CLASSPATH=${EBAO_HOME}/share_lib:${EBAO_HOME}/applications:${EBAO_HOME}/applications/export_tool:${EBAO_HOME}/applications/export_tool/export_lib::${EBAO_HOME}/applications/batch/lib:${EBAO_HOME}/EAR_FILE:${EBAO_HOME}/app_config:${EBAO_HOME}/:${EBAO_HOME}/applications/batch/lib:${DOMAIN_HOME}/applications/insurance/web/WEB-INF/lib/
export EBAO_CLASSPATH

#JAXP="-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.xpath.XPathFactory=org.apache.xpath.jaxp.XPathFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema=org.apache.xerces.jaxp.validation.XMLSchemaFactory -Djavax.xml.datatype.DatatypeFactory=org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl"
#export JAXP



#CLASSPATH=${INSTALL_HOME}/EBAO_HOME/share_lib
#export CLASSPATH

CLASSPATH="${CLASSPATH}:${CLASSPATHSEP}:${EBAO_CLASSPATH}"
export CLASSPATH

unset USERNAME

GS3.4 script

mount /dev/sdb5 /home/oracle/oracledb
mount /dev/sdc5 /home/oracle/ebao
sh upgrade_db.sh install -prod gs  -seq_value 06 -tbs GS34_SUITE_INIT_TBS \
-tnsname orcl -owner gsuser -ownerpwd gsuserpwd -appuser gsappuser -apppwd \
gsappuserpwd -readuser gsreaduser -readpwd gsreaduserpwd -approle gs_app_role \
-readrole gs_read_role -demodata
 
 
出現錯誤
]$./db/initial_dmp/initial_db_2012-12-04_17-46-57.log

ORA-00959: tablespace 'GS_342_INIT_TBS' does not exist
. . importing table                  "T_AUDIT_LOG"          0 rows imported
. . importing table          "T_AUDIT_OBJECT_TYPE"          7 rows imported
. . importing table           "T_AUDIT_SUB_SYSTEM"         25 rows imported
. . importing table            "T_AUDIT_TRAN_TYPE"         34 rows imported
. . importing table        "T_AUDIT_WARNING_LEVEL"          3 rows imported
. . importing table                 "T_BANK_CLASS"          0 rows imported