edrun

edrun 查看完整档案

填写现居城市  |  填写毕业院校  |  填写所在公司/组织填写个人主网站
编辑
_ | |__ _ _ __ _ | '_ \| | | |/ _` | | |_) | |_| | (_| | |_.__/ \__,_|\__, | |___/ 该用户太懒什么也没留下

个人动态

edrun 提出了问题 · 2014-05-28

Tomcat迁移后出错,头大大,请问如何解决?!!

Tomcat迁移后出错,头大大,请问如何解决?!!

SEVERE: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1] but h as failed to stop it. This is very likely to create a memory leak. May 28, 2014 5:48:31 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2] but h as failed to stop it. This is very likely to create a memory leak. May 28, 2014 5:48:31 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [MySQL Statement Cancellation Timer] but has failed to stop it. This is very likely to create a memory leak. May 28, 2014 5:48:31 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Dispatch-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunn er@d420eb] but has failed to stop it. This is very likely to create a memory leak. May 28, 2014 5:48:31 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@d 420eb] but has failed to stop it. This is very likely to create a memory leak. May 28, 2014 5:48:31 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads SEVERE: The web application [] appears to have started a thread named [Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner@d 420eb] but has failed to stop it. This is very likely to create a memory leak. May 28, 2014 5:48:33 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor host-manager.xml May 28, 2014 5:48:33 PM org.apache.catalina.startup.HostConfig deployDescriptor INFO: Deploying configuration descriptor manager.xml May 28, 2014 5:48:33 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory examples May 28, 2014 5:48:33 PM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web application directory docs May 28, 2014 5:48:33 PM org.apache.coyote.http11.Http11AprProtocol start SEVERE: Error starting endpoint

关注 0 回答 0

edrun 评论了回答 · 2013-09-11

求大大解释如下shell语句

edrun 接受了回答 · 2013-09-11

求大大解释如下shell语句

  1. himBH每一个字符是一个shell的选项,详情man bash然后搜索 -h-B 等。

  2. "${-#*i}" 这是bash的字符串处理语法:

${VARNAME#*/}: 从左至右, 删除$VARNAME中第一个/及左边的子串。以此类推。

edrun 提出了问题 · 2013-09-11

解决求大大解释如下shell语句

## 求大大解释如下shell语句 ##

"$-"显示shell 使用的当前选项

$echo $-
 himBH

1、himBH这个结果又是什么意思?

2、 看不懂,求第69行详解。多谢++

 67 for i in /etc/profile.d/*.sh ; do
 68     if [ -r "$i" ]; then
 69         if [ "${-#*i}" != "$-" ]; then
 70             . "$i"
 71         else
 72             . "$i" >/dev/null 2>&1
 73         fi
 74     fi
 75 done

关注 0 回答 2

edrun 收藏了问题 · 2013-09-02

shell脚本中set -e是什么意思

我看了一下某个脚本,最开始的两行是

set -e
set -o pipefail

请问这两句是什么意思呢?

认证与成就

  • 获得 0 次点赞
  • 获得 6 枚徽章 获得 0 枚金徽章, 获得 3 枚银徽章, 获得 3 枚铜徽章

擅长技能
编辑

(゚∀゚ )
暂时没有

开源项目 & 著作
编辑

(゚∀゚ )
暂时没有

注册于 2013-05-13
个人主页被 110 人浏览