How to create a server socket

I want to make a server socket.
anybody provide me java store procedure code for socket, so that i can send data from my plsql procedure to my c# client also receive data which is send my client.

The database listener is providing you perfect server socket.
If you insist in opening the socket in java, I would suggest using a java app server, instead of the in-database jvm.

Similar Messages

  • How does create a server with multiple Clients ?

    Any people can lead me .
    How does create a server with multiple Clients ?
    Thanks

    For a multithreaded server you will need a thread to listen and at least one thread per client. If the conversation is half duplex, one thread per client works very well, if it's full duplex you will find one thread to send and one to receive much easier to program.
    I posted a Simple Socket Server that uses 1+2*clients threads.

  • BEA-002606 Unable to create a server socket for listening on channel

    Hi,
    I am trying to stand up JDEVELOPER suite 11.1.2 on Windows 7 64 Bit.
    When I sreate a sample app and try to compile, I get the error:
    <Error> <Server> <BEA-002606> <Unable to create a server socket for listening on channel "DefaultSecure". The address 192.168.56.101 might be incorrect or another process is using port 7102: java.net.BindException: Cannot assign requested address: JVM_Bind.>
    This IP is not active on my machine, although it was initialized at one point through a VBox instance I installed. I have tried to clean off the VBOX instance and the JDEVELOPER, rebooting between loads. Can anyone help me get what look like a ghost IP off my machine. Note: I set the weblogic server to port 8003, so I am also not sure why itis looking at port 7002.
    Thanks
    JT

    It is the integrated server. I have taken everything off (JDev adn VBOX) and cleaned some of the hard to find file structures just to make sure there wasn't a hidden config file I was missing.
    I am new to Web Logic, so I was hoping to get the integrated server running first and then learn the ins and outs of deployment to a production system.

  • How to create a server through WLST  ( Weblogic Scripting Tool ) ?

    How to create a server through WLST ( Weblogic Scripting Tool ) ?
    Thanks in advance...
    Sanjay

    Hi Murugesh,
    Thanks a lot for you reply..
    I was able to create a server using create(). Is it possible to clone a server ?
    When i create a server following tags is added to config.xml
    <server>
    <name>testServer_lab1</name>
    <listen-port>43000</listen-port>
    </server>
    And if i do a clone through admin console, following is added to config.xml
    <server>
    <name>testServer2_lab1</name>
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    </server>
    If incase, cloning is not possible through WLST, can i add following
    <machine xsi:nil="true"></machine>
    <listen-port>7001</listen-port>
    <cluster xsi:nil="true"></cluster>
    <listen-address></listen-address>
    <graceful-shutdown-timeout>120</graceful-shutdown-timeout>
    under <server> tag which is created through WLST ?
    I am using 9.2 version.
    Regards
    Sanjay

  • How to create managed server in remote machine ?

    Hi,
    I have a cluster. It has 2 managed servers
    one managed server runs on machine A
    I want to run another managed server on machine B
    How do i do that.
    I have weblogic installed on both machines A and B
    Problem:
    a.) how to create domain in machine B ? should i use pack/unpack commands or can i create a new domain from scratch in the machine B ?
    Machine A has the domain directory created. Machine A also has admin server
    b.) if i create a domian from scratch in machine B, then how does synchroniziation happens ?
    say in machine A ( initially where the domain is created ). I add some entries in setDomainenv.sh, how will it reflect in machine B ?
    Regards,
    Harsha

    There are many ways to achieve this, this is one of the method that might help you get started...
    http://download.oracle.com/docs/cd/E12839_01/web.1111/e14144/toc.htm
    Hope this helps.
    .raja

  • How to create 2 server instances in one directory

    Hi,
    I want to create 2 server instances in one directory . Is it possible ??
    If yes how to do it ??
    I know that using diff machines is it possible , but I want to create in single system itself.
    Thanks in advance,
    Rajendra.

    Use the Directory Server Console
    cd /<server-root>
    ./startconsole &
    Drill down to "Server Root" -> Right click -> "Create Instance of" -> "Directory Server" - Complete the pop up specifying instance name and port.

  • How to create own server account for servlet application

    hi friends..
    i have created a servlet page which recieve some data from a j2me program..
    i am running this aplication on my pc using http://localhost:8080/mypage
    now i want to deploy my j2me program on my mobile phone and need to get data in my servlet page
    for this i need to create my own server account for apache but i dont know how to create my own sserver account
    please help me out if anyone knows it how to do it...
    thanx
    kiran_arora

    if you want to create your own webitem check out the link given by other sdner.
    if you want to be able to execute BW query using abap you can check out the following weblog.
    /people/durairaj.athavanraja/blog/2005/12/05/execute-bw-query-using-abap-part-iii
    Regards
    Raja

  • How to create Proxy Server in Java

    Hello I need to create Proxy server on port number 80. Does enybody knows how to do that.??? ThX

    A proxy for what?
    I assume that you mean a web proxy since you want to run port 80.
    I would recomend that you start with an existing proxy like mine.
    http://www.khelekore.org/rabbit/
    It is free and fully HTTP/1.1 compliant.

  • How to create Mutiple server instances?

              Hai,
              Can someone advice me on how do I create mutiple server instances , on the
              same machine , with same IP but different ports. I need to do this without clustering.
              I would very much appreciate the help.
              Thanks and Regards,
              Vivek
              

    Hi
              If it for clustering then the solution is simple.
              WLS clearly states that in a cluster all the servers should be listening on
              the same port.
              Noe back to the question how do you achieve clustering on a single
              machine.Answer is -> multihome it.
              I run my WIN 2k m/c with three static ip's and I have cluster of 3 servers
              runing on my machine.
              We can acheive the same on solaris too.
              I hope this helps.
              Regards
              Hrishi
              "Ragae Ghaly" <[email protected]> wrote in message
              news:[email protected]...
              >
              > Hello,
              >
              > Usually this is the need in having a multi-developer team environment
              using one
              > installtion of WLS and having each developer running their own instance.
              Please
              > follow these steps:
              > 1- Create a directory in each developer account (call it say "weblogic"),
              and
              > copy all the files (not directories) from the WLS-home directory into it.
              Copy
              > also myserver directory into it.
              > 2- Create a soft link to each sub-directory (using same names) to the ones
              in
              > WLS-home (I'm assuming you are running on a unix box)
              > 3- Setup each weblogic.properties file in the new developer's directory to
              listen
              > to a different port (say 7002).
              >
              > This will create a seperate instance with it's own configuration and
              logging.
              > This will save much space, but watch on memory here as each instance
              consuming
              > about 100MB.
              >
              > To test your components for the new instance, use:
              > http://localhost:7002/<uri>
              >
              > Repeat the steps for another developer, and so on.
              >
              > Hope this helps.
              >
              > Ragae
              >
              >
              > "Vivek Kumaresan" <[email protected]> wrote:
              > >
              > >Hai,
              > > Can someone advice me on how do I create mutiple server instances
              > >, on the
              > >same machine , with same IP but different ports. I need to do this
              without
              > >clustering.
              > >
              > >
              > >I would very much appreciate the help.
              > >
              > >Thanks and Regards,
              > >Vivek
              > >
              >
              

  • How to create linked server to multiple database on same server?

    Hi Experts
    I want to create linked server to multiple databases on the same server.
    I have 2 database servers (ServerA and ServerB) and want to create linked server on ServerB to link multiple databases on ServerA).
    I have admin right on ServerB.
    I don't have admin right on ServerA but have different accounts to access on each databases on ServerA.
    After I created one linked server object to a database, I cannot create another linked server object for another database as it has already used the server name which is ServerA.
    Please advise.
    Thanks.

    EXEC sp_addlinkedserver 'ServerADB1', '', 'SQLNCLI', 'ServerA', @catalog = 'DB1'
    EXEC sp_addlinkedserver 'ServerADB2', '', 'SQLNCLI', 'ServerA', @catalog = 'DB2'
    etc.
    Please look up the details for sp_addlinkedserver as I typed this from memory.
    I can certainly see a point in having one linked server per database, as then you don't have to hardcode the database name in the queries, and the linked-server definitions can be changed if the database name changes.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How to create Report Server Cluster in the same server

    Hi, i have created two standalone report server and i want to cluster both server... how i do that?
    OAS 10.1.2.0.2
    Form/Report Services (no infra)
    OS Suse 9 sp2

    Hi,
    If you are talking about host...then when you will start installation of new system it ask for SID then choose different SID...
    Thanks
    Sunny

  • How to Create Application Server Connection in Jdev 10g?

    I have Jboss 4.0.x installed on my system and working fine. How I can import the connection to JDev application server?
    Thanks
    Mit

    Mit,
    No need to import the connection. Just create a connection for Application Server.
    step-1 : Go to VIEW > DATABASE CONNECTION NAVIGATOR
    step-2 : Right click on APPLICATION SERVER
    step-3 : Select New Connectionn from the context menu.
    step-4 : Enter the Details
    --Neelmani Jaiswal
    (Madhav, Hayaghat)
    Edited by: Neelmani Jaiswal on Feb 3, 2009 8:44 AM
    Edited by: Neelmani Jaiswal on Feb 3, 2009 8:45 AM

  • How to create linked server in sql 2005 to access free table visual foxpro 9 step by step

    Hi All, I want to connect to dbf file visual foxpro by using linked server in sql 2005, but i can't do, i hope getting best anwser from every body in forum.
    Thanks all.

    Hi doanpq,
    Please download and install OLE DB Provider for Visual FoxPro 9.0, which exposes OLE DB interfaces that you can use to access Visual FoxPro databases and tables from other programming languages and applications. Please see:
    http://www.microsoft.com/en-us/download/details.aspx?id=14839
    Then, please follow up the following article to create a linked server:
    Creating Linked Servers:
    http://technet.microsoft.com/en-us/library/ff772782(v=sql.105).aspx
    For more information, you can also take a look at the following article, especially Dave K's comment:
    http://blog.dbase.integralwebsolutions.co.za/2008/10/accessing-your-dbf-tables-via-linked.html
    Elvis Long
    TechNet Community Support

  • How to Create Application Server Connection in Jdev 11g?

    Hi all
    Can any one help me with the below requirement
    is there any way to deploy the WAR or EAR to an Application Server in Jdev11g. In Jdev 10g We used to configure the Application Server& Integration Server Connections by starting up the SOA Suite 10g.
    Similar to that What is the best option in Jdev11g. Jdev 11g comes with the embadded bea weblogic server, If I want to cerate the Application Server Connection do I need to separately configure the weblogic server?
    Thanks in advance

    No you can't.
    ADF 11g applications require support for parts of Java EE 5 that are not there in OAS 10 (will be there in Fusion Middleware 11g).
    So there is no one click deployment options.
    You can however develop an application that uses J2EE 1.4 in JDev 11 without ADF - then create EAR/WAR and manually deploy to OAS.
    See the JDeveloper FAQ linked from the JDeveloper home page for more info.

  • How to create SQL server documentation

    Hi,
    for our databases, we use schemaspy to create simple documentation.
    Is there a tool, maybe opensource/freeware, to create a documention for SQL server?
    I'd like to have something like this:
    - Version
    - RAM
    - Settings like maxmemory
    - OS version
    - etc
    And it should run like a script, without looking inside the sql-server.
    Thanks
    Regards,
    Andreas

    Hello Andreas,
    You can use this PowerShell Script to get the many of the required informations:
    Create Inventory of SQL Server in Network as Html
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for

  • Multiple iPhones to a single iTunes Account - doable?

    Hi all, heres one - Is it possible to have 2 iphones authorised to 2 personal machines (windows) AND my mac which has all my centralised iTunes music? Currently, my music collection is dottted around various machines and drives. I am in the process o

  • Price for Cost Estimation - Info Records

    Hi All, We need a clarification on how  system picks the price for COST ESTIMATION with following setting in Valuation Variant. 1.Valuation Price from USER EXIT 2.Price from Purchasing Info Records 3.M A P 4. Planned Price 1 Sub Stratergy. 1.Effectiv

  • Whats the best video codec for adding movies to iwev

    I want to add movies but need codec and video size for optimization

  • How to pass parameter to a callable object made of transactional iview ?

    Hi All,        I was trying a simple scenario of executing a SAP transaction during a process.This is how i prceeded:          1.I created one Transactional iview.Its working fine.          2.Then created one callable object out of this iview taking

  • Sorting Issue in ALV table

    Hi, I have included a ALV table in my application. A column in the table is containing a list of amounts. When i am trying to sort it in ascending or descending order, the values are not listed properly. I am using "PAD_AMT7S" as the data type for th