Ubuntu 安装oepnssh 报错
有时候由于linux版本不够新,或者安装的包不知是什么原因坏了。报如下错误
unable to correct the problems, you have held broken prckages
可以用如下命令解决
sudo apt-get autoclean
sudo apt-get autoremov...
分类:
其他好文 时间:
2014-06-05 09:31:23
阅读次数:
174
命令模式,将一个请求封装为一个对象,从而使你可用不同的请求对客户进行参数化,对请求排队或记录请求日志,以及支持可撤销的操作。
Command类,用来声明执行操作的接口。
ConcreteCommand类,将一个接受者对象绑定于一个动作,调用接受者相应的操作,以实现Execute。
Invoker类,要求该命令执行这个请求。
...
分类:
其他好文 时间:
2014-06-05 01:58:24
阅读次数:
277
严重: Null component Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/sshnews,J2EEApplication=none,J2EEServer=none
还有其他报错,大概意思就是不支持版本 version 51,unable to load class org.glassfish.jersey.servlet...
分类:
移动开发 时间:
2014-06-03 05:07:20
阅读次数:
295
最近需要测试一个长连接服务器,数据上需要达到100W的长连接,测试的客户端,一个线程保持一个连接,发现linux服务器默认创建到3200多个线程的时候,就会报错这个错误“java.lang.OutOfMemoryError: unable to create new native thread。而且,此时整个系统都不能创新新的线程了,不能连接终端,不能执行任何命令。
貌似是内存不足,但实际内存尚...
分类:
编程语言 时间:
2014-06-03 03:30:58
阅读次数:
285
报这个错的话:基本都是配置出错,具体配置看下面。
AndroidManifest.xml 文件:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.mayi.test.dao"
android:versionCode="1"
an...
分类:
移动开发 时间:
2014-05-31 22:00:03
阅读次数:
434
文章标题 文章内容 编辑 prepare($query);
$result_acticle->execute(); $msg_count =$result_act...
分类:
Web程序 时间:
2014-05-31 21:10:01
阅读次数:
386
ExecutorService:它也是一个接口,它扩展自Executor接口,Executor接口更像一个抽象的命令模式,仅有一个方法:execute(runnable);Executor接口简单,可是非常重要,重要在这样的设计的模式上。。Java5以后,通过Executor来启动线程比用Threa...
分类:
移动开发 时间:
2014-05-31 20:10:38
阅读次数:
388
http://0pointer.de/blog/projects/systemd.htmlRethinking PID 1If you are well
connected or good at reading between the lines you might already know wha...
分类:
其他好文 时间:
2014-05-31 11:29:28
阅读次数:
286
PDO::query() 主要是用于有记录结果返回的操作,特别是SELECT操作PDO::exec()
主要是针对没有结果集合返回的操作,如INSERT、UPDATE等操作PDO::prepare()
主要是预处理操作,需要通过$rs->execute()来执行预处理里面的SQL语句,这个方法可以绑...
分类:
其他好文 时间:
2014-05-31 02:30:56
阅读次数:
329
6.0: AxCryptoClient - New encryption key
created6.0:Unable to InitializeSession.6.0: No built-in message corresponding to
message id 0.解决方法:1、将登...
分类:
其他好文 时间:
2014-05-30 23:51:26
阅读次数:
500