近来做项目,需要jboss定期重新启动。不想再看到jboss启动那个黑洞洞的窗口,就想着把它注册为服务,然后在net start。恰好objectweb上有个open source的javaservice,能够实现将jboss,tomcat注册为服务的功能,呵呵,得来全不费功夫,以下是配置步骤。有需...
分类:
编程语言 时间:
2014-07-16 23:26:05
阅读次数:
285
异常详细:An exception of type 'System.Data.Entity.Core.EntityException' occurred in EntityFramework.SqlServer.dll but was not handled in user codeAddition...
分类:
其他好文 时间:
2014-07-10 13:56:49
阅读次数:
306
什么是Open Xml SDK?什么是Open Xml?首先,我们得知道,Open Xml为何物?我们还是给她起个名字——就叫 “开放Xml”,以方便我们中文的阅读习惯。之所以起开放这个名字,因为以前有接触过Open Authorization,可以称为开放授权,比如OpenID之类的。“Open ...
分类:
其他好文 时间:
2014-07-10 13:02:04
阅读次数:
269
搜索了一圈, 发现没有比较全面且简单的介绍如何在C#项目中使用redis的, 大部分都是零碎的文章,稍微组织了一下,希望对要用redis的人有帮助.前提1.Redis is an open source, BSD licensed, advancedkey-value store, 简单说用来缓存数...
分类:
其他好文 时间:
2014-06-28 09:52:23
阅读次数:
245
问题:
I am trying to install apache maven 3 in Ubuntu 12.04 lts. What I did was open the terminal then I typed the following commands
export M2_HOME=/usr/local/apache-maven/apache-maven-3.0.5 ...
#include "my_file.h"
//将文件内容拷贝到指定文件
int mycopy(const char *filename)
{
ifstream infile(filename, ios::binary);
ofstream outfile("TRACE.txt", ios::binary);
if (!infile.is_open() || !outfile...
分类:
其他好文 时间:
2014-06-28 08:46:56
阅读次数:
199
微软近期Open的职位:Role Based in Shanghai, ChinaTitle: ProducerWe are seeking a Senior Producer to lead Production & Operations in the China region based in ...
分类:
其他好文 时间:
2014-06-27 16:28:42
阅读次数:
201
#region 创建、跟新词库
///
/// 创建、跟新词库
///
private void CreateIndexData()
{
//索引库文件夹
FSDirectory dir = FSDirectory.Open(new DirectoryInfo(pat...
分类:
Web程序 时间:
2014-06-27 10:17:59
阅读次数:
232
使用Capture CIS 生成网表时,出现错误:
Unable to open ...\tools\capture\allegro.cfg for reading. Please correct the above error(s) to proceed
根据提示的信息可以判断,是allegro.cfg文件的打开出现了问题,导致出错。
解决办法:
①选中工程,选择Tools->Cre...
分类:
其他好文 时间:
2014-06-27 08:12:14
阅读次数:
631