我期待將我的應用程序遷移到Liberty配置文件8.5而不是Websphere Application Server 7.5上運行。在這個過程中,我需要通過設置LDAP,數據庫源和JMS來進行服務器配置。由於我是Liberty簡介的新手,我正在尋求幫助來設置這些配置。我可以從你那裏得到一些建議來完成這些設置嗎?如何將WAS 7.5遷移到Liberty Profile 8.5?
0
A
回答
0
這是一個有點寬泛的問題,所以我會給你一些文檔的指針,讓你開始(沒有WAS 7.5,所以你可能意味着7.0)。
WebSphere Application Server Liberty Profile Guide for Developers - 這會給你你開始與自由
數據源配置一些基本的一般信息獲取 - 基本配置是相當簡單的,你在
server.xml
文件中定義它(你沒有提到其中DB你正在使用,所以這裏是德比樣品)
<library id="derby"> <fileset dir="${shared.resource.dir}/derby"/> </library> <jdbcDriver id="derbyDriver" libraryRef="derby"/> <dataSource jdbcDriverRef="derbyDriver" jndiName="jdbc/DataSourceJNDI" type="javax.sql.ConnectionPoolDataSource"> <properties.derby.embedded createDatabase="false" databaseName="D:\path\DB"/> </dataSource>
更具體的信息關於遷移DB2數據源看 Migrating a DB2 data source to the Liberty profile
- LDAP配置 - 爲MS Active Directory的
<ldapRegistry id="ldap" realm="SampleLdapADRealm" host="ldapserver.mycity.mycompany.com" port="389" ignoreCase="true" baseDN="cn=users,dc=adtest,dc=mycity,dc=mycompany,dc=com" bindDN="cn=testuser,cn=users,dc=adtest,dc=mycity,dc=mycompany,dc=com" bindPassword="testuserpwd" ldapType="Microsoft Active Directory"> <activedFilters userFilter="(&(sAMAccountName=%v)(objectcategory=user))"&(sAMAccountName=%v)(objectcategory=user))" groupFilter="(&(cn=%v)(objectcategory=group))" userIdMap="user:sAMAccountName" groupIdMap="*:cn" groupMemberIdMap="memberOf:member"> </activedFilters> </ldapRegistry>
基本配置對於更多的細節和其他LDAP見Configuring LDAP user registries with the Liberty profile
JMS - 因爲你沒有提供詳細信息,如果您是您使用(默認或MQ)作爲JMS服務器或客戶端和JMS提供者,請在此頁面作爲起點JMS相關的配置 - Liberty profile: JMS messaging
應用程序遷移 - 如果您想檢查,如果您的應用程序代碼與遷移有任何問題,您可以安裝Eclipse/RAD插件 - WebSphere Application Server Migration Toolkit – Liberty Tech Preview,它將掃描您的代碼以查找不兼容性。
相關問題
- 1. WAS 6到WAS 8.5遷移
- 2. Websphere 8.5 Liberty Profile - Servlet API setLocale
- 3. Worklight Studio + WAS Liberty Profile 8.5.5 =>在WAS ND 8.5.5上部署
- 4. Liberty遷移
- 5. 如何在WebSphere 8.5 Liberty Profile中定義自定義DataStoreHelper
- 6. 如何使用Websphere Liberty Profile 8.5中定義的數據源?
- 7. 以編程方式配置WebSphere 8.5 Liberty Profile的方法?
- 8. 部署到不使用jax-ws的WAS Liberty Profile
- 9. 在WAS ND 8.5上啓用Liberty配置文件時出錯
- 10. 從Tomcat遷移到WAS
- 11. IBM WAS 8.0到8.5.5遷移
- 12. Liberty Profile + Servlet 2.4
- 13. 安裝管理器下載的WAS Liberty Profile和WAS之間的主要區別
- 14. 如何在遠程調試模式下啓動WAS Liberty Profile服務器。
- 15. 如何將CORS支持添加到WAS Liberty中的REST API中
- 16. 如何將網站從一臺機器上的IIS 7.5遷移到另一臺機器上的IIS 8.5上?
- 17. WAS Liberty - 如何觸發JAAS模塊?
- 18. 遷移從Tomcat 6.0到WebSphere 8.5
- 19. Liberty Profile是否支持RMI調用
- 20. Liberty Profile和Apache HttpClient 4.2.1
- 21. 握手提醒:Unrecognized_name Liberty Profile
- 22. 將多個DataSource轉換爲Websphere Liberty Profile
- 23. NoClassDefFoundError:在Web Sphere Liberty Profile
- 24. 從IIS 6遷移到IIS 7.5與MSDeploy
- 25. 如何在WebSphere Liberty Profile中啓動管理控制檯
- 26. Liberty Profile 8.5.5 WebAppSecurityCollaboratorImpl.isUserInRole錯誤
- 27. Jersey Liberty Profile上的JAXB json
- 28. WAS Liberty中導致:java.lang.NoClassDefFoundError:com/ibm/CORBA/iiop/ORB
- 29. SRVE0274W - JSF 2.2。在WAS Liberty 8.5.5.3
- 30. Liberty Profile爆炸目錄
非常感謝你的迴應,並且你的解釋給了我答案,我會和你一起工作,讓你知道結果。 Thaks再次 – 2014-09-04 06:29:44