Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778.Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding.

Hi, 
I created a simple plugin and since i wanted to use Early Binding i added Xrm.cs file to my solution.After i tried registering the plugin (using the Plugin Registration Tool) the plugin does not gets registered and i get the below mentioned Exception.
Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this
operation may have been a portion of a longer timeout.
Server stack trace: 
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.Xrm.Sdk.IOrganizationService.Update(Entity entity)
   at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity)
   at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type)
   at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)
Inner Exception: System.TimeoutException: The HTTP request to 'https://demoorg172.api.crm.dynamics.com/XRMServices/2011/Organization.svc' has exceeded the allotted timeout of 00:01:59.9430000. The time allotted to this operation may have been a portion of a
longer timeout.
   at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
Inner Exception: System.Net.WebException: The operation has timed out
   at System.Net.HttpWebRequest.GetResponse()
   at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
And to my Surprise after i remove the Xrm.cs file from my solution the Plugin got registered!
Not understanding what exactly is the issue.
Any Suggestions are highly appreciated.
Thanks,
Shradha
  

Hello Shardha,
                        I really appreciate that you have faced this issue.This is really very strange issue and basically it occurs because of big size of your early bound class and slow internet
connection.
                        I would strictly recommend you to reduce the file size of your early bound class and then register.By default early bound class is created for all the entities which are
present in CRM(System entities as well custom entities).Such kind of early bound classes takes lots of time to register on server and hence timeout exception comes.
                        There is some standard define to reduce the size of early bound class.Please follow the link to get rid from big size of early bound class.
Create a new C# class library project in Visual Studio called SvcUtilFilter.
In the project, add references to the following:
CrmSvcUtil.exe(from sdk)   This exe has the interface we will implement.
Microsoft.Xrm.Sdk.dll  (found in the CRM SDK).
System.Runtime.Serialization.
  Add the following class to the project:
using System;
using System.Collections.Generic;
using System.Xml.Linq;
using Microsoft.Crm.Services.Utility;
using Microsoft.Xrm.Sdk.Metadata;
namespace SvcUtilFilter
    /// <summary>
    /// CodeWriterFilter for CrmSvcUtil that reads list of entities from an xml file to
    /// determine whether or not the entity class should be generated.
    /// </summary>
    public class CodeWriterFilter : ICodeWriterFilterService
        //list of entity names to generate classes for.
        private HashSet<string> _validEntities = new HashSet<string>();
        //reference to the default service.
        private ICodeWriterFilterService _defaultService = null;
        /// <summary>
        /// constructor
        /// </summary>
        /// <param name="defaultService">default
implementation</param>
        public CodeWriterFilter( ICodeWriterFilterService defaultService )
            this._defaultService = defaultService;
            LoadFilterData();
        /// <summary>
        /// loads the entity filter data from the filter.xml file
        /// </summary>
        private void LoadFilterData()
            XElement xml = XElement.Load("filter.xml");
            XElement entitiesElement = xml.Element("entities");
            foreach (XElement entityElement in entitiesElement.Elements("entity"))
                _validEntities.Add(entityElement.Value.ToLowerInvariant());
        /// <summary>
        /// /Use filter entity list to determine if the entity class should be generated.
        /// </summary>
        public bool GenerateEntity(EntityMetadata entityMetadata, IServiceProvider services)
            return (_validEntities.Contains(entityMetadata.LogicalName.ToLowerInvariant()));
        //All other methods just use default implementation:
        public bool GenerateAttribute(AttributeMetadata attributeMetadata, IServiceProvider services)
            return _defaultService.GenerateAttribute(attributeMetadata, services);
        public bool GenerateOption(OptionMetadata optionMetadata, IServiceProvider services)
            return _defaultService.GenerateOption(optionMetadata, services);
        public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services)
            return _defaultService.GenerateOptionSet(optionSetMetadata, services);
        public bool GenerateRelationship(RelationshipMetadataBase relationshipMetadata, EntityMetadata otherEntityMetadata, IServiceProviderservices)
            return _defaultService.GenerateRelationship(relationshipMetadata, otherEntityMetadata, services);
        public bool GenerateServiceContext(IServiceProvider services)
            return _defaultService.GenerateServiceContext(services);
This class implements the ICodeWriterFilterService interface.  This interface is used by the class generation
utility to determine which entities, attrributes, etc. should actually be generated.  The interface is very simple and just has seven methods that are passed metadata info and return a boolean indicating whether or not the metadata should be included
in the generated code file.   
For now I just want to be able to determine which entities are generated, so in the constructor I read from an XML
file (filter.xml) that holds the list of entities to generate and put the list in a Hashset.  The format of the xml is this:
<filter>
  <entities>
    <entity>systemuser</entity>
    <entity>team</entity>
    <entity>role</entity>
    <entity>businessunit</entity>
  </entities>
</filter>
Take a look at the methods in the class. In the GenerateEntity method, we can simply check the EntityMetadata parameter
against our list of valid entities and return true if it's an entity that we want to generate.
For all of the other methods we want to just do whatever the default implementation of the utility is.  Notice
how the constructor of the class accepts a defaultService parameter.  We can just save a reference to this default service and use it whenever we want to stick with the default behavior.  All of the other methods in the class just call the default
service.
To use our extension when running the utility, we just have to make sure the compiled DLL and the filter.xml file
are in the same folder as CrmSvcUtil.exe, and set the /codewriterfilter command-line argument when running the utility (as described in the SDK):
crmsvcutil.exe /url:http://<server>/<org>/XrmServices/2011/Organization.svc /out:sdk.cs  /namespace:<namespace> /codewriterfilter:SvcUtilFilter.CodeWriterFilter,SvcUtilFilter
/username:[email protected] /password:xxxx
That's it! You now have a generated sdk.cs file that is only a few hundred kilobytes instead of 5MB. 
One final note:  There is actually a lot more you can do with extensions to the code generation utility. 
For example: if you return true in the GenerateOptionSet method, it will actually generated Enums for each CRM picklist (which it doesn't normally do by default).
Also, the source code for this SvcUtilFilter example can be found here. 
Use at your own risk, no warranties, etc. etc. 
Please mark as a answer if this post is useful to you.

Similar Messages

  • JBO-28102 A request was timed out while waiting for a resource to be return

    Hello
    We need desparate help in solving our Problem. Please take some time to provide your valuable inputs.
    Our Application is based on ADF Framework(Jdeveloper 11g) model layer is Web Services(PL/SQL Based) and View Object , View layer is JSF.
    The Application is in Production running on unbreakable Linux (JRockit 64-bit JVM) for 5 months.
    Initially we had memoy issues now that is solved by upgrading from 32 bit Jvm - 64 bit Jvm.
    For past two months we are getting JBO error(JBO-28102) , even though the documentation tells to increase the number of connections to Appmodule , we dont see the internal_connections to go more than 5 connections.
    Here is the Parameters we use in our App Module configuration:
    -Djbo.pers.max.active.nodes="-1"
    -Djbo.ampool.maxinactiveage="0"
    -Djbo.ampool.maxpoolsize="50" -Djbo.ampool.maxavailablesize="10" -Djbo.ampool.initpoolsize="0"
    -Djbo.ampool.minavailablesize="10" -Djbo.ampool.monitorsleepinterval="30000"
    -Djbo.txn_seq_inc="1"
    -Djbo.server.internal_connection="jdbc:oracle:thin:xxxx/xxxx@xxx:xx:xxxx"
    -Djbo.ampool.dynamicjdbccredentials="false" -Djbo.ampool.isuseexclusive="false"
    -Djbo.ampool.resetnontransactionalstate="false"
    -Thanks

    Hello Steve,
    We have 4 production servers. The average number of request per hour is 14,254 (3.94 per sec) for today.
    All the AM's jbo.ampool.maxpoolsize is set in the bc4j.xcfg config file. Is it possible if some of the AM is missing in the definition?
    Printed the BC4j Conf file:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.0" xmlns="http://xmlns.oracle.com/bc4j/configuration">
    <AppModuleConfigBag ApplicationName="model.AppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AppModuleLocal" ApplicationName="model.AppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="ViewObjAppModuleLocal" ApplicationName="model.ViewObjAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.ViewObjAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AppModuleShared" ApplicationName="model.AppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000" jbo.ampool.resetnontransactionalstate="false"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="ViewObjAppModuleShared" ApplicationName="model.ViewObjAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.ViewObjAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig name="AppModuleLocal" ApplicationName="model.AppModule" DeployPlatform="LOCAL" JDBCName="dbconnectionobject" jbo.project="model.Model">
    <Security AppModuleJndiName="model.AppModule"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.CORRAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="CORRAppModuleLocal" ApplicationName="model.CORRAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.CORRAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="CORRAppModuleShared" ApplicationName="model.CORRAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.CORRAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.TXNAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="TXNAppModuleLocal" ApplicationName="model.TXNAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.TXNAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="TXNAppModuleShared" ApplicationName="model.TXNAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000" jbo.ampool.resetnontransactionalstate="false"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.TXNAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.AWDAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AWDAppModuleLocal" ApplicationName="model.AWDAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AWDAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="AWDAppModuleShared" ApplicationName="model.AWDAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AWDAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.AwdTyAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AwdTyAppModuleLocal" ApplicationName="model.AwdTyAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdTyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="AwdTyAppModuleShared" ApplicationName="model.AwdTyAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdTyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.AwdMbrHstryTrackAppModule">
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="AwdMbrHstryTrackAppModuleLocal" ApplicationName="model.AwdMbrHstryTrackAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdMbrHstryTrackAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="AwdMbrHstryTrackAppModuleShared" ApplicationName="model.AwdMbrHstryTrackAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.AwdMbrHstryTrackAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.PointAdjstAwaitApprvAppModule">
    <AppModuleConfig jbo.project="model.Model" jbo.pers.max.active.nodes="-1" DeployPlatform="LOCAL" name="PointAdjstAwaitApprvAppModuleLocal" ApplicationName="model.PointAdjstAwaitApprvAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.PointAdjstAwaitApprvAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig jbo.pers.max.active.nodes="-1" jbo.project="model.Model" DeployPlatform="LOCAL" name="PointAdjstAwaitApprvAppModuleShared" ApplicationName="model.PointAdjstAwaitApprvAppModule">
    <AM-Pooling jbo.ampool.maxinactiveage="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.resetnontransactionalstate="false" jbo.ampool.monitorsleepinterval="30000"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.PointAdjstAwaitApprvAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    <AppModuleConfigBag ApplicationName="model.ViewObjAppModule"/>
    <AppModuleConfigBag ApplicationName="model.DeliquencyAppModule">
    <AppModuleConfig DeployPlatform="LOCAL" jbo.pers.max.active.nodes="-1" jbo.project="model.Model" name="DeliquencyAppModuleLocal" ApplicationName="model.DeliquencyAppModule">
    <AM-Pooling jbo.ampool.maxavailablesize="50" jbo.ampool.minavailablesize="0" jbo.ampool.maxpoolsize="1500"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.DeliquencyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    <AppModuleConfig DeployPlatform="LOCAL" jbo.pers.max.active.nodes="-1" jbo.project="model.Model" name="DeliquencyAppModuleShared" ApplicationName="model.DeliquencyAppModule">
    <AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.maxavailablesize="50" jbo.ampool.isuseexclusive="false" jbo.ampool.minavailablesize="0" jbo.ampool.maxpoolsize="1500" jbo.ampool.resetnontransactionalstate="false"/>
    <Database jbo.server.internal_connection="jdbc:oracle:thin:adf_bc_user/xxxxx@xxx:xxx:xxx" jbo.txn_seq_inc="1"/>
    <Security AppModuleJndiName="model.DeliquencyAppModule"/>
    <Custom JDBCDataSource="java:comp/env/jdbc/dbconnectionobjectDS"/>
    </AppModuleConfig>
    </AppModuleConfigBag>
    </BC4JConfig>
    Thanks
    Priya

  • Request timed out while waiting for response!!

    Hi All,
    My scenario is PROXY to SOAP. I am getting below error while posting to WEBSERVICE.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  XML Validation Inbound Channel Response
      -->
      <ns1:stackTrace xmlns:ns1="http://xml.apache.org/axis/">Failed to deliver inbound WS message, code=503 and reason=Request timed out while waiting for response. at com.sonicsw.net.http.ws.WSHttpProtocolHandler$HttpInBrokerHandler.invoke(WSHttpProtocolHandler.java:833) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at com.sonicsw.net.http.ws.WSHttpProtocolHandler.sendToSOAPStack(WSHttpProtocolHandler.java:630) at com.sonicsw.net.http.ws.WSHttpProtocolHandler.dispatch(WSHttpProtocolHandler.java:537) at com.sonicsw.net.http.ws.WSHttpProtocolHandler.servicePost(WSHttpProtocolHandler.java:284) at com.sonicsw.net.http.ws.WSHttpProtocolHandler.service(WSHttpProtocolHandler.java:609) at com.sonicsw.net.http.HttpProtocolHandler.handle(HttpProtocolHandler.java:471) at progress.message.net.http.server.HttpConnectionHandler.handle(HttpConnectionHandler.java:170) at progress.message.net.https.server.SonicHttpsConnection.service(SonicHttpsConnection.java:156) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831) at progress.message.net.https.server.SonicHttpsServer.handleConnection(SonicHttpsServer.java:449) at progress.message.net.https.server.SonicHttpsServer.handle(SonicHttpsServer.java:364) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)</ns1:stackTrace>
    Any Idea ? Do I need to change anything in my SOAP Channel or BAsis should change the Time Parameter?
    Thanks,
    Pushkar Patel

    Hi,
    >>>>>>>Request timed out while waiting for response.
    See the below link, it might be helpful to you for timed out issue.
    [Link1|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c059d583-a551-2c10-e095-eb5d95e03747?quicklink=index&overridelayout=true]
    Regards,
    Rajesh

  • MAX timed out while waiting for a driver

    I am getting an error when starting MAX. the error is that MAX timed out while waiting for a driver (nidaqe plug-in). I have a PCI-GPIB card and an PCI-MXI-2 card in the PC. The operating system is Windows XP.
    I am able to see both these cards under the Windows Device Manager>Hardware. 
    MAX version is 4.6.1f0
    I have also installed NI-488.2 and NIVXI331 driver installed on the computer. 
    Any help will be appreciated. 
    Thank you. 
    vxiguy

    Hi vxi_guy,
             What you're seeing could be the result of a few different things.  First, I would check to see if the NI Configuration Manger and NI Device Loader are running, as per this KB.  Then, if that doesn't work, I would explore the solutions described in this KB.  Please let me know if neither of those articles resolve the issue.  Have a good one!
    aNItaB
    Applications Engineer
    National Instruments
    Digital Multimeters

  • HT1688 the network connection timed out while updating iphone software

    the network connection timed out while updating iphone software and cannot continue.

    Might want to search the Mac forum or post there... also, this thread is over 2 years old.

  • Time out while waiting for the managed process to start

    Hi All,
    Im getting the below error,when i try to start all managed processes.
    Its taking too much time to execute "opmnctl startall "command and it will give the below error.
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=inkolv1lp01:6201
    0 of 3 processes started.
    ias-instance id=retek101202.inkolv1lp01
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    HTTP_Server/HTTP_Server/HTTP_Server
    Error
    --> Process (pid=401608)
    time out while waiting for a managed process to start
    Log:
    /retek/product/app_server/101202/OracleFRM_13/opmn/logs/HTTP_Server~1
    ias-component/process-type/process-set:
    WebCache/WebCache/WebCache
    Error
    --> Process (pid=319598)
    time out while waiting for a managed process to start
    Log:
    /retek/product/app_server/101202/OracleFRM_13/opmn/logs/WebCache~WebCache~1
    ias-component/process-type/process-set:
    WebCache/WebCacheAdmin/WebCacheAdmin
    Error
    --> Process (pid=397550)
    time out while waiting for a managed process to start
    Log:
    /retek/product/app_server/101202/OracleFRM_13/opmn/logs/WebCache~WebCacheAdmin~1
    Im in between some work ,please help to resolve the isue

    Hi,
    I checked the log files and i think it has some errors.I dint get exactly what does it mean.
    Web Cache ($ORACLE_HOME/webcache/logs :
    - event_log contains
    [18/Apr/2012:11:16:26 -0500] [notification 9612] [ecid: -] OracleAS Web Cache 10g (10.1.2), Build 10.1.2.0.2 050802
    [18/Apr/2012:11:16:26 -0500] [notification 9403] [ecid: -] Maximum number of file/socket descriptors set to 900.
    [18/Apr/2012:11:16:26 -0500] [notification 9612] [ecid: -] OracleAS Web Cache 10g (10.1.2), Build 10.1.2.0.2 050802
    [18/Apr/2012:11:16:26 -0500] [notification 9403] [ecid: -] Maximum number of file/socket descriptors set to 900.
    [18/Apr/2012:11:16:31 -0500] [notification 13002] [ecid: -] Maximum allowed incoming connections are 700
    [18/Apr/2012:11:16:31 -0500] [notification 13002] [ecid: -] Maximum allowed incoming connections are 700
    [18/Apr/2012:11:17:01 -0500] [warning 11917] [ecid: -] SSL wallet Origin Server Wallet file /etc/ORACLE/WALLETS/oret13/ewallet.p12 does not exist.
    [18/Apr/2012:11:17:01 -0500] [warning 11917] [ecid: -] SSL wallet Origin Server Wallet file /etc/ORACLE/WALLETS/oret13/ewallet.der does not exist.
    [18/Apr/2012:11:17:01 -0500] [warning 11919] [ecid: -] The SSL wallet autologin file /etc/ORACLE/WALLETS/oret13/cwallet.sso does not exist. Wallet does not appear to be
    autologin wallet.
    [18/Apr/2012:11:17:01 -0500] [warning 11921] [ecid: -] The origin server wallet did not open. Operating without wallet for backend. Only Diffie-Hellman anonymous connec
    tions supported to origin servers.
    [18/Apr/2012:11:17:01 -0500] [warning 11922] [ecid: -] Origin Server Wallet wallet fails to open at location /etc/ORACLE/WALLETS/oret13, NZE-28759, as user oret13
    [18/Apr/2012:11:17:01 -0500] [warning 11917] [ecid: -] SSL wallet Origin Server Wallet file /etc/ORACLE/WALLETS/oret13/ewallet.p12 does not exist.
    [18/Apr/2012:11:17:01 -0500] [warning 11917] [ecid: -] SSL wallet Origin Server Wallet file /etc/ORACLE/WALLETS/oret13/ewallet.der does not exist.
    [18/Apr/2012:11:17:01 -0500] [warning 11919] [ecid: -] The SSL wallet autologin file /etc/ORACLE/WALLETS/oret13/cwallet.sso does not exist. Wallet does not appear to be
    autologin wallet.
    2)Oracle HTTP Server ($ORACLE_HOME/Apache/Apache/logs has these details
    access_log.1307016000 mod_oc4j.753776.shm.sem
    access_log.1307059200 mod_oc4j.815188.shm.mem
    access_log.1307102400 mod_oc4j.815188.shm.sem
    access_log.1307145600 mod_oc4j.843922.shm.mem
    access_log.1307361600 mod_oc4j.843922.shm.sem
    access_log.1307404800 mod_oc4j.872618.shm.mem
    access_log.1307448000 mod_oc4j.872618.shm.sem
    access_log.1307491200 mod_oc4j.872692.shm.mem
    access_log.1307534400 mod_oc4j.872692.shm.sem
    access_log.1307577600 oracle

  • Apple ID keeps timing out while trying to sign in after updating to iOS5

    I updated my iPhone 4 to iOS5 and now while trying to sign in using my apple ID (on the phone) I keep getting an error message saying "Could Not Sign In : The request timed out."

    Same thing is happening here, I can't get past the startup wizard, I had to skip the step - I don't know whether that will screw up my setup or not.

  • "The Network Connection Timed Out" while DLing 2.0 update

    hey guys, when im downloading the new update through itunes, it will get a little bit done and then says this quote.. anybody want to lend their iphone expertise to me? it would be greatly appreciated
    -kyle

    I am having this same problem...got the furthest I had ever today...reached 60MB
    ugh....didn't know if I had to change a setting.

  • I'm trying to redeem my itunes gift card and i get the message "session timed out".  does anyone know why i'm not able to redeem my card and why i get this message?

    i'm trying to redeem my itunes gift card and i get the message "session timed out."  does anyone know why i'm not able to redeem my card and why i get this message in stead?

    I've been having the same issues too, and thought it was just my outdated computer or account?!
    Every time I try to purchase a song, "session has timed out" shows up after I click "agree" to the terms!? I seem to be in the exact same scenario as 'SportsBarn' above:  Itunes support have replied repeatedly with the same "solutions" but nothing has helped or even been applicable.  I have an older laptop, 2005 Powerbook running OS X 10.4 Tiger so it's not compatible with the latest iTunes 10.5.2 which requires minimum OS X 10.5. I've been using the balance already in my iTunes account (from redeemed giftcards over the past few years) with no problem, until recently (my last successful purchase was October 2011). I wonder if it's the older OS or just a redemption glitch even with newer computers?

  • Server timed out while loading the home page.Loads when refreshed.

    Hi All
    I have developed my application in .Net framework. I tried to deploy the application in PlumTree Portal server. The application gets timed out when run for the first time ( i.e, as soon as user logs in). It gets loaded when the page is refreshed. I tried inreasing the portlet timeout in web service, but of no use.
    I have used "Response.Redirect" in my home page to load the screen as per the user. Could this be a problem? Or is there a problem an someother place.
    Any help or suggestion is welcome
    Thanks,
    Karthick

    Hey jennifer,
    Did you ever have this issue solved? If so, please post how did you figured it out. I'm having the same problem.
    Regards,
    Alonso

  • Javax.transaction.SystemException: Timed out while in 'Logging' state!!!!

    Hello, we have an OracleWeblogic 10.3.2 running on a Solaris OS.
    In this AppServer we have a FullStack J2EE Application executing distributed transactions that involve 3 manageable resources:
    TxDatasource (EJB),
    NonTxDatasource with enableTwoPhaseCommit and
    JMS
    Some of the transactions are timing out while in 'Logging' state and I just cant figure out what the root cause is. As a defensive action I lowered the JTA Timeout seconds because I noticed the 'Logging' phase was taking too long and then timing out. Idea here was not to have too many threads hanging in Logging state and therefore use the JTA Timeout to overcome this problem and minimize impact.
    Below, I'm posting a few exceptions thrown in applicaiton log. Any help is very appreciated.
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '175' for queue: 'weblogic.kernel.Default (self-tuning)'> <JG47515> <> <> <1313163611120> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)],Xid=BEA1-7DB913B4CB2B36D47CB7(1248714554),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=82,seconds left=60,XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)]}),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
    at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
    at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
    at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
    at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
    at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
    at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
    at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
    at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
    at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
    at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
    at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    ... 2 more
    .>
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '154' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1313163611119> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-7DBB13B4CB2B36D47CB7(977835896),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=60,seconds left=60,XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:500)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    ... 3 more
    .>
    This is the stack trace of the thread that hangs while waiting for the lock to write in the transaction file:
    "[ACTIVE] ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010dea3000 nid=0x1e2 in Object.wait() [0xfffffffda03ff000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at weblogic.transaction.internal.ServerTransactionImpl.log(ServerTransactionImpl.java:2005)
         - locked <0xfffffffe64964b30> (a weblogic.transaction.internal.ServerTransactionImpl)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2320)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:273)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
         at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
         at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
         at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
         at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
         at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
         at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
         at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
         at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user8727499 on Aug 12, 2011 11:57 AM

    Hello, we have an OracleWeblogic 10.3.2 running on a Solaris OS.
    In this AppServer we have a FullStack J2EE Application executing distributed transactions that involve 3 manageable resources:
    TxDatasource (EJB),
    NonTxDatasource with enableTwoPhaseCommit and
    JMS
    Some of the transactions are timing out while in 'Logging' state and I just cant figure out what the root cause is. As a defensive action I lowered the JTA Timeout seconds because I noticed the 'Logging' phase was taking too long and then timing out. Idea here was not to have too many threads hanging in Logging state and therefore use the JTA Timeout to overcome this problem and minimize impact.
    Below, I'm posting a few exceptions thrown in applicaiton log. Any help is very appreciated.
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '175' for queue: 'weblogic.kernel.Default (self-tuning)'> <JG47515> <> <> <1313163611120> <BEA-010026> <Exception occurred during commit of transaction Name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)],Xid=BEA1-7DB913B4CB2B36D47CB7(1248714554),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=82,seconds left=60,XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),properties=({weblogic.transaction.name=[EJB com.citicorp.fx.credit.CreditServiceBean.askCreditQuery(com.citicorp.fx.credit.data.CreditQueryRequestData)]}),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
    at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
    at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
    at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
    at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
    at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
    at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
    at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
    at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
    at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
    at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
    at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
    at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
    at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    ... 2 more
    .>
    ####<Aug 12, 2011 11:40:11 AM EDT> <Error> <EJB> <brzfxap1> <FefxServer> <[ACTIVE] ExecuteThread: '154' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1313163611119> <BEA-010026> <Exception occurred during commit of transaction Xid=BEA1-7DBB13B4CB2B36D47CB7(977835896),Status=Rolled back. [Reason=javax.transaction.SystemException: Timed out while in 'Logging' state],numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=60,seconds left=60,XAServerResourceInfo[WLStore_fefx_FefxFileStore]=(ServerResourceInfo[WLStore_fefx_FefxFileStore]=(state=rolledback,assigned=FefxServer),xar=WLStore_fefx_FefxFileStore1032009487,re-Registered = false),XAServerResourceInfo[TWOraDS_fefx]=(ServerResourceInfo[TWOraDS_fefx]=(state=rolledback,assigned=FefxServer),xar=TWOraDS,re-Registered = false),SCInfo[fefx+FefxServer]=(state=rolledback),local properties=({weblogic.jdbc.jta.TWOraDS=[ No XAConnection is attached to this TxInfo ]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+, XAResources={WLStore_fefx_FefxFileStore, TWOraDS_fefx, WLStore_fefx__WLS_FefxServer, weblogic.jdbc.wrapper.JTSXAResourceImpl, WSATGatewayRM_FefxServer_fefx},NonXAResources={})],CoordinatorURL=FefxServer+169.193.4.91:8107+fefx+t3+): weblogic.transaction.RollbackException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1848)
    at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:339)
    at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:500)
    at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
    at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
    at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4585)
    at weblogic.jms.client.JMSSession.execute(JMSSession.java:4271)
    at weblogic.jms.client.JMSSession.executeMessage(JMSSession.java:3747)
    at weblogic.jms.client.JMSSession.access$000(JMSSession.java:114)
    at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:5096)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.transaction.SystemException: Timed out while in 'Logging' state
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1797)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1609)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1885)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1519)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    ... 3 more
    .>
    This is the stack trace of the thread that hangs while waiting for the lock to write in the transaction file:
    "[ACTIVE] ExecuteThread: '64' for queue: 'weblogic.kernel.Default (self-tuning)'" daemon prio=3 tid=0x000000010dea3000 nid=0x1e2 in Object.wait() [0xfffffffda03ff000]
    java.lang.Thread.State: TIMED_WAITING (on object monitor)
         at java.lang.Object.wait(Native Method)
         at weblogic.transaction.internal.ServerTransactionImpl.log(ServerTransactionImpl.java:2005)
         - locked <0xfffffffe64964b30> (a weblogic.transaction.internal.ServerTransactionImpl)
         at weblogic.transaction.internal.ServerTransactionImpl.globalPrepare(ServerTransactionImpl.java:2320)
         at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:273)
         at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:233)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvoke1(BaseRemoteObject.java:621)
         at weblogic.ejb.container.internal.StatelessRemoteObject.postInvoke1(StatelessRemoteObject.java:60)
         at weblogic.ejb.container.internal.BaseRemoteObject.postInvokeTxRetry(BaseRemoteObject.java:441)
         at com.citicorp.fx.credit.CreditService_6w08fk_EOImpl.askCreditQuery(CreditService_6w08fk_EOImpl.java:75)
         at com.citicorp.fx.client.creditquery.QueryProcessor.handleEvent(QueryProcessor.java:77)
         at org.jac.creation.ProcessorAction.handleEvent(ProcessorAction.java:64)
         at org.jac.runtime.AbstractAction.handleSecuredEvent(AbstractAction.java:73)
         at org.jac.runtime.StateImpl.handleEvent(StateImpl.java:66)
         at org.jac.runtime.ControllerImpl.handleEvent(ControllerImpl.java:123)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:55)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.session.SessionImpl.handleEvent(SessionImpl.java:78)
         - locked <0xfffffffe0860e618> (a org.jac.session.SessionImpl)
         at org.jac.creation.JacImpl.handleEvent(JacImpl.java:53)
         at org.jac.runtime.JACExecutor.handleEvent(JACExecutor.java:111)
         at org.jac.runtime.JACExecutor.handleEventBySessionID(JACExecutor.java:103)
         at org.jac.http.ControllerFilter.doFilter(ControllerFilter.java:63)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.fx.util.compression.CompressionFilter.doFilter(CompressionFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.citicorp.security.web.WebLogicSiteminderAuthenticationFilter.doFilter(WebLogicSiteminderAuthenticationFilter.java:65)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3592)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2202)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2108)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1432)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Edited by: user8727499 on Aug 12, 2011 11:57 AM

  • Bug: Unhandled Exception: System.IO.IOException: The requested operation could not be completed due to a file system limitation

    Hello, I have a 35GB text file that I'm copying from one folder to another folder via c#
    (I simply open a StreamReader and a StreamWriter and copy line by line (something like sw.WriteLine(sr.ReadLine());)
    If [the destination folder is a "windows compress folder" (right click folder > properties > Advanced > Compress content to save disk space)] then it fails else it works well.
    Any idea how to solve the issue?
    I have windows 8.1 with all latest updates. The ssd is a samsung 850 pro, and I tried on 2 machines, same results.
    So to recap, it seems the issue is with the writing of big files on a compress folder, the reading is fine.
    thanks.
    w
    Error:
    2015.01.08 10:15:27] Unhandled Exception: System.IO.IOException: The requested operation could not be completed due to a file system limitation
    [Err, 2015.01.08 10:15:27] 
    [Err, 2015.01.08 10:15:27]    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    [Err, 2015.01.08 10:15:27]    at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
    [Err, 2015.01.08 10:15:27]    at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
    [Err, 2015.01.08 10:15:27]    at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
    [Err, 2015.01.08 10:15:27]    at System.IO.StreamWriter.Write(String value)
    w.

    Hi w,
    Per my understanding. This is not a C# code issue. I doubt the issue related your OS.
    After search the error info,
    here is a possible solution, please take a look
    “The requested operation
    could not be completed due to a file system limitation.”
    <copied>
    Please use Disk Defragmenter to defrag the NTFS volume on your side, which should fix this issue.
    Please refer to:
    A heavily fragmented file in an NTFS volume may not grow beyond a certain size
    http://support.microsoft.com/kb/967351
    For the limitation of NTFS, please check the following online guide.
    How NTFS Works
    http://technet.microsoft.com/en-us/library/cc781134(WS.10).aspx
    </copied>
    Best of luck!
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The Web Service plug-in failed in OrganizationId and Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation

    Hi All,We are receiving below errors in our production envrionment as The Web Service plug-in failed in OrganizationId: c28f361a-8111-e211-b7f2-68b599c03df8; SdkMessageProcessingStepId: 36ccbb1b-ea3e-db11-86a7-000a3a5473e8;
     1.EntityName: userquery; Stage: 30; MessageName: RetrieveMultiple;
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.IndexOutOfRangeException: #TotalRecordCount
    2.EntityName: email; Stage: 30; MessageName: RetrieveMultiple
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation
    Inner Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    3.
    EntityName: plugintype; Stage: 30; MessageName: RetrieveMultiple;
    <Data>Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed first.
    Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    Inner Exception: System.InvalidOperationException: There is already an open DataReader associated with this Command which must be closed firstPlease give us idea on above issues.
    Natarajan.V

    Hi,
    What version of CRM you are using? Does this happen when you open the case record?
    We have faced the similar for Account record and was solved using below query. I am not sure about incident.
    Update ACC
    SET ACC.Merged = 0
    from AccountBase ACC
    WHERE ACC.merged is null
    Do you have case merge option enabled on incident entity? As per the MS it is enabled for CRM 2013 SP1 and CRM 2015.
    http://www.microsoft.com/en-us/dynamics/crm-customer-center/merge-similar-cases.aspx 
    Thanks!
    Kalim Khan

  • The request has timed out after 00:00:00 milliseconds.

    Hello,
    I am having weird exception when I try to send a message to a topic and there's nothing on the internet I could "google with Bing" about it.
    Here's the error message
    The request has timed out after 00:00:00 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded.
    There are two things weird about it:
    The timeout period is 0 miliseconds
    The number of miliseconds is given in format 00:00:00
    Here's the whole stack
    Timestamp: 5.5.2014. 11:15:58
    Message: HandlingInstanceID: b9fcc3c8-c167-47ab-8473-ae45bfb62311
    An exception of type 'System.TimeoutException' occurred and was caught.
    05/05/2014 11:15:58
    Type : System.TimeoutException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : The request has timed out after 00:00:00 milliseconds. The successful completion of the request cannot be determined. Additional queries should be made to determine whether or not the operation has succeeded.
    Source : Microsoft.ServiceBus
    Help link :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : TAsyncResult End[TAsyncResult](System.IAsyncResult)
    HResult : -2146233083
    Stack Trace :
    Server stack trace:
    Exception rethrown at [0]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenCore(IAsyncResult result, String& expiresIn)
    at Microsoft.ServiceBus.TokenProviderHelper.EndGetAccessTokenByAssertion(IAsyncResult result)
    at Microsoft.ServiceBus.SharedSecretTokenProvider.OnEndGetToken(IAsyncResult result, DateTime& cacheUntil)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResult.OnEndTokenProviderCallback(IAsyncResult result, DateTime& cacheUntil)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResultBase`1.OnCompletion(IAsyncResult result)
    at Microsoft.ServiceBus.TokenProvider.GetTokenAsyncResultBase`1.<GetAsyncSteps>b__f(T thisPtr, IAsyncResult r)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    Exception rethrown at [1]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.TokenProviderUtility.GetMessagingToken(TokenProvider tokenProvider, Uri baseAddress, String appliesTo, String action, Boolean bypassCache, TimeSpan timeout)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationToken(String appliesTo, String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.GetAuthorizationHeader(String action)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessageInternal(String action, Object body, Boolean includeToken, String parentLinkId, RetryPolicy policy, TrackingContext trackingContext, RequestInfo requestInfo)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageCreator.CreateWcfMessage(String action, Object body, String parentLinkId, RetryPolicy policy, TrackingContext trackingContext, RequestInfo requestInfo)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.SendCommandAsyncResult.CreateWcfMessage()
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpTransactionalAsyncResult`1.<GetAsyncSteps>d__40.MoveNext()
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.EnumerateSteps(CurrentThreadType state)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.Start()
    Exception rethrown at [2]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.EndSendCommand(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.<.ctor>b__1(IAsyncResult result, Boolean forceCleanUp)
    at Microsoft.ServiceBus.Messaging.BatchManager`1.PerformFlushAsyncResult.OnSingleOperationCompleted(IAsyncResult result)
    Exception rethrown at [3]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.BatchManager`1.BatchedObjectsAsyncResult.End(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.BatchManager`1.EndBatchedOperation(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.BatchManagerAsyncResult`1.OnBatchedCallback(IAsyncResult result)
    at Microsoft.ServiceBus.Common.AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)
    Exception rethrown at [4]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.Sbmp.SbmpMessageSender.OnEndSend(IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.MessageSender.RetrySenderAsyncResult.<GetAsyncSteps>b__f(RetrySenderAsyncResult thisPtr, IAsyncResult r)
    at Microsoft.ServiceBus.Messaging.IteratorAsyncResult`1.StepCallback(IAsyncResult result)
    Exception rethrown at [5]:
    at Microsoft.ServiceBus.Common.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at Microsoft.ServiceBus.Messaging.TopicClient.EndSend(IAsyncResult result)
    at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Framework.Azure.Bus.AzureServiceBus.<EnqueueAsync>d__0.MoveNext() in c:\nivatech\papiri\source\framework\Azure\Bus\AzureServiceBus.cs:line 98
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Framework.Analytics.BusinessActivityLogRepository.<EnqueueAddAsync>d__29.MoveNext() in c:\nivatech\papiri\source\framework\Core\Analytics\BusinessActivityLogRepository.cs:line 51
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Papiri.Web.Controllers.BaseController.<RegisterActivityAsync>d__4.MoveNext() in c:\nivatech\papiri\source\web\site\Controllers\BaseController.cs:line 102
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
    at Niva.Papiri.Web.Controllers.HomeController.<Index>d__0.MoveNext() in c:\nivatech\papiri\source\web\site\Controllers\HomeController.cs:line 35
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.Mvc.Async.TaskAsyncActionDescriptor.EndExecute(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeAsynchronousActionMethod>b__36(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass48.<InvokeActionMethodFilterAsynchronouslyRecursive>b__41()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.<BeginInvokeActionMethodWithFilters>b__32(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
    Additional Info:
    TimeStamp : 5.5.2014. 11:15:58
    FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    AppDomainName : /LM/W3SVC/2/ROOT-1-130437489467023302

    We had the same issue and solved it.
    We changed the authorization of the servicebus to SAS and all is working fine now.
    1. Check Azure Portal  select your ServiceBus and go to register configuration
    2. You need the Name and Key of existing Rule (here RootManageSharedAccessKey) or insert a new Rule. We created a new rule with no manage access.
    3.1 In Code:
    Replace the SharedSecretCredentials with SAS Tokenprovider and add it to the endpoint behaviors like before
    TransportClientEndpointBehavior sas = new TransportClientEndpointBehavior();
    sas.TokenProvider = TokenProvider.CreateSharedAccessSignatureTokenProvider("NAMEofRULE","KEYofRULE");
    3.2 App.Config:
    Simply change the tokenprovider line from
    <behaviors>
          <endpointBehaviors>
            <behavior name="sharedSecretClientCredentials">
              <transportClientEndpointBehavior>
                <tokenProvider><sharedSecret issuerName="ACSNAME" issuerSecret="ACSKEY"/></tokenProvider>...
    to
    <sharedAccessSignature keyName="NAMEofRule" key="KEYofRULE"/>
    Hope it helps!

  • ServiceRequestException : The request failed. The operation has timed out

    I wrote simple client using EWS Managed API. And let it run for one night. It was working fine. But when I checked it back in the morning, I found my application stopped. I checked logs I got following exception:
    2014-01-08 01:49:05.3649 | Error | Exception while fetching mails : The request failed. The operation has timed out | MyNamespace.MyClass.myMethod
    Immediate Stack Trace
    ===================================================================================
    Microsoft.Exchange.WebServices.Data.ServiceRequestException : The request failed. The operation has timed out
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.ValidateAndEmitRequest(IEwsHttpWebRequest& request)
    at Microsoft.Exchange.WebServices.Data.SimpleServiceRequestBase.InternalExecute()
    at Microsoft.Exchange.WebServices.Data.MultiResponseServiceRequest`1.Execute()
    at Microsoft.Exchange.WebServices.Data.ExchangeService.InternalLoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet, ServiceErrorHandling errorHandling)
    at Microsoft.Exchange.WebServices.Data.ExchangeService.LoadPropertiesForItems(IEnumerable`1 items, PropertySet propertySet)
    at MyNamespace.MyClass.myMethod() in c:\MyProject\MyClass.cs:line 190
    Inner Exception 1 : Stack Trace
    The operation has timed out
    at System.Net.HttpWebRequest.GetResponse()
    at Microsoft.Exchange.WebServices.Data.EwsHttpWebRequest.Microsoft.Exchange.WebServices.Data.IEwsHttpWebRequest.GetResponse()
    at Microsoft.Exchange.WebServices.Data.ServiceRequestBase.GetEwsHttpWebResponse(IEwsHttpWebRequest request)
    Since the Exception message did not contain error code that Exchange server usually returns like (401) Unauthorized or (403) Forbidden, I am unable to pinpoint any reason for this to occur, since the functionality worked perfectly several times before
    this exception occurred as I can check in my logs. Also my diagnostic class which runs on the occurrences of any exception immediately tried to ping exchange server and re-initialize ExchangeService object. When I checked diagnostics logs after this exception
    time for the result of diagnostics, then it was able to ping the exchange server and the ExchageServer object also initialized successfully. So I am out of any reason now. 
    The exception occurred on the last line of the following code:
    ItemView itemView = new ItemView(100, 0);
    FindItemsResults<Item> itemResults = null;
    PropertySet psPropSet = new PropertySet(BasePropertySet.IdOnly);
    itemView.PropertySet = psPropSet;
    PropertySet itItemPropSet = new PropertySet(BasePropertySet.IdOnly)
    ItemSchema.Attachments,
    ItemSchema.Subject,
    ItemSchema.Importance,
    ItemSchema.DateTimeReceived,
    ItemSchema.DateTimeSent,
    ItemSchema.ItemClass,
    ItemSchema.Size,
    ItemSchema.Sensitivity,
    EmailMessageSchema.From,
    EmailMessageSchema.CcRecipients,
    EmailMessageSchema.ToRecipients,
    ItemSchema.MimeContent
    itemResults = service.FindItems(WellKnownFolderName.Inbox, itemView);
    if (itemResults.Items.Count != 0)
    service.LoadPropertiesForItems(itemResults.Items, itItemPropSet);
    Any guesses why this could have happened? Or just some random network congestion? Am I forgetting to log some more information. Should I also log Exception.Data or something else?

    The timeout is occurring on the client so it not a particular error that's being returned by the server.
    The default timeout with the EWS Managed API is 90 seconds and is set on the ExchangeService Object. You can set this to a higher value eg to set it to 5 minutes
    server.timeout = 300000;
    Why it fails ? if its overnight then Backups can be the cause eg if they are snapshotting the server or some other backup mechanism could mean the server is very busy for a time. Or any other number of specific environmental factors. This is really
    a job for your Network admin to determine with server and network monitoring. I would suggest you check the EWS.Log on the Exchange server to see what happened at that time.
    What you should do at a code level is handle the exception, I would suggest wait for 60 seconds after the exception (this will cater for most throttling issues) and then try the same request again. If it fails again after a pause then
    you generally have a larger problem.
    Cheers
    Glen

Maybe you are looking for

  • Move CC from Win 7 laptop to Surface Pro 3 Win 8.1

    Hello all, I subscribe to the full CC and I am going to be moving files from a Win 7 laptop to a Win 8.1 Surface Pro 3 in the next week or so and I was wondering...The laptop is my secondary or mobile production machine and it's also used in training

  • My sim card is not showing in my Iphone why

    My iphone is not using my sim

  • Will Apple TV (2) "talk" with Samsung's Verizon hotspot?

    The product info for the Samsung-made Verizon LTE 4G hotspot states that the device will "connect with up to five wi-fi enabled devices." I'm wondering if this includes Apple TV. Anyone tried it? I'm wondering if it could access the bandwidth from th

  • Ejb creation error on eclipse 3.1

    hello, I install eclipse 3.2Rc1 & lomboz-emf-gef-3.1rc1 but when I create ejb project then it gives following error:- Internel Error An SWT error has occurred. You are recommended to exit the workbench. Subsequent errors may happen and may terminate

  • How to use iPad in a Spanish Classroom?

    Hello, My mom is a high school Spanish teacher and is thinking about getting an iPad for her to use in her classroom. Since it is a significant investment in a device, I would like to know the most useful ways that she might be able to use it to teac