BESX Web portals: Page cannot be displayed

Hi,

The Blackberry Administration Service and Blackberry Web Desktop Manager pages are showing up as "Page cannot be displayed"

When opening the 'Administration Service - High Avaliability' tab in the BlackBerry Server Configuration, I get an error popup saying "Error writing to database".

I have checked the AS logs and this seems to be happening:
LifecycleException:  Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:18180

Anyone got any suggestions?

Thanks
antoniokingAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SriHarsha KTechnical Services SpecialistCommented:
Hi antonioking,

Which version on Blackberry are you using.
Where is the SQL database located, on the same server or different.

Are the Blackberry Administration Service services running under BESAdmin account.
- How much memory utilization is the BAS-AS service consuming? usually it should be using aroung 600MB.

 - How many versions of JAVA JRE n JDK installed on the machine running Blackberry.

kindly answer the above questions,

Thank You
0
antoniokingAuthor Commented:
Hi,

We are using BlackBerry 5.0.4 and the SQL is located on the same server.

The Administration Service keeps stopping at around 350MB under the BESAdmin account.

Java installed:
Java 7 update 6
Java 7 update 6 (64 Bit)
Java 6 update 31
JDK 6 update 31

Thanks
0
SriHarsha KTechnical Services SpecialistCommented:
Its recommended to hve only one version on Java JRE n JDK on the server running Blackberry.

what version of Java is the sever talking. java-version
and
What version of java was it pointing in th registry for Blackberry MDS, BAS-As and BAS-NS keys.
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

SriHarsha KTechnical Services SpecialistCommented:
Install only one version of java.

Java 6 update 31... JRE n JDK..

Uninstall the remaining versions of java, restart the server and then install a free Jre n JDK files.

Follow the bellow articl completely.

http://btsc.webapps.blackberry.com/btsc/viewdocument.do;jsessionid=8A2C6C4666D93C99A992B87DF352B42F?externalId=KB17872&sliceId=2&cmd=displayKC&docType=kc&noCount=true&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl

Let me know th status once the above action is completed.

Usually BAS-AS will be taking around 600MB n then u can open the console without any issue.
0
antoniokingAuthor Commented:
Hi,

Where can I check the version/registry keys?

Thanks
0
SriHarsha KTechnical Services SpecialistCommented:
Three main registry keys.

•HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service

•HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS
•HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-NCC
0
SriHarsha KTechnical Services SpecialistCommented:
Everything is clearly mentioned in this article.

Article ID: KB17872 ....


If you are using ur server just for BES then deleted all th java versions from Add/Remov programs and install Java JRE and JDK 6 update 31.

http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html#jre-6u29-oth-JPR
0
antoniokingAuthor Commented:
They are all pointing through 1.6.0_31.

Thanks
0
SriHarsha KTechnical Services SpecialistCommented:
Then please confirm the current settings:
•For Windows 2003 Servers:
a.Open a command prompt on the BlackBerry Enterprise Server by clicking Start > Run
b.Type cmd
c.In the command prompt window typejava -version(this will report the current version).

•For Windows 2008 Servers:
a.On the BlackBerry Enterprise Server, browse to C:\Program Files\Java\<version>\bin\client.
b.Right-click jvm.dll and select Properties.
c.Click on the Details tab and select Product Name.

for java version 6 update 31 in the path  
C:\Program Files\Java\<version>\bin\client, do u see the JVM.dll file??
0
antoniokingAuthor Commented:
I can confirm the JVM file is there and it has Java 6 U31 in the product name.

The services will now not start, I need to restart the server, but have clients needing the server running until 5pm.

Thanks
0
SriHarsha KTechnical Services SpecialistCommented:
But just to make sure, can you please uninstall all the Java version and install a fresh copy of Jre and Jdk 6 update 31.

and

For BlackBerry Enterprise Server 5.0 to 5.0 SP4, the Java JCE Jurisdiction Policy Files will need to be replaced. Complete the following:


a.Download the Java JCE Jurisdiction Policy Files from Oracle's Sun Developer Network website: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
Note: The download is a zip file so the files will need to be extracted to a common location. Two files will be needed: Local_Policy.jar and US_export_policy.jar.
b.Navigate to the installation directory of Java JRE and locate the \lib\security directory and replace the Local_policy.jar and US_export_policy.jar files.
c.Navigate to the installation directory of Java JRE and locate the lib\security\jcedirectory and replace the Local_policy.jar and US_export_policy.jar files.
d.Navigate to the installation directory for Java JDK and locate the jre\lib\security directory replace the Local_policy.jar and US_export_policy.jar files.
e.Navigate to the installation directory for Java JDK and locate the jre\lib\security\jcedirectory replace the Local_policy.jar and US_export_policy.jar files.
0
SriHarsha KTechnical Services SpecialistCommented:
OK then you can perform the activity as per the RIM KB after 5pm if its ok for you...
0
antoniokingAuthor Commented:
Hi, Thanks for the help.

I followed the KB actions and found that the following parts were missing in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry Collaboration Service
HKEY_LOCAL_MACHINE\ SOFTWARE\ Wow6432Node\Apache Software Foundation\Procrun 2.0\BBMonitoringConsole\Parameters\Java
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Procrun 2.0\BBMonitoringConsole\Parameters\Java

And these were missing from the Program Files:

c. Navigate to the installation directory of Java JRE and locate the lib\security\jcedirectory and replace the Local_policy.jar and US_export_policy.jar files.
e. Navigate to the installation directory for Java JDK and locate the jre\lib\security\jcedirectory replace the Local_policy.jar and US_export_policy.jar files.

I restarted the services with no errors this time, however the BAS-AS stops at around 400,000 K.

Any suggestions
0
antoniokingAuthor Commented:
Hi,

I am also getting error listed below, in the RIM logs:

SSLServerSocket error
javax.net.ssl.SSLException: No available certificate or key corresponds to the SSL cipher suites which are enabled.

Thanks
0
SriHarsha KTechnical Services SpecialistCommented:
Hi Antonioking,

Sorry for th delay.

About the missing files thats fine.
Have you uninstalled all the previous versions and the installed the Jre and JDK files and then copied the then performed the 8th steps , replacing the keys which are present?

- a.Download the Java JCE Jurisdiction Policy Files from Oracle's Sun Developer Network website: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
Note: The download is a zip file so the files will need to be extracted to a common location. Two files will be needed: Local_Policy.jar and US_export_policy.jar.


 REF- http://btsc.webapps.blackberry.com/btsc/viewdocument.do?externalId=KB32435&sliceId=2&cmd=displayKC&docType=kc&noCount=true&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl
0
antoniokingAuthor Commented:
I have removed the BESX server (following this guide...
http://btsc.webapps.blackberry.com/btsc/viewdocument.do?noCount=true&externalId=KB04096&sliceId=2&dialogID=1683692062&cmd=displayKC&docType=kc&stateId=0+0+1683684510&docTypeID=DT_SUPPORTISSUE_1_1&ViewedDocsListHelper=com.kanisa.apps.common.BaseViewedDocsListHelperImpl#Task%201)

I have also removed SQL Server 2008 R2 (As this holds the BB database)

I have followed this guide to install the BESX server software again...
http://www.commodore.ca/windows/exchange/blackberry/how-to-install-bes-express-exchange-2010-single-server.html

The BB AS console still fails to load, the services are running.
Most recent ERROR in the BBAS-AS log..
"(10/10 14:15:15:320):{WorkManager(2)-57} [org.jboss.resource.adapter.jms.inflow.JmsServerSession] Unexpected error delivering message delegator->JBossMessage[41687054857109513]:PERSISTENT, deliveryId=5"

Regards
0
SriHarsha KTechnical Services SpecialistCommented:
Most of the cases its an issue with the Java.

can you provide the comeplete set of BAS-As logs...


Also can you confirm me if you have performed all the steps mentioned below,

Complete the following steps:

< Delete all the versions of Java present and restart the server >

1.Download the updated Java JRE 6 x86 version to be installed on the BlackBerry Enterprise Server from Oracle's website: http://www.oracle.com/technetwork/java/javase/downloads/index.html

< I personally used to use Java 6 update 31 >


- Stop all Blackberry Services and change the start type to MANUAL.

- Install the Java version and then recheck if the Blackberry Registry keys are pointing to the installed JRE Version.

•HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service
•HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS
•HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-NCC


These keys path should be pointing to the below Java location of JVM.dll file.
 
•For Windows 2008 Servers:
a.On the BlackBerry Enterprise Server, browse to C:\Program Files\Java\<version>\bin\client.
b.Right-click jvm.dll and select Properties.
c.Click on the Details tab and select Product Name.


•BlackBerry MDS Connection Service:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BlackBerry MDS Connection Service
a.Double-click the ImagePath string value.
b.Update the jvmpath variable to the updated location of the jvm.dll file.
Note: Do not change any other settings.
Note: The value of this REG_Expand_SZ should be similar to the following (some newer versions of Java are installed into \Java\jre6 directory , this is ok):
" C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\bin\bmds.exe" -s jvmpath="C:\Program Files\Java\jre1.6.0_02\bin\client\jvm.dll" -XX:+DisableExplicitGC -Xss128K -Xmx768M -Xms128M classpathdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\classpath\\" wrkdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\Servers\BESNAME1\\" webserverdir="C:\Program Files\Research In Motion\BlackBerry Enterprise Server\MDS\webserver\\" -rbes "BESNAME1_MDS-CS_1"
 

For BlackBerry Enterprise Server 5.0, update these Registry keys as well:
 
•BlackBerry Administration Service Application Server:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-AS\Parameters
a.Double-click the JVM Library string value.
b.Enter the updated location of the jvm.dll file.
Note: Do not change any other settings.
 
•BlackBerry Administration Service Native Code Container:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BAS-NCC\Parameters
•Double-click the JVM Library string value.
•Enter the updated location of the jvm.dll file.
Note: Do not change any other settings.

 
>For BlackBerry Enterprise Server 5.0 to 5.0 SP4, the Java JCE Jurisdiction Policy Files will need to be replaced. Complete the following:

a.Download the Java JCE Jurisdiction Policy Files from Oracle's Sun Developer Network website: http://www.oracle.com/technetwork/java/javase/downloads/jce-6-download-429243.html
Note: The download is a zip file so the files will need to be extracted to a common location. Two files will be needed: Local_Policy.jar and US_export_policy.jar.


.After making the above modifications and pointing to the updated versions of the jvm.dll file, the services can then be changed to Automatic and started.
0
antoniokingAuthor Commented:
I've fixed it.

The logs kept referring to this message...
"Address already in use: JVM_Bind:18180" which is the default HTTP port that the BB setup configures.

I stopped the BB AS service.
Opened the BB Server Configuration Panel, went to the AS High availability tab and changed the HTTP 18180 port to 18181.
Restarted the BB AS service.
After waiting around a minute I tested the BB AS website and all is well :)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SriHarsha KTechnical Services SpecialistCommented:
:) good to hear that...
U can get almost all th information in the logs...


Have a nice day..
0
antoniokingAuthor Commented:
Sorry I would love to award you the points but the solutions provided did not resolve the issue.
Thank you for all your time.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
BlackBerry Programming

From novice to tech pro — start learning today.