Connecting unix server using java/jsp

Hi ALL,
Could you please give me solution ,I want to connect unix server from jsp and I want to run one .ksp file from jsp file

Define "connect".
Define "run".

Similar Messages

  • How do i connect to sql server using java?

    hi ever body
    i need to connect to sql server using java
    what is the driver i will use?
    thanks

    Microsoft make a jdbc driver and it is readily available through MSDN. Here is a link http://msdn2.microsoft.com/en-us/data/aa937724.aspx. Whatever jdbc driver you are looking for, Google it, and if it exists you'll find it in 10 seconds.

  • PI 7.11: Cannot connect to server using message server:...

    Hello Guys,
    we make the Application Management for a Customer PI System.
    Scenario:
    - the SAP Gui Connection to the ABAP Stack is routed via SAPRouter and Works fine.
      SAP Gui -> our SAP Router -> VPN Box from Customer -> Firewall Customer -> ABAP Stack PI System
    - WebAccess its working fine, the Customer use Webdispatcher on every PI Server...
      Browser -> VPN Box from Customer -> Firewall Customer -> Java Stack (Port: 5xx00 btw. 81xx (Webdispatcher))
    Problem:
    Our Problem ist, we can not proceed the Integration Builder or the ESB, the Java Web Start works fine and open the Logon Screen Correctly -> but i fill the Logon Screen with my User name and Password and press Logon come the follwing Error:
    "Cannot connect to server using message server: ms://<hostname>.<domain>:8134/P4"
    In the Details from the Error Message:
    "<hostname>.<domain>:53404 Reason: com.sap.engine.services.rmi_p4.P4IOException:
    Cannot open connection to host: <IP-Adress of Central Instance> and Port: 53404"
    The Customer says, the Firewall is open with the IP Adresses and P4 Port but i dont think so...
    Can everybody help me, or have tips for me! I have checked a lot of OSS Messages (PI High Availabilty etc... its all correct on the System)
    Sorry for my bad English
    Best Regards,
    Markus

    Hi Markus,
    did you check if the browser is using a proxy? (In this case your scenario unfortunately won't work).
    P4-port should generally be routed via a proxy (described in the help.sap.com), but within the PI-Tools(JNLP) the proxy-usage is not implemented.  There is even a SAP-note that describes how to check the JavaWebStart-Proxyconfiguration, but this won't help either.
    If there is a proxy defined in the browser everything is working fine till you pass the logon-screen but even with the correct "javaws"-settings you won't be able to go on.
    (This problem is pretty bad if you do have developers and the SAP-servers seperated because of security issues. I'm hoping that this malfunction will be solved with upcoming patches.)
    Solution: Establish a connection without any proxy in between.
      E.g.: a terminal server in the same network
    It would be helpful to find more people with the same problem to force a fix from SAP for that.
    If anyone else is having problems with this, please add a comment to this thread.
    Best regards
    Christian

  • How can I authenticate to a XI server using java via SOAP (SAAJ)

    Hi everybody!
    I need to connect (SOAP) to a XI server using JAVA
    I'm using SAAJ api.The problem is XI server need authentication but I can't found the way to do it! this is a part of code
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnFactory.createConnection();
    URL destination = new URL("https://host:port");
    SOAPMessage reply = connection.call(message, destination);
    (message is the XML code)
    but the application has the following error:
    com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnection post
    GRAVE: SAAJ0009: Fallo en el envío del mensaje
    I think, maybe is a authentication problem, because the XI server needs it. But I don't have idea how can I send the user and pass
    Any IDea???? please
    the libraries are ok imported, I use netweaver to develop-
    thanks in advantage

    hi Leslie,
    there are only a few of these errors,
    you can try this:
    http://www.oxygenxml.com/forum/ftopic1103.html&sid=0abee8c719481a3dd783ff7d5cd84105
    are you sure your URL is accessible from your location?
    you may also check:
    http://www.google.pl/search?hl=pl&q=HttpSOAPConnectionpostSAAJ0009%3A&lr=
    Regards,
    michal

  • Cannot connect to server using message server: ms://xiidhasoft:50004/P4

    Hi SAP Guru's
    When PISUPER or any any of the enduser is trying to login in the Integration Builder , they are getting error
    Cannot connect to server using message server: ms://xiidhasoft:50004/P4
    I have tryed to search in SDN and got below solution but no success
    1. Exchange Profile of PI - http://host:port/exchangeProfile
    2. Check with the rmi port number.
    3. if rmi port number is empty or any number is present ( check with Tr code: SMICM - services - check for p4 port number - it will be ex: 5<nr>04)
    4. fill the rmi port number as present in the P4.
    OR
    implement note 864268
    I have Netweaver PI 7.1 .
    Please suggest some alternative solution.
    Thanks & Regards
    Vinay Patel

    You may check your local PC Java Network Setting.
    Troubleshooting:
    Probably Javau2122 WebStart does not detect the correct Proxy Settings. In this case please proceed as follows:
    To change the Proxy Settings for Javau2122 Web Start:
    1. Click Start --> Run  and enter javaws. Press button OK.
    2. Control Panel -> Programs ->Java -> Network Settings...
    3. Select Direct Connection to switch off the proxy settings and press button OK.
    If this still does not work, select Use proxy server to set manually the HTTP Proxy and Port.
    Contact your network administrator for the correct settings.

  • Sample code to connect LDAP server using jndi

    Hi,
    can any one help me with sample code to connect LDAP server using jndi,
    like i want to make use of Ldap server for serching Active directoty.
    Thanks in advance,
    Regards
    Muthu

    You can set ldap_auth=none for anonymous user.
    User/password is mandatory otherwise. Please refer to http://docs.oracle.com/cd/E21764_01/integrate.1111/e12644/appendix_ldap_driver.htm#CHDHCABH
    Thansk,

  • How to upload a file into server using j2ee jsp and servlet with bean?

    How to upload a file into server using j2ee jsp and servlet with bean? Please give me the reference or url about how to do that. If related to struts is more suitable.
    Anyone help me please!

    u don't need j2ee and struts to do file uploading. An example is as such
    in JSP. u use the <input> file tag like
    <input type="file"....>You need a bean to capture the file contents like
    class FileUploadObj {
        private FormFile srcFile;
        private byte[] fileContent;
        // all the getter and setter methods
    }Then in the servlet, you process the file for uploading
        * The following loads the uploaded binary data into a byte Array.
        FileUploadObj form = new FileUploadObj();
        byte[] byteArr = null;
        if (form.signFile != null) {
            int filesize = form.srcFile.getFileSize();
            byteArr = new byte[filesize];
            ByteArrayInputStream bytein = new ByteArrayInputStream (form.srcFile.getFileData());
            bytein.read(byteArr);
            bytein.close();
            form.setFileContent(byteArr);
        // Write file content using Writer class into the destination file in the server.
        ...

  • How to Connect to Server using Server Admin

    I am trying to connect to Server using Server Admin so I can setup a wiki.
    I enter my hostname, username and password and I get the error unable to connect to server, any ideas what is going wrong?
    I can ping the server name and that works. Is there something else I have to do to get the server running
    Thanks in advance

    Any firewalls/routers "in the way"?
    Is this over Internet?

  • Help !! I can't connect to server using connection manager

    Hello :
    i hava three machine,i use connection manager on Oracle 8.1.7
    i can't connect to server using connection manager
    1.lsnrctl start (Server)
    2.svmrgrl (Server)
    start (Server)
    3.cmctl start (Middle tier)
    4.sqlplus scott/tiger@test (client)
    ORA-12564
    Please help my!
    ---- CLIENT (sqlnet.ora)
    USE_CMAN = TRUE
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    ---- CLIENT (tnsname.ora)
    (DESCRIPTION =
    (SOURCE_ROUTE = YES)
    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl-middler)(PORT = 1610))
    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl-db)(PORT = 1521))
    (CONNECT_DATA =
    (SID = bigbear)
    ---- MIDDLE TIER(cman.ora)
    CMAN = (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = orcl-middler)
    (PORT = 1610)
    ---- SERVER (listener.ora)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = orcl-db)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (ORACLE_HOME = /u01/app/oracle/product/8.1.7)
    (SID_NAME = bigbear)
    ---- SERVER (init.ora)
    MTS_DISPATCHERS = "(PROTOCOL = TCP)(DISPATCHERS=10)(MULTIPLE=ON)"
    MTS_MAX_DISPATCHERS=20
    MTS_MAX_SERVERS = 30
    MTS_SERVERS = 10
    MTS_SERVICE = bigbear
    db_name = "bigbear"
    db_domain = intumit.com
    instance_name = bigbear
    service_names = bigbear.intumit.com

    midder tier must config hosts
    because dispatcher have listener information
    midder tier must know ipaddress
    Ex. on midder tier
    /etc/hosts
    192.168.10.1 orcl-middler
    from client to server it's ok

  • Execute unix command using java

    Hello
    Can we execute a unix command using java? If it is how we can execute. Is this affect the performance of the program.
    Thanks

    I tried what you said. But its not working and returning error message,
    java.io.IOException: CreateProcess: ls -a error=2
         at java.lang.ProcessImpl.create(Native Method)
         at java.lang.ProcessImpl.<init>(Unknown Source)
         at java.lang.ProcessImpl.start(Unknown Source)
         at java.lang.ProcessBuilder.start(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
    If i try this statement,
    Runtime.getRuntime().exec("c\windows\notepad");
    It is working fine.
    Any idea about this.
    Plz ...........

  • Connecting SQL server using JavaScript

    I found an article on connecting SQL server using JavaScript. http://www.devarticles.com/c/a/JavaScript/Combining-North-Pole-with-South-Pole-JavaScript-with-SQL-Server-2000/
    Do you people think it's possible? i try out the code already but something wrong with it. I just copy and paste it to a html file but it comes out with error. Do I miss out something? Thanks.
    SY Tee

    Check the permissions and server authentication from the below link,
    http://technet.microsoft.com/en-us/library/ms179354(v=sql.90).aspx
    Regards, RSingh

  • Invoke a DS Job in One Unix server using Web Services

    Hi All,
    I would like to know- How we can invoke a Job in one Unix server from another Unix Server using Web services.
    Please provide some pointers.
    Regards,
    Mayank

    Hi Manoj,
    Thanks for your email. Could you provide with some example where this functionality was achieved.
    Regards,
    Mayank

  • I was wondering if there's a way to connect to my work server from my home iMac i7. I can't seem to get Share Screen to work. I have tried connecting to server using the vnc but doesn't work.

    I was wondering if there's a way to connect to my work server from my home iMac i7. I can't seem to get Share Screen to work. I have tried connecting to server using the vnc but doesn't work.

    The easiest way would be to use Back to My Mac, but that will only work if the server is a Mac running OS X 10.7 or later and you have the cooperation of the network administrator.
    OS X: Using and troubleshooting Back to My Mac with your iCloud account

  • Add a posixaccount user in posixgroup in sun directory server using java

    Hi
    Anybody now how to add posixaccount user in posixgroup in sun directory server using java code.
    I am able to add normal directory server user in ldap group in java.
    But i am getting any luck to add posixaccount user in posixgroup.
    I know we can set uid value in memberuid attribute but how to add through java program.
    Anybody can paste code for that.
    Thanks.

    To CRabel,
    My company have restriction on using the open sources product/code, but i will take a look on netscape ldap sdk as a reference~
    To raghu1978 ,
    i find a product call Directory Editor 1 2005Q1, I hope it is useful.
    thz all~

  • Modifying form on unix server using Form Builder installed on Windows deskt

    We are using Oracle Applications hosed on unix servers. There is a custom form in XXX_TOP/forms/US folder that I need to modify. My Windows desktop has Forms Builder 10g installed. I ftpied fmb file over from unix server to my Windows desktop and tried opening it. I get an error FRM-18108: Failed to load the following objects: APPSTAND, etc etc. Obviously I am not doing it right. What is the correct way of modifying a form file sitting on unix server, using Forms Builder installed on Windows desktop? Do I need to copy all dependant objects to Windows desktop along with fmb file? Thank you in advance.

    You will also need all of the .plb and .fmb found in the AU_TOP/Resources, however, if you modify an Oracle provided Form you will loose all support from Oracle for that Form and anytime you apply an upgrade or patch, you will loose the changes if the upgrade/patch involves the modified form. There are only 2 approved ways to modify an Oracle supplied EBS form. First is by using the CUSTOM.PLL library and the second is by using Forms Personalization (FP). I strongly recommend you persue using the CUSTOM.pll or FP. If neither of these options will provide the functionality you need - CALL ORACLE SUPPORT before you modify any files.
    Craig...

Maybe you are looking for

  • Power Redundancy problem for cisco 3750 stack switches

    Hi Team, I have installed and configured cisco 3750X series switches in stackwise. Those are having dual power supply. Power redundancy test performed: 1. Removed one of the power supply and inserted it back. 2. once the first power supply is ready,

  • Are you thinking about getting Airport  Express, my 2 cents

    I just got this great piece of kit. Took 15 minutes to set up and works perfectly just as fast as before i am using ADSL 1500/256, 17" Powerbook. I walked down the street without any shoes thinking i wouldn't go far before the the bars would go but i

  • Skipping songs and detection sorta solution

    hi there. i dunno if this has been posted, but when your ipod starts skipping songs, just play pause and when it shows the pause icon (cuz it might freeze a little) then click play again and it will correct that problem. although it can happen next t

  • Can't generate a new 2FA recovery key

    I'm trying to create a new recovery key and each time I press the activate button I just get taken to an error page. http://i.imgur.com/5hc4hCt.png Called Apple support and they don't know what's going on. I'm not even sure they really understood wha

  • Peak Load

    I am looking for a way to repopulate some simple state information (list of proxies) to a backup copy of one of my SO's once the primary SO fails over. I had sent a request to the news group awhile back and received some great suggestions about writi