myeclipse里关闭tomcat server时报错:ERROR: JDWP Unable to get JNI 1.2 environment
各位大侠好,小弟才接触myeclipse时间不长,在myeclipse里启动tomcat时没有报错,关闭时经常报错,报错信息如下:
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
操作系统是win xp pro sp3 en,myeclipse的版本是8.6-20100723,jdk的版本是1.6.0_22,tomcat是6.0.29。
stop server时的全部信息如下:
Oct 25, 2010 8:54:17 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_22\bin;D:\Myeclipse\apache-tomcat-6.0.29\bin
Oct 25, 2010 8:54:18 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Oct 25, 2010 8:54:18 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 764 ms
Oct 25, 2010 8:54:18 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Oct 25, 2010 8:54:18 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Oct 25, 2010 8:54:18 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Oct 25, 2010 8:54:18 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Oct 25, 2010 8:54:18 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Oct 25, 2010 8:54:18 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Oct 25, 2010 8:54:19 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Oct 25, 2010 8:54:19 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Oct 25, 2010 8:54:19 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Oct 25, 2010 8:54:19 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Oct 25, 2010 8:54:19 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Oct 25, 2010 8:54:19 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47 config=null
Oct 25, 2010 8:54:19 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1264 ms
Oct 25, 2010 8:54:24 PM org.apache.coyote.http11.Http11Protocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Oct 25, 2010 8:54:25 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]