码迷,mamicode.com
首页 >  
搜索关键字:existing lock    ( 14514个结果
【图解】weblogic.management.ManagementException: [Deployer:149164]The domain edit lock is owned by
在weblogic服务器上两个工程部署来回切换,经常控制台报告以下错误: <An exception occurred while deploying an application _appsdir_PactInfo_dir: weblogic.management.ManagementException: weblogic.management.ManagementExce...
分类:Web程序   时间:2014-10-14 13:12:28    阅读次数:355
启动Weblogic时报 <unable to get file lock, will retry...>解决方案
启动Weblogic时,报,解决方法:I ran into this error the first time I restarted Weblogic on one of my installs, the only reference that I was able to find is the ...
分类:Web程序   时间:2014-10-13 22:04:37    阅读次数:321
Loader Lock引起的一个Bug
在Windows中,让程序模块化实现的一种方式,就是让其实现为动态链接库。然后在主程序启动的时候隐式或者显示的去加载动态链接库。但是如果不恰当的编写动态链接库的DllMain函数,将会引起意想不到的Bug哦,比如典型的Loader Lock死锁问题。这不,我们产品中就碰到了一个由于Loader Lock而引起的Bug.... 1. 背景介绍       当主程序在启动的时候,隐式或者显...
分类:其他好文   时间:2014-10-13 17:35:40    阅读次数:403
phread_con_wait和pthread_mutex_lock实现的生产者消费者模型
条件变量是利用线程间共享的全局变量进行同步的一种机制,主要包括两个动作:一个线程等待"条件变量的条件成立"而挂起;另一个线程使"条件成立"(给出条件成立信号)。为了防止竞争,条件变量的使用总是和一个互斥锁结合在一起。int pthread_cond_wait(pthread_cond_t *cond...
分类:其他好文   时间:2014-10-13 17:27:29    阅读次数:417
svn迁移
一、 VisualSVN服务器迁移场景:把A服务器备份到B服务器方法:1.拷贝A上Repositories文件夹到B上2.打开B上VisualSVN Server Manager3.右击Repositories, “所有任务” >> import existing repository4.选择步骤1...
分类:其他好文   时间:2014-10-13 01:10:58    阅读次数:351
HDU 1195 Open the Lock
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1195思路:广搜~ 。。 我用的双向广搜优化的。。。发现了一个非常好的双向bfs的模板 //双向广搜代码框架 struct State { }; //状态 queueque[2]...
分类:其他好文   时间:2014-10-12 19:25:28    阅读次数:198
java线程 使用显示的lock 和condition
java线程 使用显示的lock 和condition...
分类:编程语言   时间:2014-10-12 14:58:58    阅读次数:151
脚本小练——用户认证
需求:输入用户名和密码,认证成功后显示欢迎信息,输错三次后锁定shell:#!/bin/bash #Authuserlogin user="hlf" pass="123456" lock_file=login.lock [-f${lock_file}]||touch${lock_file} foriin`seq3` do read-p"username:"username read-p"password:"password if[-z"$u..
分类:其他好文   时间:2014-10-12 11:07:18    阅读次数:168
进程监控脚本
#!/bin/sh my_ip=`/sbin/ifconfig eth1 | grep 'inet addr' | awk '{print substr($2, index($2, ":")+1)}'` recv="" msg="not_existing, restart ..." MONITOR_LOG="monitor.log" #monitor procname scriptname...
分类:系统相关   时间:2014-10-11 23:25:07    阅读次数:329
mysql 数据库备份
数据备份是数据库管理员非常重要的工作。系统意外崩溃、磁盘损坏等都有可能导致数据丢失,所以要定期的备份数据库。现有三种方法备份数据库。要想保持备份的一致性,备份前要对相关表执行LOCKTABLES操作,然后对表执行FLUSHTABLES。FLUSHTABLES语句来确保开始将所有激活的索引..
分类:数据库   时间:2014-10-11 19:20:56    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!