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 魚上游 閱讀(2709) 評論(0)  編輯  收藏 所屬分類: 爪哇世界探險
          <2008年4月>
          303112345
          6789101112
          13141516171819
          20212223242526
          27282930123
          45678910

          常用鏈接

          留言簿(82)

          隨筆分類(59)

          文章分類(21)

          相冊

          收藏夾(40)

          GoodSites

          搜索

          •  

          積分與排名

          • 積分 - 1267076
          • 排名 - 22

          最新評論

          閱讀排行榜

          主站蜘蛛池模板: 辉县市| 泽普县| 静安区| 金堂县| 澄江县| 休宁县| 扎鲁特旗| 綦江县| 深州市| 个旧市| 九龙县| 宽甸| 柳江县| 喀什市| 凌海市| 上饶市| 历史| 茌平县| 雷州市| 崇左市| 黄梅县| 上高县| 万载县| 濉溪县| 靖江市| 禄劝| 靖边县| 兴仁县| 宜良县| 定陶县| 岳阳县| 河津市| 竹北市| 民权县| 苍南县| 南丹县| 海晏县| 瑞昌市| 廊坊市| 监利县| 敦煌市|