posts - 61,  comments - 2033,  trackbacks - 0


          1)UnabletoreadTLD"META-INF/c.tld"fromJAR
          DeleteServlet.jarandjsp.jarfromWEB-INF/lib.

          2)AntTips:

          a)<classpath>
          <pathelementpath="${classpath}"/>
          <pathelementlocation="lib/helper.jar"/>

          </classpath>
          b)<classpath>
          ????? <
          pathelementpath="${classpath}"/ > 方式 :引用特定的變量

          ????? < filesetdir="lib" > 方式 :指向特定的文件集
          ?????????? <includename="**/*.jar"/>
          ????? </fileset>

          ?????????? < pathelementlocation="classes"/ > 方式 :指向單個目錄

          ????? < dirsetdir="${build.dir}" > 方式 :指向特定目錄集
          ?????????? <includename="apps/**/classes"/>
          ?????????? <excludename="apps/**/*Test*"/>
          ????? </dirset>

          ????? < filelistrefid="third-party_jars"/ > 方式 :引用指定文件列表
          </classpath>
          c)?<copy todir="${web.inf.classes}">
          ??<fileset dir="src/resources">
          ???<include name="**/spring/*.xml" />
          ???<include name="**/xfire/*.xml" />
          ??</fileset>
          ??<fileset dir="src/main">
          ???<include name="**/*.xml" />
          ??</fileset>
          ?</copy>


          3)Failed to setup clustering", what does it mean?


          ?
          [JBossCacheService][main] jboss.cache:service=TomcatClusteringCache service to Tomcat clustering not found

          ? [JBossCacheManager][main] JBossCacheService to Tomcat clustering not found

          ? [TomcatDeployer][main] Failed to setup clustering, clustering disabled

          There's two possibilities here:

          1) Since 3.2.6, HTTP session replication is based on JBossCache, and more precisely the TomcatClusteringCache service.In 3.2.6, 3.2.7, 4.0.1 and 4.0.1SP1, the dependency on this service is missing in Tomcat's jboss-service.xml. To fix it, please edit /all/deploy/jbossweb-tomcat5x.sar/META-INF/jboss-service.xml and enable the <depends optional-attribute-name="CacheName?"> element, update the MBean ObjectName as well as the <depends> element itself.

          The resulting code should look as follows:

          ????? <!--

          ???????? Configuration for HTTP Session Clustering using JBossCache

          ????? -->

          ????? <depends>jboss.cache:service=TomcatClusteringCache</depends>

          instead of

          ????? <!--

          ???????? Configuration for HTTP Session Clustering using JBossCache

          ????? -->

          ????? <!--

          ????? <depends optional-attribute-name="CacheName">jboss.cache:service=TreeCache</depends>

          ????? -->

          2) This error could also come up if you're trying to remove the clustering capabilities from the all configuration as explained in JBossASTuningSliming. Even though you might have modified jbossweb-tomcat5x.sar/META-INF/jboss-service.xml to remove the dependency on

          jboss.cache:service=TomcatClusteringCache

          , if the web application is deployed as

          <distributable/>

          , AS will try starting up

          jboss.cache:service=TomcatClusteringCache

          , for HTTP session replication. In this case, the ERROR message should not be considered as a failure because if it can't start it up, it'll log the ERROR but will continue working as normal.

          4) 一次性導出所有oracle sequence

          select 'create sequence ABEL.'|| SEQUENCE_NAME || ' minvalue '||MIN_VALUE||' maxvalue '||MAX_VALUE||' start with '||LAST_NUMBER||' increment by '||INCREMENT_BY||' cache '||CACHE_SIZE||' ;' from dba_sequences where SEQUENCE_OWNER = 'TEEMA'

          5) Ora-01033: Oracle initialization or shutdown in process.


          SID_LIST_LISTENER =
          (SID_LIST =
          (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = D:\Database\oracle\product\10.1.0\Db_1)
          (PROGRAM = extproc)
          )
          #(SID_DESC =
          # (GLOBAL_DBNAME = Abel)
          # (ORACLE_HOME = D:\Database\oracle\product\10.1.0\Db_1)
          # (SID_NAME = Abel)
          #)
          )
          posted on 2008-04-21 18:03 魚上游 閱讀(2722) 評論(0)  編輯  收藏 所屬分類: 爪哇世界探險
          <2008年4月>
          303112345
          6789101112
          13141516171819
          20212223242526
          27282930123
          45678910

          常用鏈接

          留言簿(82)

          隨筆分類(59)

          文章分類(21)

          相冊

          收藏夾(40)

          GoodSites

          搜索

          •  

          積分與排名

          • 積分 - 1267730
          • 排名 - 22

          最新評論

          閱讀排行榜

          主站蜘蛛池模板: 江山市| 塔城市| 都安| 剑阁县| 兴海县| 安陆市| 留坝县| 色达县| 齐齐哈尔市| 吴堡县| 山西省| 康马县| 天镇县| 平陆县| 东丽区| 湘潭市| 卓尼县| 夏津县| 丹阳市| 崇义县| 抚顺县| 绥芬河市| 阿拉善左旗| 濮阳市| 梅河口市| 葫芦岛市| 丽江市| 罗定市| 嵊州市| 宣汉县| 七台河市| 镇远县| 开封市| 腾冲县| 乌兰察布市| 中卫市| 盘山县| 宁陵县| 耿马| 密山市| 滨海县|