Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® Enterprise Service 10

Reply
Contributor
Cyriel
Posts: 19
Registered: ‎08-26-2008
My Device: Not Specified
Accepted Solution

can not enter administration server: the application has encountered a system error

Hi,

 

After the upgrade to bes 5.0 we cna not enter the administration cetner on any of our servers. The error we get on the screen is the application has encountered a system error.

 

The error we get in the logs:

 

org.apache.hivemind.ApplicationRuntimeException: subPageInit getOrganizationBrandingSessionCommand failed
 at com.rim.bes.bas.web.console.pages.login.Login.subPageInit(Login.java:1046)
 at com.rim.bes.bas.web.adminconsole.pages.login.Login.subPageInit(Login.java:129)
 at com.rim.bes.bas.web.common.BASBasePage.onPageInit(BASBasePage.java:1260)
 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)
 at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeTargetMethod(ListenerMethodInvokerImpl.java:214)
 at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:155)
 at org.apache.tapestry.listener.ListenerMethodInvokerImpl.searchAndInvoke(ListenerMethodInvokerImpl.java:124)
 at org.apache.tapestry.listener.ListenerMethodInvokerImpl.invokeListenerMethod(ListenerMethodInvokerImpl.java:69)
 at org.apache.tapestry.listener.SyntheticListener.actionTriggered(SyntheticListener.java:51)
 at org.apache.tapestry.listener.ListenerInvokerTerminator.invokeListener(ListenerInvokerTerminator.java:51)
 at $ListenerInvoker_122ab778906.invokeListener($ListenerInvoker_122ab778906.java)
 at $ListenerInvoker_122ab778905.invokeListener($ListenerInvoker_122ab778905.java)
 at org.apache.tapestry.components.InvokeListener.renderComponent(InvokeListener.java:41)
 at $InvokeListener_13.renderComponent($InvokeListener_13.java)
 at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
 at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
 at $BaseComponent_2.renderComponent($BaseComponent_2.java)
 at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
 at org.apache.tapestry.AbstractComponent.renderBody(AbstractComponent.java:434)
 at org.apache.tapestry.html.Body.renderComponent(Body.java:129)
 at $Body_21.renderComponent($Body_21.java)
 at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
 at org.apache.tapestry.BaseComponent.renderComponent(BaseComponent.java:92)
 at org.apache.tapestry.AbstractComponent.render(AbstractComponent.java:617)
 at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:275)
 at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:366)
 at org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:71)
 at $ResponseRenderer_122ab7788f0.renderResponse($ResponseRenderer_122ab7788f0.java)
 at $ResponseRenderer_122ab7788ef.renderResponse($ResponseRenderer_122ab7788ef.java)
 at org.apache.tapestry.engine.PageService.service(PageService.java:68)
 at $IEngineService_122ab778a70.service($IEngineService_122ab778a70.java)
 at org.apache.tapestry.services.impl.EngineServiceInnerProxy.service(EngineServiceInnerProxy.java:77)
 at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:66)
 at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:248)
 at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:60)
 at $WebRequestServicer_122ab778a48.service($WebRequestServicer_122ab778a48.java)
 at $WebRequestServicer_122ab778a47.service($WebRequestServicer_122ab778a47.java)
 at com.rim.bes.bas.web.console.ObjectCacheServiceFilter.service(ObjectCacheServiceFilter.java:72)
 at $WebRequestServicerFilter_122ab778a46.service($WebRequestServicerFilter_122ab778a46.java)
 at $WebRequestServicerFilter_122ab778a45.service($WebRequestServicerFilter_122ab778a45.java)
 at $WebRequestServicer_122ab778a49.service($WebRequestServicer_122ab778a49.java)
 at com.rim.bes.bas.web.common.ServiceFilter.service(ServiceFilter.java:87)
 at $WebRequestServicerFilter_122ab778a44.service($WebRequestServicerFilter_122ab778a44.java)
 at $WebRequestServicerFilter_122ab778a43.service($WebRequestServicerFilter_122ab778a43.java)
 at $WebRequestServicer_122ab778a49.service($WebRequestServicer_122ab778a49.java)
 at $WebRequestServicer_122ab778a40.service($WebRequestServicer_122ab778a40.java)
 at $WebRequestServicer_122ab778a3f.service($WebRequestServicer_122ab778a3f.java)
 at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:56)
 at $ServletRequestServicer_122ab778a26.service($ServletRequestServicer_122ab778a26.java)
 at $ServletRequestServicer_122ab778a25.service($ServletRequestServicer_122ab778a25.java)
 at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55)
 at $ServletRequestServicerFilter_122ab778a22.service($ServletRequestServicerFilter_122ab778a22.java)
 at $ServletRequestServicerFilter_122ab778a21.service($ServletRequestServicerFilter_122ab778a21.java)
 at $ServletRequestServicer_122ab778a27.service($ServletRequestServicer_122ab778a27.java)
 at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52)
 at $ServletRequestServicerFilter_122ab778a20.service($ServletRequestServicerFilter_122ab778a20.java)
 at $ServletRequestServicerFilter_122ab778a1f.service($ServletRequestServicerFilter_122ab778a1f.java)
 at $ServletRequestServicer_122ab778a27.service($ServletRequestServicer_122ab778a27.java)
 at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53)
 at $ServletRequestServicerFilter_122ab778a24.service($ServletRequestServicerFilter_122ab778a24.java)
 at $ServletRequestServicerFilter_122ab778a23.service($ServletRequestServicerFilter_122ab778a23.java)
 at $ServletRequestServicer_122ab778a27.service($ServletRequestServicer_122ab778a27.java)
 at $ServletRequestServicer_122ab77890e.service($ServletRequestServicer_122ab77890e.java)
 at $ServletRequestServicer_122ab77890d.service($ServletRequestServicer_122ab77890d.java)
 at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:123)
 at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:79)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
 at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Unknown Source)
Caused by: com.rim.bes.bas.command.CommandException: CommandException APPLICATION: com.rim.bes.bas.pluginmanager.NoPlugInModulesRegisteredException: com.rim.bes.bas.pluginmanager.NoPlugInModulesRegisteredException
 at com.rim.bes.bas.commands.pluginmanager.GetRegisteredPlugInModules.handleServerDoit(GetRegisteredPlugInModules.java:122)
 at com.rim.bes.bas.command.ServerCommand.handleDoit(ServerCommand.java:154)
 at com.rim.bes.bas.command.Command.doit(Command.java:247)
 at com.rim.bes.bas.web.console.pages.login.Login.subPageInit(Login.java:1031)
 ... 88 more

 

Any help would be appreciated.

Please use plain text.
Forums Veteran I
BBsingh
Posts: 1,546
Registered: ‎04-01-2008
My Device: 8120, Storm, 8200

Re: can not enter administration server: the application has encountered a system error

are there more logs after the line

...88 more?

*****************************************************************************
Click on KUDOS to appreciate our efforts and mark the thread RESOLVED if your issue is resolved.
Please use plain text.
Contributor
Speeder
Posts: 11
Registered: ‎07-27-2009
My Device: Not Specified

Re: can not enter administration server: the application has encountered a system error

Do you have your BES configured in HA or multi-BAS configuration? If you do. Stop the BAS service on non-primary servers, and restart the primary BAS services.
Please use plain text.
Contributor
Cyriel
Posts: 19
Registered: ‎08-26-2008
My Device: Not Specified

Re: can not enter administration server: the application has encountered a system error

Indeed when I stopped the BB admin service on all bes except the one hosting the database it started to work.

 

It seems to be configured fr high availabillity. I do not want that but it did not give me a choice during installation. When I start the admin service again on one of the other servers and use the local servername as address it does not owkr. Now the people in Asia have to connect the webserver on the machuine in Europe to administer devices. not very efficient it seems to me.

Please use plain text.
Contributor
Speeder
Posts: 11
Registered: ‎07-27-2009
My Device: Not Specified

Re: can not enter administration server: the application has encountered a system error

BAS needs to be very close to the database. If it isn't it'll be slow. It's kind of a lose-lose situation since you'll be getting slowness either via HTTP, or via SQL queries across the WAN.

Please use plain text.
Contributor
Speeder
Posts: 11
Registered: ‎07-27-2009
My Device: Not Specified

Re: can not enter administration server: the application has encountered a system error

Actually, just figured (and tested) why I had the same issue in my environment.

 

BAS can run on more then once instance as long as its aware of each other. We had the HA over WAN with multicasting disabled.

 

Page 76 of admin manual covers it

http://na.blackberry.com/eng/deliverables/8302/BlackBerry_Enterprise_Server_for_Microsoft_Exchange-5...

 

There are 3 modes, Multicast UDP, TCP with Multicasting, and TCP with defined hosts. I went with option 3, changed both xml files on both servers, and fired up BAS. Works perfectly =)

Please use plain text.
Contributor
Speeder
Posts: 11
Registered: ‎07-27-2009
My Device: Not Specified

Re: can not enter administration server: the application has encountered a system error

Here's the manual entry:

 

Configure the BlackBerry Administration Service instances in the pool to communicate across

network subnets

The instances in the BlackBerry® Administration Service pool use multicast UDP to communicate with each other. If the BlackBerry

Administration Service instances are in different network subnets and your organization's network configuration does not permit

multicast UDP across the network subnets, you must configure the BlackBerry Administration Service instances to use TCP to

communicate with each other. For example, if your organization uses a UDP peer-to-peer firewall filter, you must configure the

BlackBerry Administration Service instances to communicate across network subnets.

1. On the computer that hosts a BlackBerry Administration Service instance, navigate to
<drive>:\Program Files\Research In

Motion\BlackBerry Enterprise Server\BAS\jboss\ejb\server\default\deploy.

2. In a text editor, open
cluster-service.xml.

3. Follow the instructions in the file to configure TCP.

4. Save and close the file.

5. Navigate to
<drive>:\Program Files\Research In Motion\BlackBerry Enterprise Server\BAS\server\default\deploy.6. In a text editor, open bas-object-versioning-cache-service.xml.

7. Follow the instructions in the file to configure TCP.

8. Save and close the file.

9. In Windows® Services, restart the BlackBerry Administration Service services.

Please use plain text.
New Member
exadmmcse
Posts: 1
Registered: ‎11-05-2009
My Device: Not Specified

Re: can not enter administration server: the application has encountered a system error

I posted the detailed procudure about this. It has not fixed in MR3 yet.

 

http://exadminmcse.blogspot.com/2009/11/how-to-change-udp-ping-to-tcp-ping-for.html

 

 

Please use plain text.