I am looking to migrate my application to run on Liberty profile 8.5 instead of Websphere Application server 7.5. In this process, I need to do server configuration by setting up LDAP, Database source and JMS. As I am new to Liberty profile, I am looking for help in setting up these. May I get some suggestions from you to complete these settings?
1 Answers
This is a bit broad question, so I'll give you some pointers to documentation to get you started (There is no WAS 7.5, so you probably mean 7.0).
WebSphere Application Server Liberty Profile Guide for Developers - this will give you some basic general information to get you started with Liberty
Data source configuration - basic configuration is quite simple, you define it in
server.xml
file (you didn't mention which DB you are using, so here is sample with Derby)
<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>
For more specific information regarding migrating DB2 data sources see Migrating a DB2 data source to the Liberty profile
- LDAP configuration - basic configuration for 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>
For more details and other LDAP see Configuring LDAP user registries with the Liberty profile
JMS - as you didn't provide details, if you are acting as JMS server or client and which JMS provider are you using (default or MQ), check this page as starting point for JMS related configuration - Liberty profile: JMS messaging
Application migration - if you want to check, if there are any issues with your application code regarding migration, you can install plugin for Eclipse/RAD - WebSphere Application Server Migration Toolkit – Liberty Tech Preview which will scan your code for incompatibilities.

- 17,601
- 4
- 46
- 93
-
Thank You so much Gas for your responce and your explanation given me the answer and I will work with this and let you know results. Thaks once again – Venkata Ramireddy CH Sep 04 '14 at 06:29