cloudstack4.2.1添加支持vmware的第三方包后,并且更改过componentContext.xml中跟vmware相关的配置,启动起来服务,但是登录不进去!!
包有这些: 
apputils.jar
 axis-1.4.jar
 axis-jaxrpc-1.4.jar
 cloud-plugin-hypervisor-vmware-4.2.1.jar
 cloud-vmware-base-4.2.1.jar
 icontrol-1.0.jar
 manageontap-4.0.jar
 mockito-all-1.9.5.jar
 netscaler-sdx-1.0.jar
 vmware-vim25-5.1.jar
 wsdl4j-1.4.jar


但是重新启动后,登录不进去
catalina日志中出现这种错误:
Dec 22, 2014 5:24:00 PM org.apache.catalina.loader.WebappClassLoader 
clearThreadLocalMap
SEVERE: The web application [/client] created a ThreadLocal with key of type 
[java.lang.ThreadLocal] (value [java.lang.ThreadLocal@201c2e7f]) and a value of 
type [com.cloud.utils.db.Transaction] (value [ : ]) but failed to remove it 
when the web application was stopped. This is very likely to create a memory 
leak.
Dec 22, 2014 5:24:00 PM org.apache.catalina.loader.WebappClassLoader 
clearThreadLocalMap
SEVERE: The web application [/client] created a ThreadLocal with key of type 
[java.lang.ThreadLocal] (value [java.lang.ThreadLocal@201c2e7f]) and a value of 
type [com.cloud.utils.db.Transaction] (value [ : ]) but failed to remove it 
when the web application was stopped. This is very likely to create a memory 
leak.
Dec 22, 2014 5:24:01 PM org.apache.coyote.http11.Http11NioProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Dec 22, 2014 5:24:02 PM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  
Could not load com.cloud.utils.exception.CSExceptionErrorCode.  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:1566)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
        at 
com.cloud.utils.exception.CloudRuntimeException.<init>(CloudRuntimeException.java:38)
        at com.cloud.utils.db.Transaction.getConnection(Transaction.java:560)
        at com.cloud.utils.db.Transaction.prepareStatement(Transaction.java:468)
        at 
com.cloud.utils.db.Transaction.prepareAutoCloseStatement(Transaction.java:461)
        at 
com.cloud.async.dao.SyncQueueItemDaoImpl.getNextQueueItems(SyncQueueItemDaoImpl.java:95)
        at 
com.cloud.async.dao.SyncQueueItemDaoImpl_EnhancerByCloudStack_3b83cf39.CGLIB$getNextQueueItems$1(<generated>)
        at 
com.cloud.async.dao.SyncQueueItemDaoImpl_EnhancerByCloudStack_3b83cf39_FastClassByCloudStack_662318e2.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at 
com.cloud.async.dao.SyncQueueItemDaoImpl_EnhancerByCloudStack_3b83cf39.getNextQueueItems(<generated>)
        at 
com.cloud.async.SyncQueueManagerImpl.dequeueFromAny(SyncQueueManagerImpl.java:141)
        at 
com.cloud.async.SyncQueueManagerImpl_EnhancerByCloudStack_b2336d5b.CGLIB$dequeueFromAny$7(<generated>)
        at 
com.cloud.async.SyncQueueManagerImpl_EnhancerByCloudStack_b2336d5b_FastClassByCloudStack_7e5d9f8c.invoke(<generated>)
        at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
        at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at 
com.cloud.async.SyncQueueManagerImpl_EnhancerByCloudStack_b2336d5b.dequeueFromAny(<generated>)
        at 
com.cloud.async.AsyncJobManagerImpl$2.run(AsyncJobManagerImpl.java:679)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:679)
Dec 22, 2014 5:24:02 PM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8443
Dec 22, 2014 5:24:02 PM org.apache.coyote.http11.Http11NioProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-7080
Dec 22, 2014 5:24:03 PM org.apache.catalina.core.StandardService stop






这到底是啥问题啊????怎么解决啊

回复