Problems creating 9i db on local machine

Hi guys
I am trying to create a 9i database on my laptop (running Windows2000 Pro) which currently has Oracle Designer 6i on it too. I want to be able to use Designer against 9i databases that I create on the same machine. I cannot get the createdb scripts that are generated by the Database Configuration Assistant to run on my laptop. Can anyone help me please, this is quite urgent. I am also unable to connect through SQL*Plus since it is a new database and I do not have username/password set up for the database. Is there a default username/password that be use in these instances?
Many thanks
Ciaran

Hi,
No it does work.
perhaps you don't have permissions on the local directory?
by default all directories are owned by sys and 'normal' users to not have permissions.
Try:
grant all on directory xxx to user;
where xxx is your local oracle directory and user is the user you are running expdp as.
Cheers,
Harry

Similar Messages

  • Creating flat file in local machine

    Gurus,
    My database is OLAP database, i need to extract the data into flat file (.csv/.txt/.xls) in to client machine (Local machine, or End user PC) not in to Oracle DB Server.
    Is it possible to achieve the same without using UTL_FILE?
    If so please help me in this regard.
    Thanks in advance.
    Karthik.K

    What client are you running on the PC to connect to the database
    If sqlplus you can spool the output
    Re: Create a file in a local PC.
    Other options some of which write to the client.
    http://tkyte.blogspot.com/2009/10/httpasktomoraclecomtkyteflat.html

  • Cannot create database on my local machine

    Hi.
    Thanks in advance.
    I currently have SQL 2008 Server R2 installed on my machine and its' working as expected.  With this via Mgmt Studio, I was unable to create a database on my local machine.  I kept getting permissions errors.  No matter what I did I could
    not do anything locally.
    To alleviate this I installed SQL Server 2012 Express Mgmt. Studio on my local machine, for the sole purpose of being able to create a local database for testing and learning purposes.  During the install I was not prompted to configure the admin account
    or any other similar task so I could not set the sa password.  After the install was complete, when I launched 2012 express mgmt studio and selected my local machine as my server name (using Win authentication) and pressed the Connect button, I got:
    "Login failure for user [domain\user].  (Microsoft SQL Server, Error:  18456].  This is the same error I was getting with my 2008 R2 install, under the same circumstances.
    Also, the sample databases did not get installed and I'm not sure why.
    When I ran the install (.exe), I ran it as Administrator.
    I am an Admin on my machine.
    I'm only trying to create a local database for testing and learning purposes, but I am unable to find a way to do this.  Can someone let me know what I'm doing wrong?
    Thanks.
    Logan

    Is that means you are not able to login to SSMS at all?
    You tried connecting ssms with this name right .\SQLExpress
    If are not able to login to SSMS with any account then reset SA password using below link:
    https://technet.microsoft.com/en-us/magazine/jj853293.aspx

  • Problem in creating file on local machine

    Hello everbody...
    i m using forms and reports 6i
    i m creating file out_file := Text_IO.Fopen(:filepath || '.csv', 'a'); using this command in before_report trigger. And closing file in after_report trigger.
    here filepath is = \\IP address of local machine\d$\file name
    now problem is that if i m giving IP address of local machine then its giving error ORA-39856.
    And if i m giving IP address of server machine then it is going to create file on server machine from local machine.
    Why its not creating file on client machine?
    i think there r problems related to rights
    can anyone has solution then please tell me

    yes in report there is report output and with that it also creating file in coding by
    out_file := Text_IO.Fopen(:filepath || '.csv', 'w');
    this open stmt is written in before report trigger
    Below lines r written for each row thats fetch by report main query.
    str := rpad(:apt_bil_no,8,' ') || ',' || lpad(:apt_bil_dt,10,' ') || ',"' ||
                   rpad(:supl_name,30,' ') || '",' || rpad(:supl_tin_no,11,' ') || ',' ||
                   rpad(:aptvat_hsn_no,10,' ') || ',' ||
                   lpad(ltrim(to_char((apt_amt2 - apt_vat_amt2),'999999990.00')),12,' ') || ',' ||
                   lpad(apt_vat_amt2,12,' ') || ',' ||
                   lpad(ltrim(to_char(apt_amt2,'999999990.00')),12,' ');
    Text_IO.Put(out_file, str);
    Text_IO.New_Line(out_file);
    file is closing in after report trigger.
    text_io.fclose(out_file);
    now i wants to create this file on local machine.
    yes using report server and its started window service.
    can u have any idea?

  • Msbuild creating different assembly in build machine and local machine

    In our deployed application(in AFS), created by msbuild in a build machine, a call to a member function from another member function in the sameclass
    is failing with an exception "absolute path information is required".
    My locally built application is working fine. Our application is configured as "AnyCpu" and “Debug”. I have tried msbuild build in my machine using a 32 bit msbuild and 64 bit msbuild. In
    both cases the assembly created is running without a problem. So it is the build machine which is producing the problem dll
    We thought we should find the core cause of the issue
    Details:
    The "problem" class.
     [Export("SomeName",
    typeof(IDataPresenter))]
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public class
    SomeDataPresenter : MyDataPresenter
      protected void
    BeginFieldsWithDi(ReportFields reportDefinition)
        if(reportDefinition.ReportDimension != null)
    reportDefinition.ReportDimension.ForEach(x =>x.LogicalName=_reportHelper.AddDiStart(x.LogicalName));
        if(reportDefinition.ReportMeasure != null)
    reportDefinition.ReportMeasure.ForEach(x => x.LogicalName =
    _reportHelper.AddDiStart(x.LogicalName));
    protected override
    bool UpdateReport(ReportFields reportDefinition, bool isReportExecution)
    //the following call is failing with exception"absolute path information is required".    
    BeginFieldsWithDi(ReportFields reportDefinition);
    //the base classes just for clarity
    [PartCreationPolicy(CreationPolicy.NonShared)]
    public class
    MyDataPresenter: BaseDataPresenter, IMyDataPresenter
    [Export("DefaultReportDataPresenter", typeof(IDataPresenter))] 
    [PartCreationPolicy(CreationPolicy.NonShared)]
     public class
    BaseDataPresenter: Model, IBaseDataPresenter
    For BeginFieldsWithDi() function the IL in my local machine and the deployed IL is different(Only the beginning part which is given below)
    IL in my machine
    .method family hidebysig instance void  RemoveDiFromFields() cil managed{
      // Code size       119 (0x77)
      .maxstack  3
      .locals init ([0] class [mscorlib]System.Action`1<class [MyApp.Infra]ReportFieldsReportDimension> 'CS$<>9__CachedAnonymousMethodDelegatef',
               [1] class [mscorlib]System.Action`1<class [MyApp.Infra]ReportMeasure> 'CS$<>9__CachedAnonymousMethodDelegate10',
               [2] bool CS$4$0000)
      IL_0000:  ldnull
      IL_0001:  stloc.0
      IL_0002:  ldnull
      IL_0003:  stloc.1
      IL_0004:  nop
      IL_0005:  ldarg.0
      IL_0006:  call       instance class [MyApp.Infra]ReportFields [MyApp.Modules.Ux]MyApp.Modules.Ux.Controls.VirtualGrid.Applications.Controllers.ReportDataPresenter::get_ColumnMetadata()
    IL from deployed DLL
    .method family hidebysig instance void  RemoveDiFromFields() cil managed
      // Code size       119 (0x77)
      .maxstack  3
      .locals init (class [mscorlib]System.Action`1<class [MyApp.Infra]ReportFieldsReportDimension> V_0,
               class [mscorlib]System.Action`1<class [MyApp.Infra]ReportMeasure> V_1,
               bool V_2)
      IL_0000:  ldnull
      IL_0001:  stloc.0
      IL_0002:  ldnull
      IL_0003:  stloc.1
      IL_0004:  nop
      IL_0005:  ldarg.0
      IL_0006:  call       instance class [MyApp.Infra]ReportFields [MyApp.Modules.Ux]MyApp.Modules.Ux.Controls.VirtualGrid.Applications.Controllers.ReportDataPresenter::get_ColumnMetadata()
    Question: What causes the IL to generate “CachedAnonymousMethodDelegate” entry in my machine and does not in the build machine (which is deployed)? 
    If we can deduct the cause of the exception("absolute path information is required") from above, what is it?

    Update:
    Changed the code to prevent compiler from creating closures. All is fine now.
    Looks like the compiler which the build machine uses is not creating the closures correctly. A bug which is already fixed perhaps(which is why it is working fine in my machine) 
    protected void BeginFieldsWithDi(ReportFields reportDefinition) 
    if (reportDefinition.ReportDimension != null)           
    foreach (var dimension in reportDefinition.ReportDimension)
    dimension.LogicalName = _reportHelper.AddDiStart(dimension.LogicalName); 
    if (reportDefinition.ReportMeasure != null)           
    foreach (var measure in reportDefinition.ReportMeasure)      {                   
    measure.LogicalName =_reportHelper.AddDiStart(measure.LogicalName); 

  • Problem when applet going to load local machine jar files

    hi all,
    I have an applet that contains a 'core' module(jar) and 'core dependency' modules(jars).To reduce the applet download time i decided to load some heavy weight and lesser use 'core dependency' jars from local machine and core jar module and other low weight and highly use 'core dependency' jar modules from applet archives. I use the same class loader that used to load the applet archives for load local machine 'core dependency' modules.
    eg- this.getClass().getClassLoader().loadClass("class")
    When applet starts, Local machine 'core dependency' jar modules start loading but it couldn’t find classes in the core module (that download from archives) and stop the loading applet . But when i run that applet using IDE it is work fine. Please someone help me to solve this problem.
    Exception in thread "thread applet-com.dfn.pro.ui.UIContext-1" java.lang.NoClassDefFoundError: com/dfn/pro/plugins/dataupdate/UpdatableTable
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.dfn.pro.plugins.JarClassLoader.invokeClass(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.loadPlugins(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.analyzeDependancies(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.<init>(Unknown Source)
    at com.dfn.pro.plugins.PluginContext.getPluginContext(Unknown Source)
    at com.dfn.pro.ui.UIContext.init(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: com.dfn.pro.plugins.dataupdate.UpdatableTable
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)

    eg- this.getClass().getClassLoader().loadClass("class")Try using Thread.currentThread().getContextClassLoader() instead of this.getClass().getClassLoader().

  • "Setup encountered a problem while validating the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run se

    Team,
    I am trying to Install Exchange on my Lab, getting below error
    message.
    The Schema Role is installed on Root Domain and trying to install
    exchange on Child domain.
    1 Root Domain - 1 Child domain. both are located on single site.
    “Setup encountered a problem while validating
    the state of Active Directory: Exchange organization-level objects have not been created, and setup cannot create them because the local computer is not in the same domain and site as the schema master. Run setup with the /prepareAD parameter and wait for
    replication to complete.”
    Followed below articles:
    http://support.risualblogs.com/blog/2012/02/21/exchange-2010-sp2-upgrade-issue-exchange-organization-level-objects-have-not-been-created-and-setup-cannot-create-them-because-the-local-computer-is-not-in-the-same-domain-and-site-as-the-sche/
    http://www.petenetlive.com/KB/Article/0000793.htm
    transferred the schema roles to different server on root domain, still no luck.
    can someone please help me.
    regards
    Srinivasa k
    Srinivasa K

    Hi Srinivasa,
    I guess, you didn't completed the initial setup schemaprep and adprep before starting the installation. You can do it as follows:
    1. Open command Prompt as administrator and browse to the root of installation cd and run Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
    After finishing this,
    2. Setup.exe /PrepareAD /OrganizationName:"<organization name>" /IAcceptExchangeServerLicenseTerms
    3. To prepare all domains within the forest run Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms. If you want to prepare a specific domain run Setup.exe /PrepareDomain:<FQDN of the domain you want to prepare> /IAcceptExchangeServerLicenseTerms
    4. Once you complete all of the 3 steps, install the pre-requisities for Exchange 2013
    5. Finally, run the setup program
    Hope this will help you
    Regards from Visit ExchangeOnline |
    Visit WindowsAdmin

  • Ifs Connection problem from local machine to Ifs server using API

    I am trying to make an API call to connect to Ifs database server running on different machine(UNIX) from local machine. I copied all jar files and /Lib/Ifs/Settings directory to my local machine. All these files are in the classpath of weblogic 6.0 environment. A jsp on weblogic server call a bean which has a responsibibility of connecting to Ifs server to get LibrarySession.
    From Visual Cafe 4.5 everything works fine but when i start weblogic 6.0 outside the visual cafe environment i get the error
    below. I included all the jar files and /Lib/Ifs/Settings in start up script of weblogic server
    Do you know if i missing some thing????
    java.lang.UnsatisfiedLinkError: do_open
    at oracle.jdbc.oci8.OCIDBAccess.do_open(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:309)
    at oracle.jdbc.driver.OracleConnection.(OracleConnection.java:198)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:251)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at oracle.ifs.server.LibraryConnection.(LibraryConnection.java:235
    at oracle.ifs.server.ConnectionPool.createLibraryConnection(ConnectionPo
    ol.java:576)
    at oracle.ifs.server.ConnectionPool.(ConnectionPool.java:321)
    at oracle.ifs.server.S_LibraryService.(S_LibraryService.java:912)
    at oracle.ifs.server.S_LibraryService.startService(S_LibraryService.java
    :1129)
    at oracle.ifs.beans.LibraryService.connectLocal(LibraryService.java:408)
    at oracle.ifs.beans.LibraryService.connect(LibraryService.java:280)

    Have you installed the Oracle client software on the machine where you are running WebLogic and your custom iFS application (your bean)?
    It looks like the native JDBC libraries are not available to the JVM where WebLogic is executing your code. iFS uses JDBC to access the Oracle database, and it requires "thick" (OCI8) JDBC to do so. This means that you need Oracle client software to be installed (in an ORACLE_HOME directory) on a computer where you want to use the iFS API.
    If you do have the Oracle client software installed already, then perhaps the WebLogic environment isn't configured to have access to the native JDBC libraries. Normally, as long as $ORACLE_HOME/lib is in the LD_LIBRARY_PATH (on unix) or $ORACLE_HOME/bin is in the PATH (on windows), stuff should just work.
    See if you can find any information about including native libraries (for instance, to use JNI) in the WebLogic documentation. We don't certify with WebLogic, which is why I don't know the answer offhand.

  • ADE - Loan expire problem (change local machine datetime)

    first , i set DeviceType of content to standalnone /on and off-line/. Then loan process is successfully, but i can read ever. because i change my local machine datetime when the content is expired. i hope Digital editions is can detect when user change local mechine datetime. but i can't how i do configure this.
    second, i set DeviceType of content to public /always online /. Digital Editions throw information "Document is not licensed for this machine" when i loan the content.
    What i do now?
    Thanks for your help.
    B.R
    DD

    first , i set DeviceType of content to standalnone /on and off-line/. Then loan process is successfully, but i can read ever. because i change my local machine datetime when the content is expired. i hope Digital editions is can detect when user change local mechine datetime. but i can't how i do configure this.
    second, i set DeviceType of content to public /always online /. Digital Editions throw information "Document is not licensed for this machine" when i loan the content.
    What i do now?
    Thanks for your help.
    B.R
    DD

  • How can reset/delet domain passwaord cache in local machine

    Dear concerns,
    I am using a windows 8 operating system, I am member of a domain. Also I am a local administrator of my laptop. I also have made image of my system drive.
    Yesterday my windows got stuck and its giving errors regarding  startup application and drivers etc. Now the best solutions at that time to restore the back up. I did it and its restore successfully. But the
    problem is when I try to login my domain account it say some error " Trust relationship between this workstation and
    domain controller failed". Only way to login is remove the network cable and entre the old password when I created the image of system drive. I even change it after login by pressing CTRl+Alt +Delete and then changed it and it was changed
    successfully but the problem is same while login again by putting the network cable back. I googled it then I came know that its some of log sync issue between my laptop and my domain server as I changed password
    during this time span i.e. when I created the backup. They also gives quick solution i.e. disconnect from domain and reconnect it to domain but problem is here I don't have the domain password and concern persons are not very welcoming even if they did it what
    happen next time when restore it again.
    So my question is that how can I reset/delete/clear the information of my domain user id & password or that "log" which
    creating the problem, from my system other then disconnect and connect to domain, there must be some way as I am still able to login to other systems of my colleagues with my domain id and current password,
    but I don't know why there is not log sync issue at there. I copied all my important data to other partitions so nothing to worry about the loss of data.
    Reset/delete of my domain does not mean  I want to do it on the server but on the local machine I think ''clearing the domain cached" is another relative term of my problem. I highly appreciated your cooperation in this regard.
    Best Regards
    Mubasher Mukhtar

    Hi Mubasher!
    The only way to recreate the trust between your client and the domain is to remove the client from the domain and rejoin it.
    This is due to the fact that the "request" is sent from the server and not your client.
    But still, this shouldn't be a problem. I would rejoin the client to the domain and create a new backup since there is a chance that the backup hasn't been completely successful.
    Best regards
    Andreas Molin
    Andreas Molin | Site: www.guidestomicrosoft.com | Twitter: andreas_molin

  • Urgent - Things not working the same in server and local machine

    Hi,
    I have created an advanced table under advanced table as per the instructions in the dev guide. When the Add Row button is pressed in the parent table, I am inserting rows into the child VO and hence I should see rows in the child table in the UI. This is working fine in local machine. But when I deploy in the server it is not working. The child table is showing no search conducted. I have good OAF experience and have deployed things properly. But what could I be missing?

    Hi Sumit,
    "If the Child VO is not getting executed, please check the code which is responsible to execute the child VO. Do pay attention to exit clauses (like if conditions which skips a clause) and pay attention. "
    - If those things were a problem, it wouldn't have run in the local machine also right? Also, I ran diagnostics on the server and I can see the child VO is having the rows. It is something to do with the association of the child with the parent. But again: it's working fine on the local. That's what is bothering me and that's why I need some expert help. If you want, I can send you the page, controller and the AM ( 3 files)
    Of course redeploying the entire code, importing pages and bouncing is an option that could be explored.
    - Done that multiple times with a lot of care. Cleared Cache etc etc.

  • Saving Email as a .msg file on local machine

    Hi Everyone,
    I have a requirement of reading an email from the INBOX folder and later save it as a .msg file on my local machine. Although, the file is getting created, I am unable to open it. However, when the file is saved as an .eml file, it works fine.
    I have tried saving a .msg file from outlook and opening it, however, the problem is with the email file saved as .msg file using java.
    Any suggestions on fixing this problem.
    Thanks,
    Nitin

    Hi nithin,
    You can achieve this when the client send the message to you in octet streem then the par object contains the message subject as file name along with .msg files . if you store the same you can retrieve by using
    response.setcontenttype("octet-stream")
    and retrieve the stored message in .msg extension. can you pleasse let us know hoe you are capturing the part and storing in PC , I mean which type of part you are trying to open whether the part object content in octet stream or message/RFC822 format. please let me know.

  • Saving an xml file in local machine(urgent)

    Hi Techies,
    I am creating the xml file from jsp and generation of xml is working fine for me.
    Now the query is How can I point out the location of local machine??
    Here is my code
    String locationAndBackupFileName =request.getParameter("locationAndNameOfBackupFile");
                             System.out.println("Location"+locationAndBackupFileName);
    StringWriter  stringOut = new StringWriter();       
    XMLSerializer   serial = new XMLSerializer(stringOut, new OutputFormat("xml", "UTF-8", true));
    response.setContentType("application/xml");
    response.setHeader("Content-Disposition","attachement; filename="+locationAndBackupFileName);
    serial.setOutputCharStream(new FileWriter(locationAndBackupFileName));
    serial.serialize(document.getDocumentElement());when I xcute my code I am getting download dialog box, with save option.
    But after downloading no data is available.
    Can u guys help me to fix this problem
    regards,
    krish

    I don't know what you mean by "location of local machine". The response is being sent to a client machine (maybe that's your "local" machine). You have a lot of strange code that looks like it's serializing the XML to various places, but it should be serializing it to the response's output stream if you want it to go to the client.
    There is no way for you, on the server, to control where on the client machine the response data will be stored. That is entirely up to the user on the client. And you certainly can't write it to the client without the knowledge and consent of the client. That's just basic network security.

  • The OraOledb.Oracle is not registered on the local machine.

    Hi Everyone,
    I am having Windows XP operating system with Service pack 2 on my computer. I also using Microsoft.Net 2003 & Oracle 9.x for creating a client-server Application. I installed the Oracle provider from OraWin9204.exe which i was downloaded from the Oracle's site. But I am getting the above mentioned problem "The OraOledb.Oracle is not registered on the local machine", while i m executing the open method of the Connection object of ADO.NET. I also checked the permission on ora92 (ORACLE HOME DIRECTORY) folder and gave full control to my username. But the problem remains same.
    Can anybody have any idea? Please help me on [email protected]
    Thanx
    Rahul Ratnaker

    make manual registration of following file.
    [oracle_Home]\ora92\bin\OraOLEDB.dll
    Enjoy
    Rahul Ratnaker

  • Java code to connect to remote windows machine from local machine

    Hi,
    I have developed a code to connecting remote windows M/C from local M/C by using SSH2 (ganymed-ssh2-build209.jar) API. when I run the code its giving below error. Can any one please help me how to resolve it. And also please let me know, is there any other way to connect remote windows system using java code.
    Exception.
    java.io.IOException: There was a problem while talking to <host name>:22
      at ch.ethz.ssh2.Connection.connect(Connection.java:642)
      at ch.ethz.ssh2.Connection.connect(Connection.java:460)
      at Connect.RemoteServer.ConnectWindowsServer.runCommand(ConnectWindowsServer.java:55)
      at Connect.RemoteServer.ConnectWindowsServer.main(ConnectWindowsServer.java:27)
    Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at ch.ethz.ssh2.transport.TransportManager.initialize(TransportManager.java:299)
      at ch.ethz.ssh2.Connection.connect(Connection.java:591)
      ... 3 more
    JAVA Code
    import ch.ethz.ssh2.Connection;
    import ch.ethz.ssh2.Session;
    public void setAuthenticationInfo(String hostname, String username,String password) {
           this.host = hostname;
           this.userid = username;
           this.password = password;      
           this.recentCommand = "";     
           System.out.println("setting authentication info completed for host=" + host );
      public void runCommand() throws Exception {
    try{
            // Setup ssh session with endpoint
           System.out.println("starting connection with " + host);
           Connection connection = new Connection(host);
           System.out.println("connection object created..");
           connection.connect();
           System.out.println("Connect to connection");
           connection.authenticateWithPassword(userid,password);
           System.out.println(connection.isAuthenticationComplete());
           Session session = connection.openSession();
          System.out.println("connected");
      }catch (Exception e) {
      e.printStackTrace();
    Regards,
    Praveen

    Hi baftos,
    I tried to telnet remote windows machine from my local machine on port 23, its not connected and given error message like "Connect failed".
    As your response, if we can telnet to remote windows machine from local machine then we can connect from Java. Is it correct ?.
    Can you please help me to resolve this issue. And also please confirm the port (23) is correct, which I was used to connect remote machine from telnet.
    Regards,
    Praveen

Maybe you are looking for

  • Convert char to p-type

    Hi i have a file with some data i need to load. I have a field which is 13-position length field, with a comma and two decimals. When i try to move it to betgr field of t558a table i got a dump. How can i convert this 13 position char field to betgr

  • What headphones work with the sports case WITHOUT adapter?

    The only set I'am aware of are the standart apple earbud headphones. I got the sports case and I don't want to use the headphone adapter. To me,it seems sort of...messy. Anybody know where I can buy the ORIGINAL apple earbud headphones that came with

  • Cannot post replies in my thread!

    Whenever I try to post a reply to a post in my thread (Thumbnails and Preview Pane), I get pink box saying I am no longer logged in (even though the page says I am logged in). This has been going on for a couple of days. Tried to post a new topic, an

  • What to download to test my beginning programs

    First of all, I would like to say thanks to everyone for helping me out. Some of you are too advanced for me, but I'm trying to understand better. What could I download to test the JAVA programs that I am writing? We use 1.2.1 on the school computers

  • Forum question [solved]

    This is probably obvious to all, but I have what I hope to be a simple question.  As a courtesy I would like to mark a couple of my recent postings as solved.  I see that others have done that, but I'm at a loss as to how.  How do you mark one of you