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"/ > 方式 :指向單個(gè)目錄

          ????? < 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) 一次性導(dǎo)出所有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 魚(yú)上游 閱讀(2722) 評(píng)論(0)  編輯  收藏 所屬分類(lèi): 爪哇世界探險(xiǎn)
          <2008年4月>
          303112345
          6789101112
          13141516171819
          20212223242526
          27282930123
          45678910

          常用鏈接

          留言簿(82)

          隨筆分類(lèi)(59)

          文章分類(lèi)(21)

          相冊(cè)

          收藏夾(40)

          GoodSites

          搜索

          •  

          積分與排名

          • 積分 - 1267734
          • 排名 - 22

          最新評(píng)論

          閱讀排行榜

          主站蜘蛛池模板: 无为县| 得荣县| 垣曲县| 呈贡县| 应用必备| 马鞍山市| 夏邑县| 肇州县| 仁布县| 济源市| 安新县| 岳阳市| 额敏县| 成武县| 辽阳市| 怀化市| 博湖县| 宁海县| 灌云县| 惠东县| 射洪县| 比如县| 江达县| 金川县| 五指山市| 武胜县| 邓州市| 海林市| 乌兰县| 潼关县| 盐津县| 庆云县| 辉南县| 英吉沙县| 汨罗市| 兴海县| 获嘉县| 定日县| 井陉县| 惠安县| 桑植县|