07-24-2009 02:48 AM
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.subP
at com.rim.bes.bas.web.adminconsole.pages.login.Login
at com.rim.bes.bas.web.common.BASBasePage.onPageInit(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tapestry.listener.ListenerMethodInvoker
at org.apache.tapestry.listener.ListenerMethodInvoker
at org.apache.tapestry.listener.ListenerMethodInvoker
at org.apache.tapestry.listener.ListenerMethodInvoker
at org.apache.tapestry.listener.SyntheticListener.act
at org.apache.tapestry.listener.ListenerInvokerTermin
at $ListenerInvoker_122ab778906.invokeListener($Liste
at $ListenerInvoker_122ab778905.invokeListener($Liste
at org.apache.tapestry.components.InvokeListener.rend
at $InvokeListener_13.renderComponent($InvokeListener
at org.apache.tapestry.AbstractComponent.render(Abstr
at org.apache.tapestry.BaseComponent.renderComponent(
at $BaseComponent_2.renderComponent($BaseComponent_2.
at org.apache.tapestry.AbstractComponent.render(Abstr
at org.apache.tapestry.AbstractComponent.renderBody(A
at org.apache.tapestry.html.Body.renderComponent(Body
at $Body_21.renderComponent($Body_21.java)
at org.apache.tapestry.AbstractComponent.render(Abstr
at org.apache.tapestry.BaseComponent.renderComponent(
at org.apache.tapestry.AbstractComponent.render(Abstr
at org.apache.tapestry.AbstractPage.renderPage(Abstra
at org.apache.tapestry.engine.RequestCycle.renderPage
at org.apache.tapestry.services.impl.ResponseRenderer
at $ResponseRenderer_122ab7788f0.renderResponse($Resp
at $ResponseRenderer_122ab7788ef.renderResponse($Resp
at org.apache.tapestry.engine.PageService.service(Pag
at $IEngineService_122ab778a70.service($IEngineServic
at org.apache.tapestry.services.impl.EngineServiceInn
at org.apache.tapestry.services.impl.EngineServiceOut
at org.apache.tapestry.engine.AbstractEngine.service(
at org.apache.tapestry.services.impl.InvokeEngineTerm
at $WebRequestServicer_122ab778a48.service($WebReques
at $WebRequestServicer_122ab778a47.service($WebReques
at com.rim.bes.bas.web.console.ObjectCacheServiceFilt
at $WebRequestServicerFilter_122ab778a46.service($Web
at $WebRequestServicerFilter_122ab778a45.service($Web
at $WebRequestServicer_122ab778a49.service($WebReques
at com.rim.bes.bas.web.common.ServiceFilter.service(S
at $WebRequestServicerFilter_122ab778a44.service($Web
at $WebRequestServicerFilter_122ab778a43.service($Web
at $WebRequestServicer_122ab778a49.service($WebReques
at $WebRequestServicer_122ab778a40.service($WebReques
at $WebRequestServicer_122ab778a3f.service($WebReques
at org.apache.tapestry.services.impl.WebRequestServic
at $ServletRequestServicer_122ab778a26.service($Servl
at $ServletRequestServicer_122ab778a25.service($Servl
at org.apache.tapestry.request.DecodedRequestInjector
at $ServletRequestServicerFilter_122ab778a22.service(
at $ServletRequestServicerFilter_122ab778a21.service(
at $ServletRequestServicer_122ab778a27.service($Servl
at org.apache.tapestry.multipart.MultipartDecoderFilt
at $ServletRequestServicerFilter_122ab778a20.service(
at $ServletRequestServicerFilter_122ab778a1f.service(
at $ServletRequestServicer_122ab778a27.service($Servl
at org.apache.tapestry.services.impl.SetupRequestEnco
at $ServletRequestServicerFilter_122ab778a24.service(
at $ServletRequestServicerFilter_122ab778a23.service(
at $ServletRequestServicer_122ab778a27.service($Servl
at $ServletRequestServicer_122ab77890e.service($Servl
at $ServletRequestServicer_122ab77890d.service($Servl
at org.apache.tapestry.ApplicationServlet.doService(A
at org.apache.tapestry.ApplicationServlet.doGet(Appli
at javax.servlet.http.HttpServlet.service(HttpServlet
at javax.servlet.http.HttpServlet.service(HttpServlet
at org.apache.catalina.core.ApplicationFilterChain.in
at org.apache.catalina.core.ApplicationFilterChain.do
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF
at org.apache.catalina.core.ApplicationFilterChain.in
at org.apache.catalina.core.ApplicationFilterChain.do
at org.apache.catalina.core.StandardWrapperValve.invo
at org.apache.catalina.core.StandardContextValve.invo
at org.jboss.web.tomcat.security.SecurityAssociationV
at org.jboss.web.tomcat.security.JaccContextValve.inv
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke
at org.jboss.web.tomcat.service.jca.CachedConnectionV
at org.apache.catalina.core.StandardEngineValve.invok
at org.apache.catalina.connector.CoyoteAdapter.servic
at org.apache.coyote.http11.Http11Processor.process(H
at org.apache.coyote.http11.Http11Protocol$Http11Conn
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(
at java.lang.Thread.run(Unknown Source)
Caused by: com.rim.bes.bas.command.CommandException: CommandException APPLICATION: com.rim.bes.bas.pluginmanager.NoPlugInModulesRegis
at com.rim.bes.bas.commands.pluginmanager.GetRegister
at com.rim.bes.bas.command.ServerCommand.handleDoit(S
at com.rim.bes.bas.command.Command.doit(Command.java:
at com.rim.bes.bas.web.console.pages.login.Login.subP
... 88 more
Any help would be appreciated.
Solved! Go to Solution.
07-24-2009 04:43 PM
are there more logs after the line
...88 more?
07-27-2009 10:02 AM
07-27-2009 10:07 AM
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.
07-27-2009 10:23 AM
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.
07-27-2009 11:55 AM
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
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 =)
07-27-2009 11:58 AM
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 InMotion\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.
11-05-2009 09:03 AM
I posted the detailed procudure about this. It has not fixed in MR3 yet.
http://exadminmcse.blogspot.com/2009/11/how-to-cha