Welcome to Port3101.org : Your BES Connection Mark forums read | View Forum Leaders
Port3101.org : Your BES Connection



Reply
LinkBack (1) Thread Tools Display Modes
KB19076 - Page cannot be displayed and the BAS will not stay started
 
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 07-30-2009, 04:13 PM
hdawg's Avatar
Proprietor
 
Join Date: Nov 2008
Posts: 2,238
Blog Entries: 147
Default KB19076 - Page cannot be displayed and the BAS will not stay started

KB19076 - Page cannot be displayed and the BAS will not stay started


Environment

  • BlackBerry® Enterprise Server version 5.0
  • BlackBerry Administration Service
  • Microsoft® SQL Server® 2005



Overview

If this issue is being experienced, the BlackBerry Administration Service - Application Server (BAS-AS) service will continuously restart. Also, you will not be able to log in to the web console.
The BAS-AS logs will display the following:
Caused by: org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: Cannot open database "" requested by the login. The login failed.)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalMan agedConnectionFactory.java:179)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(Int ernalManagedConnectionPool.java:577)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConn ectionPool.java:262)
(date):{main} [com.rim.bes.bas.authenticationmanager.AuthenticationManagerUtilities] [FATAL] [BBAS-4001] {unknown} initializeCredentialCacheAsRequired could not read credentials for BAS-AS, com.rim.bes.bas.util.BASCouldNotCompleteRequestRollbackException: Caught unhandled RuntimeException in org.jboss.ejb3.EJBContainerInvocation method getAuthenticationCredentialsLocal - org.hibernate.exception.GenericJDBCException: Cannot open connection



Cause

There is another instance on the Microsoft SQL Server that is using the port that the BlackBerry Administration Service - Application Server is configured to use.




Resolution

1) On the Microsoft SQL server, access Start -> Run -> CMD -> type netstat -an
2) Choose a port not currently in use, to confirm this, type the following command, netstat -an | find ":"

When a port is chosen, complete the following steps:

1) On the Microsoft SQL Server, access Start -> All Programs -> Microsoft SQL Server 2005 -> Configuration Tools -> SQL Server Configuration Manager
2) Expand SQL Server 2005 Network Configuration, and select " Protocols for "
3) Double-click TCP/IP -> IP Addresses tab.
4) Navigate to the IPALL section, type the new port number chosen in the TCP Port field. Ensure that the TCP Dynamic Ports field is blank. when using netstat, Apply and OK.

NOTE: If necessary, in the IP1, and IP2 blocks, type the same port number in TCP Port fields.

5) Restart the Microsoft SQL Server instance Service, and ensure the SQL Server Browser Server Service is running.
6) On the BlackBerry Enterprise Server, go to Start -> All Programs -> BlackBerry Enterprise Server -> BlackBerry Server Configuration.
7) On the Database Connectivity Tab, ensure that Use dynamic ports or specify SQL port is not checked, and type your new port number in the field provided.
8) Stop the following BlackBerry Enterprise Server services:

  • BlackBerry Router
  • BlackBerry Dispatcher
  • BlackBerry Controller
  • BlackBerry Administration Service - Application Server
  • BlackBerry Administration Service - Native Code Container
9) Start the services in the same order. If the other BlackBerry Enterprise Server services do not start automatically, start them manually.
__________________
http://blog.port3101.org/hdawg/

The views expressed by me on Port3101 and its affiliated sites are my own and do not necessarily reflect the views of my employer.
Reply With Quote
Sponsored Links
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.port3101.org/featured-blackberry-kb-articles/1604-kb19076-page-cannot-displayed-bas-will-not-stay-started.html
Posted By For Type Date
BES 5.0 SP2 Part 2 Patrick’s Blog This thread Refback 07-25-2011 07:17 AM


All times are GMT -4. The time now is 08:35 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.


 

SEO by vBSEO 3.3.2 PL2