Thursday, January 11, 2007

CWLCB0020E Common Base Event browser with CEI produces CORBA NO_MEMORY exception


CWLCB0020E Common Base Event browser with CEI produces CORBA NO_MEMORY exception
 
 
Problem
You do not see any events and the Common Base Event browser displays the error "CWLCB0020E: The Common Event Infrastructure is unavailable" when retrieving many events. 
 
Cause
When a query is submitted for a large number of events, and the events are retrieved, the Java™ memory heap runs out of space and a java.rmi.RemoteException: CORBA NO_MEMORY exception is produced. 
 
Solution
Follow one of the two methods below to correct the problem:
Reduce the maximum number of events to retrieve from 500 to 100, then retrieve the next blocks of events using the time and date query.

OR
Increase the initial heap size and the maximum heap size by following these steps:
1. Start the WebSphere® Process Server administrative console.

2. Navigate to Servers > Application Servers.

3. Click server1.

4. Under Server Infrastructure, expand Java and Process Management.

5. Click Process Definition.

6. Click Java Virtual Machine.

7. Enter the changes in the initial Heap Size and maximum Heap Size fields.

8. Click OK and click Save.

Try the first option and you still encounter this problem then try the second one. It is a good idea to configure your environment with proper heap size settings to start with.

No comments: