HTTP Queue

Hi All,
I have <b>Http to JDBC</b> scenario in which I need to send the messages EOIO.
For this I need a queue.In Http client I set the QoS : EOIO .But I need to give a  'queueid' to make use it.
Plz any one knows how to create,Register and Acitvate the Queues.
Thanks
Praveen Kumar

I updated the HTTP client on the sender side, added the parameter queueid to the URL string and assign it with some name.
Queue has created with the respective name assigned to the queueid.The corresponding XML schema will be passed through the same queue.
But am  getting the following error while sending through HTTP client:
<i><b>Result:</b></i>  
<i><b><SAP:Error><SAP:Category>XIServer</SAP:Category><SAP:Code>INTERNAL.ATTRIBUTE_INITIAL</SAP:Code><SAP:P1>QUEUE_NAME</SAP:P1><SAP:Stack>Attribute QUEUE_NAME is initial</SAP:Stack></SAP:Error></b></i>
Any clue on this error?
Thanks
Praveen Kumar

Similar Messages

  • HTTP Queue for EOIO

    Hi All:
    Few days back I raise a request (forum) regarding HTTP queue creation  for QoS = EOIO. I spent much time on SDN just to find any hint how to create a Queue from HTTP url(Sender).
    Error I was getting <b>"INTERNAL.ATTRIBUTE_INITIAL" for "QUEUE_NAME".</b>
    At last I come to know that it was a bugg in XI and due to which queue was not created. Please
    refer a SAP Note: 1073448(it is created just 4 days back) - Plain HTTP adapter: Queue ID is not accepted.
    This is just to share little information from my side.
    Thanks
    Farooq.

    This issue has ben solved. SA Provided a patch for NetWeaver 2004s SP11....
    Prasad M

  • Http to jdbc sync scenario needed

    hi all,
         Can any one give me certain example of http to jdbc sync scenario
    Thanks in advance.

    Hi,
    Refer this link.
    For JDBC receiver side settings
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/content.htm
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    For HTTP
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b1/f29e7a56e18a439984a3c6630951d2/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/content.htm
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    HTTP Queue
    error in HTTP to file scenario
    Regards,
    Sharanya.
    Edited by: sharanya devaraj on Aug 5, 2008 8:09 AM

  • HTTP Sender with EOIO leads to HTTP Response 500

    Hello everybody,
    since we are using SP12 we have problems with the HTTP sender when using EOIO. If I use the two parameters ....qos=EOIO&queueid=myQueue... I got a HTTP Reponse Code 500: Internal Server Error in the sender system (for the test I use a Java Program). When I use the qos EO (without a queue ID) it works.
    Does anybody now this problem?
    Regards,
    Thomas

    Have u seen this
    HTTP Queue for EOIO
    Also have a look here SAP Notes – 804124, 807000
    Regards,
    Prateek

  • High number of threads and high CPU usage on a single instance

    Without any apparent reason, in some moments of day the website reports an increment of the HTTP Queue Length from an average of 10/20 queued requests to 100/200 and more.
    In that period of time the Average Response Time increases but the number of the requests on the website don't. Even increasing the instances it doesn't help to resolve the problem (maybe it just reduced it).
    It seems that the problem is not related to the traffic on the site. This issue happens either when the traffic is high or low.
    The autoscaling works well, we don't have peak of traffic but always a slow increasing of requests and the CPU is always below the 50% (memory too). The issue is resolved by the swap of the site and sometimes it's resolve by itself after a while.
    What I discovered when the issue happens, is that there's an instance (just an instance only), that has an high number of threads and CPU usage on the W3WP.exe process and these values are above the mean than the other instances. Eg, instances are around
    50/60 threads and 10/20% of CPU, the instance with the problem has 200 threads and 50/60% of CPU. If I kill the W3WP process on that instance the issue is resolved. 
    I monitored the HTTP requests, I tried the website extension "Diagnostics as service" but I can't discover anything that can help me to understand the problem. Of course, there are many requests that go in timeout but it is a consequences of a
    unresponsive instance.
    On the web hosting plan there are only two sites: the production site and its staging which is used for update of the production only and it's always sleeping. Plus, no webjobs are running on this site.
    What can I do to gather useful information that can help me to understand the reason of this problem?
    Thank you!

    "Does the instance with the high counts receive more traffic than the other instances? Is it possible that the load balancer not
    working the way it should be?"
    How can I get that information? I can't see metrics for a specific instance
    "Does it always happen to the first instance?"
    I will check it better, but in the order given by the Processes panel it's the second instance which has the issue. The scaling is at 2 instances for the most part of the time (it's the minimum).
    Maybe one time it was the 3th instance but I'm not sure, I'll give it more attention.
    " How long do these moment last?"
    The time can be 10 to 30 minutes, but I fix it as soon as I see the problem. It's not the down-scaling to resolve it because in these situations the CPU as well is high so the scaling holds or increases the number of instances.
    "- How often do these moments occurs?"
    It occurs quite often, 2/4 times a week.

  • Questions on CBWFQ

    Hi every body
    CBWFQ uses both custom based ( with a little enhancement i.e we used percentage of interface bandwidth rather than byte counts) and weighted fair queuing using class map and policy maps
    Here is my confusion.
    In Custom based queuing we have queues with bytes counts and scheduler uses round robin method to empty them, for example :
    http traffic assigns to q1 byte count 2000
    ftp traffic assigns to 2 byte count 200
    q1 will be serviced first until byte count reaches zero then scheduler moves to q2 and services it until q 2 byte count reaches zero.
    Here we have control as to which traffic goes toq 1 and thereby we can control which traffic get serviced first before others.
    Now if we compare this with CBWFQ,specifically custom-based portion of CBWQ we do not have this control.
    for example.
    Class HTTP
    match http
    Class FTP
    match ftp
    policy-map NEE
    class Http
    bandwidth 10
    class-map Ftp
    bandwidth 20
    int s0/0
    service-policy  Nee output
    Above , we are saying http traffic will get upto 10 percent bandwidth of s0/0 ,ftp will get 20 percent.
    But which queue will be served first?  http queue? or ftp? queue? ( because my understanding is in CBWFQ, we still follow round robin algorithm to empty our queues, that means the q1 will be service first than q2. When we use CBWFQ we do not know which queue will be mapped to http or ftp in my example)
    thanks.
    have a great weekend

    Disclaimer
    The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.
    Liability Disclaimer
    In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.
    Posting
    Above , we are saying http traffic will get upto 10 percent bandwidth of s0/0 ,ftp will get 20 percent.
    Yea, the policy says that, but that's only true if CBWFQ is active, all the classes are active, all the class allocations add to 100%, and all the classes are trying to exceed their allocations.
    But which queue will be served first?  http queue? or ftp? queue? ( because my understanding is in CBWFQ, we still follow round robin algorithm to empty our queues, that means the q1 will be service first than q2. When we use CBWFQ we do not know which queue will be mapped to http or ftp in my example)
    Actually, CBWFQ for non-LLQs is very similar to custom-queuing.  Queues are serviced to try to maintain the ratios between them.  In your example, FTP will be dequeued such that it transmits twice as much data as HTTP; because of the 20 and 10 percentages or 2:1 ratio between the two classes.
    If you wanted to know, from an "even start", which class would transmit first, I don't know, and as it isn't documented, I wouldn't count on it always being the same between platforms and/or IOS versions.
    As it's packets that are transmitted, during short time intevals, if there a large size difference between the packet sizes for HTTP vs. FTP, the 2:1 ratio won't be exact, but it should average out over a longer time interval.

  • Consuming AWS services in SOA Suite/OSB

    I was trying to use Amazon Simple Queue services in SOA Suite... I got the WSDL from the following link,
    http://queue.amazonaws.com/doc/2009-02-01/QueueService.wsdl
    The WSDL policy element in the header consists of ,
    <wsp:Policy wsu:Id="CertificateOverTransportPolicy">
    <wsp:ExactlyOne>
    <wsp:All>
    <sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    <wsp:Policy>
    <sp:TransportToken>
    <wsp:Policy>
    <sp:HttpsToken RequireClientCertificate="false"/>
    </wsp:Policy>
    </sp:TransportToken>
    <sp:AlgorithmSuite>
    <wsp:Policy>
    <sp:Basic256/>
    </wsp:Policy>
    </sp:AlgorithmSuite>
    <sp:Layout>
    <wsp:Policy>
    <sp:Lax/>
    </wsp:Policy>
    </sp:Layout>
    <sp:IncludeTimestamp/>
    </wsp:Policy>
    </sp:TransportBinding>
    <sp:EndorsingSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    <wsp:Policy>
    <sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient">
    <wsp:Policy>
    <sp:RequireThumbprintReference/>
    <sp:WssX509V3Token10/>
    </wsp:Policy>
    </sp:X509Token>
    </wsp:Policy>
    </sp:EndorsingSupportingTokens>
    <sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
    <wsp:Policy>
    <sp:MustSupportRefKeyIdentifier/>
    <sp:MustSupportRefIssuerSerial/>
    </wsp:Policy>
    </sp:Wss10>
    <wsap:UsingAddressing/>
    </wsp:All>
    </wsp:ExactlyOne>
    </wsp:Policy>
    May i know how can i consume this service with transport level security. I got the certificate and private key from Amazon.

    The error message says "java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl" which means that you don't have this class in the classpath. If you're using JDev 11g you can search for this class to find out which library has it:
    1. Double click your project. It can be any project
    2. Select "Libraries and Classpath"
    3. Click on the "Add Library..." button
    4. Enter the class you're looking for in the search field. JDev will show which Libraries have this class.
    You can find the related jar file that has this class on {JDEV_HOME}\jdeveloper\modules\oracle.webservices_11.1.1\wsclient.jar .
    AFAIK, there's no direct Web Service access to Human Task Flow. You need to go through the client API which is responsible for abstracting which protocol is used (co-located, remote ejb, or soap).

  • Setting bits question

    I have a bunch of bytes of data I want to build in a byte array.
    I looked at BitSet but I dont' think does what I want.
    I'd like to be able to specify a start byte/bit, end byte/bit, along with the data I want to add.
    Ex.
    I'd like to be able to set the first 4 bits of the first byte or
    specify stariting at byte 2, for the next 24 bits write this integer.
    I know I could do a bunch of fanagling with and/ors,etc. but I was wondering if there is another way.
    Thanks

    A few weeks ago, I was playing around with something similar after reading this ACM article (http://queue.acm.org/detail.cfm?id=1563874).
    To illustrate his point, the author created a bit-based record format used to hold U.S. Census data. Each record held information on one person. So, the first bit was the sex, the next 7 bits was the person's age, the next 32 bits was the person's income, etc. For fun, I created a Java program which could read and write these records. It was tricky doing this, but I got it to work.
    One thing to remember that bothered me was that Java doesn't support the concept of "unsigned" like C does. So, when you read all your bytes into a byte array, you must deal with the fact that if the "left-most" bit of the byte is 1, the byte integer value will be negative. And you'll have to know a lot about bit shifting and AND. I looked into BitSet as well, but it didn't help me either.

  • ACE-TCP RST, ACE initiated RST

    Hello members,
    What is the command to identify if ACE is initiating TCP RST?
    Is there a way to overcome or change timers/window/ect, if ACE do initiate TCP RST?
    Thanks in advance members.

    Thanks Giles.
    Very useful command
    show np 1 me-stats "-s tcp"
    I'll look at the capture file that was done couple of days ago.
    I'm attaching the show output, just collected. Any clues will be appriciated.
    switch/001_snippedcus#
    switch/001_snippedcus# show np 1 me-stats "-s tcp"
    TCP Statistics: (Current)
    TCP RX messages received: 0x50bc5841
    TCP RX unknown messages: 0
    TCP RX racing messages (fin): 6815
    TCP RX racing messages (forward): 199102
    TCP RX racing messages (conn create): 170
    TCP TX messages received: 0x41fa25a8
    TCP TX Hi Priority messages received: 14002856
    TCP TX unknown messages: 0
    TCP TX racing messages (connect): 7
    TCP TX racing messages (data): 1884954
    TCP TX racing messages (proxy): 8066793
    Reproxy message received: 0x073533fd
    Data messages received: 0x2a741cdc
    TCP connect message received: 0x02639a8a
    Ack trigger message received: 3036
    Unproxy req. message received: 0x07d7f2ce
    Unproxy rsp. message received: 0x07cacdc4
    TCP accepted msgs sent: 0x01343370
    TCP connected msgs sent: 0x0263408b
    Conn_ctrl msgs sent: 5029091
    Buffer alloc failed: 0
    Invalid msg ring id: 1218
    Start retrans timer: 0x1f175a0c
    Start ackdelay timer: 0x171d7346
    Start persist timer: 300659
    Start timewait timer: 0
    Delete act timer: 0x16ee4b8f
    Delete rtp timer: 0x1e3ee16d
    Connections unproxying: 0x07cacfa5
    Connections unproxying canceled by TCP: 833690
    Connections unproxying canceled by app: 156752
    Connections unproxying immediate reproxy 0x0315f058
    Connections unproxying flush retransq: 0x07c2788a
    Connections unproxying flush inputq: 0x02167109
    Connections unproxied: 0x04829af2
    Connections reproxied: 0x039a94a0
    Drop reproxy msg queue full: 2916
    Drop control msg: 7972
    Drops due to FastTX queue full: 0
    Drops due to Fastpath queue full: 0
    Drops due to HTTP queue full: 134145
    Drops due to SSL queue full: 0
    Drops due to AI queue full: 0
    ACK past SEQ: 36504
    Unproxy rsp post failed: 207
    Drops due to invalid proxy id: 0
    (Context ALL Statistics)
    Handshakes completed: 0x0395731f
    Handshakes failed: 150512
    Packets received to app: 0x2ad1fc92
    Packets sent to network: 0x57f27343
    Segs outside window: 524277
    Dup ACKs received: 0
    Dup ACK limit met: 0
    Malformed TCP options: 0
    Reassemble segs: 806787
    Nagled data segs: 0
    Retransmitted data segs: 0x065e16c4
    Round-trip timeouts: 10595624
    Round-trip timeout limit met: 385691
    Persist timeouts: 70351
    ..... see attachment, as this exceeds char limits

  • Http to Abap Proxy communication with multiple queues generation in Recevr

    Dear SDNs,
    I need some help in the following scenario, appreciate your suggestions and help .
    I am receiving the messages from sender to PI on http posting, from PI  I am sending the message to SAP system using receiver xi communication channel ( receiver is abap proxy).
    Sender will send the messages in QOS=EOIO, QUEueID=XXXt_100 etc  parameters, when large volumes cases, it is getting delayed to process it using a single queue.
    We are thinking to dynamically  generate multiple queues in PI and send the same queue ids to receiver SAP system to process all the messages quickly in SAP System also.
    Help /Clarifications needed:
    1. XI receiver communication channel in  pi  does not provide any options to generate dynamic queue id based on payload content (using dynamic configuration) and sent it to SAP.
    2. Module Tab in receiver communication channel also got disabled to add  custom adapter modules, can we add custome adapter module on xi receiver channel to generate dynamic queue id ?
    Really appreciate your immediate help and suggestions.
    Thanks.
    Suraj.

    Dear Praveen,
    Thanks lot for the immediate reply, we need to use EOIO, as the messages need to be processed in the same order we send and receive, there is no flexibility in QOS=EOIO, Appreciate if there is any other thoughts?
    Thanks In Advance.
    Suraj.

  • Http- XI-Proxy. Message stays in queue.

    http->XI-Proxy async scenario. Message stays in queue in targret system.
    (see screenshort at http://wapman.ru/screen.png).
    When i click the name of queue and start processing manually, then everything works. Why message is not process automaticaly?

    also you can register the Q's thru SMQR in XI box
    regds
    Prabhu

  • TREX - Search Failure - HTTP Server error: 503 - Queue Server down

    Hello,
    I've got a problem with TREX, the following tasks results in erros:
    Default Search
    Search Failure
    Error during search occurred - com.sapportals.wcm.WcmException: HTTP server error: 503 (Errorcode 7266)
    An unexpected severe error occurred during the search call.  If the situation persists, inform your system administrator.
    Creating Index
    Error 503
    - On Index Administration: indexes status are green
    - On TREX Monitor: Takes long time to loa. HTTP Server and Name Server are green. There is no entry for Queue Server
    - On TREX Monitor > Display Queues: Takes a long time and then no queues are displayed
    - On Portal Monitor > Request Overview: Requests for TREX takes pretty long time
    Starting Time: 9:16:23 AM
    Starting Date: May 19, 2010
    Request Name: NW:J2E:SRV:HTTP
    User ID: <my user>
    Outbound Data: n/a
    Duration: 395671
    CPU Time: 5812
    Component Entries: 26
    Component with Largest Net Time: EP:KM:TREX:HTTP:<host>:30205
    Largest Net Time: 38867
    Component with Largest Net CPU Time: EP:PRT_render:.../com.sap.km.TrexMonitor
    Net CPU Time: 5674                    
    Could you help me with procedures or guides on how to solve the problem and start the queue server?
    kind regards,
    Rafael

    BASIS team reseted TREX and it's working again

  • PI to ECC via ABAP Proxy - Outbound Queue for HTTP

    Dear Experts,
    Is there any Outbound Queue for HTTP?
    I've a interface scenario where the receiver is SAP ECC and the receiver adapter XI ABAP proxy. As I see in the communication channel the transport protocol used is HTTP. So I think could there be an outbound queue to manage HTTP connection when PI send the data to SAP ECC?
    Just like when we are sending IDocs to ECC via tRFC, we could check if the IDoc has really been sent to ECC by checking in tcode SM58 (Outbound tRFC).
    In case for ABAP Proxy via HTTP, is there any similar connection to SM58 (IDoc via tRFC)?
    Thank you,
    Suwandi C.

    Hi Kandasami,
    Thank you for the reply. I will check for it.
    Hi Jens,
    Yes, I mean somewhere after the SXMB_MONI in PI and before SXMB_MONI in ECC, is there any queue in between those two?
    Thank you,
    Suwandi C.

  • HTTP transport  and Sun ONE Message Queue

    How do I get the HTTP transport to work? The docs don't seem to be correct.

    There are a couple of errors in the Sun ONE Message Queue docs that shipped with
    the product.
    The following are corrections for those errors.
    Servlet configuration
    Please note the following correction in the Sun ONE Message Queue 2.0
    Administration Guide, Appendix B -
    The class name of the HTTP Servlet in Step 4 of the "Configuring the Tunnel Servlet"
    section is given as:
    com.sun.messging.jmq.transport.httptunnel.servlet.HTTPTunnelServlet
    The correct class name is :
    com.sun.messaging.jmq.transport.httptunnel.servlet.HttpTunnelServlet
    Client setup for HTTP support
    1.The following connection factory attributes must be specified to use the HTTP
    tunnel connection support.
    JMQConnectionType :
    Set this attribute to "HTTP".
    JMQConnectionURL :
    Set this attribute to the URL that will be used to connect to the Sun ONE
    Message Queue message service (i.e. the URL for the HTTP tunnel servlet).
    Note that there is no need to specify the JMQConnectionHandler attribute as
    mentioned in the Sun ONE Message Queue 2.0 Administration Guide -
    Appendix B.
    2.Before running the client application, set the CLASSPATH variable to include
    jmqutil.jar in addition to the standard Sun ONE Message Queue jar files.
    This file is located at "/opt/SUNWjmq/lib/jmqutil.jar".
    If the "jmqutil.jar" file is not included in the CLASSPATH, the client will get a
    "java.lang.NoClassDefFoundError" exception for the class
    "com/sun/messaging/jmq/util/JMQTimerTask".
    3.If you are using an HTTP proxy, set "http.proxyHost" to the proxy server host
    name, and "http.proxyPort" to the proxy server port number using the -D
    command line option.
    An example command line would look like this:
    java -classpath
    /opt/SUNWjmq/lib/jms.jar:/opt/SUNWjmq/lib/jmq.jar:
    /opt/SUNWjmq/lib/jndi.jar:.:/opt/SUNWjmq/lib/jmqutil.jar
    -DJMQConnectionType=HTTP
    -DJMQConnectionURL=http://webserver:80/imq/servlet ClientApplicaiton

  • Queue error in HTTP receiver

    I have a HTTPS receiver set up to send a file to the targer HTTP URL (external), file has been picked up but it's in queue with SYSFAIL status and message
    XI Error ATTRIBUTE_CLIENT.PLAINHTTP_ADAPTER: Queue
    Do I need to create a service in SICF for the web address?
    Thanks,
    Menaga

    Hi, tahnks every one for your answers but I am still not able to get to it.
    Checked with the customer and they didn't receive it, the same works with webmethods fine.  I changed the communication channel with RFC destination type G instead providing the URL direct. I am gettign the below error.
    Do I need any thing specific for HTTPS communicaiton in PI or doest the HTTP adapter handles HTTPS? I think receiver doesnt want a soap envelope. I am sending a text file which has ras edi data and that's what the receiver needs.
    xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT_DEST</SAP:Code>
      <SAP:P1>USBANK</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error while creating the HTTP client with destination USBANK</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks,
    Menaga

Maybe you are looking for