Trying to set-up the network adapter in Solaris 11 under Hyper-V fails

I was using Virtual Box to run Solaris 11 for testing purposes, however VB was disappointing as my VM hanged too often so now I am evaluating Hyper-V under Windows 8 Pro. If I can get the network to work I will use Hyper-V even if it lacks seamless mouse
and keyboard integration. So, I installed Solaris 11 in Hyper-V but I cannot get the network to work. What I have done:
- I have created a Virtual Switch of type External with Virtual Switch Manager
- I have created a Legacy Network Adapter for my virtual solaris machine
- in Windows 8 I have created a Bridge for my WiFI NIC and the Virtual Switch
I can access the internet from my host machine (windows 8)but I cannot do it from the guest (solaris)
If I type "ipadm" in my solaris's terminal I can see that the NIC is listed but it has no IP address. So how can I assign an IP address to the Legacy Network Adapter?
Thanks

Hi Brian,
Thanks for the reply. I have managed to get networking working by creating a legacy card attached to a virtual switch, but I have not used the bridging anymore, instead I simply shared in the host OS the wifi connection to the virtual switch. This way it works.
Now I have another problem with the Solaris guest OS not seeing the SCSI controller, but I'll open a new thread for this after some more testing.
Thank You
Codrut

Similar Messages

  • Where is the hyphen (-) on the apple TV?  I am trying to set up my network and there is a hyphen in the password for the network

    Where is the hyphen on the apple TV?  I am trying to set up my network and there is a hyphen in the password for the network

    A few options to try:
    They hyphen should be next to the + on the character map.
    If you are still having issues, provided your ATV software is up to date, you can now connect an Apple Wireless Keyboard through bluetooth connections.
    Change your network password so it does not use a hyphen
    Good luck!

  • OWB Error while deploying the mapping  Io exception: The Network Adapter co

    Hi,
    We are using OWB 10.2 in our production environment.Actually we are using OWB only for development.
    After deploying each mapping we will create scheduler job for execution of these mappings.
    Recently our staging DBs port has been changed to 1522 from 1521 and i have gone throgh the below steps.
    1) Changed the port in tnsnames.ora file.
    2) In Start Control Centre Servioce ,i have changed the port to 1522 for owbownr user and started the service successfully.
    3) i have run the script UpdateLocation.sql from the OWBOWNR schema and updated the port number.
    4) I tried to run the UpdateControlCenter.sql in owbownr schema and staging schema also,but i am getting an error like below.
    SQL> @UpdateControlCenter.sql
    This sql script sets the host:port:service parameters for a control center
    in the OWB Client Repository.
    The connection type must be host:port:service and cannot be changed
    using this script.
    Enter Control Center Name: DEFAULT_CONTROL_CENTER
    Host: 10.109.65.62
    Port: 1522
    Service Name: DWHOWNR
    Update location properties for DEFAULT_CONTROL_CENTER
    Location Type =
    Control Center DEFAULT_CONTROL_CENTER Found
    Connection Type SQL*NET Connection cannot be updated
    PL/SQL procedure successfully completed.
    5) When i am running the service_doctor.sql on owbownr schema i am getting incorrect port number like below
    SQL> @service_doctor.sql
    There are errors in one or more PL/SQL packages and functions
    Platform properties have been loaded correctly
    Platform location has been seeded correctly
    NLS messages have been loaded correctly
    The platform service is available
    There is a problem accessing the service startup script from the database
    server
    Here is the detailed error message which contains the name of the start
    script file:-
    Service startup file 'null/owb/bin/unix/run_service.sh' is not
    accessible from the database server on instance number 1
    Please verify that the disk containing the file is visible to the
    database server
    Please verify that the database server account has access rights on the
    file
    There is a problem with the repository connection information used to
    start the service
    Here is the detailed error message which contains the connection
    information passed to the service:-
    Cannot connect: user=DWHOWNR host=10.109.65.62 port=1521
    service-name=DWHSTG
    Please verify that this information is accurate
    If this information is correct, then please use the
    'set_repository_password.sql' script to reset the stored password
    PL/SQL procedure successfully completed.
    6) After login to OWB ,i have checked the Location,OWB Repository Location And Control center In OWB connection Explorer,
    and all the connections are successful.
    After this i took Control Centre from Tools and i tried to deploy one mapping.
    And i got some error like below.
    Name
    Type
    Status
    Log
    COPY_OF_ICDMAPFCTAWB
    Description : Runtime User : ICGSTG Started : 2011-10-24 19:32:19.0
    Name
    Action
    Status
    Log
    None
    Error
    Io exception: The Network Adapter could not establish the connection
    None
    Error
    Io exception: The Network Adapter could not establish the connection
    None
    RECOVERY
    RPE-01008: Recovery of this request is in progress.
    Job Summary
    Updated : 2011-10-24 19:32:19.0 Job Final Status : Completed with errors Job Processed Count : 0 Job Error Count : 0 Job Warning Count : 0
    I think the issue is due to the wrong port number .
    Can any one help me to solve this issue??
    Edited by: 892899 on Oct 24, 2011 6:01 AM

    Hi Allan,
    Thanks for your quick reply.
    I have checked in OWB\Locations\Database\Oracle\Location\DB Connectors and also in Control Center\Location\Connectors,seems like there is no connectors created.
    Do you have any other suggestions?
    Also i analyzed the UpdateControlCenter.sql in that
    select value into v_connectiontype from cmpstringpropertyvalue_v where logicalname = 'CMPLocation_ConnectionType' and propertyowner = v_elementid;
    the qry returns 'SQL*NET'.
    Any workaround for these???
    Please reply.

  • Io exception: The Network Adapter could not establish the connection

    Hi All,
    I run tomcat and connect to Oracle fine, both on the same machine.
    I also run some batch processes daily and they often run without problems. The batch processes lots of selects and updates/inserts onto Oracle.
    These tend to work fine, but sometimes when they run I get
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    So a batch process will be running doing lots of selects and updates then it just decides it had enough and throws this error each time it tries to connect. Meanwhile tomcat continues to run fine through the same TNS listener, but subsequent batch jobs fail to connect.I normally have to restart the TNS Listener.
    I connect through the same class whether connecting through Tomcat or from the batch process with this:
    public static Connection getConnection(String caller) throws SQLException{
    try{
    Connection con;
    if (standalone){
    try{Class.forName(driver);}catch(ClassNotFoundException e){}
    con=DriverManager.getConnection(url,user,password);
    return con;
    }else{
    if (ds==null)initialiseContext();
    con=ds.getConnection();
    return con;
    }catch(SQLException e){
    ds=null;
    logger.debug("Problem in DBAccess.getConnection()...");
    logger.debug(e.getMessage());
    e.printStackTrace();
    throw e;
    I specifiy params such as MaxIdle with Tomcat using the xml config but not when its standalone - could this be affecting it?
    Any idea?
    Thanks.

    lovingbarcelona wrote:
    * Yep I get the same on the dev box.
    * I am definitely closing all the connections, I keep a close watch on that.
    Oracle should be able to handle lots of connections no problem, I agree, and it is through tomcat.
    Yet the exception that you get says that it isn't. Oracle, for example, on a single box shouldn't be able to handle 100,000 simultaneous connections.
    I would be very surprised if it couldn't handle 1,000. And if there was an issue at that point it would be a resource bound issue, like CPU (on the single box) rather than connections.
    You suggested licensing issues?I believe at one time, not necessarily now, the Oracle server would be sold such that it limited the number of simultenous connections. This could have been a relatively low number. There are quite a few assumptions in that - the major one would be it is based on my faulty memory and second would be that it was years ago.
    By the way you are not running this on a unix variant system without redoing the kernel limits to set up for a server system right?

  • Jdbc. The Network Adapter could not establish the connection. Help Please!!

    I've found several responses over this issue, but none works for me.
    I'm trying to setup a simple jdbc connection from a simple program.
    Platform:
    Fedora Core 4 (FC4) on AMD 64 bits
    Java 1.4.2_04 (64 bits)
    ORacle 10g or Oracle 9.2.0.4 (none works);
    Tips:
    - I can't connect to a remote server, nor to a local server
    - I can connect using SQLplus
    - TNSPing works fine
    - Listener it's up
    - my connection string is jdbc:oracle:thin:user/name@host:port:sid
    - Also try jdbc:oracle:thin:user/name@//host:port/sid
    - I'v tryied with classes12.jar, odbj14.jar
    - my hostname it's ok.
    I've monitored ip traffic on remote computer. While using TNSPING I detect activity. While using jdbc, no.
    Please, any idea??

    Thanks for your reply.
    To your questions:
    - I´v tried both IP, host, and even host.domain
    - I can connect from remote workstation using toad, and from local using sqlplus.
    - I can´t connect via jdbc.
    Folowing:
    A) my sample code
    B) the stack trace
    C) the listener status (from my 9i server. Also tryied another servr with 10g)
    when I call this program, I´ve tried severl connection strings:
    jdbc:oracle:thin:user/pass@sdd51:1521:ebf
    jdbc:oracle:thin:user/pass@:sdd51.sdd.com.ar:1521:ebf
    jdbc:oracle:thin:user/pass@:10.10.10.51:1521:ebf
    also try the other sintax:
    jdbc:oracle:thin:user/pass@//sdd51:1521/ebf
    In the classpath, I´tryied:
    clasess12.jar
    ojdbc14.jar
    nls_charset12.jar
    thanks
    A)=================================================
    // Import the JDBC classes
    import java.sql.*;
    import oracle.jdbc.pool.OracleDataSource;
    import java.io.*;
    import java.util.*;
    public class test
    // The query we will execute
    static final String query = "select 'Hello JDBC: ' || sysdate from dual";
    // The connection to the database
    static Connection conn;
    // Create the User Interface
    static public void main (String args[])
    try {
    String connect_string = args[0];
         // See if we need to open the connection to the database
         if (conn == null)
    // Create a OracleDataSource instance and set URL
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(connect_string);
         // Connect to the databse
         System.out.println ("Connecting to " + connect_string + "\n");
         conn = ods.getConnection ();
         System.out.println ("Connected\n");
         // Create a statement
         Statement stmt = conn.createStatement ();
         // Execute the query
         System.out.println ("Executing query " + query + "\n");
         ResultSet rset = stmt.executeQuery (query);
         // Dump the result
         while (rset.next ())
         System.out.println (rset.getString (1) + "\n");
         // We're done
         System.out.println ("done.\n");
    catch (Exception e)
    e.printStackTrace();
         // Oops
         System.out.println (e.getMessage () + "\n");
    B)=================================================
    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:114)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:156)
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
         at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:212)
         at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:251)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:224)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:102)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:85)
         at test.main(test.java:66)
    C)=================================================
    LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 30-JAN-2006 17:39:59
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 9.2.0.1.0 - Production
    Start Date 24-JAN-2006 11:16:18
    Uptime 6 days 6 hr. 23 min. 40 sec
    Trace Level off
    Security OFF
    SNMP OFF
    Listener Log File /opt/oracle/product/9.2.0/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sdd51.sdd.com.ar)(PORT=1521)))
    Services Summary...
    Service "ebf" has 1 instance(s).
    Instance "ebf", status READY, has 1 handler(s) for this service...
    The command completed successfully

  • SQL Developer 1.5 - The Network Adapter could not establish the connection

    I was using SQL Developer 1.2 until this afternoon. I saw that 1.5 was available so I decided to try it out.
    Unfortunately, I cannot connect. I've tried connecting the same way I've done with 1.2 and it gives me the error:
    "Io exception: The Network Adapter could not establish the connection"
    No firewall changes, tns changes have been done the whole 10 minutes I was transitioning over from 1.2 to 1.5.
    Any ideas how I can get 1.5 to connect?

    Hi Echoi ,
    1/Do you want us to look at the tnsnames.ora and see if we spot anything?
    2/There are complications with existing ORACLE_HOME s:
    Re: 1.5 not working at all for me
    post from dooneill:
    Hi Thomas,
    SQL Developer does pick up the JDBC drivers from your local ORACLE_HOME.
    To ensure your using the shipped JDBC drivers you could use the following small script.
    I would appreciate if you could tell me if this works and what version of Oracle you have installed locally.
    1) Close SQL Developer
    2) Create a sqldeveloper.cmd file in the SQL Developer root directory
    3) With the following contents
    SET ORACLE_HOME=%CD%
    start sqldeveloper.exe
    4) Run sqldeveloper.cmd
    Thanks
    Dermot.
    -Turloch

  • After Installing Oracle Virtual Box and changing the network adapter to bridged mode cant access my server

    Hi ,
    I have installed Oracle Virtual box on windows server 2008 r2 hosted on 1und1.de.
    Till installtion and setting up untun on virtualbox it was fine, but once i changed the adapater to bridged mode. I immediatly lost connectivity with my server and now cant access.
    It is now 2 days i cant access my server and neither ping it, also the website hosted on it is also down.
    The 1und1 has following 2 options
    1) using putty i can connect to server command prompt using administrator but cant run any gui application
    2) Server Rescue mode: where i get special environment to start, stop services, access registry and command prompt.
    Till now i have tried lot of setting to enable network connectivity but not able to success
    This is the result of Ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : s15453760
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter VirtualBox Host-Only Network:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : VirtualBox Host-Only Ethernet Adapter
       Physical Address. . . . . . . . . : 08-00-27-00-04-FD
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::5d5c:5bbc:c61:e9b1%16(Preferred)
       Autoconfiguration IPv4 Address. . : 169.254.233.177(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.0.0
       Default Gateway . . . . . . . . . :
       DHCPv6 IAID . . . . . . . . . . . : 352845863
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-15-B9-51-EA-00-19-99-A5-E7-BE
       DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                           fec0:0:0:ffff::2%1
                                           fec0:0:0:ffff::3%1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.{BBF9AA14-45EA-460C-8F23-E106D890D878}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter 6TO4 Adapter:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft 6to4 Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 12:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    How can i restore my connection.
    Thanks

    Hi,
    According to the result of "ipconfig /all", the physical adapter dosen't appear.
    Please check if the physical network adapter works properly. We can verify this in Device Manager.
    To open Device Manager by using the Windows interface
    Click Start, and then click Control Panel.
    Click Hardware and Sound.
    Click Device Manager.
    If the network adapter is working properly, please make sure that the Internet Protocol Version 4(TCP/IPv4) has been checked in the properties of the physical network adapter.
    If issue persists, please try to uninstall the Oracle Virtual box.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • JDBC says: "The Network Adapter could not establish the connection"

    Hi all! I'm trying to run a servlet that does SQL queries, but I keep getting a "The Network Adapter could not establish the connection" SQL exception on the connection attempt. Code follows.
    import java.io.*;
    import java.sql.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class InterpreteSQL extends HttpServlet
         public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException
              try
                   Class.forName("oracle.jdbc.driver.OracleDriver");
                   Connection connection=DriverManager.getConnection("jdbc:oracle:thin:@labdb.dsi.unive.it:1521:lab","[my account here]","[my password here]");
                   Statement statement=connection.createStatement();
                   ResultSet res=statement.executeQuery("SELECT * FROM TabellaProva");
                   stampaResultSet(res,response.getWriter());
              catch (Exception e)
                   response.getWriter().println(e.toString());
    // stampaResultSet method here, which would just print the result set.
    Of course, the bits in brackets have the actual account and password in the code. ;)
    If I make a standalone program with the same code, it works fine. I'm using Tomcat 4.0.3 on a Windows 98 machine. The machine is not directly connected to the internet, but through a router. There's a firewall but it isn't blocking the program. Since the standalone version works, I suppose it's a Tomcat configuration issue.
    Can anyone help?

    I too had the same problem
    Check out for the related services. It must be running.
    One way to know about is try using SQL+ and execute some query.Thats it.

  • "The Network Adapter could not establish the connection" on RAC databases

    I am posting what solved our situation here, in case it helps others:
    We have RAC databases that use SCAN, but also use their Local_Listener ports (because we could not go completely to SCAN due to our applications).
    For some reason, 11.1 Grid Control could see instances if we added them separately, but if we tried to connect to the database & view the performance, it would error out with "The Network Adapter could not establish the connection".
    We had to fix it by manually setting the connect string in every instance and database in the OEM Setup to the non-SCAN VIP/Ports.
    Hopefully this saves someone else hours & hours of troubleshooting. (I know, the day after Grid Control 12 comes out. SOOO helpful. :P )

    Aravind K R wrote:
    java.sql.SQLException: The Network Adapter could not establish the connectionWhere is the Oracle error? I hate this - s/w like Java suppressing the underlying error codes and messages. Just how the hell can one diagnose an error when not knowing exactly what it is? There should be a TNS error code and message.
    From the info you've given, one can only guess. And the following guess is as good as any. Load balancing is requested. Likely your RAC db services are registered on both static and virtual IPs - as the listeners are running listener 1521/tcp end points on both.
    This means the client can get a redirect to connect to a specific listener on a specific IP - and this includes the static IPs. The listener usually passes hostnames (as that is what is configured). If the client cannot resolve that static hostname to an IP, it cannot correct.
    So make sure that the client can resolve both virtual and static hostnames of the RAC - not just the virtual ones.
    If you're client is Windows, update the c:\windows\system32\drivers\etc\hosts file - alternatively register the hostnames with the local DNS.

  • SQL error: Io exception: The Network Adapter could not establish the connec

    Hi,
    I am sure this question has been asked a million times and maybe i haven't searched the forum enough.
    But here's the situation. I haven't used oracle too much. So I am not too familiar with data-source and what not..
    I downloaded the latest version of oc4j(standalone) a few days back. I am trying to get the Oc4j j2eehome/demo/ormap to work .
    I deployed the application manually by editing server.xml and http-web-site.xml files...
    But i get this error
    SQL error: Io exception: The Network Adapter could not establish the connection
    I have no clue what that is..
    I know its got to do with the bean not connecting to the Database. Do i need to download the oracle database server too.. The documentation says something about the cloudscape database.. Well basically i am lost..
    Any information will be very helpful.
    regards
    -amit

    Hi Amit --
    This exception means that the container can't connect to the database instance to which it has been directed to use.
    If you are using the ormap demo, then this is an entity bean based sample and will need a database.
    The database configurations are stored at the server level in the j2ee/home/config/data-sources.xml file. In this file you will see entries that define a datasource using a set of "locations", provides details on where the database instance (host, port, sid) and what the logon details are.
    For the container, a default-data-source is defined (ie one to use if no others are supplied) in the j2ee/home/config/application.xml.
    <orion-application autocreate-tables="false"
    default-data-source="jdbc/OracleDS">
    To make it work simply, make sure that you have a datasource named jdbc/OracleDS defined in the data-sources.xml file (which should be there as a template) and that the connection details for it point to a valid database instance and user.
    cheers
    -steve-

  • Java.sql.SQLException: Io exception: The Network Adapter could not establish the

    Dear all,
    I have been trying to connect to Oracle 8 from Java but without success.
    I am using the following driver: oracle.jdbc.driver.OracleDriver
    and the thin protocol as follows:
    jdbc:oracle:thin:userid/password@databasename:1512:sid
    I am getting the error message:
    java.sql.SQLException: Io exception: The Network Adapter could not establish th
    connection
    I am using jdk1.3 with classes12.zip added to the classpath settings.
    Can anybody help please.
    Regards,
    [email protected] or [email protected]
    null

    Dear colleague,
    I am using a stand alone database running on my windows 98 laptop.
    I connect successfully via sql plus using the user id: scott and password tiger.
    Below is the entry of my tnsname.ora:
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    I am finding difficult to specify a host, but I have tried the following combinations:
    DriverManager.getConnection ("jdbc:oracle:thin:@koudry:1521:PLSExtProc","scott", "tiger");
    where the machine name is koudry and PLSExtProc the sid.
    DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:PLSExtProc","scott", "tiger");
    and also 127.0.0.1 which is the ip address of the localhost. All these give me the following error:
    Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap
    ter could not establish the connection
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:168)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:210)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:323)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:263)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at java.sql.DriverManager.getConnection(Unknown Source)
    at web.main(web.java:10)
    When I use the oci protocol like:
    DriverManager.getConnection ("jdbc:oracle:oci8:@127.0.0.1:1521:PLSExtProc","scott", "tiger");
    I get the following error:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
    at oracle.jdbc.oci8.OCIDBAccess.make_c_state(Native Method)
    at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:233)
    at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
    at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
    va:365)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
    at java.sql.DriverManager.getConnection(DriverManager.java:517)
    at java.sql.DriverManager.getConnection(DriverManager.java:177)
    at web.main(web.java:10)
    Below is the entry for autoexec.bat:
    set classpath=.;c:\oracle\ora81\jdbc\lib\classes12.zip;
    mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
    mode con codepage select=850
    keyb uk,,C:\WINDOWS\COMMAND\keyboard.sys
    SET Path=c:\Oracle\Ora81\lib;c:\Oracle\Ora81\bin;"C:\PROGRAM FILES\ORACLE\JRE\1.1.7\BIN";C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\DOS;C:\JDK1.3\BIN;C:\MSSQL7\BINN;C:\JDK1.3\SRC;
    Can anyone see what I am doing wrong.
    Thanks,
    Richard Koudry
    null

  • Trying to set up wireless network on PC with Airport Express

    I'm helping a friend set up his network with AirPort Express. He's got a modem attached to his PC, and currently has a router that sends a wireless signal to a receiver on the PC in the other room. Now he's added a Mac, and the old router/receiver doesn't work with Mac. So he bought an Airport Express.
    I've turned on the Airport, and first I connected the ethernet cable from the modem to the AirPort. Per the AirPort utility I put on the PC, it couldn't find it (got the flashing amber light). So then I took out that ethernet, and I hooked up the ethernet directly from the CPU to the AirPort. Suddenly, it was found, and it took me step by step through the set up. It asked for password info from our internet provider (??why would I have that info??), so we just hit "enter". Then it couldn't set up the network, and said to check the "manage network settings". I've tried everything. Not only can I NOT manage to create a network, but now NEITHER ethernet cable will cause any recognition in the AirPort. All I get is the blinking amber light. I'm about to throw all the computers out the window...it really should not be this difficult. I've set up networks in my own home, before, with both PC and Mac, and never had these problems. So, now, I've had to relink up the old router/receiver in order to send out this call for help. Can anyone suggest anything else to try before I use these computers for target practice?
    Thanks in advance,
    Jennifer
    P.S. The main PC w/modem is on Vista with service pack 2.0...since I can't even get that one working with AirPort, I hardly think it matters what the other computers are...

    I had some initial problems too. Make sure that you have the latest Airport Utility in the utilities folder. I used that to correct the problems I had when I first got Time Machine. I recommend resetting everything through there to get it working right.
    Mine is not set up to run an n network because my macs are all g and b compatible. Does the airport utility see the time machine? And if so, does it have a green light in the utility?

  • SQL Developer Connection Error: Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection

    Hi, I'm running the following setup:
    Mac OS X 10.8.4
    Virtual Box 4.2.16 r86992
    Oracle Developer Days (don't know the version, just downloaded it)
    SQL Developer 3.2.20.09
    Networking is host-only, I tried bridged but that doesn't make a difference for the problem at hand. I can ping my virtual box just fine, telnet to port 1521 looks good too:
    $ ping 192.168.56.101
    PING 192.168.56.101 (192.168.56.101): 56 data bytes
    64 bytes from 192.168.56.101: icmp_seq=0 ttl=64 time=0.449 ms
    ^C
    --- 192.168.56.101 ping statistics ---
    1 packets transmitted, 1 packets received, 0.0% packet loss
    round-trip min/avg/max/stddev = 0.449/0.449/0.449/0.000 ms
    $ telnet 192.168.56.101 1521
    Trying 192.168.56.101...
    Connected to 192.168.56.101.
    Escape character is '^]'.
    asdf
    asdf
    Connection closed by foreign host.
    When I create a new connection with sql developer, with the same hostname / IP (192.168.56.101), Port 1521 (didn't change that) and SID orcl, basic connection type, it can't even connect, throwing the error mentioned in the subject:
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    I have looked at various threads in the forums here but I'm still stymied why the connection seems to be ok, yet sql developer has problems with it. If I create an ssh tunnel so sql developer only has to connect to localhost it works:
    ssh -L 1521:192.168.56.101:1521 -l oracle 192.168.56.101
    Message was edited by: 2a2e67cd-b5b2-4229-9fa6-21f5dfe0760d

    Hi Ali,
    This may be of varoius reasons..
    Is the database that you are connecting on the same PC?
    You have specified Hostname: localhost.
    If not please replace it with the IP of that server.
    Else please check whether the database listener is started or not. if not please start the listener.
    Check the SID by tnsping command.
    Hope this will help you..
    Thanks
    Ashok

  • Java.sql.SQLException: IO Error: The Network Adapter could not establish...

    Hi,
    I know that there are a lot of threads with this error, but I don't know how to solve my situation yet.
    I'm trying to access to the database via JDBC, and the driver return the following error:
    java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:536)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
    at net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.execute(OpenConnectionCommand.java:97)
    at net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$SheetHandler.run(ConnectToAliasCommand.java:281)
    - My oracle database is up and I can access to it with locally with TOAD
    - I can do TELNET localhost 1521 in the server that has the DB installed
    - I can do a successful ping from the client computer to the oracle server
    - There aren't any firewalls between the client and the server.
    - When I try to do TELNET <IP Address> 1521 from the client computer to the oracle DB Server, the connection could not be opened
    - I tryed to do a TELNET to another port where I have another service, and the result has been successful. So the problem is related with the port 1521...
    I don't have any knowledge about database administration, so I don't know what to do to solve this.
    Can you help me please?

    java.sql.SQLException: IO Error: The Network Adapter could not establish the connectionThis preposterous error message is Oracle's way of saying either 'Connection refused' or 'Connection timeout' or 'no route to host' or 'unknown host'. However because of the stupidity of making up their own message instead of giving the original exception, it is impossible to say which. The pretentious wording is also stupid: network adapters don't create connections. TCP/IP stacks do that.
    As to your problem, either there is no such host, no route to the host, nothing listening at the IP:port you specified, or there is a firewall in the way. And that includes a possible Windows firewall on the server host itself.

  • I got a The Network Adapter could not establish the connection..

    hi guys,
    i've just downloaded and installed oracle 10g express in my win 7 installation.
    i've already created 2 tables and one user and everything seems to be ok.
    but.. there's a but!!! i've tried to connect (using driver ojdbc14) from netbeans and i got a "The Network Adapter could not establish the connection" error.
    the connection string is:
    jdbc:oracle:thin:@pcs:1251:XE
    (pcs is my pc's name).
    what problem can be?
    many thanks ;)

    lsnrctl service
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-ABR-2011 01:53:14
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Conectándose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    Resumen de Servicios...
    El servicio "CLRExtProc" tiene 1 instancia(s).
    La instancia "CLRExtProc", con estado UNKNOWN, tiene 3 manejador(es) para este servicio...
    Manejador(es):
    "DEDICATED" establecido:0 rechazado:0
    LOCAL SERVER
    "ORACLE SERVER" establecidos:0 rechazados:0 actuales:0 máximo:25 estado:ready
    CLRExtProc
    (ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_F94_50C6352F.ORA))
    "ORACLE SERVER" establecidos:0 rechazados:0 actuales:0 máximo:25 estado:ready
    CLRExtProc
    (ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\NTN_F94_50C6352F.ORA))
    El servicio "PLSExtProc" tiene 1 instancia(s).
    La instancia "PLSExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
    Manejador(es):
    "DEDICATED" establecido:0 rechazado:0
    LOCAL SERVER
    El servicio "XEXDB" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
    Manejador(es):
    "D000" establecidos:0 rechazados:0 actuales:0 máximo:1002 estado:ready
    DISPATCHER <machine: PCS, pid: 3440>
    (ADDRESS=(PROTOCOL=tcp)(HOST=pcs)(PORT=49160))
    El servicio "XE_XPT" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
    Manejador(es):
    "DEDICATED" establecido:5 rechazado:0 estado:ready
    LOCAL SERVER
    El servicio "xe" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
    Manejador(es):
    "DEDICATED" establecido:5 rechazado:0 estado:ready
    LOCAL SERVER
    El comando ha terminado correctamente
    lsnrctl status
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 06-ABR-2011 01:53:03
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Conectándose a (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    ESTADO del LISTENER
    Alias LISTENER
    Versión TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
    Fecha de Inicio 06-ABR-2011 00:13:13
    Tiempo Actividad 0 días 1 hr. 39 min. 51 seg.
    Nivel de Rastreo off
    Seguridad ON: Local OS Authentication
    SNMP OFF
    Servicio por Defecto XE
    Parámetros del Listener C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
    Log del Listener C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
    Recibiendo Resumen de Puntos Finales...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pcs)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    Resumen de Servicios...
    El servicio "CLRExtProc" tiene 1 instancia(s).
    La instancia "CLRExtProc", con estado UNKNOWN, tiene 3 manejador(es) para este servicio...
    El servicio "PLSExtProc" tiene 1 instancia(s).
    La instancia "PLSExtProc", con estado UNKNOWN, tiene 1 manejador(es) para este servicio...
    El servicio "XEXDB" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "XE_XPT" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
    El servicio "xe" tiene 1 instancia(s).
    La instancia "xe", con estado READY, tiene 1 manejador(es) para este servicio...
    El comando ha terminado correctamente

Maybe you are looking for

  • Unable to deploy the PAR file after the first successfully deploy.

    Hi, my gurus. I found a problem when I developed the JspDynPage. That is after  first deploy the PAR file successfully,I found there is a miss in portalapp.xml, so I correct the miss and then do a second delpoy.But it didn't work. I goto the Server's

  • XML to string using xslt or java mapping

    Hi Experts, I want to put xml into string and i need to change lessthan symbol to "&lt"   and greaterthan symbol to "&gt" , can anyone please help me how to do this??? can you provide code for java mapping or XSLT mapping to achive this. SOURCE <?xml

  • Os x version 10.6

    So I haven't used my old macbook in some time. However, I need to back up my iphone. In order to do that I needed to update itunes. In order to update itunes I needed to update my OS. Yet, I cannot update my laptop with 10.6.8 b/c a notification come

  • Writing Dom tree from JAXP

    Once I build a DOM tree, how can I write the xml to a string or a file using the JAXP API. Given any particular Parser implementation, I have been able to find methods that allow me to write the xml. However, from the java api (JAXP), there doesn't s

  • Tasks using over 100% of CPU?

    There are a few Root tasks that occasionally use more than 100% of my CPU according to my Activity Monitor. One of them was at 148% at one point. There is usually just one Root task that uses that much CPU whenever I open my Macbook from sleep or it