con1: Command> create readonly cache group samplegroup autorefresh interval 5 se
conds from ttdb (ttdb1 int primary key, ttdb2 char(10));
Warning  5923: Cache agent has deferred the create/alter cache group request bec
ause it is not connected to Oracle yet
不知道为什么说我仍然没连接到ORACLEtnsping orcl是ok的
tnsnames.ora内容:
# tnsnames.ora Network Configuration File: E:\dev\ora11g\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.LISTENER_ORCL =
  (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ORACLR_CONNECTION_DATA =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    )
    (CONNECT_DATA =
      (SID = CLRExtProc)
      (PRESENTATION = RO)
    )
  )ORCL =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )我用jdbc测试是能够连接到oracle 的