Timing out a WTC call

Hi
I am making an outbound WTC call to a webservice from my tuxedo service.
Is there a way I can set a timeout to this specific call so that if this WTC call is responding after specific time, I can continue with my flow in the tuxedo service.
I am assuming that BLOCK TIME is used to the tuxedo service as a whole. But this could impact my other flows where I am OK to wait for more time.
Basically below should be the flow of tuxedo service
tuxservice01
status = tpcall("wtcWebService01", (char *)pInpRec,0, (char **)&pOutBuf, &olen, FLAG ); /* Not sure about the flag to be used in this case */
if(status != 0)
if(tperrno == TIMEOUT)
handle timeout
goto nextstep
nextstep
Thanks
Raj

Hi Raj,
Depending upon the version of Tuxedo you are using, you may be able to set BLOCKTIME on a per call, per context, or per service basis. Starting with Tuxedo 9.0, the time to wait on a blocking call can be set either in the *SERVICES section of the UBBCONFIG file, or using the tpsblktime() function to set it on a per call or per context basis.  Please note that timing out a request with BLOCKTIME doesn't abort the request, i.e., the request will still likely be processed, although that depends upon a number of factors.  BLOCKTIME simply limits the amount of time a blocking call will wait to be unblocked.
Regards,
Todd Little
Oracle Tuxedo Chief Architect

Similar Messages

  • Getting Timed out exception while calling a web service

    Hi,
    when i am invoking a web service(using routing), the osb proxy is getting timed out before receiving the response from routed service.
    Also we are not aware of how much response time the routed service will take. so apart from increasing the connection time is there any alternate solution?
    can any one suggest.

    I do not think there is any other way apart from increasing timeouts to call a web service from OSB synchronously which is taking a long time.
    Other alternatives are either to make the service asynchronous delyed request response type, which will mean a change at the backend webservice.
    Ideally synchronous web services are designed to respond within a few seconds and not take minutes for processing. I would say that if the backend web service is taking more than a minute then they need to either tune their service performance better so it responds faster OR change it to an asynchronous service.

  • The Opration timed out occurred on calling REST Service in Addin in windows 7 ultimate 64 bit

    Hi,
    I have created VSTO solution for Outlook Addin in Visual studio 2010.
    In that on button it will call Java REST webservice and validating the username and password.
    Evrything working fine in few systems.But it showing "The operation timed out" in WIndows 7 64 bit office 2013.
    In other windows 7 machine with office 2010 and 2007 its working perfectly.
    Below is the code :
    var responseMessage = (String)null;
                var request = WebRequest.Create(string.Concat(serviceUrl, resourceUrl)) as HttpWebRequest;
                if (request != null)
                    request.ContentType = "application/xml";
                    request.MediaType = "text/xml";
                    request.Method = method;
    request.keepalive=false;
                   request.ContentLength = xmlRequestBody.Length;                
                ServicePointManager.Expect100Continue = false;            
                //var objContent = HttpContentExtensions.CreateDataContract(requestBody);
                if (method == "POST" && xmlRequestBody != null)
                    byte[] requestBodyBytes = ASCIIEncoding.UTF8.GetBytes(xmlRequestBody.ToString());
                    request.ContentLength = requestBodyBytes.Length;
                    using (Stream postStream = request.GetRequestStream())
                        postStream.Write(requestBodyBytes, 0, requestBodyBytes.Length);
                if (request != null)
                    request.Credentials = new NetworkCredential("Username", "password");
                    //request.ProtocolVersion = HttpVersion.Version11;
                    var response = request.GetResponse() as HttpWebResponse;
                    if (response.StatusCode == HttpStatusCode.OK)
                        Stream responseStream = response.GetResponseStream();
                        if (responseStream != null)
                            var reader = new StreamReader(responseStream);
                            responseMessage = reader.ReadToEnd();
                    else
                        responseMessage = response.StatusDescription;
                return responseMessage;
    Could you please help what could be the reason.Any firewall issue or any serviced related issue.Kidly suggest.

    Hi,
    I have created the windows application using REST Service and tested the application on
    windows 7 64 bit Ultimate edition but I'm getting the same error "The
    operation timed out" attached the screen shot for your reference.
    http://www.screencast.com/t/YeIJxl383a
    I developed the application on Windows 7 Ultimate 64 bit version it is working on my machine. while the executing exe on another windows 7 64 bit Ultimate
    edition which is on the virutal machine Im getting the error.
    There is no visual studio installed on the Virtual machine , i have installed the Dot Net frame work 4.0 client profile on the virtual machine.
    Could you please suggest is there any issues related to opearating system or related to framework.
    Kindly help with some suggestions.

  • What if I close timed-out sessions without calling OCIBreak/OCIReset?

    In non-blocking mode it is mentioned in the document that I should call OCIBreak/OCIReset if I want to time-out the session, and these calls will reset the session.
    Then, is it ok NOT to call OCIBreak/OCIReset if I want to simply close the timed-out sesion, free everything including the environment handle, and establish everything all over again? Here, each session has its own environment handle and all other threads will keep executing queries within the process. I think my client will clearly be ok to do so, but I'm concerned about possible server-side effects of not OCIBreak/OCIReset the session. Will the sesion be destroyed on the server immediately without client's calling OCIBreak/OCIReset when I destroy everything?

    You should call OCIBreak and then disconnect. Last time I checked, OCIBreak performs a TTC OCANCEL operation on the server which would allow you to cleanly disconnect. I'm not sure, but as part of disconnecting, OCI may do this itself. If you don't disconnect cleanly, the server's PMON process will employ dead connection detection (DCD) to determine when to reap your old process. DCD is configurable, but it's best to disconnect cleanly.

  • Connection timed out when making RMI call

    Hello,
    I am using a combination of Spring Remoting and Scheduling with Quartz Timer. Both are using RMI as a communication stack. The RMI server is located in sydney while the client is located in the US. This incurs large network lag which causes my RMI method calls to timeout. I am able to do a lookup on the RMI object and receive a stub reference to it with no problem but as soon as I try to invoke a remote method on that stub it eventually times out.
    Thinking it was truly a timeout issue I implemented a Custom socket factory for RMI using RMISocketFactory.setSocketFactory(new TimeoutSocketFactory(120000));Here is the custom TimeoutSocketFactory:
    public class TimeoutSocketFactory extends RMISocketFactory {
            private int timeout;
            private static final Logger log = Logger.getLogger(TimeoutSocketFactory.class);
            public TimeoutSocketFactory(int timeout) {
                this.timeout = timeout;
            public Socket createSocket(String host, int port) throws IOException {
                log.debug("Creating timeout socket with value - " + timeout);
                Socket ret = getDefaultSocketFactory().createSocket(host, port);
                ret.setSoTimeout(timeout);
                return ret;
            public ServerSocket createServerSocket(int port) throws IOException {
                ServerSocket ss = getDefaultSocketFactory().createServerSocket(port);
                ss.setSoTimeout(timeout);
                return ss;
    }I implemented the custom socket factory both on the RMI server and on the RMI client. This had no effect on the time outs that occured when trying to make an RMI call to the server even though the sockets were being built by this custom class (have logging in place).
    Is there something else I need to do to increase the timeout period? And how do I know if it's a server or a client issue?
    Thanks,
    Anthony Bargnesi
    [Exception StackTrace]
    java.rmi.ConnectException: Connection refused to host: 172.16.10.97; nested exception is:
         java.net.ConnectException: Connection timed out: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
         at org.springframework.remoting.rmi.RmiInvocationWrapper_Stub.invoke(Unknown Source)
         at com.aquent.rmi.test.RMIClient.connectService(RMIClient.java:46)
         at com.aquent.rmi.test.RMIClient.main(RMIClient.java:81)
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:178)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at com.aquent.rmi.test.TimeoutFactory.createSocket(TimeoutFactory.java:21)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)

    Well this is a connect timeout, not a read timeout, so it has nothing to do with your socket factory, and your socket factory won't help. It's a connectivity issue. Can you ping that host from the client? Can you telnet to port 7?
    In fact no socket factory will help because there is no way of increasing the connect timeout beyond the default: you can only reduce it.

  • Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK

    Hi PI gurus,
      Need some suggestions on one issue below -
      Scenario - proxy (SAP) to SOAP (Web based system)
      In the RWB Communication Channel Monitirong we are receiving the below error
      " Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK"
    the request from XI system is going to target system and printing the lables (as per the functionality) with no issues but the comminication channel is giving the above error and this is causing the repeated sending the same request to target sytem and the data is printing repeateadly. This issues is occuring in Quality environment.
    Strangley the same Interface with the same connectivity details is working fine in Development environment. But not working in Quality environment. Checked the firewalls settings on both in XI and Target system side and confirmed that everything is fine.
    Below are the Logs both from Quality and developement are as follows
    Quality ( Failure Case) 
    17.03.2011 07:19:59 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:25:03 Error SOAP: call failed: java.io.IOException: Read timed out; HTTP 200 OK
    Development     (Success ful)
    17.03.2011 07:27:55 Success SOAP: request message entering the adapter with user J2EE_GUEST
    17.03.2011 07:27:58 Success SOAP: completed the processing
    When we checked with basis team on user id J2EE_GUEST,  they confirmed that they are same in Development and Quality.
    I repeat,, that the same target url and everthing is same in XI Configuration
    Thanks in Advance. Points would be rewared for the best solution.
    Thanks,
    Jitender

    HI Jitender,
          If your scenariois working in DEV and if it is not working in QAS.Could you please check if both the systems are at same patch levels..
    Please refer below notes :1551161,817894,952402.
    Cheers!!!
    Naveen.

  • 500 Connection timed out when in SXMB_MONI in "Call Adapter"

    Hi,
    We are using SOAP as a receiver adpter. It is working fine all the time but some times we are getting "500 Connection timed out" error in SXMB_MONI in the "Call Adapter" then it retries again and it works fine but I want to know why we are getting this 500 connection time out error and in another try it works.. and what we need to do to correct it.
    Here is the error message from SXMB_MONI. Any help is appreciated!
      <SAP:AdditionalText><html><head><title>Application Server Error</title> <style type="text/css"> body { font-family: arial, sans-serif;} </style> </head> <BODY><table width=800> <tr><td width=50 nowrap> </td><td> <H2>500 Connection timed out</H2><br><hr> <table border="0"> <tr><td>Error:</td><td>-5</td></tr> <tr><td>Version:</td><td>7000</td></tr> <tr><td>Component:</td><td>ICM</td></tr> <tr><td>Date/Time:</td><td>Thu Oct 4 03:26:15 2007 </td></tr> <tr><td>Module:</td><td>icxxthr_mt.c</td></tr> <tr><td>Line:</td><td>2698</td></tr>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 500 with the description Timeout Error while sending by HTTP (error code: 500, error text: Timeout)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Thanks!
    MP

    can you please look in to this blog by Michal.
    /people/michal.krawczyk2/blog/2006/06/08/xi-timeouts-timeouts-timeouts

  • ACE - unable to execute various show commands. Error: Called API timed out

    Hi I am runnng version A2(2.3)  on a HA ACE setup.
    I have noticed today that issuing various show commands such as 'show run' and 'show probe' on the active ACE have suddenly stopped working. On hitting return the ACE sits there for a while non respondant before finally outputting an Error: Called API timed out and then returning to the command prompt. It only seems to happen on show commands that would generate a lot of output, for example a 'show version' works. I have also noticed a delay sometimes in logging into the active ACE which has again only come to light today.
    We havent made any changes recently and this behavior has not been seen before.
    I could only find one similar posting which kind of suggested that a high logging level may be to blame for this issue, we are running at debugging level but have since the ACE's were brought into play over 12 months ago (yep i know logging at that level is far from ideal).
    Production traffic does not seem to be affected at present.
    Apart from reudcing the logging level I am not sure what else could be causing this issue, has anyone come across this one before?
    Unfortunaltey the 'show resource usgae in one of the commands that wont work'
    A 'show cpu'  command shows nothing above 10%
    Though multiple context are configured (3), the default resource allocation is in place between all three.
    Thanks for taking the time to read.

    Thanks for the response I will take a look at that Bug ID.
    In the end as you have already suggested above I ended up failing across to the standby ACE and powering down/up  the affected ACE module from the switch CLI. This seems to have restored all functionality. Even a soft reload command prior on the affected ACE didnt take affect.

  • I am trying to load a calpatch to a program called Caldera, but i keep getting the following "AppleScript Error – Terminal got an error:apple event timed out ( -1712)" my IOS is Yosemite, and i am running the latest version of the caldera program

    I am trying to load a calpatch to a program called Caldera, but i keep getting the following “AppleScript Error – Terminal got an error:apple event timed out ( -1712)” my IOS is Yosemite, and i am running the latest version of the caldera program

    Hi Linc, thanks for this ... it is weird, we tried this previously, but we only did a restart.
    This morning our Mac was 'off' even though we hadn't turned it off, (maybe a power outage) I restarted and ran the calpatch immediately, and it worked !!
    it is embarrassing, because as a service engineer, I am always telling customers to restart and even power down completely before trying again.
    Thanks.
    Snakeydee

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

  • Webservice calls timing out more tha they should

    I am calling a REST webservice and set a read and connection timeout of 15,000 milliseconds. Probably 1 out of 3 calls is timing out although I dont think the length of the timeout needs to be increased because when it does work it returns the data in less than a second, and increasing the timeout to 60,000 ms doesn't improve the number of timeouts. When a query fails I retry it upto 5 times before eventually givving up, it always eventually manages to work within the 5 try limit, If I post the same query in a webbrowser it invariably returns correctly almost immediately. I have asked the provider of the webservice if their system is overloaded - they dont think so.
    So Im now wondering if my code is incorrect, it receives a SocketTimeoutException when things go wrong. Is it correct for me to get the response code before I get the input stream, do I need to check that something is ready
    before I access the inputstream. Here is an extract .
    URL url = null;
    BufferedInputStream bis = null;
    HttpURLConnection uc = null;
    try
        url = new URL(getBaseQueryUrl() + sb.toString());
        logger.config("URL:Encoded" + getBaseQueryUrl() + sb.toString());
        uc = (HttpURLConnection) url.openConnection();
        uc.setConnectTimeout(URL_TIMEOUT);
        uc.setReadTimeout(URL_TIMEOUT);
        int responseCode = uc.getResponseCode();
        if (responseCode == HttpURLConnection.HTTP_UNAVAILABLE)
            throw new ServerTemporarilyBusyException("Warning Musicbrainz Server Busy:" + uc.getResponseCode());
        if (responseCode != HttpURLConnection.HTTP_OK)
            throw new InvalidMusicBrainzQueryException("Error:" + uc.getResponseCode());
        logger.finest("Receiving results from:" + getBaseQueryUrl() + URLDecoder.decode(sb.toString(), URL_ENCODING_CHARSET));
        bis = new BufferedInputStream(uc.getInputStream());
        JAXBContext jc = JAXBContext.newInstance("com.jthink.jaikoz.manipulate.musicbrainz");
        Unmarshaller um = jc.createUnmarshaller();
        metadata = (Metadata) um.unmarshal(bis);
    catch(SocketTimeoutException ste)
              System.out.println(ste);
        throw new NetworkException(Validation.getMsg(Validation.UNABLE_TO_CONNECT_TO_MUSICBRAINZ));
    catch (IOException e)
        throw new NetworkException(Validation.getMsg(Validation.UNABLE_TO_CONNECT_TO_MUSICBRAINZ));
    catch (JAXBException e)
              throw new InvalidMusicBrainzQueryException("URL:" + url.toString() + " failed");
    }thanks Paul

    FYI:The code was okay, the problem was due to my firewall, sometimes it wasnt letting responses from the webservice back. Dont know exactly why it was doing this not but chnaging the firewall has solved the issue.

  • BPM CE 7.2 Get Timed Out calling RFC

    Hi experts
    I am new in BPM with RFC on CE 7.2
    I have created a simple process with Message Start, Message End and an Automated Activity that executes a RFC, but when I perform this process its get time out, log:
    Dynamic client generated from wsdl. WSDL: http://10.1.5.47:50000/bpm/demosapcom/testes/TesteTrigger3?wsdl. The server response timed out.
    Error details: Read timed out
    I am using WebServices Navigator to perform the process, is there another way to do that ? Performing the process like this I can´t debug it.

    Tks Arafat Farooqui
    I have found the log and now I am looking for the way to solve exception below:
    I also try to configure the Destination on "Application Communication: Configuration" because there is a message "No destination selected" but the buttons "Configure" and "Remove Configuration" are disabled, what should I do to enable these buttons ?
    Could not read the destination from ESB Configuration
    [EXCEPTION]
    com.sap.engine.interfaces.sca.config.exception.ESBConfigurationException: Configuration not found for application: demo.sap.com/testes,composite:testes,component:demo.sap.comtestesBPMcomponent,reference:5658e8ab-607d-4ca9-acc0-dfa8964e40d9,bindingType:RFC
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:357)
    at com.sap.sdo.das.jco.JCoInvoker.accept(JCoInvoker.java:157)
    at com.sap.engine.services.sca.plugins.jco.JCoImplementationInstance.accept(JCoImplementationInstance.java:63)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:117)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:100)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:530)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:127)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:124)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:121)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/testes,composite:testes,component:demo.sap.comtestesBPMcomponent,reference:5658e8ab-607d-4ca9-acc0-dfa8964e40d9,bindingType:RFC
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:276)
    at com.sap.esi.esp.service.server.ESPServiceInterfaceImpl.getConfiguration(ESPServiceInterfaceImpl.java:350)
    ... 21 more
    Caused by: com.sap.esi.esp.lib.mm.config.exceptions.ObjectNotExistsException: Configuration not found for application: demo.sap.com/testes,serviceRefId:testes_demo.sap.comtestesBPMcomponent_5658e8ab-607d-4ca9-acc0-dfa8964e40d9_RFC. Please check the configuration details from the NWA. You may have not assigned the Service Group to a Provider System, or the generation of the configuration has failed.
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:334)
    at com.sap.esi.esp.service.server.esb.ConnectivityConfigurationManagerImpl.readConfiguration(ConnectivityConfigurationManagerImpl.java:263)
    ... 22 more
    Exception during JCo plugin processing 
    [EXCEPTION]
    com.sap.engine.interfaces.sca.spi.PluginException: Could not read the destination from ESB Configuration: com.sap.engine.interfaces.sca.config.exception.ESBConfigurationException: Configuration not found for application: demo.sap.com/testes,composite:testes,component:demo.sap.comtestesBPMcomponent,reference:5658e8ab-607d-4ca9-acc0-dfa8964e40d9,bindingType:RFC
    at com.sap.sdo.das.jco.JCoInvoker.accept(JCoInvoker.java:363)
    at com.sap.engine.services.sca.plugins.jco.JCoImplementationInstance.accept(JCoImplementationInstance.java:63)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:117)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:100)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:530)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:127)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:124)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:121)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)
    Error during SCA Processing 
    [EXCEPTION]
    com.sap.engine.interfaces.sca.spi.PluginException: Could not process message for operation ZNMM001 in JCO plugin module.
    at com.sap.sdo.das.jco.JCoInvoker.accept(JCoInvoker.java:369)
    at com.sap.engine.services.sca.plugins.jco.JCoImplementationInstance.accept(JCoImplementationInstance.java:63)
    at com.sap.engine.services.sca.das.SCADASImpl.invokeReference(SCADASImpl.java:335)
    at com.sap.glx.adapter.app.ucon.SCADASWrapperImpl.invoke(SCADASWrapperImpl.java:117)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallObject.invokeWebServiceOperation(UnifiedWebServiceCallObject.java:100)
    at com.sap.glx.adapter.app.ucon.UnifiedWebServiceCallClass.invoke(UnifiedWebServiceCallClass.java:174)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:530)
    at com.sap.glx.core.kernel.trigger.config.Script$MethodInvocation.execute(Script.java:245)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:791)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:63)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:138)
    at com.sap.glx.core.kernel.execution.LeaderWorkerPool$Follower.run(LeaderWorkerPool.java:127)
    at com.sap.glx.core.resource.impl.common.WorkWrapper.run(WorkWrapper.java:58)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator$1.run(ServiceUserManager.java:124)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.sap.glx.core.resource.impl.j2ee.ServiceUserManager$ServiceUserImpersonator.run(ServiceUserManager.java:121)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:182)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:299)
    Edited by: Lehcim on Aug 2, 2010 6:39 PM

  • JDBC call to AS400 timing out

    Hi,
    I've created a JDBC receiver adapter to an AS/400.
    When sending the message i get a time out.
    The message is
    "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Can not establish connection:: SQLException: The application requester cannot establish the connection. (Connection timed out)"
    I've set the following connection parameters
    JDBC driver is com.ibm.as400.access.AS400JDBCDriver
    Connection is jdbc:as400://<ipadress>:1433
    Any ideas?
    thx
    Robert

    >>The application requester cannot establish the connection
    The most probable issue would be, that the domain name of the target system is not properly resolved.
    Please check whether you can ping that as400 locally. Or write some sample JDBC client program and use the connection string to create connection and check whether you are able to make connection or use database tool like toad to connect..
    Hope that helps.

  • "Licensing timed out" when creating to Remote Desktop Connection

    Our company have two site (SiteA and SiteB),  both have its own DC (SiteA.xx.local and SiteB.yy.local).  A Windows 2012 Server setup a Terminal Service.  All SiteB user will use remote desktop to connect to the Terminal Server.
    Sometime it will prompted an error "A licensing error occurred while the client was attempting to connect (Licensing timed out).  Please try connecting to the remote computer again."   Before this error message shown, the connection box
    will show the status "Estimating connection quality" for a while (my last test this will stay for 2 min 30 sec. before Licensing timed out prompt). 
    When we face this error,  the only way to solve it is to reboot the Terminal Server.  Once reboot,  everything will be fined,  all user can connect again.   But sometime later (no fixed time period, from two hours - two days), user
    will then have this problem.  But we need to reboot server again.
    I can't found in what situation this error will happened.  But we do experienced the following situation.
    1. Sometime the a RDS Connection just stopped directly.  Then try to reconnect but failed.  In this case,  all other users are still using it.  
    2. I try to unplug a network connection for a client, it show the connection is lost and trying to reconnect.  After I plug the network back.  Cancel the reconnect process.  Then open the remote desktop again it will have the error.
    3. there has two machine will never have this problem (we have this problem for 3 months).  no matter how the connection lost.  it can built up the connection once the connection is back
    I followed some forum to enable the netlogon.log.  On the Server, I found:
    1. [MISC] [872] In control handler (Opcode: 4):  This log must there when the problem happened.
    Not sure if the following log help:
    1. NetpDcGetName: SiteA.xx.local. using cached information ( NlDcCacheEntry = 0x000000DE96694D50 )
    2.DsGetDcName function returns 0 (client PID=2088): Dom:SiteA Acct:(null) Flags: NETBIOS RET_DNS
    3. NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c03ffff1
    4. DsGetDcName function called: client PID=23532, Dom:(null) Acct:(null) Flags: LDAPONLY RET_DNS  (I found some log will be Dom:SiteA install of Dom:(null)   )
    5. NlTimeoutApiClientSession: Unbind from server \\SiteA-DC.Stingmars.hk.local (TCP) 0.
    6. NlPrintRpcDebug: Couldn't get EEInfo for I_NetLogonSamLogonEx: 1761 (may be legitimate for 0xc000006e)
    On the Client side:  Not sure if the log can help:
    07/11 11:56:01 [MISC] DsGetDcName function called: Dom:(null) Acct:(null) Flags: DS
    07/11 11:56:01 [DNS] NlDnsHasDnsServers: DNS Server is NOT configured on this machine.
    07/11 11:56:01 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1
    07/11 11:56:01 [MISC] NetpDcGetName: SiteB using cached information
    07/11 11:56:01 [MISC] DsGetDcName function returns 0: Dom:(null) Acct:(null) Flags: DS
    07/11 11:56:01 [MISC] DsGetDcName function called: Dom:(null) Acct:(null) Flags: FORCE DS
    07/11 11:56:01 [DNS] NlDnsHasDnsServers: DNS Server is NOT configured on this machine.
    07/11 11:56:01 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1
    07/11 11:56:01 [MAILSLOT] Sent 'Sam Logon' message to SiteB[1C] on all transports.
    07/11 11:56:01 [CRITICAL] NlBrowserSendDatagram: No transports available
    07/11 11:56:01 [CRITICAL] NetpDcGetNameNetbios: SiteB: Cannot NlBrowserSendDatagram. (1C) 53
    07/11 11:56:01 [MISC] NetpDcGetName: NetpDcGetNameNetbios returned 1355
    07/11 11:56:01 [CRITICAL] NetpDcGetName: SiteB: IP and Netbios are both done.
    07/11 11:56:01 [MISC] DsGetDcName function returns 1355: Dom:(null) Acct:(null) Flags: FORCE DS
    07/11 11:56:02 [MISC] DsGetDcName function called: Dom:(null) Acct:(null) Flags: LDAPONLY RET_DNS
    07/11 11:56:02 [DNS] NlDnsHasDnsServers: DNS Server is NOT configured on this machine.
    07/11 11:56:02 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1
    07/11 11:56:02 [MISC] NetpDcGetName: SiteB using cached information
    07/11 11:56:02 [MISC] DsGetDcName function returns 0: Dom:(null) Acct:(null) Flags: LDAPONLY RET_DNS
    07/11 11:56:03 [SESSION] V6 Winsock Addrs: fe80::bd63:1d49:d8fd:724%12 (1) V6WinsockPnpAddresses List used to be empty.
    07/11 11:56:04 [MISC] NlPingDcNameWithContext: Ping response timeout for SiteB-DC.Stingmars.cn.local.
    07/11 11:56:04 [CRITICAL] NlPingDcNameWithContext: Can't ping the DC SiteB-DC.Stingmars.cn.local.
    07/11 11:56:04 [MISC] NetpDcInitializeContext: DSGETDC_VALID_FLAGS is c01ffff1
    Thanks
    Kenneth Lai

    Hi Kenneth,
    Thank you for posting in Windows Server Forum. 
    Please check the setting and workaround as per below thread.
    RDP connection hangs on "estimating connection quality"
    http://social.technet.microsoft.com/Forums/en-US/18819bef-5c01-4849-9c61-afb7e8c8a581/rdp-connection-hangs-on-estimating-connection-quality?forum=winserverTS
    In addition, also check below details.
    Cause:  If you are using Internet Protocol security (IPsec) to help protect traffic over TCP between clients and terminal servers, then packet fragmentation might occur. As a result, some packets might not reach their destination, and
    client connections to terminal servers might fail.
    Solution:  Configure IPsec to help protect traffic over UDP rather than over TCP.
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • TCP active open: Failed connect()    Error: Connection timed out SMTP

    Hi,
    Messaging server version is,
    ./imsimta version
    Sun Java(tm) System Messaging Server 6.2-6.01 (built Apr 3 2006)
    libimta.so 6.2-6.01 (built 11:20:35, Apr 3 2006)
    SunOS bglbbmr1-a-fixed 5.9 Generic_118558-28 sun4u sparc SUNW,Sun-Fire-V440
    17-Dec-2008 10:47:40.08 1730.8e.741
    tcp_local Q 4 [email protected] rfc822;[email protected] [email protected] /mta/queue/queue/tcp_local/013/ZUg0i1t9I0ZG~.00 <[email protected]>; TCP active open: Failed connect() Error: Connection timed out SMTP/xyz.my-domain.in
    I have been getting this above error on my mail server from last
    4-5 days. I am getting complaints from end users that the users can't
    send any mails using Outlook but I did check with my test user I can
    send mail by using webmail.
    The Failed MX lookup Errors also getting in my logs the error detail given bellow.
    17-Dec-2008 10:47:39.65 1730.91.737
    tcp_local - Y TCP|0.0.0.0||209.85.143.114|25 SMTP/airtelmail.in/aspmx.l.google.com
    17-Dec-2008 10:47:39.92 1754.41.255
    tcp_notify - Y SMTP/infomedia18.in/infomedia18.in
    17-Dec-2008 10:47:39.92 1754.41.256
    tcp_notify Q 7 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/017/ZXg0i1t3U_ZoD.00 <[email protected]>; Failed MX lookup; try again later
    17-Dec-2008 10:47:39.94 1754.41.257
    tcp_notify Q 6 rfc822;[email protected] [email protected] /mta/queue/queue/tcp_notify/010/ZXg0i1t3U_ZoF.00 <0KBZ003MRGU7MQ30@my-domain> Failed MX lookup; try again later
    I tried stopping and starting msg service using stop-msg and start-msg to sort out this above problem but no result. :(
    When I do check the tcp_local queue it has been growing every day as well the tcp_notification queue also.
    /opt/SUNWmsgsr/sbin/imsimta qm su
    Messages
    Channel Queued Size (Kb) Oldest
    tcp_notify 10741 1080610.61 16 Dec, 00:59:24
    tcp_local 8334 733849.31 15 Dec, 00:19:00
    tcp_lmtpcn 0 0.00
    tcp_be 0 0.00
    reprocess 0 0.00
    process 0 0.00
    conversion 0 0.00
    Totals 19075 1814459.92
    This queues are increasing day by day.
    One more thing is that I cant see a service/channel called CONVERSION running on my server when i do use this command.
    ps -aef | grep conversion
    root 6144 6000 0 11:14:28 pts/1 0:00 grep conversion
    When i try to start it using imsimta qm utility, output shows as
    qm.maint>; start conversion
    QM-I-STARTED, channel was not stopped
    qm.maint>;
    Later I stopped and started conversion channel
    qm.maint>; stop conversion
    QM-I-STOPPED, channel stopped
    qm.maint>; start conversion
    QM-I-STARTED, channel started
    qm.maint>;
    I can see that on other servers the conversion channel is running and few msges are in queue. I do have other servers which running the same messaging server. But I am not getting why don't on this server. Where both servers having the same configuration.
    Please, help me to sort out this issue.
    Thanks in advance....
    BSK

    Thanks Mr. Shane,
    The server which is running conversion channel.
    ps -eaf|grep conversion
    mailserv 16824 8472 3 17:08:11 ? 0:48 /opt/SUNWmsgsr/lib/conversion
    mailserv 28728 8472 0 17:17:30 ? 0:00 /opt/SUNWmsgsr/lib/conversion
    root 1057 26387 0 17:18:12 pts/1 0:00 grep conversion
    more /opt/SUNWmsgsr/config/conversions
    in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
    IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
    The server which doesnt show running conversion channel
    #more /opt/SUNWmsgsr/config/conversions
    !in-channel=*; in-type=*; in-subtype=*; in-disposition=*;
    ! parameter-symbol-0=NAME; parameter-copy-0=*;
    ! dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    ! message-header-file=2; original-header-file=1;
    ! override-header-file=1; override-option-file=1;
    ! command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=application; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=x-zip-compressed; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=image; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=audio; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    in-channel=*; in-type=video; in-subtype=*; in-disposition=*;
    parameter-symbol-0=NAME; parameter-copy-0=*;
    dparameter-symbol-0=FILENAME; dparameter-copy-0=*;
    message-header-file=2; original-header-file=1;
    override-header-file=1; override-option-file=1;
    command="/opt/SUNWmsgsr/private/virusscan.sh"
    Following entry from /opt/SUNWmsgsr/lib/config-templates/imta_tailor
    IMTA_CONVERSION_FILE=<msg.RootPathUNIX>/config/conversions
    Is this above information u r asking?
    As u wrote erlier, the conversion channel works some times and some times doesn't work.
    Thanks lot...
    BSKADAM

Maybe you are looking for