PK36334: WTRN0016E LOGALLOCATIONEXCEPTION OCCURS DURING APPLICATION SERVER STARTUP.

 Fixes are available

5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for AIX
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for HP-UX
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Linux
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for AIX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for HP-UX
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Solaris
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Windows
5.1.1.18: WebSphere Application Server V5.1.1 Cumulative Fix 18 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Linux
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Solaris
5.1.1.17: WebSphere Application Server V5.1.1 Cumulative Fix 17 for Windows
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for AIX
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for Windows
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Solaris
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Windows
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Solaris
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Solaris
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for AIX
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Linux
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for Windows
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Windows
5.1.1.14: WebSphere Application Server V5.1.1 Cumulative Fix 14 for HP-UX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for AIX
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for HP-UX
5.1.1.16: WebSphere Application Server V5.1.1 Cumulative Fix 16 for Linux
5.1.1.15: WebSphere Application Server V5.1.1 Cumulative Fix 15 for Linux
5.1.1.19: WebSphere Application Server V5.1.1 Cumulative Fix 19 for HP-UX



APAR status
Closed as program error.

Error description
The following exception occurs at application server startup:

WTRN0016E: Exception caught during transaction service recovery!
com.ibm.ws.recoverylog.spi.LogAllocationException
 at
com.ibm.ws.recoverylog.spi.LogFileHandle.fileOpen(LogFileHandle.
java:248
)
 at
com.ibm.ws.recoverylog.spi.LogHandle.openLog(LogHandle.java:318)
 at
com.ibm.ws.recoverylog.spi.RecoveryLogImpl.openLog(RecoveryLogIm
pl.java:
471)
 at
com.ibm.ws.Transaction.JTA.RecoveryManager.initialise(RecoveryMa
nager.ja
va:226)
 at
com.ibm.ws.runtime.component.TxServiceImpl.initiateRecovery(TxSe
rviceImp
l.java:729)

The problem occurs whether or not the transaction logs exist in
the tranlogs folder.

Problem occurs after running the following command:
chatr +q4p enable
/usr/local/opt/WebSphere/AppServer/java/bin/PA_RISC2.0/java_q3p
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users of    *
*                 HP-UX                                        *
****************************************************************
* PROBLEM DESCRIPTION: WTRN0016E  LogAllocationException       *
*                      occurred during Application Server      *
*                      startup.                                *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The following exception occurred at application server startup:

WTRN0016E: Exception caught during transaction service recovery
!
com.ibm.ws.recoverylog.spi.LogAllocationException
at
com.ibm.ws.recoverylog.spi.LogFileHandle.fileOpen(LogFileHandle
.java:248)
at
com.ibm.ws.recoverylog.spi.LogHandle.openLog(LogHandle.java:318
)
at
com.ibm.ws.recoverylog.spi.RecoveryLogImpl.openLog(RecoveryLogI
mpl.java:471)
at
com.ibm.ws.Transaction.JTA.RecoveryManager.initialise(RecoveryM
anager.java:226)
at
com.ibm.ws.runtime.component.TxServiceImpl.initiateRecovery(TxS
erviceImpl.java:729)

The problem occurs whether or not the transaction logs exist
in the tranlogs folder.

The problem occurs after running the following command:
chatr +q4p enable
/usr/local/opt/WebSphere/AppServer/java/bin/PA_RISC2.0/java_q3p

The problem is caused because the tranlogs are handled using
MappedByteBuffer files. The MappedByteBuffer files can be
opened, but they cannot be memory mapped when the HP-UX system
is configured using the above command.
Problem conclusion
This fix introduces a new custom property that controls
whether the recovery service will use memory mapping or file
mapping to manage the recovery log files. The custom property
is called
com.ibm.ws.recoverylog.spi.NoMemoryMappedFiles and is set as
follows:
You will have to start the server using the old HP-UX settings
and
1. From the Administrative Console, select Servers->
Application Servers->server name
2. Make sure the Configuration Panel is selected
3. Click Process Definition
4. Click Java Virtual machine
5. Click Custom Properties  in the Additional Properties panel
6. Press the New button
7. Enter com.ibm.ws.recoverylog.spi.NoMemoryMappedFiles in the
Name, and true in value
8. Press OK and save the changes.
9. Restart the server using the new HP-UX settings.
If you do not set the property or set it to false, the
recovery service will continueto behave as previously.

The fix for this APAR is currently targeted for inclusion in
fixpack 5.1.1.14. Please refer to the Recommended Updates page
for delivery information:

http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980

This fix is not applicable to version 6 of WebSphere
Application Server.
Temporary fix Comments
APAR information
APAR number PK36334
Reported component name WEBSPHERE BASE
Reported component ID 5630A3600
Reported release 10H
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2006-12-15
Closed date 2007-01-22
Last modified date 2007-01-22

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
TRAN          

Publications Referenced

Fix information
Fixed component name WEBSPHERE BASE
Fixed component ID 5630A3600

Applicable component levels
R003 PSN    UP
R00A PSN    UP
R00H PSN    UP
R00I PSN    UP
R00P PSN    UP
R00S PSN    UP
R00W PSN    UP
R103 PSY    UP
R10A PSY    UP
R10H PSY    UP
R10I PSY    UP
R10P PSY    UP
R10S PSY    UP
R10W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 10H
Software edition:
Reference #: PK36334
IBM Group: Software Group
Modified date: Jan 22, 2007