08-24-2011 01:00 PM
Dear Experts
I am totally new to BES so please excuse my massive ignorance.
I have installed BES Express on our Exchange 2003 Server following this guide:-
http://forums.pinstack.com/f9/garys_bes_install_gu
The install went OK and I didn't receive any errors. As per the guide I used an AD account called BESadmin. I have since created an account for myself and added my account to the administrators group.
I am logging in to the administration service on the server using Internet Explorer 8.
The problem I've got is when I try to create a new IT Policy via the administration service (logged in as myself or BESadmin) I get an error saying:-
I haven't got as far as adding any devices yet!
Any suggestions welcome!
Thanks,
Toby
I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier
08-24-2011 01:55 PM
Look at the BAS logs files to see if anything stand outs
default location :\Program Files\Research In Motion\BlackBerryEnterprise Server\Logs
Also look in event veiwer to seef if any errors or warnings pertain to your issue
Please post back the log info minus personal info
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
08-24-2011 03:09 PM
Thanks for your response.
I couldn't see anything obvious in the server event viewer.
However looking at the BES log files I found a bunch of errors in this file:-
SERVER_BBAS-AS_01_20110824_0001.txt
(08/24 19:51:17:894):{Thread-5} [com.arjuna.ats.jta.logging.loggerI18N] [WARN] [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException: Error trying to connect to provider java:/ClusterJMSProvider, XAException.XAER_RMERR
**I log into the server...
(08/24 19:51:26:362):{http-WELLNESS1.wellness.local%2F10.
(08/24 19:52:00:862):{http-WELLNESS1.wellness.local%2F10.
**Then I try to add a new policy and there is an unhandled exception....
[com.rim.bes.bas.BASExceptionStackInterceptor] [WARN] [BBAS-2007] {u=3, uc=-1, o=0, t=114805} Caught unhandled RuntimeException in org.jboss.ejb3.EJBContainerInvocation method createITPolicy - java.lang.NullPointerException
*** Start of original stack trace ***
javax.ejb.EJBException: java.lang.NullPointerException
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOu
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPoli
at org.jboss.aspects.tx.TxInterceptor$Required.invoke
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.tx.TxPropagationInterceptor.invo
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at com.rim.bes.bas.BASExceptionStackInterceptor.invok
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.stateless.StatelessInstanceIntercep
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.remoting.ReplicantsManagerInterc
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.security.RoleBasedAuthorizationI
at org.jboss.ejb3.security.RoleBasedAuthorizationInte
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.security.AuthenticationIntercept
at org.jboss.ejb3.security.Ejb3AuthenticationIntercep
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at com.rim.bes.bas.BASRemoteExceptionHandlerIntercept
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(EN
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.asynchronous.AsynchronousIntercepto
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.stateless.StatelessContainer.dynami
at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeL
at org.jboss.ejb3.remoting.ClusteredIsLocalIntercepto
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.stateless.StatelessClusteredProxy.i
at $Proxy521.createITPolicy(Unknown Source)
at com.rim.bes.bas.commands.itpolicymanager.CreateITP
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.adminconsole.pages.itpolicy.Cr
at com.rim.bes.bas.web.adminconsole.pages.itpolicy.Cr
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_131f688fa89.invokeListener($Liste
at org.apache.tapestry.form.AbstractSubmit$1.run(Abst
at net.sf.tacos.ajax.components.AjaxFormSupportImpl.r
at net.sf.tacos.ajax.components.AjaxFormSupportImpl.r
at net.sf.tacos.ajax.components.AjaxForm.renderCompon
at net.sf.tacos.ajax.components.AjaxForm.renderCompon
at $AjaxForm_321.renderComponent($AjaxForm_321.java)
at org.apache.tapestry.AbstractComponent.render(Abstr
at net.sf.tacos.ajax.components.AjaxForm.rewind(AjaxF
at org.apache.tapestry.engine.RequestCycle.rewindForm
at net.sf.tacos.ajax.components.AjaxForm.trigger(Ajax
at org.apache.tapestry.engine.DirectService.triggerCo
at org.apache.tapestry.engine.DirectService.service(D
at com.rim.bes.bas.web.common.service.DirectService.s
at $IEngineService_131f688fd00.service($IEngineServic
at org.apache.tapestry.services.impl.EngineServiceOut
at org.apache.tapestry.engine.AbstractEngine.service(
at org.apache.tapestry.services.impl.InvokeEngineTerm
at $WebRequestServicer_131f688fcd7.service($WebReques
at com.rim.bes.bas.web.console.ObjectCacheServiceFilt
at $WebRequestServicerFilter_131f688fcdb.service($Web
at $WebRequestServicer_131f688fcdd.service($WebReques
at com.rim.bes.bas.web.common.ServiceFilter.service(S
at $WebRequestServicerFilter_131f688fcd9.service($Web
at $WebRequestServicer_131f688fcdd.service($WebReques
at $WebRequestServicer_131f688fcd3.service($WebReques
at org.apache.tapestry.services.impl.WebRequestServic
at $ServletRequestServicer_131f688fcb9.service($Servl
at org.apache.tapestry.request.DecodedRequestInjector
at $ServletRequestServicerFilter_131f688fcb5.service(
at $ServletRequestServicer_131f688fcbb.service($Servl
at org.apache.tapestry.multipart.MultipartDecoderFilt
at $ServletRequestServicerFilter_131f688fcb3.service(
at $ServletRequestServicer_131f688fcbb.service($Servl
at org.apache.tapestry.services.impl.SetupRequestEnco
at $ServletRequestServicerFilter_131f688fcb7.service(
at $ServletRequestServicer_131f688fcbb.service($Servl
at $ServletRequestServicer_131f688fab3.service($Servl
at org.apache.tapestry.ApplicationServlet.doService(A
at com.rim.bes.bas.web.common.BASApplicationServlet.d
at org.apache.tapestry.ApplicationServlet.doPost(Appl
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 com.rim.bes.bas.web.common.CSRFProtectionFilter.do
at org.apache.catalina.core.ApplicationFilterChain.in
at org.apache.catalina.core.ApplicationFilterChain.do
at com.rim.bes.bas.web.common.ResponseHeadersFilter.d
at org.apache.catalina.core.ApplicationFilterChain.in
at org.apache.catalina.core.ApplicationFilterChain.do
at com.rim.bes.bas.web.common.filter.SystemStartupPro
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: java.lang.NullPointerException
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerUti
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerBea
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerBea
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerBea
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.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.interceptor.InvocationContextImpl.p
at com.rim.bes.bas.BASCustomAnnotationHandlerIntercep
at sun.reflect.GeneratedMethodAccessor200.invoke(Unkn
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.ejb3.interceptor.InvocationContextImpl.p
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterce
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.entity.TransactionScopedEntityManag
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at com.rim.bes.bas.BASApplicationDeadlockInterceptor.
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPoli
... 113 more
*** end of original stack trace ***
javax.ejb.EJBException: java.lang.NullPointerException
at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOu
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPoli
at org.jboss.aspects.tx.TxInterceptor$Required.invoke
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.tx.TxPropagationInterceptor.invo
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at com.rim.bes.bas.BASExceptionStackInterceptor.invok
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.stateless.StatelessInstanceIntercep
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.remoting.ReplicantsManagerInterc
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.security.RoleBasedAuthorizationI
at org.jboss.ejb3.security.RoleBasedAuthorizationInte
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.security.AuthenticationIntercept
at org.jboss.ejb3.security.Ejb3AuthenticationIntercep
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at com.rim.bes.bas.BASRemoteExceptionHandlerIntercept
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.ENCPropagationInterceptor.invoke(EN
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.asynchronous.AsynchronousIntercepto
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.stateless.StatelessContainer.dynami
at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeL
at org.jboss.ejb3.remoting.ClusteredIsLocalIntercepto
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.stateless.StatelessClusteredProxy.i
at $Proxy521.createITPolicy(Unknown Source)
at com.rim.bes.bas.commands.itpolicymanager.CreateITP
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.adminconsole.pages.itpolicy.Cr
at com.rim.bes.bas.web.adminconsole.pages.itpolicy.Cr
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_131f688fa89.invokeListener($Liste
at org.apache.tapestry.form.AbstractSubmit$1.run(Abst
at net.sf.tacos.ajax.components.AjaxFormSupportImpl.r
at net.sf.tacos.ajax.components.AjaxFormSupportImpl.r
at net.sf.tacos.ajax.components.AjaxForm.renderCompon
at net.sf.tacos.ajax.components.AjaxForm.renderCompon
at $AjaxForm_321.renderComponent($AjaxForm_321.java)
at org.apache.tapestry.AbstractComponent.render(Abstr
at net.sf.tacos.ajax.components.AjaxForm.rewind(AjaxF
at org.apache.tapestry.engine.RequestCycle.rewindForm
at net.sf.tacos.ajax.components.AjaxForm.trigger(Ajax
at org.apache.tapestry.engine.DirectService.triggerCo
at org.apache.tapestry.engine.DirectService.service(D
at com.rim.bes.bas.web.common.service.DirectService.s
at $IEngineService_131f688fd00.service($IEngineServic
at org.apache.tapestry.services.impl.EngineServiceOut
at org.apache.tapestry.engine.AbstractEngine.service(
at org.apache.tapestry.services.impl.InvokeEngineTerm
at $WebRequestServicer_131f688fcd7.service($WebReques
at com.rim.bes.bas.web.console.ObjectCacheServiceFilt
at $WebRequestServicerFilter_131f688fcdb.service($Web
at $WebRequestServicer_131f688fcdd.service($WebReques
at com.rim.bes.bas.web.common.ServiceFilter.service(S
at $WebRequestServicerFilter_131f688fcd9.service($Web
at $WebRequestServicer_131f688fcdd.service($WebReques
at $WebRequestServicer_131f688fcd3.service($WebReques
at org.apache.tapestry.services.impl.WebRequestServic
at $ServletRequestServicer_131f688fcb9.service($Servl
at org.apache.tapestry.request.DecodedRequestInjector
at $ServletRequestServicerFilter_131f688fcb5.service(
at $ServletRequestServicer_131f688fcbb.service($Servl
at org.apache.tapestry.multipart.MultipartDecoderFilt
at $ServletRequestServicerFilter_131f688fcb3.service(
at $ServletRequestServicer_131f688fcbb.service($Servl
at org.apache.tapestry.services.impl.SetupRequestEnco
at $ServletRequestServicerFilter_131f688fcb7.service(
at $ServletRequestServicer_131f688fcbb.service($Servl
at $ServletRequestServicer_131f688fab3.service($Servl
at org.apache.tapestry.ApplicationServlet.doService(A
at com.rim.bes.bas.web.common.BASApplicationServlet.d
at org.apache.tapestry.ApplicationServlet.doPost(Appl
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 com.rim.bes.bas.web.common.CSRFProtectionFilter.do
at org.apache.catalina.core.ApplicationFilterChain.in
at org.apache.catalina.core.ApplicationFilterChain.do
at com.rim.bes.bas.web.common.ResponseHeadersFilter.d
at org.apache.catalina.core.ApplicationFilterChain.in
at org.apache.catalina.core.ApplicationFilterChain.do
at com.rim.bes.bas.web.common.filter.SystemStartupPro
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: java.lang.NullPointerException
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerUti
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerBea
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerBea
at com.rim.bes.bas.itpolicymanager.ITPolicyManagerBea
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.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.interceptor.InvocationContextImpl.p
at com.rim.bes.bas.BASCustomAnnotationHandlerIntercep
at sun.reflect.GeneratedMethodAccessor200.invoke(Unkn
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.ejb3.interceptor.InvocationContextImpl.p
at org.jboss.ejb3.interceptor.EJB3InterceptorsInterce
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.entity.TransactionScopedEntityManag
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.ejb3.AllowedOperationsInterceptor.invoke
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at com.rim.bes.bas.BASApplicationDeadlockInterceptor.
at org.jboss.aop.joinpoint.MethodInvocation.invokeNex
at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPoli
... 113 more
(08/24 19:53:27:894):{Thread-5} [com.arjuna.ats.jta.logging.loggerI18N] [WARN] [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException: Error trying to connect to provider java:/ClusterJMSProvider, XAException.XAER_RMERR
(08/24 19:55:37:894):{Thread-5} [com.arjuna.ats.jta.logging.loggerI18N] [WARN] [com.arjuna.ats.internal.jta.recovery.xarecovery1] Local XARecoveryModule.xaRecovery got XA exception javax.transaction.xa.XAException: Error trying to connect to provider java:/ClusterJMSProvider, XAException.XAER_RMERR
I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier
08-25-2011 12:36 PM
Java been updated? Dont update it, it is not needed but check the following
http://www.blackberry.com/btsc/KB14697
Also modify this key, it seems to get the wrong value during an upgrade for some.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic
-Xmx1024m
by
-Xmx768m
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
08-25-2011 04:12 PM
Apparently on the server I am running Java SE6 Update 24
I have changed that registry key to Xmx768m
Just installing some windows updates, then I'm going to restart the server.
Java wants to update. Is it a good idea to do so?
I am on AT&T. Please edit your Personal Profile with your DEVICE TYPE, DEVICE OS and Carrier
08-25-2011 04:56 PM
if java updates you have to make sure it is pointed to correct place again.
I have never updated it on mine.
Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
BESAdmin's, please make a signature with your BES environment info. SIM Free BlackBerry Unlocking FAQ
Follow me on Twitter @knottyrope
08-25-2011 05:24 PM
I have reooted my server and now I can't get into the administration site at all!
I'm getting event ID 373 in the application log...
The description for Event ID ( 373 ) in Source ( Blackberry Notification System ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: IDS_25000 getListBESdatabases: COM Error 0x80004005 - Unspecified error - Source: Microsoft OLE DB Provider for SQL Server - Description [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. - Command: getListBESdatabases.
Help!
08-25-2011 05:43 PM
OK, I've now reverted to the previous registry key and restarted the services. The administration page opened OK and I managed to add a policy!!
I don't think I've actually changed anything....Maybe the server just needed a reboot!
Anyway thanks for your assistance! :-)