Multiple clients of a single proxy service

I have trouble getting more than one client connected to the same proxy service. I tried with and without connection-limit in the acceptor config without success.
my proxy config on the server side looks like this
<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>somehost</address>
<port>10495</port>
</local-address>
</tcp-acceptor>
<connection-limit>10</connection-limit>
</acceptor-config>
<proxy-config>
<cache-service-proxy>
<enabled>true</enabled>
</cache-service-proxy>
<invocation-service-proxy>
<enabled>false</enabled>
</invocation-service-proxy>
</proxy-config>
<autostart>true</autostart>
</proxy-scheme>
and here is what I get on the clients that fail to connect:
2012-03-06 17:55:28.945/1.482 Oracle Coherence GE 3.7.1.0 <D5> (thread=ExtendTcpProxyService:TcpInitiator, member=n/a): Started: TcpInitiator{Name=ExtendTcpProxyService:TcpInitiator, State=(SERVICE_STARTED), ThreadCount=0, Codec=Codec(Format=POF), Serializer=com.tangosol.io.pof.ConfigurablePofContext, PingInterval=0, PingTimeout=5000, RequestTimeout=5000, ConnectTimeout=10000, SocketProvider=SystemSocketProvider, RemoteAddresses=[COHERENCE_PROXY_HOST/10.30.186.16:10495], SocketOptions{LingerTimeout=0, KeepAliveEnabled=true, TcpDelayEnabled=false}}
2012-03-06 17:55:28.961/1.498 Oracle Coherence GE 3.7.1.0 <D5> (thread=main, member=n/a): Connecting Socket to 10.30.186.16:10495
2012-03-06 17:55:38.968/11.505 Oracle Coherence GE 3.7.1.0 <Info> (thread=main,member=n/a): Error connecting Socket to 10.30.186.16:10495: java.net.SocketTimeoutException: connect timed out
only one client can stay connected at any time... I must be doing something wrong!

Hi,
There is nothing wrong in the proxy-scheme configuration ! I would suggest you to check the connectivity between the 2nd client and proxy (probably firewall issue).
Hope this helps!
Cheers,
NJ

Similar Messages

  • OSB example calling multiple business services using a single proxy service???

    Hi,
    I have three business services created using http urls i.e.
    1. LoginBS
    2. GetListBS
    3. LogoutBS
    My requirement is to get a list of names from GetListBS using a single proxy service and to call GetListBS I have to first call LoginBS then GetListBS i.e. after authentication and then finally logout.
    Kindly help with a detailed example for this and I am new to OSB.
    Thanks,
    Vik

    Hi Eric,
    Thanks for the response. We figured that it is possible to call multiple services with Split Join. However, we ran into the issue you described. We had a blocking call and had to wait until each of the services returned a response.
    However, we needed a Async model for our design and felt that this might not be a right fit.
    We are now looking at implementing the publish option with QoS configured as this fits our usecase better. Thanks for the help again.
    Rudraksh

  • How can I connect multiple clients to a single client ?

    I am currently developing an instant messaging program.I created a server and connected multiple clients to it by using thread logic.However I do not know how to connect multiple client to a single client.
    What shall I do for that?Does anybody know a good tutorial or sample program?Or shall anybody explain me what I shall do for building the Instant Messaging part of my chat program?
    Thank u in advance.

    You may use UDP multicast socket. But since you are using the UDP protocol you might risk losing the data that you send since UDP does not guarantee the safe transfer of data.
    Alternately, you might create a server that allows multiple client to connect to it whose connection Socket objects are then stored in a Vector <Socket> object. The server then sends back data to the connected client about the other clients connected to it. Now when the client wants to send data (like an IM) to another connected client, it has to send a request to the server specifying the client login name and the server in turn streams that particular client's Address and Port to the requesting client. The requesting client then initiates the connection with the other client and then starts a conversation. One more thing, when the client communicates it needs to send information to the server like the name by which it likes to be referenced. In this scenario the server acts like a central repository for clients to query the existence of other clients in the chat room. Each client here runs a thread that listens to incoming connections and when a connection is established, may be opens a IM window or something.
    The third option is to make the server to relay the information from one client to another. Like say, I'm connected to whoopy server and i want to send "Hello" to jackson, then i send the message (ie, Hello) along with the name of the client to which i wish to send it to (ie, jackson). The server then performs a lookup in its Vector <Socket> object and then initiates a connection with jackson and sends the information. However, this method is pretty costly in that you will be wasting a lot of processing behind the server.
    --Subhankar
    P.s. If you stumble upon any other brilliant ideas let me know.

  • What are the possible approches for hosting a product(custom SP application) for multiple clients on a single SharePoint farm?

    We have a product which is a custom application based on SharePoint Foundation 2010. Right now, for each of our client we create a dedicated server and host the application in the standalone deployment. Now, the requirement is to host multiple clients in a
    farm deployment.
    Challenges are: 1. The product has same name for the wsp that is deployed on different client servers as of now. How to distinguish for different clients on same farm
    Currently the product specific css and jquery is in 14 hive. These files will be of difefrent versions for different client. How to segregate that?
    How many web applications is recommend to be created in a single SPF 2010 farm? What are the challenges?
    There are a couple of DBs created in SQL for the application. What is the best way to separate those for the client?
    Essentially its the same product but with different versions for each client that we want to deploy in a single farm. What is the best practice to tackle this?

    For the most part, these are not SharePoint questions per se, but product-specific questions you'd better ask the vendor about. To get in some more detail:
    1. It totally depends on the scope of the solution. If its global, then you're out of luck and any changes you make affect all instances that use it. Better ask the vendor about it.
    2. Not that many, let's say < 10, assuming you're web applications have separate application pools. Check out  http://technet.microsoft.com/en-us/library/cc262787(v=office.14).aspx#WebApplication for
    more info.
    3. This is very application specific and really should be answered by the vendor. Not related to SharePoint at all.
    4. Again, really depends on the product so better ask the vendor.
    Good luck!
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Multiple Clients in a Single mobile Device?

    Hi all,
    I m using 10gr2 database as standalone and using oracle lite r3..
    I have an application created with oracle branch office platform.
    I downloaded a client in a mobile device and it got downloaded.
    But if i try to download another client in the same machine,the log file
    message is "DEVICE NOT ENABLED"..So i checked in the mobile manager..Under
    mobile device,i could find our machine name.In tht one client is enabled and another client
    is not enabled.If i try to enable,its saying "Resource invalid or disabled"..
    Is it possible to download 2 different clients in a single mobile device?
    IS there any parameters for that..
    Please help and thanks in advance..
    Regards,
    Prasnnaa

    Hi Prasnnaa,
    It is not possible to Install 2 differents Clients in a Single Mobile Device, there is no any parameters for that.
    Regards.
    Marc

  • Multiple Interfaces on a single web service URL

    we have a scenario where we have a multiple interfaces that are related to SD that needs to be exposed to another system. When we generate the WSDL from XI - it seems we can do only for one interface at a time.
    Is there a way - where in we can expose a single URL and treat these interfaces as web methods on that single URL? (similar to .Net or Java)
    If yes - how do we do that?
    Thanks.

    That will not be possible. Instead you have to expose only one interface which takes generic data as input. In the mapping, depending on dat, you should map them to various other interfaces which would definetly make your scenario complex..
    In XI each outbound interface is a separate web service (method).
    VJ

  • Single OSB Proxy Service Listening to multiple MQs

    Hi All,
    I am using OSB 11.1.1.5 and Websphere MQ version 6.
    I have a requirement to make a single proxy service to listen to multiple MQs. Is this possible?
    If yes, please help. If no, what is the work around?
    Regards,
    Karthik

    One proxy service can listen and consume messages from one MQ only as you can mention only one Endpoing URI with MQ transport in OSB.
    Work around is to create as many proxy services as you have MQ queues and create one common proxy service with local transport and let all MQ proxies call the common proxy service over local transport.

  • Proxy Service Writing a File

    Guys,
    I have a Proxy service that recieves a file content in Binary64 field present on the request body type.
    I need to write this content present inside the Binary 64 to a file.
    My approach was to develop a Web Service with that same interface and do the write logic within the Web Service. But my wish is to make this, if possible, using Proxy Service. There is a particular issue about that.
    The OSB Domain is started with a user called osboperator and it has all write privileges on the remote file system in order to make possible write down the file. But it may represent a security issue. My client wants that the Proxy Service runs with a different user, impersonating a different user than the one that started the domain because when doing that it will be more secure.
    Let me supply more information.
    The Proxy Service is configured to respond only to HTTPS requests and there is a 2-WAY SSL configured. So the requester will present a certificate and based on the certificate there will be a user associated with that. This user associated with the certificate is the one meant to run the part of the orchestration that will tryies to write down the file on the remote file system.
    Iss it possible?
    How?
    Is it the best approach?

    >
    Ok, but the point is that I do not want the user beaoperator to have the grant to write the file system.
    If I create a Service Account and configure the Proxy to run with the service account will not be enought? The hole proxy will be running with an user different from the one that started the domain. Or no?
    >
    Well, I don't think you can attach Service Account to a proxy service ... But even if you could, the answer would be "No". The proxy would be running with the very same SYSTEM PRIVILEGES (in your operating system) as any other part of OSB or WebLogic. Only privileges within the scope of OSB would be different, but that wouldn't change anything from operating system perspective, so your file would still be written by the user who started WebLogic.
    So ... There is no way how you could change system user within JVM. Your code (be it OSB or anything else) is running under privileges of a single system user (beaoperator) and you can't change that from any Java application. Again, there is no way to do that.
    You have to think in a different way. Instead of "how to write a file from OSB under different user?" think about "how to process data in OSB and let other system process to store them?" The answer for the first question is "no way!", whereas there are many positive answers for the second question. One of them is FTP or SFTP where you could set your Service Account, the second could be web service running outside of OSB ...

  • Proxy services

    HI,
    I have a business service which has four business methods. each business method will work indepedently.
    now I need to configure these four methods with ESB. to do this I need to create four proxy services or i can able to do with one proxy service.
    Kindly help .

    The choice is yours. You may have a single proxy service created from this business service which contains the same 4 operations, or you could have a proxy service with a different number of operations which performs the mediation logic required to route requests to the appropriate operation(s) on the business service.
    If your proxy service exposes the same 4 operations, then I suggest creating your proxy service from the existing business service for simplicity.

  • Multiple Proxy Services for single JMS endpoint

    Hi Forum,
    OSB Proxy services do not allow to have the same endpoint. I have defined 2 proxy services to look into one JMS queue. But it does not allow to do this.
    I want to fetch messages from the same queue by more than one Proxy (parallel execution to empty the queue faster). How can I do that?
    Thanks in advance..
    CK

    OSB/JMS by design are of little use here. For parallel execution to empty the queue faster we can
    1) use distributed Q in cluster and multiple proxies can process on the distributed Q.
    Manoj

  • How to call a text FTP proxy service from a Java client ?

    Greetings,
    I've configured a text FTP proxy service which downloads files from a FTP server. It pols a directory on the FTP server and, as soon as a file respecting a given pattern apears it is downloaded. I tested the service in the test console and by putting some test files onto the FTP server. Now, I need to be able to test it from a Java client. How may I do that ? I need to write a Java client to connect to the OSB and to tell to it to use the FTP proxy in order to download a given file, from a given location and to put it in a given location on the client machine. Many thanks in advance for any help. A sample would be great !
    Kind regards,
    Nicolas

    Ok, I understand. The crucial question here is "what is a caller that you refer to?"
    Don't get me wrong, but the problem here is that you probably don't understand, what OSB is good for. OSB is an event-driven system. The event in your case is a new message in remote FTP server. You have to define what should happen when that event is fired. And that's all. You don't have to involve other client (or caller) for this case.
    You should define your FTP proxy to retrieve all relevant files from FTP server and then you should route them based on their name/content/encoding/whatever to different consumers. You can also have many proxies if you want - one for each name. It's up to you. But you don't have any "callers" in either case.

  • Web Service Proxy client to invoke a Web service on SSL (Jdev 10.1.3.1)

    Hi,
    I have to develope a Web Service proxy client to invoke a web service on SSL. First I'm testing with OC4J 10.1.3.1 and JDEV 10.1.3.1 and did this:
    1) Developed a basic PL/SQL Web Service with JDEV and publish on my standalone OC4J.
    2) Made a test with a browser, it worked OK
    3) Generated a proxy client from JDev 10.1.3.1 to invoke web service, it worked OK
    --- Now make it work on SSL----
    4) Then, added SSL configuration to oc4j , generated a certificate with keytool (updated server.xml, secure-web-site.xml), and shutting down and starting the OC4j instance.
    5) Import the certificate to JAVA_HOME/jre/lib/security/cacerts
    6) Test web service from browser on https and worked OK.
    7) When tried to modified proxy client (generated in step 3) to make it work on SSL, I realized that just changing the END_POINT to the new url (https) it worked!
    Questions----
    1.- By default the proxy client generated from JDEV 10.1.3.1 knows how to deal with SSL conections?
    2.- If I dont have previously the server certificate to import it into JAVA keystore (cacerts) how could I ,from proxy client code, capture it and import it before the validation occurs... because if the certificate is not in keystore , the program fails.
    Thanks in advance
    J.

    Hi,
    Could you please provide me with the steps necessary to create a web service proxy client through JDeveloper or any other mechanism when 2 way SSL (requiring client authentication) is enabled.
    Thanks a lot in advance
    Nilesh

  • Having multiple Stored procedure in a single Business Service in OSB

    Hi,
    Please let me know is it possible to have multiple Stored Procedure inside one business service in OSB.
    Regards,
    Abdul

    Hello Abdul,
    It is not possible to serve multiple stored procedures/functions with one business service because one business service can be based on one adapter only and one DB adapter can interface one DB component only. You may have one stored procedure which internally makes call to all other procedures as per your requirement and from OSB, call this single stored procedure using one business service.
    Regards,
    Anuj

  • How to invoke a proxy service from a java client

    Hi all,
    how could I invoke a proxy service from a java client ?
    The proxy service type is 'any xml service' with http protocol.
    For a proxy with web service type I can export the related WSDL and generate the java client source.
    With 'any xml service' there is no associated wsdl and I'm wondering how to do that.
    Thanks
    ferp

    Hi Ferp,
    I used ClientGEN to generate client files from WSDL deployed in ALSB. You can also use Axis for client file generation.
    You need to know the WSDL URL. Generate Client files from WSDL URL.
    Sample ANT Script
    <project name="simple-web" default="mytask" basedir=".">
    <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" classpath="C:\bea92\weblogic92\server\lib\weblogic.jar"/>
    <target name="mytask" description="Generate web service client">
              <clientgen wsdl="http://<hostname>:<port>/URL?WSDL"
         destDir="src"
         packageName="com.client.mytask"
         classpath="${java.class.path}" />
         </target>
    </project>
    Use the following JAVA Code,
    try {
         ActivationService service = new ActivationService_Impl("http://<hostname>:<port>/url?WSDL");
    client = service.getActivationServicePort();
    } catch (Exception ex) {
    // Handle Exception
    client.activateNumber();
    Let me know if you need any more information.
    Thanks,
    Suman.

  • Gateway OData service on multiple clients (IDES)

    Hi guys,
    I have ERP 6.0 EHP7 SP1 IDES version of SAP Business Suite standard installation with NW 7.41 embedded. I am using NW Gateway (backend, not HUB deployment) to expose Odata web services. I have managed to expose and read data on client 001, where i also made all the customizing neccessary to enable the NW Gateway, maintain system aliases etc..
    Now, since all the demo data for IDES is in client 800, i don't know how to configure NW Gateway and system aliases so that i can expose data from client 800. I have searched for an answer to this a lot, but most of the information i could find was for a HUB deployment.Also, if i login to client 800, i can see that the customizing settings for NW Gateway are not there. So i have a couple of questions:
    How do i set-up my NW Gateway and system aliases to expose data also from client 800?
    Aren't gateway customizing settings cross-client? How come the gateway is disabled in client 800 but enabled in 001 on the same system?
    If not, how do i configure the gateway in client 800, where do i set the HTTP port etc.
    I am quite new to SAP / NW, so sorry if what i'm asking is something stupid.
    Regards,
    Primož

    Hi Timo, i didn't get any answer (i guess SAP considers this too basic a question ). I did however manage to retrieve data from client 800, using the web service configured in client 100.
    This can be achieved with the sap-client parameter:
    http://mysap/my_service_path/MySet/?sap-client=800&filter=...
    This way you are returing data from client 800. But how to have a dev/prod scenario on a single embedded deployment, i have yet to find out. By this i mean how to have a service definition in client 100 that you can transport to client 800 (using ie. SCC1) on demand, so these two clients can use different service definitions. Altough i did transfer ws configuration from 100 to 800 using SCC1, looks like you have to set-up the aliases in a right way to achieve the above and i don't know how.
    Hope it helps in any way, i was on a long "vacation" from SAP, and i just started dealing with this problem again .. If i find anything i Will let you know, you can do the same of course
    Regards,
    Martin

Maybe you are looking for