INFO: Illegal access: this web application instance has been stopped already. Could not load oracle
来源:互联网 发布:vscode 自动补全 编辑:程序博客网 时间:2024/06/05 14:57
开发完项目以后,部署到服务器上的时候,出现的问题如下(本地运行正常):
十二月 07, 2012 5:37:35 下午 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load oracle.xdb.XMLTypeFactory. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1597)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1556)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at oracle.jdbc.driver.PhysicalConnection.safelyGetClassForName(PhysicalConnection.java:4682)
at oracle.jdbc.driver.PhysicalConnection.addClassMapEntry(PhysicalConnection.java:2750)
at oracle.jdbc.driver.PhysicalConnection.addDefaultClassMapEntriesTo(PhysicalConnection.java:2739)
at oracle.jdbc.driver.PhysicalConnection.initializeClassMap(PhysicalConnection.java:2443)
at oracle.jdbc.driver.PhysicalConnection.ensureClassMapExists(PhysicalConnection.java:2436)
at oracle.jdbc.driver.PhysicalConnection.getTypeMap(PhysicalConnection.java:2723)
at com.mchange.v2.c3p0.impl.NewPooledConnection.carefulCheckTypeMap(NewPooledConnection.java:130)
at com.mchange.v2.c3p0.impl.NewPooledConnection.<init>(NewPooledConnection.java:108)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:198)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
解决问题的方法:
直接在我的帐号zhang下面对tomcat进行重新启动操作还是不可以,说是logs没有权限访问。然后我把logs chmod 777以后,还是不可以。
就在root帐号下重新配置了一下环境变量,然后重启了tomcat,问题解决了。但是不知道为什么这样就可以了
操作如下:
第一、切换到root用户下;
第二、[root@wn7-lcg bin]#vi /home/lxm/.bash_profile
第三、加入如下配置
#2012-12-10 zhangshibo add
export JAVA_HOME=/usr/local/jdk1.7.0_03
PATH=$PATH:$JAVA_HOME/bin;
第四、立即生效
[root@wn7-lcg bin]# source /home/lxm/.bash_profile
第五、重启tomcat
[root@wn7-lcg bin]# ./shutdown.sh
Using CATALINA_BASE: /usr/local/apache-tomcat-7.0.26
Using CATALINA_HOME: /usr/local/apache-tomcat-7.0.26
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.26/temp
Using JRE_HOME: /usr/local/jdk1.7.0_03
Using CLASSPATH: /usr/local/apache-tomcat-7.0.26/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.26/bin/tomcat-juli.jar
[root@wn7-lcg bin]# ./startup.sh
Using CATALINA_BASE: /usr/local/apache-tomcat-7.0.26
Using CATALINA_HOME: /usr/local/apache-tomcat-7.0.26
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.26/temp
Using JRE_HOME: /usr/local/jdk1.7.0_03
Using CLASSPATH: /usr/local/apache-tomcat-7.0.26/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.26/bin/tomcat-juli.jar
[root@wn7-lcg bin]#
- INFO: Illegal access: this web application instance has been stopped already. Could not load oracle
- INFO: Illegal access: this web application instance has been stopped already. Could not load
- Illegal access: this web application instance has been stopped already. Could not load
- tomcat异常:Illegal access: this web application instance has been stopped already. Could not load ...
- Illegal access: this web application instance has been stopped already. Could not load com.net.paoding.analysis.dictionary.supp
- Tomcat异常:Illegal access: this web application instance has been stopped already. Could not load java.lang.Object.
- Illegal access: this web application instance has been stopped already
- Illegal access: this web application instance has been stopped already.
- Illegal access: this web application instance has been stopped already . .
- Illegal access: this web application instance has been stopped already
- Illegal access: this web application instance has been stopped already
- Illegal access: this web application instance has been stopped already .
- Illegal access: this web application instance has been stopped already
- Illegal access:this web application instance has been stopped already
- INFO: Illegal access: this web application instance has been stopped already
- this web application instance has been stopped already. Could not load net.sf.ehcache.store.compoun
- 项目Redeploy异常---Illegal access: this web application instance has been stopped already.
- Tomcat异常Illegal access:this web application instance has been stopped already
- 2012年北约自主招生的一道数学好题
- c# 使用指针间介
- zoj1438-Asteroids!
- mysql中limit的用法详解[数据分页常用]
- Java集合框架面试问题集锦
- INFO: Illegal access: this web application instance has been stopped already. Could not load oracle
- Java SE基础部分-02.标识符、数据类型
- SSE2实现HAAR小波变换(dwt2与idwt2)
- ajax实例2
- Java SE基础部分-03. 运算符和表达式
- POJ 2697 A Board Game
- find命令查找文件大小或将按条件将文件移动及Tar文件目录打包命令
- Java多线程(一)之volatile深入分析
- 函数为什么实现的是一些操作但却有整形返回值