Posts

A CWWIM4538E multiple principals error displays while starting IBM Business Process Management (BPM) and server does not start properly

Image
Problem(Abstract) When you attempt to start IBM Business Process Manager, it does not start properly and the CWWIM4538E error message is logged. Symptom You might see either or both of the following exceptions in the SystemOut during the start of IBM Business Process Manager: CWWIM4538E Multiple principals were found for the 'admin' principal name. CWSIA0004E: The authentication for the supplied user name admin and the associated password was not successful The CWWIM4538E message occurs when a user exists in more than one security provider. The CWSIA0004E message can occur when a the system user or administrator attempts to login and start the IBM Business Process Manager system. With multiple users present, IBM Business Process Manager cannot start properly. Cause IBM Business Process Manager ships with default internal users. These users might also be present in the LDAP system. If an overlap of users happen...

MaxResultsExceededException occurs during LDAP repository search

​ Follow the steps listed here to troubleshoot when a MaxResultsExceededException occurs. Problem The following or similar MaxResultsExceededException occurs when retrieving search results from the LDAP server: com.ibm.websphere.wim.exception.MaxResultsExceededException: CWWIM1018E search results exceeds the 4500 maximum search limit. This exception is thrown when the number of entries in the search results retrieved from the LDAP server exceeds the value of the maxSearchResults parameter specified in wimconfig.xml file. Solution When your application calls the virtual member manager search() method, use the countLimit parameter to pass a value to truncate search results when that value is reached. In the following sample data graph, the countLimit is set to 4, which means that the results are truncated when 4 entries are retrieved from the LDAP server. <sdo:datagraph xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance " xmlns:sdo="commo...

Batch file to delete files older than n day in a directory

forfiles -p "Path" -s -m  .  -d -( no of days ) -c "cmd /c del @path "

Increase Java Heap size for OBIEE 11g servers

Image
In order to increase heap size for Admin Server and Managed Server (bi_server1) we need to configure it for 2 places 1.Change Heap values at   setDomainEnv.sh   (for Admin Server) 2.Provide Java Arguments at Console (for bi_server1) Navigate to <MiddlewareHome>/user_projects/domains/bifoundation_domain/bin Open   setDomainEnv.sh If you are using 64 bit Server ,then change values for XMS_SUN_64BIT and XMX_SUN_64BIT like below XMS_SUN_64BIT="2048″ export XMS_SUN_64BIT XMS_SUN_32BIT="256″ export XMS_SUN_32BIT XMX_SUN_64BIT="4096″ export XMX_SUN_64BIT XMX_SUN_32BIT="512″ export XMX_SUN_32BIT To increase Heap size for Managed Server (bi_server1) ,log in to Console http://host_name:7001/console Navigate to Servers->bi_server1->Server Start now set   Arguments   to -Xms2048m -Xmx4096m -XX:PermSize=512m -XX:MaxPermSize=1024m ex:    Single place change You can change the default JVM heap size for the Administration Server and Managed Servers by setting the USER_M...

Unable to Load Cognos Module 64bit when starting Apache Web server services.

Technote (troubleshooting) Problem(Abstract) After applying the steps to utilize the Cognos Module in the Installation and Configuration Guide for a 64bit install, the Apache Web server fails to load the Cognos Module. Symptom Exact Error message when starting Apache services, after the httpd.conf file was modified: Starting httpd: httpd: Syntax error on line 205 of /etc/httpd/conf/httpd.conf: Cannot load  ../c10_64/cgi-bin/mod2_2_cognos.so into server:  ../c10_64/cgi-bin/mod2_2_cognos.so: wrong ELF  class: ELFCLASS32 Cause The Apache Web Server is 64-bit but the current Cognos gateway libraries are 32-bit. Environment Unix Resolving the problem To Enable the 64-bit web gateway follow the steps below: 1. Go to the c10_location/cgi-bin. 2. Type the following command: On UNIX or Linux operating systems, type ./copyGateMod.sh 64bit On Windows operating systems, type copyGateMod.bat 64bit Once the above command is run successfully, the 64-bit gateway files are copied from the c10_location/...

Cannot install Cognos BI using issetup on Linux. libXm.so.4 is missing.

Technote (troubleshooting) Problem(Abstract) During the installation of Cognos Business Intelligence, the following error message is generated when a required openmotif package is missing or is not at the required version level: "Error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory" Resolving the problem Scenario 1: OpenMotif package is missing For Cognos 10.2, you must install both the 32-bit and 64-bit OpenMotif packages. For Cognos Business Intelligence 8.4.x and Cognos Business Intelligence 10.1.x, only the 32-bit OpenMotif package is required. Depending on the Linux distribution version, you must install one of the following packages: openmotif.x86_64 (RHEL) openmotif.i386 (RHEL5) openmotif.i686 (RHEL6) openmotif (SLES) openmotif-libs-32bit (SLES) Note: For SLES distributions, the OpenMotif libraries can be found at...

Installing IBM Cognos 10.2.1 Business Intelligence on CentOS 6.5

I've started compiling some instructions for installing IBM Cognos 10.2.1 Business Intelligence onto a minimal installation of CentOS 6.5. It's mostly been going well up until the point of configuring the Cognos Connection website on Apache.  At that point it seems to be struggling with loading the mod2_2_cognos.so file.  If anybody finds this page and has found a way around this please comment as it's doing my head right in at the moment! Likewise if you see something you think I'm doing wrong below I'd be very happy to hear from you. For now though here's what I did: I've completed the entire installation from a remote command line using the ssh -X command so that graphical output is redirected to my computer. Creating the service account Create "cognos" user. useradd cognos set his password passwd cognos  Installing a Desktop Environment Annoyingly you'll need the a Desktop Environment as the Cognos installer appears to require this. sudo  y...