搜索到与相关的文章
Linux

Linux下tomcat 6 启动出现日志异常

./startup.shUsingCATALINA_BASE:/software/apache-tomcat-6.0.18UsingCATALINA_HOME:/software/apache-tomcat-6.0.18UsingCATALINA_TMPDIR:/software/apache-tomcat-6.0.18/tempUsingJRE_HOME:/usr用命令:ps-ef|greptomcat查看没有tomcat进程。查看tomcat日志信息,

系统 2019-08-12 01:33:53 3129

数据库相关

关于Mongodb的“无法从传输连接中读取数据”

1.初步判定是c#官方驱动没能及时释放连接:http://stackoverflow.com/questions/7446528/mongodb-c-sharp-driver-doesnt-release-connections-then-errorsHowmanyconnectionsdoeseachmongosneed?Inashardedconfigurationwillhave1incomingconnectionfromtheclientbutm

系统 2019-08-12 01:32:08 3129

Java

java实现linux连接操作

此程序需要ganymed-ssh2-build210.jar包。下载地址:http://www.ganymed.ethz.ch/ssh2/为了调试方便,可以将\ganymed-ssh2-build210\src下的代码直接拷贝到我们的工程里,此源码的好处就是没有依赖很多其他的包,拷贝过来干干净净。此程序的目的是执行远程机器上的Shell脚本。远程机器IP:***.**.**.***用户名:sshapp密码:sshapp登录后用pwd命令,显示当前目录为:/

系统 2019-08-29 22:30:33 3128

编程技术

Google Interview - Compute the h-index of a

Google:Computetheh-indexofalistofpapers,giventheircitationcount.Canyoudoitinlineartime?Howaboutadistributedalgorithmforthetask?Facebook:Given:foreverypaperauthored,thereisacitationcountvector.Theh-indexisameasureofresearcherimport

系统 2019-08-29 22:09:43 3128

Python

C#中使用IronPython动态执行表达式小试

C#中不能对字符串表达式进行编译执行,我想到一种解决办法是,添加对Ironpython(python与.net平台交互的版本)的引用,从而利用python来执行。首先,去http://ironpython.codeplex.com/releases/view/54498下载ironpython,安装。我用的是ironpython2.0(之前尝试过用Ironpython2.7,但发现在vs2008中不能添加对Ironpython的引用,所以如果发现使用不了,

系统 2019-08-12 09:30:27 3128

各行各业

npp-installer - A script to install the popu

npp-installer-AscripttoinstallthepopularWin32editorNotepad++inLinux-GoogleProjectHostingThisisasimplepythonscriptwhichinstallNotepad++onDebian/Ubuntu(oranyotherdistrothatusesapt-get.)ThisprojectisnotassociatedwiththeNotepad++team.

系统 2019-08-12 01:33:19 3128

Python

浅谈Python小波分析库Pywavelets的一点使用心得

本文介绍了Python小波分析库Pywavelets,分享给大家,具体如下:#-*-coding:utf-8-*-importnumpyasnpimportmathimportmatplotlib.pyplotaspltimportpandasaspdimportdatetimefromscipyimportinterpolatefrompandasimportDataFrame,Seriesimportnumpyasnpimportpywtdata=np

系统 2019-09-27 17:56:44 3127

Linux

Linux: Apache 安全设定

1.AutoIndex预设安装好Apache之后,其预设目录是在/var/www/html/,如果没有设定index.html的话,那么就会印出目前目录里的所有档案和目录,基於安全理由,希望把AutoIndex这个取消,如此在别人打入网址后,就会出现403的存取权限不足,只有在很“明确”的指出档案时才可以浏览。关闭/var/www/html里(含子目录)的自动印出首页功能[root@rhelconf]#vihttpd.conf_______________

系统 2019-08-29 22:30:02 3127

编程技术

uml软件

好久没有更新博客了最近在弄uml也用了一些软件,不过总体下来觉得都自己的好处startUML用起来很不错的,是完全免费的,他支持23中模式,并且支持rose的导入和xml的支持,操作起来也很便捷,淡淡的界面颜色,给人的感觉也可以接下来就是jude,这个名字早就过去了,现在变成了astah*,不过用起来其实是一样的,简洁实用,现在也同样有不收费的社区版,以方便jude主要还是针对java的,所以个人用起来比较顺手同样,界面也是很普通的,最近发现了amater

系统 2019-08-29 22:13:50 3127

Java

Java 7 的 7 个新的 “酷” 特性

Java7即将在本月底发布了,先来看Java7中的一些不错的新酷特性吧:1.switch中使用字符串变量publicvoidtestStringSwitch(Stringdirection){switch(direction){case"up":y--;break;case"down":y++;break;case"left":x--;break;case"right":x++;break;default:System.out.println("Inval

系统 2019-08-12 09:29:48 3127