วิธี จัดการ
posted on 27 Mar 2009 19:56 by best0032001
บน linux ผมไม่แก้ที่ /etc/profile โดยตรงอ่ะครับ
แต่ไปสร้างไฟล์ที่ /etc/profile.d ... โดยสร้างไปว่า java.sh (755)
CODE
export CLASSPATH=.
export JAVA_HOME=/usr/local/java/j2sdk1.5.0
export PATH=$JAVA_HOME/bin:$PATH
tomcat-users
role rolename="manager"
role rolename="admin"/
user username="admin" password="1234" roles="admin,manager"/
/tomcat-users
//linux
Open FireWall
vim /etc/sysconfig/iptables
service iptables restart
close FireWall
service iptables stop
chkconfig iptables off
look path: \pwd
ผมขอดูรายละเอียดเพิ่มเติมดังนี้ ได้ไม๊ครับ
ในฝั่ง Oracle Client ( เครื่องที่คุณ setup เป็น Application Server )
1. บรรทัด ที่มีการกำหนด ConnectionString ใน program
ตัวอย่างในกรณีคุณใช้ C#
2. รายละเอียดภายของ $ORACLE_HOME/network/admin/sqlnet.ora
3. รายละเอียดภายของ $ORACLE_HOME/network/admin/tnsnames.ora
ในฝั่ง Oracle Server
1. ขอดู output ของคำสั่ง ด้านล่างนี้
2. รายละเอียดภายของ $ORACLE_HOME/network/admin/listener.ora
edit @ 30 Apr 2009 14:09:51 by best0032001
edit @ 1 May 2009 11:28:46 by best0032001
edit @ 30 Oct 2009 11:59:25 by best0032001