"BlackBerry Administration Service - Application Server" service shuts down after startup and prevents administration of the BlackBerry Enterprise Server

Article ID: KB22249

Type: Support Content

Last Modified: 12-19-2013

 

Product(s) Affected:

  • BlackBerry Enterprise Server for Microsoft Exchange
  • BlackBerry Enterprise Server for IBM Lotus Domino
  • BlackBerry Enterprise Server for Novell GroupWise
CollapseEnvironment
  • BlackBerry Enterprise Server 5.0 to 5.0 SP4
  • DT 622976
CollapseOverview

The BlackBerry Administration Service - Application Server service (BAS-AS) shuts down a few minutes after the service is started. However, the BlackBerry Administration Service - Native Code Container service (BAS-NCC) remains started.

The following errors might appear in the BlackBerry Administration Service - Application Server (BBAS-AS) logs:

*** Start of original stack trace ***

javax.naming.NameNotFoundException: null not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:581)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:589)
at org.jnp.server.NamingServer.getObject(NamingServer.java:595)
at org.jnp.server.NamingServer.lookup(NamingServer.java:342)
at org.jnp.server.NamingServer.lookup(NamingServer.java:316)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(Unknown Source)
...
...
(05/04 10:15:42:796):{main} [com.rim.bes.bas.timermanager.TimerManagerStartup] [FATAL] [BBAS-4005] {unknown} start error occuring when trying to perform startup operations for the timer

*** Start of original stack trace ***

com.rim.bes.bas.util.BASCouldNotCompleteRequestRollbackException: registerClusterMembershipListener Failed to register cluster membership listener, javax.naming.NameNotFoundException: null not bound
at com.rim.bes.bas.util.EJBUtilities.registerClusterMembershipListener(EJBUtilities.java:970)
at com.rim.bes.bas.timermanager.TimerManagerStartup.start(TimerManagerStartup.java:93)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)

[STDERR] [ERROR] java.lang.UnsatisfiedLinkError: Native Library D:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS\dll\BASWinDS.dll already loaded in another classloader

or

(06/06 15:00:04:006):{http-SERVER.NAME.LOCAL%2F192.168.36.1-664-1} [com.rim.bes.bas.asynchronousmanager.MessagingUtilities] [ERROR] [BBAS-3021] {u=SystemUser, t=1127} sendObjectMessage Cluster JBoss Messaging couldn't be started or has been stopped, a service restartmight fix the issue, but if the issue persists, likely there's an environmental issue needs to be addressed.
(06/06 15:00:04:006):{http-SERVER.NAME.LOCAL%2F192.168.36.1-664-1} [STDERR] [ERROR] 235920 [http-SERVER.NAME.LOCAL%2F192.168.36.1-664-1] INFO com.rim.beip.Beip - BEIP Disabled: send event:
com.rim.beip.CommonEvents$ErrorEvent@18cd061
(06/06 15:00:04:007):{http-SERVER.NAME.LOCAL%2F192.168.36.1-664-1} [com.rim.bes.bas.asynchronousmanager.AsynchronousManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=1127} Exit bean AsynchronousManagerBean.executeInNewTransactionLocal
(06/06 15:00:04:007):{SystemShutdownDueToClusterJBMNotAvailable} [STDOUT] [INFO] Resetting node state.


CollapseCause

The issue is a result of an incorrect value or the absence of a value in the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS\Parameters\JVM Option Number 8

The value should resemble the following:

-Djboss.partition.name= RIM_BES_BAS_HA_13463187_<Server name>

If the preface of -Djboss.partition.name= is missing, add it to the registry key

CollapseResolution

 This is a previously reported issue that is being investigated by our development team. No resolution time frame is currently available.

CollapseWorkaround

Modify or insert the correct value in the registry key. To determine the correct value, search the BlackBerry Configuration Database using the following steps:

  1. Open Microsoft SQL Server Management Studio Express.
  2. Connect to the Microsoft SQL Server instance that contains the BlackBerry Configuration Database.
  3. Expand Databases > BESMgmt > Tables.
  4. Right-click dbo.BASTraits, and select Open Table.
  5. Locate the row where TraitId = 35 and PluginId = 0, and copy the data in the Value column.

    For example, RIM_BES_BAS_13463187_SERVERNAME or RIM_BES_BAS_HA_13463187_SERVERNAME

  6. Paste the data from the previous step to the end of -Djboss.partition.name=

    For example, -Djboss.partition.name=RIM_BES_BAS_HA_13463187_SERVERNAME

  7. Insert or modify the value in the previous step for the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS\Parameters\JVM Option Number 8

    Note: In the row where TraitId =35 and PluginId = 0, the Traitkey value may differ for each BlackBerry Enterprise Server instance. However, the field should look like the example in the previous step, where the server host name is located at the end of the value. HA is not included in the value if the BlackBerry Enterprise Server does not operate in High Availability mode.

  8. Restart BlackBerry Administration Service - Application Server and BlackBerry Administration Service - Native Code Container services.
  9. Attempt to login to the BlackBerry Administration Service web console.

Disclaimer

By downloading, accessing or otherwise using the Knowledge Base documents you agree:

   (a) that the terms of use for the documents found at www.blackberry.com/legal/knowledgebase apply to your use or reference to these documents; and

   (b) not to copy, distribute, disclose or reproduce, in full or in part any of the documents without the express written consent of RIM.


Visit the BlackBerry Technical Solution Center at www.blackberry.com/btsc.