If you have a ldap seach problem with user whose names contain non-ASCII character,such as Turkish or Cyrillic characters like this error:
[1/26/10 18:59:56:592 EET] 000000b6 WMM Trace Log 1 com.ibm.ws.wmm.ldap.LdapRepositoryImpl Attributes getAttributes(String name, String[] attrIds) The following exception was logged com.ibm.websphere.wmm.exception.MemberNotFoundException: LDAP DN “cn=ipek sari,ou=xxx,o=xx” is not found.
This is caused during the authentication process, Webspher Portal binds with the DN of the user against the Domino LDAP server version Lotus Domino 8.0.x , using the DN converted to lower case. If the LDAP server is unable to resolve the lower case DN, then the bind fails and the user fails to authenticate.
We have fixed this problem with;
1.) Open the names.nsf in Notes Designer Client
2.) Locate the $LDAPRDNHier view
3.) Right click on the view and select “Design properties”
4.) On the third tab select “Unicode standard sorting” and close the design properties
5.) On the Domino server console run “updall -R -T $LDAPRDNHier names.nsf” to rebuild the view
I would also suggest restarting the Domino server after the change to ensure it is implemented.
How to enable lazy load of portlet applications during Portal startup
Abstract
This technote describes how to enable and disable the startup of administrative and sample portlets during Portal startup to speed up the server start and reduce the Portal memory footprint.
Content
WebSphere Portal 6.1.0.2 introduces a new configuration task to enable and disable the lazy load of administrative and sample Portlet Applications. When enabled the applications are not loaded during startup of the server but when accessed for the first time
Read IBM TechNote
If you want jsp files to reload automaticly you can change this value :
goto “was_profile_root/config/cells/cell_name/applications/wps.ear /deployments/wps/wps.war/WEB-INF/ibm-web-ext.xmi” folder. change “reloadingEnabled” to “true” .To active this setting you have to restart portal server.
Network related Commands
1)
a) dig (domain information groper) – is a flexible tool for interrogating DNS name servers.
b) nslookup – Queries a name server for a host or domain lookup.
c) host – DNS lookup uility.
The below example shows the information like CNAME , Aliases, ipaddres , etc about www.google.com
a) dig
bash-2.05b# dig www.google.com
; <<>> DiG 9.2.4 <<>> www.google.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1088
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 7, ADDITIONAL: 0
Yazının tamamını okuyun (read more) »
Java Class finder with a UNIX command:
Java Class finder with a UNIX command
Being a Java developer or Java based Application server administrator like WebSphere or WebLogic , i am sure you should have come across this exception ” Error: java.lang.ClassNotFoundException ” which basically implies that the JVM is unable to find a definition for your class. It is usually resolved by adding the jar file that contains the class to the classpath or packaging the jar file along with your EAR or WAR file or placing the jar file in the right locations so that your Application Server classloader can find and load the class . So inorder to indentify the .jar file where the class file is present , the following simple UNIX command will help us to indentify the jar file and take appropiate actions to resolve the issue .
Yazının tamamını okuyun (read more) »
Intention
Most HTTP Servers have configuration settings to control how many simultaneous connections they can handle. Once this limit is reached, additional connections will be queued or rejected until a thread becomes ready. In this case, users experience poor response time. Therefore, to avoid HTTP Server becoming the bottleneck in your system, it is important to understand the settings which may affect the connection limit.
IBM HTTP Server includes a status monitor known as mod_status which can be accessed by browser to give a report of current active requests, like this:
Yazının tamamını okuyun (read more) »
Sometimes its necessary to synchronize the whole session between two (or more) cluster members. Especially when some important attributes are stored in the session (search,…).
WebSphere offers an option called “Session Replication” to avoid the lost of a session because of a crashed Cluster Member.
First you need to setup a replication domain for the cluster
1.1. Go to Enviroment > Replication domains > New
1.2. Type in the name of the replication domain and click OK
1.3. Save & synchronize changes
Yazının tamamını okuyun (read more) »
Question
You need to have a batch tool to reassign Web Content Management item-level security settings.
For example: Your LDAP groups were consolidated, which merges multiple groups into a single group. Your Web Content Management (WCM) items are assigned group access, but you need to update thousands of WCM content items, sites, and so on, to accommondate the group changes.
Yazının tamamını okuyun (read more) »