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

Java Development

Reply
New Contributor
Posts: 5
Registered: ‎03-22-2011
My Device: none
My Carrier: dev

Java app stops sending messages after a periode..

I have a custom java application published on a Blackberry 9800 smartphone via Blackberry Enterprise Server Express. My java application is sending messages through BES (via mds) and to our webserver. This seems to work fine, for a while, but afther a while the messages from java app doesn’t get through. It might be an issue with the java code, or my environment, or both.

 

My java development environment is BlackBerry Java Plug-in for Eclipse, Version: 1.3.0

 

I see in log (MDAT), that everytime I try to send a message from java app, the following log text is produced: “SCM, Channel is closed” and “IPPP, User has been logged off”. Please browse through my code and logs, and give me advice on how to troubleshoot or fix this behavior.

 

MDAT-logfile:

<2011-08-19 11:06:57.382 CEST>:[1313]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S13100005[LVKBB:3200], EVENT = Receiving, VERSION = 1, COMMAND = RECEIVE, TAG = 7826, SIZE = 714>

<2011-08-19 11:06:57.382 CEST>:[1314]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S13100005[LVKBB:3200], EVENT = Sending, VERSION = 1, COMMAND = RECEIVE, TAG = 7826, SIZE = 10>

<2011-08-19 11:06:57.382 CEST>:[1315]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Receiving, TAG = -166703508, DEVICEPIN = 276502fe, USERID = u5, VERSION = 16, CONNECTIONID = 2124635195, SEQUENCE = 0, TYPE = CONNECTION-REQUEST, CONNECTIONHANDLER = defaulthandlernio, PROTOCOL = tcpchannel, PARAMETERS = [lvkdb01:80], SIZE = 553>

<2011-08-19 11:06:57.382 CEST>:[1316]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = CreatedReceivingQueue, USERID:CONNECTIONID = u5:2124635195, ReceivingQueueSize = 1>

<2011-08-19 11:06:57.382 CEST>:[1317]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = StartExecuting, TAG = -166703508, DEVICEPIN = 276502fe, USERID = u5, VERSION = 16, CONNECTIONID = 2124635195, SEQUENCE = 0, TYPE = CONNECTION-REQUEST, CONNECTIONHANDLER = defaulthandlernio, PROTOCOL = tcpchannel, PARAMETERS = [lvkdb01:80], SIZE = 553>

<2011-08-19 11:06:57.382 CEST>:[1318]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = EndExecuting, TAG = -166703508, DEVICEPIN = 276502fe, USERID = u5, VERSION = 16, CONNECTIONID = 2124635195, SEQUENCE = 0, TYPE = CONNECTION-REQUEST, CONNECTIONHANDLER = defaulthandlernio, PROTOCOL = tcpchannel, PARAMETERS = [lvkdb01:80], SIZE = 553>

<2011-08-19 11:06:57.382 CEST>:[1319]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, SocketChannel callback starting:u5>

<2011-08-19 11:06:57.382 CEST>:[1320]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SCM, Socket channel established; address:lvkdb01:80; time:0 ms>

<2011-08-19 11:06:57.382 CEST>:[1321]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, User has been logged off:lvkdb01:80:u5:2124635195;>

<2011-08-19 11:06:57.382 CEST>:[1322]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SCM, Device connections: AVG latency (msecs)0>

<2011-08-19 11:06:57.382 CEST>:[1323]:<MDS-CS_LVKBB_MDS-CS_1>:<INFO >:<LAYER = IPPP, DEVICEPIN = 276502fe, DOMAINNAME = lvkdb01, CONNECTION_TYPE = DEVICE_CONN, ConnectionId = 2124635195, DURATION(ms) = 0, MFH_KBytes = 0,54, MTH_KBytes = 0, MFH_PACKET_COUNT = 1, MTH_PACKET_COUNT = 0>

<2011-08-19 11:06:57.382 CEST>:[1324]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, defaulthandlernio: ipppIoThreadPool-12 stopped>

<2011-08-19 11:06:57.382 CEST>:[1325]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, defaulthandlernio: ipppIoThreadPool-12 cleaned up>

<2011-08-19 11:06:57.382 CEST>:[1326]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = CreatedSendingQueue, DEVICEPIN = 276502fe, USERID = u5>

<2011-08-19 11:06:57.382 CEST>:[1327]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Sending, TAG = 1379991581, DEVICEPIN = 276502fe, USERID = u5, VERSION = 16, CONNECTIONID = 2124635195, SEQUENCE = 0, TYPE = DISCONNECT-ORDER, SIZE = 588>

<2011-08-19 11:06:57.397 CEST>:[1328]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SCM, Channel is closed>

<2011-08-19 11:06:57.397 CEST>:[1329]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedReceivingQueue, USERID:CONNECTIONID = u5:2124635195, ReceivingQueueSize = 0>

<2011-08-19 11:06:57.397 CEST>:[1330]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SCM, Channel is closed>

<2011-08-19 11:06:57.397 CEST>:[1331]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S13100005[LVKBB:3200], EVENT = Sending, VERSION = 1, COMMAND = SEND, TAG = 1379991581, SIZE = 730>

<2011-08-19 11:06:57.897 CEST>:[1332]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = SRP, SRPID = S13100005[LVKBB:3200], EVENT = Receiving, VERSION = 1, COMMAND = STATUS, TAG = 1379991581, SIZE = 10, STATE = DELIVERED>

<2011-08-19 11:06:57.897 CEST>:[1333]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = Notification, TAG = 1379991581, STATE = DELIVERED>

<2011-08-19 11:06:58.975 CEST>:[1334]:<MDS-CS_LVKBB_MDS-CS_1>:<DEBUG>:<LAYER = IPPP, EVENT = RemovedSendingQueue, DEVICEPIN = 276502fe, USERID = u5>

 

Here is the code which is doing the soap call:

private boolean sendStatusMessage(String phoneNumber, String status) {
		try {
		String body = "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:i3w=\"http://I3WebAction\">" + "<soapenv:Header/>" + "<soapenv:Body>"
		+ "<i3w:I3SetMobileStatus><i3w:p_Status>" + status + "</i3w:p_Status><i3w:p_PhoneNumber>" + phoneNumber + "</i3w:p_PhoneNumber>"
		+ "</i3w:I3SetMobileStatus></soapenv:Body></soapenv:Envelope>";
		
		String URL = "socket://" + soapServer + ":" + port + ";deviceside=false";
		StreamConnection conn = null;
		conn = (StreamConnection)Connector.open(URL);
		
		OutputStream output = conn.openOutputStream();
		OutputStreamWriter writer = new OutputStreamWriter(output);
		writer.write("POST /SOAPListener/I3SOAPISAPIU.dll HTTP/1.1\r\n");
		writer.write("Accept-Encoding: gzip,deflate\r\n");
		writer.write("Content-Type: text/xml;charset=UTF-8\r\n");
		writer.write("SOAPAction: \"http://I3WebAction/I3SetMobileStatus\"\r\n");
		writer.write("User-Agent: Jakarta Commons-HttpClient/3.1\r\n");
		writer.write("Host: lvkdb01\r\n");
		writer.write("Content-Length: " + body.length() + "\r\n");
		writer.write("\r\n");
		writer.write(body);
				
		writer.flush();
		} catch (Exception e) {
			Dialog.alert(e.getMessage());
			return false;
		}
		return true;
	}

 

 

 

BBAS-logfile:

JobManagerBean.processDeliveredTasksTimeoutLocal

(08/19 11:10:05:069):{WorkManager(2)-113} [com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerUtilities] [WARN] [BBAS-2038] {u=SystemUser, t=3800} retrieveExternalXMLFile could not find a valid combination of basic authentication user identifer and password traits.

(08/19 11:10:05:085):{WorkManager(2)-114} [com.rim.bes.bas.reconciliationmanager.ReconciliationManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3823} Enter bean ReconciliationManagerBean.restartEventTaskExecutionIfRequiredInNewTransactionLocal

(08/19 11:10:05:085):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3824} Enter bean JobManagerBean.findFirstTaskInStateLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3824} Exit bean JobManagerBean.findFirstTaskInStateLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3825} Enter bean JobManagerBean.findFirstTaskInStateLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3825} Exit bean JobManagerBean.findFirstTaskInStateLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3826} Enter bean JobManagerBean.findFirstTaskInStateLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3826} Exit bean JobManagerBean.findFirstTaskInStateLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.reconciliationmanager.ReconciliationManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3823} Exit bean ReconciliationManagerBean.restartEventTaskExecutionIfRequiredInNewTransactionLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.reconciliationmanager.ReconciliationManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3827} Enter bean ReconciliationManagerBean.setCompletedEventProcessingJobStateToSuccessInNewTransactionLocal

(08/19 11:10:05:100):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3828} Enter bean JobManagerBean.updateJobStateByObjectTypeLocal

(08/19 11:10:05:116):{WorkManager(2)-115} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3831} Enter bean JobManagerBean.processDeliveredTasksTimeoutLocal

(08/19 11:10:05:116):{WorkManager(2)-115} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3831} Exit bean JobManagerBean.processDeliveredTasksTimeoutLocal

(08/19 11:10:05:132):{WorkManager(2)-114} [com.rim.bes.bas.jobmanager.JobManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3828} Exit bean JobManagerBean.updateJobStateByObjectTypeLocal

(08/19 11:10:05:132):{WorkManager(2)-114} [com.rim.bes.bas.reconciliationmanager.ReconciliationManagerBean] [DEBUG] [BBAS-200] {u=SystemUser, t=3827} Exit bean ReconciliationManagerBean.setCompletedEventProcessingJobStateToSuccessInNewTransactionLocal

(08/19 11:10:36:741):{WorkManager(2)-113} [com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerUtilities] [WARN] [BBAS-2038] {u=SystemUser, t=3800} retrieveExternalXMLFile could not find a valid combination of basic authentication user identifer and password traits.

(08/19 11:10:57:757):{WorkManager(2)-113} [com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerUtilities] [WARN] [BBAS-2038] {u=SystemUser, t=3800} retrieveExternalXMLFile Exception while trying to retrieve a file from web com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorException: Nested exception: 'WinHTTP exception occurred in function: JWinHTTP::getResultFile, Url: https://www.blackberry.com/Desktop/Download/XML/Device.xml, Error: 0 - The operation completed successfully.  [ GetResultFile no HTTP response results after all proxies]'

 

*** Start of original stack trace ***

 

com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorException: Nested exception: 'WinHTTP exception occurred in function: JWinHTTP::getResultFile, Url: https://www.blackberry.com/Desktop/Download/XML/Device.xml, Error: 0 - The operation completed successfully.  [ GetResultFile no HTTP response results after all proxies]'

                at com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorUtilities.retrieveFileFromWeb(WindowsHTTPAccessorUtilities.java:130)

                at com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerUtilities.retrieveExternalXMLFile(SoftwareConfigurationManagerUtilities.java:4438)

                at com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerBean._retrieveExternalXML(SoftwareConfigurationManagerBean.java:9718)

                at com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerBean.retrieveExternalXMLLocal(SoftwareConfigurationManagerBean.java:9649)

                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.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASApplicationDeadlockInterceptor.invoke(BASApplicationDeadlockInterceptor.java:99)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASExceptionStackInterceptor.invoke(BASExceptionStackInterceptor.java:85)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:51)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

                at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:139)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASRemoteExceptionHandlerInterceptor.invoke(BASRemoteExceptionHandlerInterceptor.java:128)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:217)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:187)

                at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)

                at $Proxy623.retrieveExternalXMLLocal(Unknown Source)

                at com.rim.bes.bas.softwareconfigurationmanager.ExternalXMLTimerHandler.execute(ExternalXMLTimerHandler.java:79)

                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 com.rim.bes.bas.timermanager.TimerManagerBean._invokeExecuteMethod(TimerManagerBean.java:3148)

                at com.rim.bes.bas.timermanager.TimerManagerBean.executeTimerHandlerAsyncMethodLocal(TimerManagerBean.java:2847)

                at sun.reflect.GeneratedMethodAccessor732.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASApplicationDeadlockInterceptor.invoke(BASApplicationDeadlockInterceptor.java:99)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

                at org.jboss.aspects.tx.TxInterceptor$Supports.invoke(TxInterceptor.java:148)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASExceptionStackInterceptor.invoke(BASExceptionStackInterceptor.java:85)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

                at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:139)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASRemoteExceptionHandlerInterceptor.invoke(BASRemoteExceptionHandlerInterceptor.java:128)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:217)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:187)

                at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)

                at $Proxy597.executeTimerHandlerAsyncMethodLocal(Unknown Source)

                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 com.rim.bes.bas.asynchronousmanager.AsynchronousManagerBean._executeRequestMethod(AsynchronousManagerBean.java:510)

                at com.rim.bes.bas.asynchronousmanager.AsynchronousManagerBean.processRequestMessageInNewTransactionLocal(AsynchronousManagerBean.java:278)

                at sun.reflect.GeneratedMethodAccessor729.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASApplicationDeadlockInterceptor.invoke(BASApplicationDeadlockInterceptor.java:99)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

                at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASExceptionStackInterceptor.invoke(BASExceptionStackInterceptor.java:85)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:51)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

                at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:139)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASRemoteExceptionHandlerInterceptor.invoke(BASRemoteExceptionHandlerInterceptor.java:128)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:217)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:187)

                at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)

                at $Proxy502.processRequestMessageInNewTransactionLocal(Unknown Source)

                at com.rim.bes.bas.asynchronousmanager.message.AsynchronousManagerRequestProcessingBaseMDB.processRequestMessage(AsynchronousManagerRequestProcessingBaseMDB.java:348)

                at com.rim.bes.bas.asynchronousmanager.message.AsynchronousManagerRequestProcessingBaseMDB.onMessage(AsynchronousManagerRequestProcessingBaseMDB.java:233)

                at sun.reflect.GeneratedMethodAccessor724.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:279)

                at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:266)

                at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:314)

                at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:170)

                at $Proxy599.onMessage(Unknown Source)

                at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:179)

                at org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:160)

                at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:831)

                at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)

                at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)

                at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:172)

                at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)

                at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)

                at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)

                at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)

                at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:239)

                at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:213)

                at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)

                at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)

                at java.lang.Thread.run(Unknown Source)

Caused by: com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPJNIException: WinHTTP exception occurred in function: JWinHTTP::getResultFile, Url: https://www.blackberry.com/Desktop/Download/XML/Device.xml, Error: 0 - The operation completed successfully.  [ GetResultFile no HTTP response results after all proxies]

                at com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorImpl.retrieveFileFromWebJNI(Native Method)

                at com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorImpl.retrieveFileFromWeb(WindowsHTTPAccessorImpl.java:112)

                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.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:57)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.timer.TimerTxRegistrationInterceptor.invoke(TimerTxRegistrationInterceptor.java:38)

                at org.jboss.ejb3.timer.TimerTxRegistrationInterceptor.invoke(TimerTxRegistrationInterceptor.java:29)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.security.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:59)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

                at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:139)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.interceptor.EJB3TCCLInterceptor.invoke(EJB3TCCLInterceptor.java:86)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:281)

                at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)

                at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)

                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:862)

                at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:634)

                at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:409)

                at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:176)

                at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:182)

                at org.jboss.remoting.Client.invoke(Client.java:1935)

                at org.jboss.remoting.Client.invoke(Client.java:788)

                at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)

                at $Proxy675.retrieveFileFromWeb(Unknown Source)

                at com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorCallWrapper.run(WindowsHTTPAccessorCallWrapper.java:304)

                at com.rim.bes.bas.authenticationmanager.AuthenticationManagerUtilities.runAsCredentialsLocal(AuthenticationManagerUtilities.java:864)

                at com.rim.bes.bas.authenticationmanager.AuthenticationManagerUtilities.runAsAuthenticationCredentialsLocal(AuthenticationManagerUtilities.java:791)

                at com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorUtilities.retrieveFileFromWeb(WindowsHTTPAccessorUtilities.java:116)

                at com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerUtilities.retrieveExternalXMLFile(SoftwareConfigurationManagerUtilities.java:4438)

                at com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerBean._retrieveExternalXML(SoftwareConfigurationManagerBean.java:9718)

                at com.rim.bes.bas.softwareconfigurationmanager.SoftwareConfigurationManagerBean.retrieveExternalXMLLocal(SoftwareConfigurationManagerBean.java:9649)

                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.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASApplicationDeadlockInterceptor.invoke(BASApplicationDeadlockInterceptor.java:99)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASExceptionStackInterceptor.invoke(BASExceptionStackInterceptor.java:85)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:51)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

                at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:139)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASRemoteExceptionHandlerInterceptor.invoke(BASRemoteExceptionHandlerInterceptor.java:128)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:217)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:187)

                at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)

                at $Proxy623.retrieveExternalXMLLocal(Unknown Source)

                at com.rim.bes.bas.softwareconfigurationmanager.ExternalXMLTimerHandler.execute(ExternalXMLTimerHandler.java:79)

                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 com.rim.bes.bas.timermanager.TimerManagerBean._invokeExecuteMethod(TimerManagerBean.java:3148)

                at com.rim.bes.bas.timermanager.TimerManagerBean.executeTimerHandlerAsyncMethodLocal(TimerManagerBean.java:2847)

                at sun.reflect.GeneratedMethodAccessor732.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASApplicationDeadlockInterceptor.invoke(BASApplicationDeadlockInterceptor.java:99)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

                at org.jboss.aspects.tx.TxInterceptor$Supports.invoke(TxInterceptor.java:148)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASExceptionStackInterceptor.invoke(BASExceptionStackInterceptor.java:85)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

                at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:139)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASRemoteExceptionHandlerInterceptor.invoke(BASRemoteExceptionHandlerInterceptor.java:128)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:217)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:187)

                at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)

                at $Proxy597.executeTimerHandlerAsyncMethodLocal(Unknown Source)

                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 com.rim.bes.bas.asynchronousmanager.AsynchronousManagerBean._executeRequestMethod(AsynchronousManagerBean.java:510)

                at com.rim.bes.bas.asynchronousmanager.AsynchronousManagerBean.processRequestMessageInNewTransactionLocal(AsynchronousManagerBean.java:278)

                at sun.reflect.GeneratedMethodAccessor729.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASApplicationDeadlockInterceptor.invoke(BASApplicationDeadlockInterceptor.java:99)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)

                at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:94)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASExceptionStackInterceptor.invoke(BASExceptionStackInterceptor.java:85)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.remoting.ReplicantsManagerInterceptor.invoke(ReplicantsManagerInterceptor.java:51)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:166)

                at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:108)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)

                at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:139)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at com.rim.bes.bas.BASRemoteExceptionHandlerInterceptor.invoke(BASRemoteExceptionHandlerInterceptor.java:128)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:217)

                at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:187)

                at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)

                at $Proxy502.processRequestMessageInNewTransactionLocal(Unknown Source)

                at com.rim.bes.bas.asynchronousmanager.message.AsynchronousManagerRequestProcessingBaseMDB.processRequestMessage(AsynchronousManagerRequestProcessingBaseMDB.java:348)

                at com.rim.bes.bas.asynchronousmanager.message.AsynchronousManagerRequestProcessingBaseMDB.onMessage(AsynchronousManagerRequestProcessingBaseMDB.java:233)

                at sun.reflect.GeneratedMethodAccessor724.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)

                at com.rim.bes.bas.BASCustomAnnotationHandlerInterceptor.execute(BASCustomAnnotationHandlerInterceptor.java:106)

                at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)

                at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)

                at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:70)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:279)

                at org.jboss.ejb3.mdb.MessagingContainer.localInvoke(MessagingContainer.java:266)

                at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.delivery(MessageInflowLocalProxy.java:314)

                at org.jboss.ejb3.mdb.inflow.MessageInflowLocalProxy.invoke(MessageInflowLocalProxy.java:170)

                at $Proxy599.onMessage(Unknown Source)

                at org.jboss.resource.adapter.jms.inflow.JmsServerSession.onMessage(JmsServerSession.java:179)

                at org.jboss.jms.client.container.ClientConsumer.callOnMessageStatic(ClientConsumer.java:160)

                at org.jboss.jms.client.container.SessionAspect.handleRun(SessionAspect.java:831)

                at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect14.invoke(SessionAspect14.java)

                at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)

                at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:172)

                at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105)

                at org.jboss.jms.client.delegate.ClientSessionDelegate$run_N8003352271541955702.invokeNext(ClientSessionDelegate$run_N8003352271541955702.java)

                at org.jboss.jms.client.delegate.ClientSessionDelegate.run(ClientSessionDelegate.java)

                at org.jboss.jms.client.JBossSession.run(JBossSession.java:199)

                at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:239)

                at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:213)

                at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)

                at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)

                at java.lang.Thread.run(Unknown Source)

                at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)

                at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)

                at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107)

                at $Proxy675.retrieveFileFromWeb(Unknown Source)

                at com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorCallWrapper.run(WindowsHTTPAccessorCallWrapper.java:304)

                at com.rim.bes.bas.authenticationmanager.AuthenticationManagerUtilities.runAsCredentialsLocal(AuthenticationManagerUtilities.java:864)

                at com.rim.bes.bas.authenticationmanager.AuthenticationManagerUtilities.runAsAuthenticationCredentialsLocal(AuthenticationManagerUtilities.java:791)

                at com.rim.bes.bas.windowsaccess.windowshttpaccessor.WindowsHTTPAccessorUtilities.retrieveFileFromWeb(WindowsHTTPAccessorUtilities.java:116)

                ... 195 more

 

*** end of original stack trace ***

Highlighted
BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: Java app stops sending messages after a periode..

What errors or exceptions do you see in your application running on the BlackBerry Smartphone?  Is the user able to use the BlackBerry Browser to access an Intranet site when you see this error on the BES?

 

What BlackBerry Smartphone model and BlackBerry device software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker