- 浏览: 290061 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
liang100100:
啊,我也遇到了这个问题,楼主后面怎么解决了的啊
问个extjs的问题(重新设置高度的问题) -
靳赞赞:
怎么引用呢,能更具体的写出来吗?
带小时分钟的时间控件 -
明天的昨天:
你好,这个问题我也出现了。 你是怎么解决的啊???????
ext中- grid嵌套在window中的问题 -
YangJianDong:
用不了
带小时分钟的时间控件 -
javabay:
楼主不能写一个简单的html吗,自己去实验怎么用!!!!!
带小时分钟的时间控件
以下是tomcat启动时报错信息:
2009-11-25 18:49:33 org.apache.naming.NamingContext lookup
警告: Unexpected exception resolving reference
java.io.IOException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:495)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:98)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
at org.apache.naming.NamingContext.lookup(NamingContext.java:791)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:155)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:125)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:97)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
严重: Exception processing Global JNDI Resources
javax.naming.NamingException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.naming.NamingContext.lookup(NamingContext.java:803)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:155)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:125)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:97)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-11-25 18:49:33 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2009-11-25 18:49:33 org.apache.naming.NamingContext lookup
警告: Unexpected exception resolving reference
java.io.IOException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:495)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:98)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
at org.apache.naming.NamingContext.lookup(NamingContext.java:791)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:252)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1075)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
javax.naming.NamingException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.naming.NamingContext.lookup(NamingContext.java:803)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:252)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1075)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException: No UserDatabase component found under key UserDatabase
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:259)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1075)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.startup.Catalina start
报错的原因是磁盘空间已满:
用命令查看如下:
可见/目录已经满了
然后查看你那个目录占用空间异常
用命令 du -m --max-depth=1 (-m表示用M(兆)显示,--max-depth=1表示当前一级目录下)
也可以用下面这个命令,du $1 --max-depth=1 | sort -n|awk '$2!="." {totalsizedir=totalsizedir+$1;printf "%14.3fM %14.3fK %s\n",$1/1024,$1,$2} END{printf "--------------Total: %fM---------------\n",totalsizedir/1024 }'|sed 's:/.*/\([^/]\{1,\}\)$:\1:g'
不过还是觉得上面的好用,又简单
然后一级级往下看,就知道那个文件夹占用的空间最多
由于我的tomcat在opt下面所以往下看:
就知道logs下内容不正常,太多了,删除一些就可以了
清空文件dbsync.log
2009-11-25 18:49:33 org.apache.naming.NamingContext lookup
警告: Unexpected exception resolving reference
java.io.IOException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:495)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:98)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
at org.apache.naming.NamingContext.lookup(NamingContext.java:791)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:155)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:125)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:97)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
严重: Exception processing Global JNDI Resources
javax.naming.NamingException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.naming.NamingContext.lookup(NamingContext.java:803)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:155)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.createMBeans(GlobalResourcesLifecycleListener.java:125)
at org.apache.catalina.mbeans.GlobalResourcesLifecycleListener.lifecycleEvent(GlobalResourcesLifecycleListener.java:97)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2306)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2009-11-25 18:49:33 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/5.0.28
2009-11-25 18:49:33 org.apache.naming.NamingContext lookup
警告: Unexpected exception resolving reference
java.io.IOException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.catalina.users.MemoryUserDatabase.save(MemoryUserDatabase.java:495)
at org.apache.catalina.users.MemoryUserDatabaseFactory.getObjectInstance(MemoryUserDatabaseFactory.java:98)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
at org.apache.naming.NamingContext.lookup(NamingContext.java:791)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:252)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1075)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
javax.naming.NamingException: IOException writing to /opt/jakarta-tomcat-5.0.28/conf/tomcat-users.xml.new
at org.apache.naming.NamingContext.lookup(NamingContext.java:803)
at org.apache.naming.NamingContext.lookup(NamingContext.java:151)
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:252)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1075)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.startup.Catalina start
严重: Catalina.start:
LifecycleException: No UserDatabase component found under key UserDatabase
at org.apache.catalina.realm.UserDatabaseRealm.start(UserDatabaseRealm.java:259)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1075)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
at org.apache.catalina.core.StandardService.start(StandardService.java:480)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
at org.apache.catalina.startup.Catalina.start(Catalina.java:556)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)
2009-11-25 18:49:33 org.apache.catalina.startup.Catalina start
报错的原因是磁盘空间已满:
用命令查看如下:
可见/目录已经满了
然后查看你那个目录占用空间异常
用命令 du -m --max-depth=1 (-m表示用M(兆)显示,--max-depth=1表示当前一级目录下)
也可以用下面这个命令,du $1 --max-depth=1 | sort -n|awk '$2!="." {totalsizedir=totalsizedir+$1;printf "%14.3fM %14.3fK %s\n",$1/1024,$1,$2} END{printf "--------------Total: %fM---------------\n",totalsizedir/1024 }'|sed 's:/.*/\([^/]\{1,\}\)$:\1:g'
不过还是觉得上面的好用,又简单
然后一级级往下看,就知道那个文件夹占用的空间最多
由于我的tomcat在opt下面所以往下看:
就知道logs下内容不正常,太多了,删除一些就可以了
清空文件dbsync.log
发表评论
-
mvn linux设置内存
2014-02-21 11:38 950找到maven的目录 可以通过mvn -v 看到maven的 ... -
java日期格式对应
2014-01-11 17:19 0E yyyy.MM.dd 'at' hh:mm:ss a zz ... -
log4j参数配置
2013-03-11 11:21 777ConversionPattern参数的格式含义 格式名 含 ... -
maven 配置
2012-11-09 15:59 11867转http://blog.csdn.net/ljfbest ... -
ant的下载 配置
2010-03-12 11:50 1009ANT的下载地址: http://www.apache.or ... -
IReport的初学
2010-03-04 13:48 1865前面这个找个时间再补充。。。 创建JDBC连接 iRepo ... -
tomcat项目如何把f访问地址设置为只有IP
2010-03-03 16:33 2055我们一般访问tomcat项目是: http://127.0.0 ... -
XML-RPC(远程调用)
2009-12-23 14:48 2054The XmlRpcClient xml-rpc java ... -
windows下的eclipse程序打jar包在linux下运行(xml-rpc初试)
2009-12-23 14:12 4453由于项目需要在windows下面写的程序在linux下运行。 ... -
apache 配置 ssl
2009-06-29 09:06 1779开始安装Apache: tar –zxf httpd-2.0. ... -
linux下tomcat6.0配置SSL
2009-06-28 13:49 2187在安全通信中,不得不使用ssl,这样既保证安全,又显得专业.在 ... -
junit-java单元测试
2009-06-22 14:58 1497程序开头有这样一行代码,“import static org. ... -
db.setCommit(false)不起作用的原因
2009-06-03 10:23 905如果想用事务的话,db.setCommit(false);然后 ... -
使用增强的 for循环
2009-03-18 10:04 3664随着Java 5的发布(也称为 ... -
详细讲解Java中log4j的使用方法
2009-03-15 15:32 8271、Log4j是什么? Log4j可以帮助调试(有时候de ...
相关推荐
tomcat-juli.jar 用于在tomcat启动报错时除错
Tomcat报错,如: Can't load IA 32-bit .dll on a AMD 64-bit platform Can't load IA 64-bit .dll on a AMD 64-bit platform 都应该用x64里面的dll文件 不同的硬件平台需要与之对应的dll即可
"eclipse部署tomcat报错解决方案" 在Eclipse中部署Tomcat服务器时,可能会遇到各种问题。本文将讨论在Eclipse中部署Tomcat服务器时出现的问题和解决方案。 问题描述 在Eclipse中部署Tomcat服务器时,可能会出现...
### CentOS 6.5上的Tomcat启动报错问题解决方法 #### 一、问题背景 在搭建基于CentOS 6.5的操作系统环境时,安装了OpenJDK 1.7,并从Apache官网下载了一个纯版的Tomcat,但在尝试启动Tomcat服务器时遇到了两个主要...
### tomcat启动不了问题处理 在IT领域,Tomcat服务器是一款非常流行的开源Web服务器,它主要用来部署Java Web应用程序。然而,在使用过程中,用户可能会遇到Tomcat无法启动的问题。本文将详细探讨导致Tomcat启动...
tomcat启动报错,启动超时,找不到类文件四渡赤水打成不是的
在使用Apache Tomcat服务器时,有时会遇到启动异常的情况,其中一种常见的错误是`java.util.zip.ZipException`。这个异常通常表明在处理ZIP或JAR文件时遇到了问题,可能是因为文件损坏、格式不正确或者无法打开。在...
### Tomcat报错原因分析及解决方案 ...通过上述步骤,可以解决由于JAVA_HOME未定义或设置不正确导致的Tomcat启动失败的问题。此外,还需要注意确保JDK版本与Tomcat版本兼容,避免因版本不匹配而导致的其他潜在问题。
之前tomcat启动老是报错,虽然不影响项目的启动运行,但是有强迫症的程序员会心里不爽: 如下: 问题分析 由于本机安装的jdk版本与tomcat中使用的jdk版本不一致导致的。 解决方法 后面我把原先tomcat启动环境用的...
tcnative-1.dll解决windows 7 64下 tomcat启动报错-附件资源
为了更具体地解决问题,需要查看`struts2中,在tomcat启动时候总是出现严重.txt`这个文本文件,它应该包含了详细的错误堆栈信息。根据这些信息,我们可以进一步定位问题所在,并采取相应的解决措施。如果文件中包含...
### 上传WAR文件大小超过Tomcat 7最大文件限制报错 #### 背景介绍 在部署Web应用程序时,可能会遇到因WAR文件过大而无法正常部署的问题。具体表现为当WAR文件大小超过了Tomcat服务器配置的最大限制时,系统会拒绝...
Tomcat无法正常启动的解决办法 教你如何解决Tomcat无法正常启动 欢迎下载
解决dubbo-admin在jdk1.8下启动报错问题,需要下载dubbo源码修改问题重新编译打包发布,这里已经和重新编译。
NULL 博文链接:https://luihuilang.iteye.com/blog/396488