Need to communicate c server on linux & java client on windows

Hi!! I am new to socket programing in both C and Java.
From let I downloaded some client server example for c and java and tried that to link !! (I allways learn this way , and I need to do that little urget )
though cient server in linux is working perfectly fine and same for java. But problem is when I tried to communicate C server on linux and java client on windows, I end up with getting some junk characters. Though they are connected successfully.
Here goes code for java client:
package whatever;
import java.io.*;
import java.net.*;
public class Requester{
     Socket requestSocket;
     ObjectOutputStream out;
     ObjectInputStream in;
     String message;
     Requester(){}
     void run()
          try{
               //1. creating a socket to connect to the server
               requestSocket = new Socket("192.168.72.128", 2006);
               System.out.println("Connected to localhost in port 2004");
               //2. get Input and Output streams
               out = new ObjectOutputStream(requestSocket.getOutputStream());
               out.flush();
               in = new ObjectInputStream(requestSocket.getInputStream());
               System.out.println("above do");
               //3: Communicating with the server
               do{
                    try{
                         System.out.println("in do");
                         //message = (String)in.readObject();
                         System.out.println("in try");
                         //System.out.println("server>" + message);
                         System.out.println("server>" + "message");
                         sendMessage("Hi my server");
                         message = "bye";
                         sendMessage(message);
                         System.out.println("try completed");
                    catch(Exception e){
                         e.printStackTrace();
               }while(!message.equals("bye"));
          catch(UnknownHostException unknownHost){
               System.err.println("You are trying to connect to an unknown host!");
          catch(IOException ioException){
               ioException.printStackTrace();
          finally{
               //4: Closing connection
               try{
                    in.close();
                    out.close();
                    requestSocket.close();
               catch(IOException ioException){
                    ioException.printStackTrace();
     void sendMessage(String msg)
          try{
               String stringToConvert= "hello world";
               byte[] theByteArray = stringToConvert.getBytes();
                  System.out.println(theByteArray.length);
               out.writeObject(theByteArray);
               out.flush();
               System.out.println("client>" + msg);
          catch(IOException ioException){
               ioException.printStackTrace();
          catch(Exception ex){
               ex.printStackTrace();
     public static void main(String args[])
          Requester client = new Requester();
          client.run();
And for C server
/ server
    #include <stdio.h>
        #include <sys/socket.h>
        #include <arpa/inet.h>
        #include <stdlib.h>
        #include <string.h>
        #include <unistd.h>
        #include <netinet/in.h>
        #define MAXPENDING 5    /* Max connection requests */
        #define BUFFSIZE 32
        void Die(char *mess) { perror(mess); exit(1); }
    void HandleClient(int sock) {
            char buffer[BUFFSIZE];
            int received = -1;
            /* Receive message */
            if ((received = recv(sock, buffer, BUFFSIZE, 0)) < 0) {
                Die("Failed to receive initial bytes from client");
            /* Send bytes and check for more incoming data in loop */
            while (received > 0) {
            /* Send back received data */
                if (send(sock, buffer, received, 0) != received) {
                    Die("Failed to send bytes to client");
//            fprintf("%s",buffer);
            fprintf(stdout, "message Recieved: %s\n", buffer);
                //Die("was not able to echo socket message");               
            /* Check for more data */
                if ((received = recv(sock, buffer, BUFFSIZE, 0)) < 0) {
                    Die("Failed to receive additional bytes from client");
            close(sock);
    //     A TCP ECHO SERVER
    int main(int argc, char *argv[]) {
            int serversock, clientsock;
                struct sockaddr_in echoserver, echoclient;
                if (argc != 2) {
                  fprintf(stderr, "USAGE: echoserver <port>\n");
                exit(1);
            /* Create the TCP socket */
                if ((serversock = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP)) < 0) {
                  Die("Failed to create socket");
            /* Construct the server sockaddr_in structure */
                memset(&echoserver, 0, sizeof(echoserver));      /* Clear struct */
                echoserver.sin_family = AF_INET;                  /* Internet/IP */
                echoserver.sin_addr.s_addr = htonl(INADDR_ANY);  /* Incoming addr */
                echoserver.sin_port = htons(atoi(argv[1]));      /* server port */
    // A TCP ECHO SERVER ENDS
    // A TCP ECHO SERVER BINDING AND LISTNING
  /* Bind the server socket */
              if (bind(serversock, (struct sockaddr *) &echoserver, sizeof(echoserver)) < 0) {
                    Die("Failed to bind the server socket");
          /* Listen on the server socket */
              if (listen(serversock, MAXPENDING) < 0) {
              Die("Failed to listen on server socket");
    // A TCP ECHO SERVER BINDING AND LISTNING
    // SOCKET FACTORY
/* Run until cancelled */
            while (1) {
                    unsigned int clientlen = sizeof(echoclient);
                      /* Wait for client connection */
                    if ((clientsock =
                      accept(serversock, (struct sockaddr *) &echoclient, &clientlen)) < 0) {
                        Die("Failed to accept client connection");
                      fprintf(stdout, "Client connected: %s\n", inet_ntoa(echoclient.sin_addr));
                      HandleClient(clientsock);
    // SOCKET FACTORY ENDSI know that it is not C forum but I found no better place to post it
Thanks

kajbj wrote:
ManMohanVyas wrote:
hii!! just trying to make it a little more explinatory
1) what I am trying to accomplish by the above code is: - just need to echo/print from the Server , message send by the Client. I know code is not that good but should be able to perform this basic operation( according to me ).You are wrong. I told you that it won't work as long as you are using ObjectOutputStream and ObjectInputStream. You shouldn't write objects.
2) Message sent by the client is "hello world"(hard coded).No, it's not. You are writing a serialized byte array.
3) what I am getting at the client end is "*message recieved: ur*" (before that It shows the Ip of client machine)
It should print "hello world ".See above.
You are having a problem, and I have told you what the problem is.hey I dont know what went wrong but . I posted all this just next to my first post ...before you posted !!
And hard coded byte array includes "hello world"...may be I am not able to explain properly.

Similar Messages

  • Connecting to a RDBMS on Windows Platform from a Linux Java Client.

    Hi All,
    I want to connect to the SQL Server 7.0 (or for that matter of fact any RDBMS) running on Windows NT environment from my Java Client on Linux. From the web, i came to know that we can use ODBC Drivers on Linux but not sure how to implement this.
    Could you guys please help me in solving my problem ??
    Even links to the articles on the web would be great.
    Thanks,
    Gaurav.

    Use the JDBC driver for SQL Server from Microsoft at http://www.microsoft.com/SQL/downloads/2000/jdbc.asp. Alternatively, you can use the drivers from http://www.freetds.org and http://www.thinweb.com

  • Trouble with vb server understanding a Java client

    Hey
    I'm creating coding a Java client for a game. We already have the game running with a vb server and client.
    But we are going to convert over to Java.
    Now the problem is that the vb server is unable to understand the Java client.
    The vb server uses Asc (to convert characters to numbers) in the encoding/decoding which I'm unable to figure a Java version of this...
    Currently using (int) to convert the characters in Java for its encoding/decoding but its not the same above numbers of 128.
    This is the message using vb:
    ���������������������������������������
    This is the same message using Java:
    ���?�?�????????????�????????�?����?���
    So how would I have the same characters in Java?
    Edited by: zammbi on Feb 29, 2008 9:18 PM

    So I was just wondering if there is anyway to for the client to understand the vb server.Undoubtably. The question is " _What_ is/are the way(s) to for the client to understand the vb server."
    Permit be to extrapolate some software design requirements from the stated business requirements.
    1. The new java client must speak VB'eese to the existing VB server, because there are lots of VB clients in the wild, and we're (too lazy / not smart enough) to rewrite the whole shebang using a sane architecture, and what da 'ell, it's only some poxy game anyways.
    2. You're unable to talk sense to the management, and if you did they'd just fire you and hire someone who makes the right noises at the appropiate times, and probably has a bra size to boot.
    So the pragmatic question is: WTF is "VB'eese"?
    A question one might reasonably ask MSDN or associate forums, as apposed to a java forum.
    Dude, this ain't really a java question, though you might fluke and find a java programmer who can tell you exactly where to go.
    </what-bluddy-bitterness>
    Cheers. Keith.

  • IPSec Certificate Authentication from Linux Strongswan client to Windows Advanced Firewall (2012)

    Hi,
    Has anybody had any success in getting a Linux Strongswan client (or Openswan) to connect to a win2012 Advanced Firewall using certificates and IPSec?  My Security Connection Rule requires authentication both inbound and outbound.  The cert is
    installed correctly on the Linux box.
    I can get a connection using pre-shared keys, but haven't been able to establish a Quick Mode session when using certs.  I've tried (literally) hundreds of different configs without success.  Event log shows either 'No Policy Configured' or 'Unknown
    Authentication'.
    Windows clients can connect correctly with certs.  I've deliberately excluded details as the Linux config can be setup in so many different ways, i'd rather start by looking at someone elses config that works (if that actually exists).
    Thanks
    Mick

    Hi,
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thanks for your understanding and support.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Error connection to Telnet Server from a Java client GUI

    Hi,
    I have developed a GUI in Swing to get the server ip address, user is and password and then connect to the telnet server. When I enter the above details and hit the "Connect" button, The application hangs. I am ot sure, if the application conencts to the server and then hangs or hanging for some other reason. I have given some System.out.printl statements to keep track.
    Below is my code. I would appreciate any help in this regards.
    Thanks in advance.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.net.*;
    import java.io.*;
    public class Login
    private JFrame frm;
    private JTextField serField;
    private JTextField idField;
    private JPasswordField pwdField;
    public static void main(String[] str)
    new Login();
    public Login()
    frm = new JFrame("Login Screen");
         frm.setSize(500,200);
         frm.addWindowListener(new WindowAdapter(){
    public void windowClosing(WindowEvent we)
              System.exit(0);
         frm.getContentPane().setLayout(new FlowLayout());
         addLoginFields();
         frm.setVisible(true);
    private void addLoginFields()
    JPanel idPanel1 = new JPanel();
    JPanel idPanel2 = new JPanel();
    JPanel serverPanel1 = new JPanel();
    JPanel serverPanel2 = new JPanel();
    JPanel pwdPanel1 = new JPanel();
    JPanel pwdPanel2 = new JPanel();
    JPanel connectPanel = new JPanel();
    JPanel cancelPanel = new JPanel();
    JPanel labelPanel = new JPanel(new GridLayout(3,1));
    JPanel fieldPanel = new JPanel(new GridLayout(3,1));
    JPanel buttonPanel = new JPanel();
    JButton connectButton = new JButton("Connect");
    JButton cancelButton = new JButton("Cancel");
    serverPanel1.add(new JLabel("Server "));
    serField = new JTextField("rhosp035",10);
    serverPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    serverPanel2.add(serField);
    idPanel1.add(new JLabel("User ID"));
    idField = new JTextField(30);
    idPanel2.add(idField);
    pwdPanel1.add(new JLabel("Password"));
    pwdPanel2.setLayout(new FlowLayout(FlowLayout.LEFT));
    pwdField = new JPasswordField(10);
    pwdPanel2.add(pwdField);
    labelPanel.add(serverPanel1);
    labelPanel.add(idPanel1);
    labelPanel.add(pwdPanel1);
    fieldPanel.add(serverPanel2);
    fieldPanel.add(idPanel2);
    fieldPanel.add(pwdPanel2);
    connectPanel.setLayout(new FlowLayout(FlowLayout.RIGHT));
    connectPanel.add(connectButton);
    cancelPanel.setLayout(new FlowLayout(FlowLayout.LEFT));
    cancelPanel.add(cancelButton);
    buttonPanel.setSize(500,50);
    buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
    buttonPanel.add(connectPanel);
    buttonPanel.add(cancelPanel);
    JPanel infoPanel = new JPanel();
    infoPanel.setSize(500,100);
    infoPanel.add(labelPanel);
    infoPanel.add(fieldPanel);
    frm.getContentPane().add(infoPanel);
    frm.getContentPane().add(buttonPanel);
    connectButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    connectToUnix();
    cancelButton.addActionListener(new ActionListener(){
    public void actionPerformed(ActionEvent ae)
    System.out.println("Connection to Unix cancelled");
    System.exit(0);
    private void connectToUnix()
    System.out.println("Connection to Unix to be added");
    Socket clientSocket = null;
    PrintWriter writer = null;
    BufferedReader reader =null;
    int code = 0;
    try{
         clientSocket = new Socket(InetAddress.getByName(serField.getText()),23);
    reader = new BufferedReader(new InputStreamReader(clientSocket.getInputStream()));
    writer = new PrintWriter(new OutputStreamWriter(clientSocket.getOutputStream()));
    while((code = reader.read()) != 243)
    System.out.println("Server Response : " + code);
    switch(code)
    case 37:
    //System.out.println("user id : " + idField.getText());
         writer.print(idField.getText());
    break;
    case 24:
              //System.out.println("password : " + pwdField.getText());
    writer.print(pwdField.getText());
              System.out.println("code : " + code);
    break;
         case 251:
              System.out.println("********* Login required again code : " + code);
    break;
    default:
    System.out.println("--------------Default option code : " + code);
    break;
    writer.print(132);
    catch(IOException ie)
    System.out.println(ie.toString());
    catch(Exception e)
         System.out.println("Exception : " + e.toString());
    finally
         try{
    reader.close();
    clientSocket.close();
         catch(IOException ie)
    System.out.println("While closing : " + ie.toString());

    Also,
    I would like to know I to check if the user id and password are valid.
    How to disconnect from the client GUI?
    Thanks.

  • Unable to add network printers from Windows Server 2012 R2 to client running Windows 7 Pro x64

    New Windows Server 2012 R2 Standard in the environment.  Added print services to it and added five HP printers to it and shared them.  Also deployed the printers via group policy.
    Clients are running Windows 7 Pro x64.  The group policy fails to install the printers (error 0x00000002).  We get the same error when trying to manually add the printer from the client side.
    From Event Viewer: Group Policy was unable to add per computer connection <<printer share>>. Error code 0x2. This can occur if the name of the printer connection is incorrect, or if the print spooler cannot contact the print server.
    Any ideas on troubleshooting this?
    Thanks.
    -John

    John,
    You might try playing with the HP universal driver, that might help you.  Try installing a new shared printer on the server using the universal print driver, then try and connect to it to see if it is any better.
    Check these GPO settings to ensure local machines can install the drivers.
    1. Configure the following two Group Policy settings:
    Computer Configuration\Policies\Administrative Templates\System\Driver Installation\Allow non-administrators to install drivers for these devices setup classesEnabled
    2. Device class GUID of printers: {4d36e979-e325-11ce-bfc1-08002be10318}
    Computer Configuration/Policies/Administrative Templates/Printers/Point and Print RestrictionsEnabled
    Security Prompts: When Installing Drivers for a new connection = Do not show warning or elevation prompt
    This article might help you out also:
    http://www.eversity.nl/blog/2012/09/windows-cannot-connect-to-the-printer-operation-failed-with-error-0x00000002/
    Cheers,
    Curt Winter
    Certified Microsoft Professional
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied. If you found my post helpful, please mark it as the answer.

  • Using UDS Server with Java Client

    Has any one used a UDS Server and a Java client. we are trying to do this on a Crucial application and we are facing a problem of passing Objects between the server and client. If the Object being passed has a SO associated then it is possible to get a Distributed Reference and there is no problem in this scenario. But when the object is just distributed(or may not be) then we are not able to get a distributed reference. How do we handle such objects.
    Any quick help would be appreciated.
    Thanx

    We are passing object information instead of the objects right now. We used CORBA for the communication and XML for the message to be sent over CORBA. We built an API of five different generic calls which handles every situation. We used reflection to deserialize into and out of XML. We had to have matching classes for each language. If the attribute wasn't present in our target class then we ignore it. This is due to java and forte objects having stuff under the covers that we didn't need for the other language but reflection can see them.
    --Scott Bechtel
    [email protected]

  • Java Client for Adobe Flash Media Streaming Server

    Hello
    Is it possible to connect to a Adobe Flash Media Streaming
    Server by a java client?
    I need to be able to receive a streamed RTMP flash-video and
    implement the following functions:
    - PLAY
    - PAUSE
    - STOP
    - GO TO A SPECIFIC POSITION
    I need to implement this player on a non-top-level Swing
    JComponent in Java (because this is the restriction I have from
    sun's wonderland, where I want to implement this player)...
    How can I do that in Java? Are there any code examples
    available or do you know an API or other possibilities to do that?
    Thanks for you help.
    Kind regards,
    Peter

    This is a pretty big question. Is it possible? Probably. In
    theory it should. But *normally* the client is based on the flash
    player. I believe the protocol is publically available if you want
    to roll your own.
    But if you are looking for readily available solution, there
    is none that I know of.

  • DAC Client in windows is not connected to DAC server in Linux

    Hi,
    I am using DAC 11g and server is in linux and client in windows.The status icon is still red
    1)we are unable to connect the client to the server in linux.
    2) we have checked that the DAC server in linux is up by running the command ps -ef | grep "com.siebel.etl.net.QServer".
    3)even we have checked the connectivity with telnet and even the port 3141 is also opened
    4) we have followed all the step suggested in previous thread
    Anybody help me.
    Edited by: 975976 on Apr 26, 2013 2:24 AM
    Edited by: 975976 on Apr 26, 2013 2:24 AM

    My DAc server is running fine.
    In DAC server setup i entered the details.Also DAC DB is running fine.
    Any other solution please.
    Also when i am trying to run ./standaloneServerSetupPrompt.sh i am getting following error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/oracle/Java/jdk1.7.0_21/jre/lib/i386/xawt/libmawt.so: libXrender.so.1: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
    at java.lang.Runtime.load0(Runtime.java:792)
    at java.lang.System.load(System.java:1059)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
    at java.lang.Runtime.loadLibrary0(Runtime.java:845)
    Can you tell me why this error is coming.
    Edited by: 975976 on Apr 26, 2013 4:29 AM
    Edited by: 975976 on Apr 26, 2013 4:48 AM

  • [METASOLV XML AP]devolop JAVA client using XML API for metasolv application

    Hi All,
    I am new in this group, and I need to help me to develop a java client to communicate with metasolv application using XML API.
    I read "XML API Developer’s Reference" document, but I still not understand how can I setup the cllient.
    I still need:
    1- What API needed(jar files) I must use to build the client
    2- A sample of source code using java.
    3- detailed guide to communicate with metasolv application using XML API.
    Thanks&Best Regards
    RADOUANE Mohamed

    any help please!!!!

  • Attach Certificate to Java Client

    Hi
    Need to attach a certificate to a java client but facing following error
    java.lang.SecurityException: Can not find public key for alias: "lahoticlient"
         at weblogic.wsee.security.util.CertUtils.getCertificate(CertUtils.java:106)
         at weblogic.wsee.security.bst.ClientBSTCredentialProvider.<init>(ClientBSTCredentialProvider.java:47)
         at weblogic.wsee.security.bst.ClientBSTCredentialProvider.<init>(ClientBSTCredentialProvider.java:30)
         at
    The same thing works fine if I use method given here: http://dev2dev.bea.com/pub/a/2007/06/securing-web-services.html?page=2
    The difference between the above method & mine is that I already have a .cer file which i am using to generate .jks while in the example .jks is first generated
    Am I doing something creepy..??
    1) keytool -import -keystore lahotiClient.jks -storepass clientPass -alias lahoticlient -keypass clientKeyPass -file C:\lahotiCA.cer -trustcacerts
    2)keytool -export -alias lahotiClient -file lahotiClientCert.der -keystore lahotiClient.jks -storepass clientPass
    3)keytool -import -alias lahotiClient -file lahotiClientCert.der -keystore jre\lib\security\cacerts
    In client Code it breaking here saying no public key found for alias lahoticlient
    CredentialProvider cp = new ClientBSTCredentialProvider("C:\\lahotiClient.jks", "clientPass", "lahoticlient", "clientKeyPass");

    How about this:
    I create the keystore with alias ks_alias
    C:\>keytool -genkey -keyalg RSA -keystore C:\ks1205a.jks -storepass kspass -alias ks_alias -keypass ks_keypass -dname "CN=Client, OU=WEB, C=US" -keysize 1024 -validity 1460 -sigalg MD5withRSAI create a celf signed certificate for that alias
    C:\>keytool -selfcert -keyalg RSA -keystore C:\ks1205a.jks -storepass kspass -alias ks_alias -keypass ks_keypass -dname "CN=Client, OU=WEB, C=US" -keysize 1024 -validity 1460 -sigalg MD5withRSA -vI then assign this keystore to my server which in this case is weblogic.
    I export that certificate from the keystore to ks1205b.cer
    C:\keytool -export -alias ks_alias -file c:\ks1205b.cer -keystore c:\ks1205a.jks -storepass kspass -vI create a new keystore which is my client keystore by importing the ks1205b.cer file
    C:\>keytool -import -alias ks_alias -file c:\ks1205b.cer -keypass ks_keypass -keystore c:\ks1205clienta.jks -storepass kspass -vNow I would think that the public key for the alias "ks_alias" would be found, but it still gives me the error "*Can not find public key for alias: "ks_alias"*"
    If I am missing the point, could you let me know where I am going wrong?
    Edited by: code4life on Dec 5, 2007 8:44 AM

  • Creating a simple java client for a session EJB local interface

    Hi all
    Is it possible to create a simple java client for a session ejb local interface with JDeveloper.
    The problem is that it creates a test client for a remote interface only...
    i.e.
    MySessionEJB sessionEJB = context.lookup("MySessionEJB")
    and once i try to adjust it manually for the local interface...
    MySessionEJBLocal sessionEJB = (MySessionEJBLocal) context.lookup("MySessionEJBLocal") (MySessionEJBLocal - is the name of my local interface)
    it generates the exception:
    javax.naming.NotFoundException: SessionEJBLocal not found
    at...........................(RMIClientContext.java:52)
    There is still no problem with accessing the local interface object from the jsf project where i've added <ejb-local-ref> tag into the web.xml file.
    but i need the possibility of testing the simple java client for the local interface to test business methods wich should return objects without indirect properties
    Thanks in advance.
    Alex.

    Pedja thanks for reply.
    I still dont understand what is wrong with my example.
    The first peace of the code i wrote (getting the reference to the remote interface object) works pretty well, and even more it is produced automatically by JDeveloper, so why we cant get a reference to the local interface object the same way?
    Certanly we should use the local interface for getting access to the resource functioning under the same local jvm and i think it doesnt metter wich app server we really use wls or oas or others
    Thanks. Alex.

  • What do I need for Oracle Http Server with mod_plsql on Linux 64bit?

    I am trying to get the OHS onto a linux box but I am not quite sure I am installing the correct thing!!
    I currently have a windows box running the 10g Application server but everything seems to have changed since then and there seems to be several different things to do with the Fusion Middleware and stuff. I've tried to find an overview in plain english of what all these things are but all I can find are lots of marketing buzzwords!
    All in need to to be able to run the OHS with the mod_plsql so I can run my apex application. I'd be greatfull if someone could point me in the right direction for what I need to install!
    The box it is going on is a CentOS Linux 64bit machine. I've download and installed Oracle WebLogic Server 11g Rel 1 (10.3.3) using the generic installer for the 64 bit java but there seems to be no http server despite it saying there is! Most likely I am doing something wrong but the installer finishes successfully but nothing is running on port 7001.
    Do I actually need the WebTier instead? Is that the best solution for running the OHS with mod_plsql? Do I need the WebLogic install as well? Unfortunately I am fairly new to Linux as well which isn't helping!!
    thanks for any help
    Robert

    Well, you have two options:
    - Use the OHS from the OFM WebTier Utilities distro. (To use 11.1.1.3 version, you need both the 11.1.1.2 and 11.1.1.3 distros)
    - Use the OHS from the DB Companion Disk distro.
    WebLogic Server is a Java EE application with an HTTP server included, but not intended to be used as a replacement of OHS/Apache. It doesn't support mod's...
    HTH,
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Installing Sun Java System Directory Server on Linux Ent.

    Hi,
    I tried to install Sun Java System Directory Server on Linux on Redhat Enterprise Linux AS, but I faced some problems.
    I just want to know if there is any pre-requisites for installing this product on Linux.
    Thanks
    Sadiq

    Hello
    Which problem did you have encountered installing the DS on Linux AS.
    Currently I want to install SunOne DS V5.2 on Redhat Linux AS 2.1 and encounter several configuration issues
    Thanks in advance,
    Andrew

  • Two server Vlans behind ACE needs to communicate

    Hi all,
    We have a setup as follows:-
    MSFC-->FWSM--->ACE--->2 Server Vlans.
    The gateways for all the servers are the respective alias IP addresses. the clients can initiate inbound sessions to all servers and the servers can initiate outbound sessions to selected outside devices. Now we have a new requirement wherein the servers need to communicate with each other. How do we accomplish this? Now when server (behind the ACE) initiates a session a to the devices in outside world a source NAT to the VIP is required. In this case the for server to server communication is a VIP required. What we require is just something like "inter vlan routing" on the MSFC. the sample config is like this:-
    interface vlan 410
    desc "SERVERS-B"
    ip address 192.168.20.50 255.255.255.0
    alias 192.168.20.1 255.255.255.0
    peer ip address 192.168.20.51 255.255.255.0
    access-group input ALL
    service-policy input SMTP-LOG
    service-policy input ICMP_PROD
    no shutdown
    interface vlan 411
    desc SERVERS-A
    ip address 192.168.10.50 255.255.255.0
    alias 192.168.10.1 255.255.255.0
    peer ip address 192.168.10.51 255.255.255.0
    access-group input ALL
    service-policy input ICMP_TEST
    no shutdown
    interface vlan 423
    desc "FWSM DMZ"
    ip address 172.23.0.2 255.255.255.0
    peer ip address 172.23.0.3 255.255.255.0
    access-group input ALL
    service-policy input TEST
    service-policy input PRODUCTION
    no shutdown
    We require 192.168.10.X network to communicate with 192.168.20.X network.
    I hope i have explained the scenario.
    Thanks in advance.
    Regards
    Sonu.

    there is nothing special to do.
    ACE will route the traffic if it is permitted by an access-group and if it does not match a policy.
    Gilles.

Maybe you are looking for

  • List of deleted PO

    hi all, can anyone please tell me how can i get the list of deleted PO? or tell me from which tcode i can get the same? regards saurabh.

  • Procedure correction

    hi all, please any one correct my procedure. 1 create or replace procedure new_proc() 2 is 3 begin 4 For i in 1..5 loop 5 insert into B values(i); 6 savepoint inthe_btable; 7 end loop; 8 rollback to savepoint inthe_btable; 9 commit; 10* end; SQL> / W

  • Live muse site defaults to tablet when on desktop

    I have just published my site to my hosting provider but it keeps showing the tablet version of the site instead of the desktop. I'm reluctant to delete the tablet (and possibly phone) versions but how do I get it to show the right site on the deskto

  • Search feature in calendar

    Is there any way to serch events in the iphone 3g calendar? Or, is there any app to search (finder) the iphone database?

  • Memory manager - Profiler

    I will have several questions about memory management, garbage collection by Flash. First of all can anyone explain what is the link between the memory usage of the profiler and the System.totalMemory value. I use a module to display the totalMemory