首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >包括server.xml中的adminCenter-1.0和批管理-1.0特性,提供了自由8.5.5.8中的特性冲突错误

包括server.xml中的adminCenter-1.0和批管理-1.0特性,提供了自由8.5.5.8中的特性冲突错误
EN

Stack Overflow用户
提问于 2016-05-25 14:31:24
回答 2查看 734关注 0票数 1

我使用的是WebSphere应用服务器8.5.5.8/wlp-1.0.11.cl50820151201-1942,在我的featureManager列表中使用批管理-1.0和adminCenter-1.0,如下所示

代码语言:javascript
复制
<featureManager>        
            <feature>servlet-3.1</feature>
            <feature>batchManagement-1.0</feature>
            <feature>batch-1.0</feature>        
            <feature>localConnector-1.0</feature>
            <feature>adminCenter-1.0</feature>
        </featureManager>

server.xml显示在警告下面

‘’adminCenter 1.0‘-- 'restConnector-1.0’--> 'jaxrs-1.1‘--> 'com.ibm.websphere.appserver.javaeeCompatible-6.0’和‘批管理-1.0’->批处理-1.0-> 'com.ibm.websphere.appserver.javaeeCompatible-7.0‘特性发生冲突.选择一组兼容的功能。

我能知道如何解决这个问题吗?

我的Server.xml是这样的

代码语言:javascript
复制
<server description="new server">

    <!-- Enable features -->
    <featureManager>        
        <feature>servlet-3.1</feature>
        <feature>batchManagement-1.0</feature>
        <feature>batch-1.0</feature>
        <feature>localConnector-1.0</feature>        
    </featureManager>

    <!--  The default self-signed SSL certificate in this example
      is intended only for development use and not for production. -->

    <keyStore id="defaultKeyStore" password="Liberty"/> 

    <basicRegistry id="basic" realm="ibm/api">
       <user name="bob" password="bobpwd"/>
     </basicRegistry>


    <!-- To access this server from a remote client add a host attribute to the following element, e.g. host="*" -->
    <httpEndpoint host="*" httpPort="9080" httpsPort="9443" id="defaultHttpEndpoint"/>

    <!-- Automatically expand WAR files and EAR files -->
    <applicationManager autoExpand="true"/>
    <!-- Batch persistence config.  References a databaseStore. -->
    <batchPersistence jobStoreRef="BatchDatabaseStore"/>

    <!-- The database store for the batch tables.  -->
    <!-- Note this database store is referenced by the batchPersistence element. -->
    <databaseStore dataSourceRef="batchDB" id="BatchDatabaseStore" schema="JBATCH" tablePrefix=""/>

    <!-- Derby JDBC driver -->
    <!-- Note this library is referenced by the dataSource element -->
    <library id="DerbyLib">
        <fileset dir="${server.config.dir}/resources/derby"/>
    </library>
    <dataSource id="batchDB" isolationLevel="TRANSACTION_REPEATABLE_READ" syncQueryTimeoutWithTransactionTimeout="false">
        <jdbcDriver libraryRef="DerbyLib"/>
        <properties.derby.embedded createDatabase="create" databaseName="${server.config.dir}/resources/RUNTIMEDB" password="pass" user="user"/>
    </dataSource> 

    <!-- Posgres DB Entries 
    <dataSource id="PostgresSample" jndiName="jdbc/SKLocal" type="javax.sql.XADataSource">
       <jdbcDriver javax.sql.XADataSource="org.postgresql.xa.PGXADataSource"  libraryRef="PostgresJDBCLib"/>
          <properties databaseName="postgres" password="****" portNumber="5433" serverName="localhost" user="postgres"/>
   </dataSource>   
   <library id="PostgresJDBCLib">
    <fileset dir="${server.config.dir}/resources/posgres" includes="*.jar"/>
   </library>-->

    <!-- Posgres DB Entries END -->
    <!-- DB2 Data Source Starts -->
    <dataSource connectionSharing="MatchOriginalRequest" id="DB2DataSource" jndiName="jdbc/db2" type="javax.sql.XADataSource">
      <jdbcDriver javax.sql.XADataSource="com.ibm.db2.jcc.DB2XADataSource" libraryRef="DB2JCC4Lib"/>      
       <!--  <properties.db2.jcc databaseName="IDSSTG" password="****" portNumber="50000" serverName="****" user="****"/>-->
       <properties.db2.jcc databaseName="PNENDB2" password="****" portNumber="50000" serverName="****" user="****"/>
    </dataSource>
    <library id="DB2JCC4Lib">
      <fileset dir="${server.config.dir}/resources/db2" includes="*.jar"/>
     </library>
    <!--  DB2 Data Source Ends -->

    <library id="cacheLibrary">
          <fileset dir="${server.config.dir}/resources/cache" includes="*.jar"/>
    </library>        

   <application id="myapp" location="ReadingFromDBSampleWAR.war" name="ReadingFromDBSampleWAR" type="war">
     <classloader commonLibraryRef="cacheLibrary"/>
   </application>

    <applicationMonitor updateTrigger="mbean"/>

    <webApplication id="ReadingFromDBSampleWAR" location="ReadingFromDBSampleWAR.war" name="ReadingFromDBSampleWAR"/>
</server>
EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2016-05-25 14:47:32

更新:

看起来这个问题和8559相似。http://www-01.ibm.com/support/docview.wss?uid=swg1PI52094

如果你更新到一个8559版的自由,这应该可以解决你的问题。https://developer.ibm.com/wasdev/downloads/

附加信息:

查看所有自由特性的链接:feat.html

这是指向batchManagement特性的链接:batchManagement-1.0.html

从链接中可以看到servlet-3.1和批处理-1.0是由batchManagement特性启用的。然后,如果您查看servlet-3.1的文章,您将看到adminCenter-1.0也是由该特性启用的。

票数 1
EN

Stack Overflow用户

发布于 2016-05-26 13:05:39

这是指向Fixpack 8.5.5.9 for Here的链接,

http://www-01.ibm.com/support/docview.wss?uid=swg24041819#Liberty

使用与自由安装方式相匹配的固定包。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37440242

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档