我期待将我的应用程序迁移到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