锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲一区二区三区精品在线观看 ,免费精品视频最新在线,亚洲成av人片http://www.aygfsteel.com/fjshenhq/java鎶鏈?/description>zh-cnSat, 17 May 2025 06:24:05 GMTSat, 17 May 2025 06:24:05 GMT60Exception loading sessions from persistent storagehttp://www.aygfsteel.com/fjshenhq/archive/2009/08/12/290909.html鐢板洯椋庡厜鐢板洯椋庡厜Wed, 12 Aug 2009 15:37:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/08/12/290909.htmlhttp://www.aygfsteel.com/fjshenhq/comments/290909.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/08/12/290909.html#Feedback0http://www.aygfsteel.com/fjshenhq/comments/commentRss/290909.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/290909.html鍋氫竴涓獁eb欏圭洰錛屽惎鍔╰omcat鏃墮亣鍒頒簡榪欐牱涓涓敊璇細

 涓ラ噸: Exception loading sessions from persistent storage 
java.io.WriteAbortedException: writing aborted錛宩ava.io.NotSerializableException: ...

瑙e喅錛氬璞¤蹇呴』瀹炵幇java.io.Serializable鎺ュ彛;



]]>
Illegal access: this web application instance has been stopped already .Could not load java.net.BindExceptionhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288409.html鐢板洯椋庡厜鐢板洯椋庡厜Sat, 25 Jul 2009 17:26:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288409.htmlhttp://www.aygfsteel.com/fjshenhq/comments/288409.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288409.html#Feedback0http://www.aygfsteel.com/fjshenhq/comments/commentRss/288409.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/288409.html淇℃伅: Illegal access: this web application instance has been stopped already.  Could not load java.net.BindException.  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:1244)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 at com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:155)
 at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2723)

瑙e喅鍔炴硶:
灝唗omcat鐨剆erver.xml涓殑Context鐨剅eloadable璁炬垚false銆?br /> 姣斿:<Context path="/expert" docBase="expert" debug="0" reloadable="false">

 

瑙e喅鍔炴硶涔熷鏄擄紝鍙鎶妕omcat鐨剆erver.xml 涓殑reloadable="true" 鏀規垚false灝辮浜嗭紝涓嶈繃榪欐牱鍋氬氨澶卞幓浜嗙儹閮ㄧ講鐨勪紭鍔夸簡錛屽浜庡紑鍙戜笉鏄緢鏂逛究錛屽共鑴嗚繕鏄笉鏀瑰惂銆傝繖縐嶉敊璇笉鐢ㄧ悊浼?  

鎶ラ敊鍘熺悊錛?/p>

 

鍘熷洜鏄洜涓哄湪tomcat閲嶅惎鐨勬椂鍊欙紝鍥犱負涔嬪墠鐨則omcat涓殑綰跨▼榪樻病鏈夊畬鍏ㄥ叧闂紝鏂板惎鍔╰omcat灝變細鎶ヨ繖涓紓甯革紝涓嶈繃榪欎釜涓嶅獎鍝嶆甯鎬嬌鐢紝鍙槸璺充釜寮傚父鎸虹儲浜虹殑銆備嬌鐢ㄨ繃hibernate, spring鎴栧叾浠栧ぇ鍨嬬粍浠訛紝褰撲竴涓猈EB搴旂敤緋葷粺涓湁寰堝綾繪椂錛屽鏋滃紑鍚簡Tomcat鐨剅eloadable=true,閭d箞姣忓綋鐩稿叧鏂囦歡鏀瑰彉鏃訛紝 Tomcat浼氬仠姝eb app騫墮噴鏀懼唴瀛?鐒跺悗閲嶆柊鍔犺澆web app.榪欏疄鍦ㄦ槸涓旦澶х殑宸ョ▼銆傛墍浠ユ垜浠繪槸鍦ㄦ兂濡傛灉鑳芥湁鍙噸杞芥煇鍑犱釜綾葷殑鍔熻兘錛屽皢鏋佸ぇ鐨勬弧瓚充簡鎴戜滑鐨勮皟璇曘?/p>


  褰搑esponse.sendRedirect("xxxx");   鏃?鑰屽鎴風鍏抽棴浜嗘祻瑙堝櫒,灝變細鍑鴻繖縐嶉敊.    
  騫墮潪紼嬪簭閿欒.

 

寮曡嚜錛?/font>http://blog.csdn.net/m232341339/archive/2008/11/01/3201104.aspx



]]>
Could not load java.net.BindExceptionhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288408.html鐢板洯椋庡厜鐢板洯椋庡厜Sat, 25 Jul 2009 17:11:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288408.htmlhttp://www.aygfsteel.com/fjshenhq/comments/288408.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288408.html#Feedback0http://www.aygfsteel.com/fjshenhq/comments/commentRss/288408.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/288408.html鍑虹幇浜嗛敊璇紓甯革細
淇℃伅: Illegal access: this web application instance has been stopped already.  Could not load java.net.BindException.  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:1273)
 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 at com.mysql.jdbc.SQLError.createLinkFailureMessageBasedOnHeuristics(SQLError.java:1220)
 at com.mysql.jdbc.CommunicationsException.<init>(CommunicationsException.java:51)
 at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1070)
 at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3270)
 at com.mysql.jdbc.MysqlIO.quit(MysqlIO.java:1659)
 at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4296)
 at com.mysql.jdbc.ConnectionImpl.cleanup(ConnectionImpl.java:1265)
 at com.mysql.jdbc.ConnectionImpl.finalize(ConnectionImpl.java:2667)
 at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
 at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
 at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
 at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)

鍦ㄥ惎鍔?/span> tomcat 錛屽茍鍙戝竷搴旂敤鍚庢病鏈夐棶棰橈紝浣嗘槸濡傛灉閲嶆柊鍙戝竷灝卞嚭鐜板涓嬪紓甯革細

this web application instance has been stopped already. Could not load java.net.BindException

this web application instance has been stopped already. Could not load com.mysql.jdbc

榪欐槸鐢變簬 MySQL 鐨?/span> JDBC 椹卞姩鏀懼湪搴旂敤鐨?/span> WEB-INF\lib 鐩綍涓嬶紝鍦ㄩ噸鏂板彂甯冩椂鍏跺姞杞戒簡涓ゆ錛屾晠鍙灝嗗叾鎷瘋礉鍒?/span> TOMCAT_HOME%\lib 涓嵆鍙В鍐寵闂銆?/span>

瑙e喅榪欎袱涓紓甯稿彲浠ュ皢 MySQL 鐨勯┍鍔ㄦ枃浠朵粠 WEB-INF\lib 鏂囦歡澶逛腑縐誨姩鍒?/span> %TOMCAT_HOME%\lib 涓?/span>


 

寮曡嚜錛歨ttp://www.aygfsteel.com/cmzy/archive/2009/03/25/261884.html

]]>
java.lang.NoSuchMethodErrorhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288403.html鐢板洯椋庡厜鐢板洯椋庡厜Sat, 25 Jul 2009 16:16:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288403.htmlhttp://www.aygfsteel.com/fjshenhq/comments/288403.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/26/288403.html#Feedback0http://www.aygfsteel.com/fjshenhq/comments/commentRss/288403.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/288403.html鍑虹幇鐨勯敊璇紓甯革細
涓ラ噸: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V
Caused by: java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V

鍘熷洜錛歴pring鍜宧ibernate鐨勫寘涓嶅吋瀹癸紝asm.jar(hibernate)鍜宎sm-2.2.3.jar(spring)

瑙e喅鍔炴硶錛氬皢asm-2.2.3.jar鍒犻櫎

]]>
spring2.0+struts2.0+hibernate3.2鏁村悎榪囩▼涓嚭鐜扮殑閿欒http://www.aygfsteel.com/fjshenhq/archive/2009/07/25/288282.html鐢板洯椋庡厜鐢板洯椋庡厜Fri, 24 Jul 2009 17:08:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/07/25/288282.htmlhttp://www.aygfsteel.com/fjshenhq/comments/288282.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/25/288282.html#Feedback3http://www.aygfsteel.com/fjshenhq/comments/commentRss/288282.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/288282.html浠婂ぉ鏅氫笂鎶婁笁涓鏋舵暣鍚堝湪涓璧峰嚭鐜頒簡涓浜涘紓甯革細
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
2009-7-25 0:31:38 org.apache.catalina.core.StandardContext filterStart
涓ラ噸: Exception starting filter struts2
[unknown location]
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:835)
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadDocuments(XmlConfigurationProvider.java:131)
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:100)
 at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:130)
 at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
 at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:395)
 at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:452)
 at org.apache.struts2.dispatcher.FilterDispatcher.init(FilterDispatcher.java:205)
 at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
 at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
 at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
 at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3709)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:4363)
 at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
 at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
 at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
 at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
 at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
 at org.apache.catalina.core.StandardService.start(StandardService.java:516)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
 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:585)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: Premature end of file. - [unknown location]
 at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:123)
 at com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.loadConfigurationFiles(XmlConfigurationProvider.java:830)
 ... 34 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
 at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
 at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
 at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
 at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:121)
 ... 35 more
2009-7-25 0:31:38 org.apache.catalina.core.StandardContext start
涓ラ噸: Error filterStart
2009-7-25 0:31:38 org.apache.catalina.core.StandardContext start
涓ラ噸: Context [/ssh] startup failed due to previous errors
2009-7-25 0:31:38 org.apache.catalina.core.ApplicationContext log

浣跨敤log4j.properties 鎻愮ず閿欒淇℃伅
2009-07-25 01:02:05 [org.springframework.web.context.ContextLoader]-[INFO] Root WebApplicationContext: initialization started
 2009-07-25 01:02:05 [org.springframework.web.context.support.XmlWebApplicationContext]-[INFO] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@19bd735: display name [Root WebApplicationContext]; startup date [Sat Jul 25 01:02:05 CST 2009]; root of context hierarchy
 2009-07-25 01:02:05 [org.springframework.beans.factory.xml.XmlBeanDefinitionReader]-[INFO] Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
 2009-07-25 01:02:06 [org.springframework.web.context.support.XmlWebApplicationContext]-[INFO] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@19bd735]: org.springframework.beans.factory.support.DefaultListableBeanFactory@146df77
 2009-07-25 01:02:06 [org.springframework.beans.factory.support.DefaultListableBeanFactory]-[INFO] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@146df77: defining beans []; root of factory hierarchy
 2009-07-25 01:02:06 [org.springframework.web.context.ContextLoader]-[INFO] Root WebApplicationContext: initialization completed in 1469 ms
 2009-07-25 01:02:07 [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]-[INFO] Parsing configuration file [struts-default.xml]
 2009-07-25 01:02:07 [com.opensymphony.xwork2.config.providers.XmlConfigurationProvider]-[INFO] Parsing configuration file [struts-plugin.xml]
 2009-07-25 01:02:07 [com.opensymphony.xwork2.util.DomHelper]-[FATAL] Premature end of file. at (null:-1:-1)
 org.xml.sax.SAXParseException: Premature end of file.
2009-07-25 01:02:07 [org.springframework.web.context.support.XmlWebApplicationContext]-[INFO] Closing org.springframework.web.context.support.XmlWebApplicationContext@19bd735: display name [Root WebApplicationContext]; startup date [Sat Jul 25 01:02:05 CST 2009]; root of context hierarchy
 2009-07-25 01:02:07 [org.springframework.beans.factory.support.DefaultListableBeanFactory]-[INFO] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@146df77: defining beans []; root of factory hierarchy
 

鍥犱負鑷繁娌℃湁鎶妔truts.xml鐨勬枃浠墮厤緗ソ錛屾病鏈夊紩鍏truts-default.xml鐨勫師鍥犮?/p>

]]>
鐢╦s鑾峰彇FCKeditor鐨勫唴瀹瑰拰鍒ゆ柇鍐呭鏄惁涓虹┖http://www.aygfsteel.com/fjshenhq/archive/2009/07/23/288081.html鐢板洯椋庡厜鐢板洯椋庡厜Thu, 23 Jul 2009 11:37:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/07/23/288081.htmlhttp://www.aygfsteel.com/fjshenhq/comments/288081.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/23/288081.html#Feedback1http://www.aygfsteel.com/fjshenhq/comments/commentRss/288081.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/288081.html function GetLength(str)
{
    var oEditor = FCKeditorAPI.GetInstance(str) ;
    var checkContent= oEditor.EditorDocument ;
    var contentLength ;

    if ( document.all )       
    {
        contentLength= checkContent.body.innerText.trim().length ;
    }
    else                   
    {
        var r = checkContent.createRange() ;
        r.selectNodeContents( checkContent.body ) ;
        contentLength= r.toString().trim().length ;
    }
return contentLength
}  

//鍒ゆ柇鏄笉鏄負絀?br /> function CheckPost(){
    if(GetLength("content")<=0)    //content涓篎CKeditor鍦ㄩ〉闈㈡墍璁劇殑鍚嶅瓧
    {
        alert('璇瘋緭鍏ュ唴瀹?);       
        return false;
    }
}

//鍙杅ck鍐呭
function GetContent(str)
{
     var oEditor = FCKeditorAPI.GetInstance(str) ;
     return oEditor.GetXHTML();
}  

//鍘繪帀瀛楃涓茬殑絀烘牸
String.prototype.trim = function()
{
             return this.replace(/(^[\s]*)|([\s]*$)/g, "");
}


]]>
java.lang.NoSuchFieldError: deferredExpressionhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/18/287281.html鐢板洯椋庡厜鐢板洯椋庡厜Sat, 18 Jul 2009 14:29:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/07/18/287281.htmlhttp://www.aygfsteel.com/fjshenhq/comments/287281.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/18/287281.html#Feedback0http://www.aygfsteel.com/fjshenhq/comments/commentRss/287281.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/287281.html 鍘熷洜鏄細鍦╨ib鐩綍涓嬪嚭鐜頒簡榪炰釜涓嶅悓鐗堟湰鐨刯stl鏍囩銆?br /> 瑙e喅鏂規硶錛氭妸灝辯増鏈殑jstl鍒犻櫎灝卞彲浠ヤ簡鍟婏紒

]]>
閫鍑虹櫥闄嗙偣鍚庨榪樺彲浠ヨ繘鍘葷殑瑙e喅鍔炴硶http://www.aygfsteel.com/fjshenhq/archive/2009/07/10/fjshenhq.html鐢板洯椋庡厜鐢板洯椋庡厜Fri, 10 Jul 2009 12:08:00 GMThttp://www.aygfsteel.com/fjshenhq/archive/2009/07/10/fjshenhq.htmlhttp://www.aygfsteel.com/fjshenhq/comments/286313.htmlhttp://www.aygfsteel.com/fjshenhq/archive/2009/07/10/fjshenhq.html#Feedback0http://www.aygfsteel.com/fjshenhq/comments/commentRss/286313.htmlhttp://www.aygfsteel.com/fjshenhq/services/trackbacks/286313.html闃呰鍏ㄦ枃

]]>
mysql5.1+tomcat6榪炴帴姹犻亣鍒扮殑闂鍙婅В鍐蟲柟娉?/title><link>http://www.aygfsteel.com/fjshenhq/archive/2009/07/04/285498.html</link><dc:creator>鐢板洯椋庡厜</dc:creator><author>鐢板洯椋庡厜</author><pubDate>Sat, 04 Jul 2009 13:24:00 GMT</pubDate><guid>http://www.aygfsteel.com/fjshenhq/archive/2009/07/04/285498.html</guid><wfw:comment>http://www.aygfsteel.com/fjshenhq/comments/285498.html</wfw:comment><comments>http://www.aygfsteel.com/fjshenhq/archive/2009/07/04/285498.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/fjshenhq/comments/commentRss/285498.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/fjshenhq/services/trackbacks/285498.html</trackback:ping><description><![CDATA[<p>涓銆佸湪欏圭洰涓殑閰嶇疆錛?br />              .鍦╓ebRoot/META-INF涓嬪緩context.xml鏂囦歡錛屾敞鎰忓繀欏誨湪璇ョ洰褰曚笅錛?nbsp;                 <br />                   <?xml version="1.0" encoding="UTF-8"?><br />                             <Context reloadable="true" crossContext="true"><br />                                <Resource <br />                                    name="jdbc/欏圭洰鍚? ---------------蹇呴』涓洪」鐩悕錛屽惁鍒欎細鏈夊紓甯?br />                                    auth="Container"---------------------璇ラ」涓轟笉鍙橀」<br />                                    type="javax.sql.DataSource"---------璇ラ」涓轟笉鍙橀」<br />                                   driverClassName="com.mysql.jdbc.Driver"------------鏁版嵁搴撻┍鍔ㄥ悕<br />                                   url="jdbc:mysql://localhost:3306/haotian?autoReconnect=true"---url<br />                                   username="root"---------------------------------------鐢ㄦ埛鍚?br />                                   password="root"----------------------------------------瀵嗙爜<br />                                   maxActive="10"   ----------------------------鏈澶ц繛鎺ユ暟 <br />                                   maxIdle="5"     -------------------------------鏈澶х┖闂茶繛鎺ユ暟<br />                                   maxWait="-1"/>   ------------------鏈澶х瓑寰呮縐掓暟錛?1涓烘棤闄愮瓑寰?br />                             </Context><br />                鍦═omcat6.0浠ュ悗灝變笉闇瑕佸湪web.xml涓厤緗簡錛?br />                                  <resource-ref><br />                                             <description>DB Connection</description><br />                                              <res-ref-name>jdbc/blog</res-ref-name><br />                                              <res-type>javax.sql.DataSource</res-type><br />                                              <res-auth>Container</res-auth><br />                                    </resource-ref><br /> <br /> <br /> 浜屻侀厤緗繃紼嬩腑閬囧埌鐨勫紓甯稿強瑙e喅鏂規硶錛?br />       (1)org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'<br />         瑙e喅鏂規硶錛氳繛鎺ユ睜鐨勫悕瀛楁槸name="jdbc/欏圭洰鍚?<br />       <br />       (2)org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'com.mysql.jdbc.Driver'</p> <p>        瑙e喅鏂規硶錛氬繀欏繪妸mysql鐨勯┍鍔ㄥ寘錛屾嫹璐濆埌tomcat/lib鐩綍涓?br />    <br />      (3)javax.naming.NameNotFoundException: Name jdbc is not bound in this Context<br />          榪欎釜寮傚父鍙兘鏄嬌鐢╰omcat6鐗堟湰浠ヤ笅錛岄渶瑕佸湪欏圭洰鐨剋eb.xml閰嶇疆錛?br />                                         <resource-ref><br />                                             <description>DB Connection</description><br />                                              <res-ref-name>jdbc/blog</res-ref-name><br />                                              <res-type>javax.sql.DataSource</res-type><br />                                              <res-auth>Container</res-auth><br />                                    </resource-ref><br /> <br /> 浠ヤ笂鏄釜浜哄湪寮鍙戣繃紼嬩腑閬囧埌鐨勫紓甯革紝鍦ㄥ弬鑰冪綉鍙嬫彁渚涜В鍐沖強涓漢瀹炶返鎬葷粨鎵寰椼?br /> </p> <img src ="http://www.aygfsteel.com/fjshenhq/aggbug/285498.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/fjshenhq/" target="_blank">鐢板洯椋庡厜</a> 2009-07-04 21:24 <a href="http://www.aygfsteel.com/fjshenhq/archive/2009/07/04/285498.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">金坛市</a>| <a href="http://" target="_blank">瑞昌市</a>| <a href="http://" target="_blank">巴南区</a>| <a href="http://" target="_blank">郎溪县</a>| <a href="http://" target="_blank">丘北县</a>| <a href="http://" target="_blank">正宁县</a>| <a href="http://" target="_blank">乐都县</a>| <a href="http://" target="_blank">时尚</a>| <a href="http://" target="_blank">八宿县</a>| <a href="http://" target="_blank">敦煌市</a>| <a href="http://" target="_blank">和平区</a>| <a href="http://" target="_blank">合阳县</a>| <a href="http://" target="_blank">登封市</a>| <a href="http://" target="_blank">泰州市</a>| <a href="http://" target="_blank">康马县</a>| <a href="http://" target="_blank">常德市</a>| <a href="http://" target="_blank">丰原市</a>| <a href="http://" target="_blank">桂东县</a>| <a href="http://" target="_blank">乾安县</a>| <a href="http://" target="_blank">肇庆市</a>| <a href="http://" target="_blank">西乌珠穆沁旗</a>| <a href="http://" target="_blank">蒙自县</a>| <a href="http://" target="_blank">肥城市</a>| <a href="http://" target="_blank">海晏县</a>| <a href="http://" target="_blank">光泽县</a>| <a href="http://" target="_blank">彝良县</a>| <a href="http://" target="_blank">襄垣县</a>| <a href="http://" target="_blank">镇江市</a>| <a href="http://" target="_blank">法库县</a>| <a href="http://" target="_blank">淮北市</a>| <a href="http://" target="_blank">四会市</a>| <a href="http://" target="_blank">涟源市</a>| <a href="http://" target="_blank">葵青区</a>| <a href="http://" target="_blank">木兰县</a>| <a href="http://" target="_blank">东山县</a>| <a href="http://" target="_blank">浦城县</a>| <a href="http://" target="_blank">南靖县</a>| <a href="http://" target="_blank">沿河</a>| <a href="http://" target="_blank">宜兰市</a>| <a href="http://" target="_blank">蒙自县</a>| <a href="http://" target="_blank">东山县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>