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

Similar Messages

  • 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.

  • 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

  • Time out occurred while waiting for memory resources

    Team,
    I am have Microsoft SQL Server 2008 SP1( 10.0.2734.0) 64bit with application being SCCM 2007
    I am getting below error in SQL error log ::
    Error 8645: Severity 17, state 1
    A time out occurred while waiting for memory resources to execute the query in resource pool ‘internal’. Re-run the query.
    At first glance, i thought that it is issue of query not getting enough memory.
    Searched on google but could not get way to resolve it or issue creating factor.
    Chetan

    Well,
    Upgrade is what client is not willing to go for as of now.
    They have rebooted the server and as of now, their SCCM application is working fine ( Not sure how reboot has solve the issue). We are not getting the above mentioned error also in SQL Log.
    Looks like, rebooting server has cleared the memory jam.
    Chetan
    Restarting sql server service cleared buffer cache and any such query holding or requesting more memory so issue disappeared.  You just delayed the issue not solved it. Next time dont reboot find out the cause . If you want to check whether your SQL
    Server requires more memory have a look at below counters in link
    http://social.technet.microsoft.com/wiki/contents/articles/22316.sql-server-memory-and-troubleshooting.aspx#How_to_test_that_your_SQL_server_is_facing_memory_crunch
    If your say to business about what are drawbacks on running unsupported version I am sure they will apply SP3. There are loads of fixes and its quite possible your error may be related to any such fixed issue.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • While Starting oacleAS time out while waiting for a managed process start

    Hello Friends,
    While starting the Oracle Application server, through OPMN command as well as from the services I am getting following error.
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=hydcgwsgess02:6200
    0 of 1 processes started.
    ias-instance id=GenPro.hydcgwsgess02.ind.ge.ad
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/home/default_group/
    Error
    --> Process (index=1,uid=461249245,pid=12988)
    time out while waiting for a managed process to start
    Log:
    D:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    ========================================================
    couldn't figure out what is the basic problem...
    Normally when ever I make any changes in Oracle Sensor Edge Server, I used to get this error..
    I have installed the Oracle Apps Server in Windows enviroment...
    I will be very happy if some body can help me resolve the issue...
    Regards
    Nasim

    i got the same error but in my case, I used HTTPDispatcher and found that the URL parameter was invalid, so I changed it in the edgeserver.xml and restart, it's ok for me.
    Edited by: blackwaterpark on Oct 29, 2008 2:21 PM

  • OacleAS time out while waiting for a managed process start

    Hello Friends,
    While starting the Oracle Application server, through OPMN command as well as from the services I am getting following error.
    opmnctl: starting opmn and all managed processes...
    ================================================================================
    opmn id=hydcgwsgess02:6200
    0 of 1 processes started.
    ias-instance id=GenPro.hydcgwsgess02.ind.ge.ad
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    ias-component/process-type/process-set:
    OC4J/home/default_group/
    Error
    --> Process (index=1,uid=461249245,pid=12988)
    time out while waiting for a managed process to start
    Log:
    D:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    ========================================================
    couldn't figure out what is the basic problem...
    Normally when ever I make any changes in Oracle Sensor Edge Server, I used to get this error..
    I have installed the Oracle Apps Server in Windows enviroment...
    I will be very happy if some body can help me resolve the issue...
    Regards
    Nasim

    Can't tell you what's wrong with just this much of information. Take a look at this log file (as reported in the error message):
    D:\product\10.1.3\OracleAS_1\opmn\logs\OC4J~home~default_group~1
    And also:
    D:\product\10.1.3\OracleAS_1\j2ee\home\log\home_default_group_1\server.log
    These two log files will give you bit more information to help diagnose the issue.
    Thanks
    Shail

  • 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

  • Facebook timed out while writing a post.  Any attempt to open FB, now shows post that was in progress and immediately crashes app.  Cannot clear timed out item.  Have power failed and done warm reboot on iPad.   Is Delete/Reinstall only option?

    Was writing post, as part of sharing article from my newsfeed.   While writing, Facebook timed out.  Display cleared.  App recycled and returned to newsfeed.  This has happened previously and for all purposes, the original post, since it had never been "loaded" onto FB servers effectively was deleted from iPad memory.  That appeared to be the case yesterday; as I was able to continue reading, sharing and commenting on other articles. 
    Later, as I was shutting iPad down for the night, scrolled through open Apps and discovered the original FB window was still "open" I'd apparently been working on a 2nd or mirror version of the app.  Attempting to access the original page; it opens, but I am unable to "interact" with the display/app, pressing "cancel" on my original post has no effect.  Within 5-6 seconds FB crashes.   
    I power failed the iPad, left it over night and today am encountering the same problem.   Tapping FB icon, brings up the post that was timed out.  It displays for 2-3 seconds max, then original article and partial post disappear.  Newsfeed appears to be loading as that and contact columns are visible in light font indicating they are preparing to load.   2-3 seconds, that vanishes.  Am left with blue header band, spinning wheel indicating it is trying to communicate or process something.   2-3 seconds and then screen goes black and I'm returned to my app desktop. 
    If I immediately tap icon to reopen I get white screen, with blue header band.   2-3 seconds, black screen, back to app desktop.   If I wait 2 minutes, I get the full shared article, partial post as described above.  I've confirmed in the problem log that this is failing in Thread 0 and showing up as system crash. 
    Based on feedback to somewhat similar FB problem I found in forum; in addition to doing power fail.  I also did warm reboot (Home and Sleep keys) in hope app would reboot along with ios.  No change.
    At this point, I'm assuming my only viable option is to delete the app and reinstall it from App Store.  Easy enough to accomplish.  But wanted to see if there were any other recommendations, or whether anyone else has experienced a similar failure with FaceBook.
    Thanks for your assistance.

    Was writing post, as part of sharing article from my newsfeed.   While writing, Facebook timed out.  Display cleared.  App recycled and returned to newsfeed.  This has happened previously and for all purposes, the original post, since it had never been "loaded" onto FB servers effectively was deleted from iPad memory.  That appeared to be the case yesterday; as I was able to continue reading, sharing and commenting on other articles. 
    Later, as I was shutting iPad down for the night, scrolled through open Apps and discovered the original FB window was still "open" I'd apparently been working on a 2nd or mirror version of the app.  Attempting to access the original page; it opens, but I am unable to "interact" with the display/app, pressing "cancel" on my original post has no effect.  Within 5-6 seconds FB crashes.   
    I power failed the iPad, left it over night and today am encountering the same problem.   Tapping FB icon, brings up the post that was timed out.  It displays for 2-3 seconds max, then original article and partial post disappear.  Newsfeed appears to be loading as that and contact columns are visible in light font indicating they are preparing to load.   2-3 seconds, that vanishes.  Am left with blue header band, spinning wheel indicating it is trying to communicate or process something.   2-3 seconds and then screen goes black and I'm returned to my app desktop. 
    If I immediately tap icon to reopen I get white screen, with blue header band.   2-3 seconds, black screen, back to app desktop.   If I wait 2 minutes, I get the full shared article, partial post as described above.  I've confirmed in the problem log that this is failing in Thread 0 and showing up as system crash. 
    Based on feedback to somewhat similar FB problem I found in forum; in addition to doing power fail.  I also did warm reboot (Home and Sleep keys) in hope app would reboot along with ios.  No change.
    At this point, I'm assuming my only viable option is to delete the app and reinstall it from App Store.  Easy enough to accomplish.  But wanted to see if there were any other recommendations, or whether anyone else has experienced a similar failure with FaceBook.
    Thanks for your assistance.

  • I am getting an error message that my network connection has timed out. while trying to update my iPhone on iTunes. Has anyone found a solution? I was given some advice about turning off my firewall and/or virus protection but am nervous about doing that.

    I get a message that my network connection has timed out while trying to update my iPhone on iTunes. Has anyone else had that problem and if so what solutions have you found? I was told to turn off my firewall and/or virus protection while updating but am nervous about doing that for obvious reasons. I'm also disgusted with Apple not providing free tech support.

    See this article about the ports that have to be open during the update process. iTunes has to contact Apple during the download. iTunes for Windows: Troubleshooting security software issues

  • Getting session has timed out while trying to redeem a gift card. have had no problem in the past.  am running a g4 since 2002 with os 10.4 and itunes 9. have no internet problems and can connect to store ok. so far apple no help keeps blaming it on othrs

    am having trouble for the first time trying to redeem a gift card. Everything same on computer, OS, and internet connection. have been able to redeem other cards. this time am getting "SESSION HAS TIMED OUT" while trying to redeem card. have contacted apple and checked out all their suggestion iE:( must be your connection. typed in code wrong, too old version of itunes, etc) anything but why would a gift card code bee tied to a specific vetrsion of ITUNES. Rediculous!! there has to be others out there that have an older version if itune than i have. has anyone ever had the error "SESSION HAS TIMED OUT" and if so was it corrected?? any information other than apples {change password and give us lots of personal info they probably have) would be appreciated..

    Hello,
    As far as I can see, that Verizon Jet Pack wireless Modem uses WPA2 to connect.
    The Router might complicate things right now.
    Make a New Location, Using network locations in Mac OS X ...
    http://support.apple.com/kb/HT2712
    Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
    The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
    If using Wifi/Airport...
    Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.

  • 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

  • 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!

  • The operation timed out while writing (kCFStreamStatusOpening)

    iMessage cant send files. This is what it says in the file transfer window. "the operation timed out while writing (kCFStreamStatusOpening)" Help

    Hi,
    In the past in the Mountain Lion (Messages 7.x.x) I have sent quite large photos via the iMessages account of several GBs of data.
    I have yet to do the same in Messages 8 (Mavericks) but don't expect for this to have changed.
    I do know that the Messages 8 app tends to zip some files before sending when dragged from other apps such as a Browser or iPhoto.
    I have sent a Keynote file to my iPhone in Messages 7.x.x  but this was only 334 kb
    What sort of files are you trying to send ?
    If not zipped already it may pay to try this first.
    7:21 pm      Sunday; November 3, 2013
      iMac 2.5Ghz 5i 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • JDBC activity timed out while updating a table.

    Hi,
    We have observed the exception *'JDBC activity timed out while updating the table -Table1"* in our logs in prod environment.
    1)we verified the AWR report for that particular time and observed that one update statement was trying to update the table table1.
    its a simple update statement as below
    UPADTE TABLE1 SET COL1=VAL1,COL2=VAL2 WHERE ID1=VAL1 AND ID2=VAL2;
    there is a PK index on ID2 column.
    2)we also came to know that there were no locks on TABLE1 during this time.
    can some one please let me know what could be the possible reason for this kind of exception?
    Thanks

    958572 wrote:
    Hi,
    We have observed the exception *'JDBC activity timed out while updating the table -Table1"* in our logs in prod environment.
    1)we verified the AWR report for that particular time and observed that one update statement was trying to update the table table1.
    its a simple update statement as below
    UPADTE TABLE1 SET COL1=VAL1,COL2=VAL2 WHERE ID1=VAL1 AND ID2=VAL2;
    there is a PK index on ID2 column.
    2)we also came to know that there were no locks on TABLE1 during this time.
    can some one please let me know what could be the possible reason for this kind of exception?
    ThanksOS/Networking mis-configuration.
    Oracle does not know or care about the type or flavor of remote client (JDBC, OCI, ODBC, etc).
    Oracle's default configuration contains no timeout.
    I suspect a FireWall setting.

Maybe you are looking for