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 鱼上游 阅读(2673) 评论(0)  编辑  收藏 所属分类: 爪哇世界探险

只有注册用户登录后才能发表评论。


网站导航:
 
<2008年4月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

常用链接

留言簿(82)

随笔分类(59)

文章分类(21)

相册

收藏夹(40)

GoodSites

搜索

  •  

积分与排名

  • 积分 - 1263708
  • 排名 - 22

最新评论

阅读排行榜