Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
Reply
Contributor
spaceyme
Posts: 24
Registered: 01-22-2009

Application Server service terminated unexpectedly

[ Edited ]

New installation of BES-X on SBS 2003 Server.


Installation all went through OK, however cannot administer the BES-X server as IE admin page blank.

Discovered the The BlackBerry Administration Service - Application Server service keeps failing.

 

It will start and chew up lots of CPU time & memory but then stop after approx. 1 minute, (BAS-AS.exe will disappear from task manager).

 

Event Viewer says:

The BlackBerry Administration Service - Application Server service terminated unexpectedly.

 

BBAS-AS logs mention these which may be of note:

[WARN] Problem starting service jboss:service=RIM_BES_BAS_HA_33879984_SBSSVR
org.jgroups.ChannelException: failed to start protocol stack

 

(03/30 12:39:17:843):{main} [org.jboss.system.ServiceController] [WARN] Problem starting service jboss.cache:service=EJB3EntityTreeCache
org.jgroups.ChannelException: failed to start protocol stack

 

The logs are huge so I won't post the whole thing.

 

Any ideas? I'm thinking it's Java related - the installation did install the Java components without issue however..

 

Tried to log the free incident twice but when submitting it fails right at the end (please RIM..)

Please use plain text.
New Contributor
rheide
Posts: 3
Registered: 03-31-2010
My Carrier: none

Re: Application Server service terminated unexpectedly

[ Edited ]

Exact same problem here (SBS 2003 as well)

Please post if you find a solution. I will as well.

Please use plain text.
New Contributor
rheide
Posts: 3
Registered: 03-31-2010
My Carrier: none

Re: Application Server service terminated unexpectedly

I got this working by going into the registry and reserving the following ports:

48858, 48857, 48855, 45588, 49955, 45599

 

Click Start, click Run, type regedit, and then click OK.

Locate and then click the following subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

Right-click ReservedPorts, and then click Modify.

Paste the following at the bottom

48855-48858
45588-45588
49955-49955
45599-45599

 

Restart the server

 

Once you go to the web admin, you will think its not going to work but hang tight, give it a few seconds and you will be surprised!!

 

 

Please use plain text.
Guru II
knottyrope
Posts: 20,189
Registered: 06-25-2008
My Carrier:

I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: Application Server service terminated unexpectedly

Thanks for sharing your solution.

 

 

Click on "Accept as Solution" if your problem is solved. To give thanks, click on thumbs up

Click here to search the Knowledge Base at BTSC and click here to Read The Fabulous Manuals
BES 4.1.7 MR3, SQL 2005, Exch 03 with 240 users. Follow me on Twitter
BESAdmin's, please make a signature with your BES environment info. Others add device, OS and carrier info.
BB Unlocking FAQ

Please use plain text.
Contributor
spaceyme
Posts: 24
Registered: 01-22-2009

Re: Application Server service terminated unexpectedly

Well, I just ended up re-installing the entire thing and guess what? it worked..

Please use plain text.
Guru II
knottyrope
Posts: 20,189
Registered: 06-25-2008
My Carrier:

I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier

Re: Application Server service terminated unexpectedly

Glad to hear it.

 

 

Click on "Accept as Solution" if your problem is solved. To give thanks, click on thumbs up

Click here to search the Knowledge Base at BTSC and click here to Read The Fabulous Manuals
BES 4.1.7 MR3, SQL 2005, Exch 03 with 240 users. Follow me on Twitter
BESAdmin's, please make a signature with your BES environment info. Others add device, OS and carrier info.
BB Unlocking FAQ

Please use plain text.
New Contributor
geekzinc
Posts: 3
Registered: 04-08-2010
My Carrier: verizon

Re: Application Server service terminated unexpectedly

Thank you, thank you!

But where did you get those port numbers from?

I've been banging my head against this for 2 days, and this is the first an only time I've seen this answer...

and I am delighted that it works!

Please use plain text.
New Contributor
Baresi
Posts: 4
Registered: 04-23-2010
My Carrier: BT

Re: Application Server service terminated unexpectedly

Likewise!!!  It worked for me too.

I can't thank you enough.

:manhappy:

Please use plain text.
Fal
New Member
Fal
Posts: 1
Registered: 05-11-2010
My Carrier: TMO-H

Re: Application Server service terminated unexpectedly

You don't need restart the server. It is the DNS Server service competing with the BAS-AS for the ports, so it is enough to reserve the ports in the registry, stop the DNS Server service, stop the BAS-AS, start the DNS service, start the BAS-AS - and it works.

 

 

 

Please use plain text.
Developer
Alan_Hollis
Posts: 53
Registered: 11-13-2009

Re: Application Server service terminated unexpectedly

Thanks for sharing this. Worked for me too.

Please use plain text.