Creating listener for incoming http requests

Hi,
I am trying to create a server for incoming http requests.
I am using Connector.open("socket://:5555") call to bind to the server socket.
I have give permission for Connector.socket, as well as Connector.http to this application.
The server is able to accept connections when the client connects using socket://localhost:5555, but does not accept any incoming connection when the client connects using http://localhost:5555.
How can I create a service on my mobile which will accept http requests.
Thanks,
Debashis

Allistair,
One thing that might help you is an understanding of the Oracle database JVM architecture. Here's a DOC which you might find interesting:
http://otn.oracle.com/products/oracle8i/pdf/Oow_BestPractices.pdf
Hope this helps,
-Dan
http://www.compuware.com/products/devpartner/db/oracle_debug.htm
Debug PL/SQL and Java in the Oracle Database

Similar Messages

  • 2960X 15.02(EX5) %AAA-3-ACCT_LOW_MEM_UID_FAIL:AAA unable to create UID for incoming calls due to insufficient processor memory.

    Deployed four 2960X switches in a stack.  All okay for about one month then tried to web browse for the first time via firefox which partially displayed the page.  I assumed this was a browser error.  So tried Chrome then IE which both failed.  Chrome was a bad display and IE fails to connect.
    After this, I could not telnet or ssh.  Plugged into the console and immediately started receiving:
    %AAA-3-ACCT_LOW_MEM_UID_FAIL: AAA unable to create UID for incoming calls due to insufficient processor memory
    %% Low on memory; try again later
    I am unable to log in.  I have a TAC case logged but the first step to try is a reboot which will be difficult until I can get a maintenance window.  When I do get a maintenance window, I would also like to deploy a fix such as a different version of code or a work-around cofig command.  I don't mind disabling HTTP.
    Any suggestions?

    I am currently working with TAC
    The switches failed about 18 hours later and had to be rebooted to get back up.  Now that I have console/telnet access, I can see the memory being depleted mostly by the Auth Manager process at about the same rate as free memory is dropping.
    SW13#sho proc mem sort | i Auth Manager
     191   0  177721332   95004616   34757416          0          0 Auth Manager
    SW13#sho proc mem sort | i Auth Manager
     191   0  177754888   95025696   34759780          0          0 Auth Manager
    SW13#sho proc mem sort | i Auth Manager
     191   0  177774316   95037928   34761056          0          0 Auth Manager
    SW13#sho proc mem sort | i Auth Manager
     191   0  177799720   95053940   34762888          0          0 Auth Manager
    SW13#sho proc mem sort | i Auth Manager
     191   0  177824976   95069732   34764696          0          0 Auth Manager
    SW13#
    SW13#
    SW13#sho proc mem sort | i Processor
    Processor Pool Total:  442796836 Used:  103448576 Free:  339348260
    SW13#sho proc mem sort | i Processor
    Processor Pool Total:  442796836 Used:  103454416 Free:  339342420
    SW13#sho proc mem sort | i Processor
    Processor Pool Total:  442796836 Used:  103455860 Free:  339340976
    SW13#sho proc mem sort | i Processor
    Processor Pool Total:  442796836 Used:  103459236 Free:  339337600
    SW13#sho proc mem sort | i Processor
    Processor Pool Total:  442796836 Used:  103461040 Free:  339335796

  • A new socket for every http-request?

    Do I have to make a new socket for every http-request? The code below doesn't work because it is two requests in a row. The first GET works, but the second doesn't. I thought that the purpose of a socket is that you set it up once and then you should be able to do arbitrary communication between the two peers. Maybe that is just the case with sockets only but not if you use sockets to perform http.
    Thank you for your answers! Nice greetings from Austria (not Australia)!
    Stefan :)
    package httptest;
    import javax.net.ssl.*;
    import java.io.*;
    import java.net.*;
    public class Conn2 {
        private PrintWriter out;
        private BufferedReader in;
        private Socket socket;
        public Conn2()
            try {
             socket = new Socket("www.google.at", 80);
             out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())));         
             if (out.checkError())
              System.out.println("SSLSocketClient:  java.io.PrintWriter error");
             in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                System.out.println("Connect erfolgreich.");
         } catch (Exception e) {
             System.err.println(e);
        public void test()
            String inputLine;
            // 1. GET
            out.println("GET / HTTP/1.0");
         out.println();
         out.flush();
         try
                while ((inputLine = in.readLine()) != null)
                    System.out.println(inputLine);
            catch(IOException e)
                System.err.println(e);
            // 2. GET
            out.println("GET / HTTP/1.0");
         out.println();
         out.flush();
            try
                while ((inputLine = in.readLine()) != null)
                    System.out.println(inputLine);
            catch(IOException e)
                System.err.println(e);
    }

    Normally in the HTTP protocol, the server will close the connection after every request. So after you do the first GET, the server sends you the result and closes the connection. You have to open a new connection for the second GET.
    You can set specific headers to keep the connection open, which makes things faster if you have to do multiple GET's quickly after another. Lookup the specification of the HTTP protocol on http://www.ietf.org/
    Maybe it's easier to use a HTTP client library like Apache's HTTPClient: http://jakarta.apache.org/commons/httpclient/ so that you don't have to implement all the difficulties of the HTTP protocol yourself.

  • Failed to create listener for adaptor

    Hello,I am install FMS3.5 on linux,and it is fine,but adminserver is stop,
    the log:
    Nov  9 08:41:12 as38 Service[15096]: Server aborted.
    Nov  9 08:43:10 as38 Service[15030]: Server aborted.
    Nov  9 08:43:20 as38 Adaptor[15203]: Failed to create listener for adaptor , IP localhost, port 11110: TCCommBridge::createListener 0.0.0.0:-1/other: create socket failed..
    Nov  9 08:43:20 as38 Service[15203]: Server starting...
    Nov  9 08:43:20 as38 Adaptor[15203]: Failed to start listeners for adaptor FCSAdminIpcProtocol.
    Nov  9 08:43:20 as38 Server[15203]: Server initialization failed; service will be stopped.
    Nov  9 08:43:20 as38 Service[15203]: Server aborted
    so,why Failed to create listener for adaptor and create socket failed?

    Flash Media Server is a 32-bit program that will run in 32-bit mode on 64-bit operating systems.
    so,I think I should re-install the OS。
    are there other solution?

  • Listen to "ALL" HTTP Requests

    Hello,
    I have an application with many 3rd party components on it.
    These components pull in a lot of external media (i.e images, data) but do not have a public Loader i can listen too.
    Is there any way Flex can give me access to all HTTP request coming in so I can show a progress bar for each download?
    Thoughts?
    Drew

    LinKe,
    I do not believe this is possible. The port associated with the URL of the Web Service Reference is determined from WSDL at the time of definition. There is no facility to alter the Web Service Reference definition at runtime.
    Joel

  • Failed to create delegate for component - Leave Request

    Hello Guru's,
    We are facing some issues with Time Management Applications:
    From the Portal before rendering the application we're getting the below error.
    Exception occured during processing of Web Dynpro application sap.com/ess~lea/LeaveRequest. The causing exception is nested.
    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.xss.essceservices.vcceassignmentselection.VcCEAssignmentSelection. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
    at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:51)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:382)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
    at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:141)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent$ComponentUsageManager.createVACComponentUsage(FPMComponent.java:747)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:563)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
    at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
    at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:782)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
    at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
    at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
    at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
    at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
    at com.sap.portal.pb.PageBuilder.wdDoRefresh(PageBuilder.java:593)
    at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:865)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
    at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:332)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:712)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    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:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
    ... 57 more
    Caused by: java.lang.NoClassDefFoundError: com.sap.pcuigp.xssutils.pernr.model.grpinfo.Hrxssce_Pernr_Grp_Info
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.class$(InternalVcCEAssignmentSelection.java:25)
    at com.sap.xss.essceservices.vcceassignmentselection.wdp.InternalVcCEAssignmentSelection.<init>(InternalVcCEAssignmentSelection.java:45)
    ... 62 more
    We're on
    ERP 6.0 Stack 20,
    ECC EhP4 Stack 05
    SAP_APPL     600     0016
    SAP_HR     604     0014
    The other Web Dynpro Java applications are working fine.
    And this is happening only in QA Dev and Prod are working fine.
    Please help me with this issue.
    Thanks & Regards,
    Pramod

    Pramod,
    Check if your assigned resource (if standard, EMPLOYEE_LEAVEREQUEST_SERVICE05) has the same properties in qas agains dev.
    Also, to ensure that your ESS tables are equals in both systems, you can use SCMP transaction (to know the name of any table open it in customizing and press F1).
    If SAP customizing its OK, go for Portal. Check first your Leave Request page in Preview mode (by Content Administration);
    - if its OK, check the Portal Roles
    - if it doesn't work, consider: in a few cases some iview personalizations can produce a permanent error. if you're using custom iview, open the standard Leave Request page in Preview mode. also, some developments done through NWDI; in this case do a redeploy of application.
    - another common issue happens when there is no any absence / attendance defined in backend. so, for this case you can compare the customizing for rules and absence/attendance between qas and dev
    - finally, test with different users, because in another cases when you've a collision time or some incorrect time information for a certain employee, the Leave Request service show an error screen.
    best regards

  • ExecutorService creating tasks to send HTTP requests - time out

    In my java application, I have introduced ExecutorService to create tasks. The tasks consist of sending HTTP requests to an application server, to process transactions. The ExecutorService will process about 1000 requests.
    The executor process the transactions and terminates OK, but some of the transactions timed out (before introducing ExecutorService, I was just sending one transaction at time, all the transactions were processed OK; but, it was taking a long time to process).
    See the code below.
    private ExecutorService threadExecutor;
    threadExecutor = Executors.newFixedThreadPool(30);
    threadExecutor.execute(transaction);
    try
         //Shutting down the ThreadExecutor
    threadExecutor.shutdown();
    threadExecutor.awaitTermination(30, TimeUnit.SECONDS);
    threadExecutor.shutdownNow();
    catch (InterruptedException e)
         System.out.println("ERROR - cannot shutdown the ThreadExecutor - exception is: " + e);
    Is this the best way to implement this use case?
    Thank you.

    From the above code, it seems like you are starting only a single transaction in a thread pool. Or does the transaction object you pass to the threadExecutor spawn more tasks for the executor?
    If you are indeed still making all HTTP requests from the single transaction object, then yes, it will 'time-out' after 30 seconds, since the ExecutorService was instructed to stop its threads after that period of time.
    Your description of the use case is actually a good example of the usage of an ExecutorService, since it is faster to do 1000 HTTP requests in parallel than it is to do them sequentially.
    Consider this:
    ExecutorService threadExecutor = Executors.newFixedThreadPool(30);
    for (int i = 0; i < 1000; i++)
      threadExecutor.execute(new Transaction());
    try
      threadExecutor.shutdown();
      threadExecutor.awaitTermination(30, TimeUnit.SECONDS);
      threadExecutor.shutdownNow();
    catch (InterruptedException e)
      // Ignore
    }This will spawn 1000 transactions that will execute in parallel, with max. 30 running at any single point in time. Any transactions still not executed after 30 seconds will be terminated.
    Hope this helps.
    --JH
    Edited by: Kramor_dude on Nov 5, 2009 6:55 AM

  • Safari is not sending proxy-authorization header for some https requests

    Hi,
    I have the problem that sometimes Safari doesnt send the necessary Proxy-Authorization header to our proxy for HTTPS requests.
    The proxy settings are configured in system preferences with a username and password.
    I did packet capture and I can see that most of the time it will work just fine and the trace looks something like this:
    CONNECT communicator.strato.de:443 HTTP/1.0
    Host: communicator.strato.de
    User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/523.12.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2
    Proxy-Authorization: Basic XXXXXXXXXXXXXXXXX== (edited)
    HTTP/1.0 200 Connection established
    While some times it will look something like this :
    CONNECT communicator.strato.de:443 HTTP/1.0
    Host: communicator.strato.de
    User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; de-de) AppleWebKit/523.12.1 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2
    HTTP/1.0 407 Proxy Authentication Required
    Any idea why Safari sometimes wouldn't send the credentials to the proxy?
    Simon Putz
    Ironport Systems Customer Support

    Hi, I am also facing same problem
    Software : Weblogic jdk1.3.1
    If anyone know the solution ,Please help me
    Thanks,
    Suneel

  • Using internally created certificate for IP-HTTPS lisenter temporarily during testing. Any issues?

    We are planning our Direct Access environment now and plan to also use SSTP VPN on the same box.
    I understand that the best practice is to use a certificate published by a public CA for the outward facing IP-HTTPS listener and we plan to do this however during testing we would like to use a certificate created from our internal CA. If our testing phase
    is successful and we plan to go ahead we would then buy a public CA certificate and replace the internally created one.
    I would just like to know how much of an issue/hassle it would be to do this. I believe that during the DA setup wizard it automatically inserts the certificates you provide. Is it a problem to change it afterward? Do you have uninstall DA and run through the
    wizard again? Thanks.

    Or you can use a Public 30-day trial SSL that is supported on all Clients.
    The hassle of changing it, will be the same as when you are renewing a public SSL certificate in the future. And yes, you have to re-run the wizard again, after you have imported the new SSL certificate on the DA server.

  • No response returned for the http request

    My application is running on Weblogic 10 in a clustered environment. The UI is a developed in Eclipse RCP.
    I have a problem where a particular request never returns from the server to the desktop.
    This can be reproduced only in Beta environment and does not happen in Development, Integration or System Test Environment.
    I tried thread dumps but there was no thread waiting for this request.
    I tried http monitor tool but I am unable to find the cause and solution for this.
    Can someone please help me to understand in which situation would this happen and what must be done to overcome this?
    Thanks
    Bala

    Thanks for replying.
    yes, we have put in the logger messages.
    The desktop calls Struts2 Action class and the server does recieves the request, processes it (contacts a 3rd party system), recieves the response from the 3rd party system and then persists the necessary information to the database.
    After this we have logs to print which Action class took how much time. That also gets printed successfully.
    For this process the server took 275 seconds (this is the most time consuming task in the whole app) . After printing this there is no response returned from the server to the desktop.
    There are no exceptions and errors.
    The fact which is most disturbing is that this is not re-creatable in any other environments (dev, IT,ST) and only in BETA. Though all are clustered environments.
    Please help me trace the response. I am ready to implement any ideas. But I want to reach to the root cause. As this is in BETA I am unable to remote debug as well :-((
    Thanks
    Bala

  • Listening for incoming call or sms using midlet...

    how to listen to an incoming call or sms using midlet/midp??
    so, when there's an incoming call, that listener will invoke a midlet that will run as the display screen for the incoming call (like a wallpaper)...and after the call is finished/rejected, the midlet will be destroyed...
    reply soon...i need this for my task...

    Hi,
    You can invoke the application through SMS and that also when the SMS are sent to the port the application has registered. As far as invloking the application on incoming call is concerned, I dont think j2me supports it. Try using push registry for autostarting the application through SMS.
    Sunil

  • WANT TO USE WEBLOGIC 10 R3 AS WEBSERVER FOR ONLY ROUTING HTTP REQUEST .

    Hi ,
    I have a requirement which I have to address ASAP . Any help would be appreciated .
    I want to use weblogic 10 R3 as web server. I understand by the definition of application server that it’s also capable of handling HTTP request . That means it’s having a build-in webserver in it. (Please correct me if I am wrong in my understanding .) Thus can I use the weblogic webserver for hosting all incoming http request and routing to the another instance of weblogic application server. (Could be the same instance also if possible .)
    I also understand that weblogic app server can be integrated with other third party web server like apache web server . But is it not possible to use weblogic 10g webserver ? If this is possible please guide me how I should proceed for this.
    With Regards
    AD

    Hi ,
    I am rephrasing my query as below:
    It’s my understanding that weblogic 10g R3 application server is capable of handling http requests also . That means it has a built-in webserver. Thus can I use this built-in weblogic webserver for hosting all incoming http requests and routing to the another instance of weblogic application server.
    With Regards
    AD

  • SAP Web dispatcher not forwarding incoming HTTP portal sessions.

    Hello,
    We are using an EP6 Portal from which Abap Web dynpros are launched. The incoming http sessions were accessing our backend ECC6 SAP system through the sap server message . The http sessions were badly dispatched between the two abap servers. We have been advised by SAP to use the sap web dispatcher instead.
    The sap web dispatcher has been correctly installed and configured (on the central abap instance ).
    I have carefully read the SAP help section concerning the server selection using the sap web dispatcher :
    http://help.sap.com/saphelp_nw04s/helpdata/en/5f/7a343cd46acc68e10000000a114084/frameset.htm
    All our settings seem to be OK :
    The incoming HTTP requests are forwarded to abap servers only.
    *In transaction SICF, all the services under the tree
    sap/public/icf_info have been assigned to the same logon group .
    The capacity of the two servers included in the logon
    group " is the same :
    server40 LB=12
    server60 LB=12
    In the Web interface, capacity equal "1" for the two servers.
    wdisp/load_balancing_strategy=  weighted_round_robin
    In the SAP web interface, the prefered server is ALWAYS the same :
    Status of Server Group "LOADIS"
    Loadbalancing Information
    Number of Servers in this group 2
    Last used Server
    Preferred next Server server40_SPA_10
    But it seems that the sap web dispatcher is not used at ALL.
    The Load distribution is still based on the SMLG workload as it was the case, before, with the sap message server. The information displayed in the web interface (preferred server) is wrong.
    The Preferred next Server is ALWAYS server40_SPA_10 (shown in the web interface), but, in fact, the http sessions are distributed between the two servers server60_SPA_00 and server40_SPA_10 depending on the server quality diplayed in transaction smlg. It was exactly the same behaviour we had before, only with the sap server message .
    Any useful help would be highly appreciated.
    Best Regards.

    Hi,
    firstly, have you checked note 1094342? What variant do you want to use? Do you terminate a SSL connection on web dispatcher and create a new one between web dispatcher and application server? It looks like the web dispatcher can't verify SSL certificate used by application server. Maybe you've already tried this but you can try to turn off SSL between dispatcher and application server. If this setup works then problem is in SSL connection. You can check what host name is used in SSL certificate and what host name is used by dispatcher. You can use parameter wdisp/ssl_certhost which sets host name which will be used for certificate validation.
    Cheers

  • Use 1 listener for multiple database in a server

    hi guys,
    just want to check whether this is the right way to configure my Listener.ORA . I am using 1 listener.ora to listen for incoming request connection from remote client. There are multiple databases installed in a server.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )sorry i am reading about it so did not install another database to test out. Just thinking in the line that it mention that the list of SID is refering to the multiple database that is installed in a server and i am using 1 listener.
    Please further advice.

    Shivananda Rao wrote:
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora03)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = O11R2)
    (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
    (SID_NAME = O11R2)
    (SID_DESC =
    (GLOBAL_DBNAME = O10G)
    (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
    (SID_NAME = O10G)
    )Please use as above. You can have one listener for multiple databases.right right so it the pattern goes like this:
    SID_LIST_LISTENER =
         (SID_LIST =
              (SID_DESC =
              (GLOBAL_DBNAME = AAAA)
              (ORACLE_HOME = /oracle/app/oracle/product/11.2.0/db_1)
              (SID_NAME = AAAA)
              (SID_DESC =
              (GLOBAL_DBNAME = BBBB)
              (ORACLE_HOME = /oracle/app/oracle/product/10.2.0/db_1)
              (SID_NAME = BBBB)
         )thanks !

  • PL/SQL posting to HTTP request

    Hi
    As part of a web application I am developing, I need to generate an HTTP post from a PL/SQL package. The problem I am having is that the message going out is not properly formatted and is being rejected by the listening application (in this case, WebCT)
    The MIME message should be formatted like this. (this is what I get when I use Perl to generate the call...)
    POST /webct/systemIntegrationApi.dowebct HTTP/1.1
    Host: roach:4041
    Connection: Keep-Alive, TE
    TE: trailers, deflate, gzip, compress
    User-Agent: RPT-HTTPClient/0.3-3E
    Accept-Encoding: deflate, gzip, x-gzip, compress, x-compress
    Content-type: multipart/form-data; boundary=WebCT_Enterprise_API_boundary
    Content-length: 1506
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="adapter"
    ims
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="ACTION"
    import
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="OPTION"
    unrestrict
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="SCTMODE"
    OFF
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="TIMESTAMP"
    1091141996
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="AUTH"
    3D 1F DC E0 F7 15 5A 1F F4 99 CA 70 D4 68 1C 57
    --WebCT_Enterprise_API_boundary
    Content-Disposition: form-data; name="FILENAME"; filename="baseline_import.xml"
    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE ENTERPRISE SYSTEM "IMS-EP01.dtd">
    <ENTERPRISE>
    <PROPERTIES>
    <DATASOURCE>McGill University SCT Banner</DATASOURCE>
    <TYPE>Initial Creation</TYPE>
    <DATETIME>2000-00-00T12:00:00</DATETIME>
    </PROPERTIES>
    <GROUP>
    <SOURCEDID>
    <SOURCE>Banner 2000 SCT Banner</SOURCE>
    <ID>6536.200409</ID>
    </SOURCEDID>
    <DESCRIPTION>
    <SHORT>HIST-666-001</SHORT>
    </DESCRIPTION>
    <RELATIONSHIP myrelationship="3">
    <SOURCEDID>
    <SOURCE>Banner 2000 SCT Banner</SOURCE>
    <ID>6537.200409</ID>
    </SOURCEDID>
    </RELATIONSHIP>
    </GROUP>
    </ENTERPRISE>
    WebCT_Enterprise_API_boundary
    HTTP/1.1 200 OK
    Date: Thu, 29 Jul 2004 21:56:27 GMT
    Server: Apache/2.0.49 (Unix) DAV/2 mod_ssl/2.0.49 OpenSSL/0.9.6m mod_jk/1.2.3-dev
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html
    35
    Success: Import file (baseline_import.xml) complete.
    0
    My PL/SQL code that tries to build the outgoing call is
    req := utl_http.begin_request('http://atlas.cc.mcgill.ca:8900/webct/systemIntegrationApi.dowebct','POST', 'HTTP/1.1');
    utl_http.write_text(req,'Content-type: multipart/form-data; boundary=WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="adapter"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'ims' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="ACTION"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'import' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="OPTION"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'unrestrict' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="SCTMODE"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   'OFF' || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="TIMESTAMP"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   timestamp || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="AUTH"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   mac || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary' || CHR(13)|| CHR(10) ||
                   'Content-Disposition: form-data; name="FILENAME"; filename="xlist.xml"' || CHR(13)|| CHR(10) ||
                   '' || CHR(13)|| CHR(10) ||
                   total_xml_string || CHR(13)|| CHR(10) ||
                   '--WebCT_Enterprise_API_Boundary--' || CHR(13)|| CHR(10));
    resp := utl_http.get_response(req);
    utl_http.read_text(resp, val);
    utl_http.end_response(resp);
    When I watch the network traffic generated by this PL/SQL I do not have any carriage returns which makes WebCT to believe that the message does not carry the proper data and returns Fatal Failure(99): Invalid URL arguments...
    Is there somewhere where I can see sample code for placing HTTP requests using the utl_http package? Or if I am doing something obviously wrong (I am new at this whole PL/SQL thing...) please let me know.
    Thank you
    Bogdan

    If UTL_HTTP.SET_TRANSFER_TIMEOUT has no effect, probably your hang is due to the fact that the machine is completely down and inaccessible.
    As the name suggests, SET_TRANSFER_TIMEOUT only controls the timeout when UTL_HTTP succeeds in making a connection to the remote Web server and it times out the request when no more response is received by certain time while the connection is not closed by the remote server either.
    In your case, you probably need a connect-timeout which isn't provided by UTL_HTTP (yet).

Maybe you are looking for

  • Is there any event will fire on tabkey.

    I wanto set focus when user navigates from one ui element to another ui element using 'tabkey' from the keyboard. i get to know we can use view->request_focus_on_view_elem( lv_v_elem ). this can be code in modifyview. but when i use 'tabkey' modifyvi

  • IPhone 5 Wi-Fi signal issues

    Upgraded from iPhone 4 to 5 this week. New iPhone 5 constantly loses wi-fi signal in any other room in my house except the room where the actual router is based. Router is 2 months old N series, works perfectly. Interestingly I upgraded this router s

  • Two sales areas in one shop??

    Hi experts!! I am trying to configure B2B application.. My questions are the following: Since product catalog is assigned to one sales area, and one product catalog is assigned to one shop and one shop is assigned to one customer configuration. How c

  • Adobe Presenter vs. Articulate Presenter

    Hello! I previously used Articulate Presenter to develop content. However, due to some major software bugs I was having with Articulate, I switched to using Adobe Captive (and am very happy). Now I just came across Adobe Presenter and it seems exactl

  • No RMI in java1.4 ?

    hi! I've just installed java2ee 1.4 beta & I simply cant find RMI in it. How do You run Your rmi application now?