From Metalink:Problem Description:====================When your server is not connected to the network and you try to connect inServer Manager (svrmgr...
分类:
其他好文 时间:
2014-11-02 16:12:41
阅读次数:
196
如果在使用粗crul library来进行远程请求(API调用)的时候要注意的一个坑。就是要区别请求成功,请求失败,请求成功但返回为空。这里要特别注意后2者,稍不注意就会掉坑。因为如果请求的url不存在或者连接超时(各种原因)的时候返回结果为false.所以不要简单的认为返回的数据为空。可以用$.....
分类:
Web程序 时间:
2014-10-31 19:05:21
阅读次数:
181
ORA-12518: TNS:listener could not hand off client connection...
分类:
其他好文 时间:
2014-10-30 17:05:01
阅读次数:
138
坑这绝对是我碰计算机以来遇到的第一大坑!症状:在Linux主机上远程登录,执行一个简单的Oracle的JDBC连接程序(jar包),结果硬生生的卡在了连接建立验证阶段,然后等上几分钟后因为连接超时,连接被远端的Oracle服务器reset,于是报了connection reset exception...
分类:
数据库 时间:
2014-10-28 02:03:27
阅读次数:
177
之前有一个项目用到Remoting技术,当远程的地址无效或服务器没运行时,方向远程对象方向,会经过几十秒的时间才抛出异常。因为我用的是tcp模式,所以想到可以用socket来测试连接,就可以在调用远程对象方法之前知道远端服务有没有运行。代码如下:
public class TcpServiceConnect
{
protected EventWaitHand...
我之前的实现方式都是使用非阻塞的socket ?, 其实对于阻塞的socket 有另外一种实现方式,那就是使用?alarm(闹钟) ?, 进入连接前设置设置个超时 voidset_timeout(int?n)
{
to?=?0;
alarm(n);
signal(SIGAL...
分类:
系统相关 时间:
2014-10-24 16:55:07
阅读次数:
283
pply OS : Windows, Mac, Linux
Apply Navicat Product : Navicat for Oracle, Navicat Premium
Apply Navicat Version No. : All
Instant Client package is required for Basic and TNS connection typ...
分类:
其他好文 时间:
2014-10-23 17:48:12
阅读次数:
374
11204 RAC 环境报错 TNS-01251: Cannot set trace/log directory under ADR
LSNRCTL> set current_listener listener
Current Listener is listener
LSNRCTL> set current_listener listener
Current Listener ...
分类:
其他好文 时间:
2014-10-23 00:10:29
阅读次数:
171
解决:打开H:\Oracle\product\11.2.0\dbhome_1\NETWORK\ADMIN(不同机器目录可能不同)目录下的listener.ora文件,发现此文件内容如下:#listener.oraNetworkConfigurationFile:H:\Oracle\product\1...
分类:
其他好文 时间:
2014-10-19 23:04:18
阅读次数:
310
原链接:http://blog.csdn.net/zzginfo/article/details/6738700在我们web开发的时候,我们一般常碰到的超时有以下几种第一种:http请求超时,超时时间可以在webconfig中进行全局配置,(单位为秒,默认为90秒)如下第二种:数据库连接超时,超时时...
分类:
Web程序 时间:
2014-10-18 20:53:43
阅读次数:
178