I-net oranxo driver problem. cannot connect

Hi, im new to the j2ee programming communitty and i was trying to use the i-net type 4 driver to connect to an oracle database. The service name of the oracle database is orcl. i know that the host is the local host, and im pretty sure that the port number is 1521. i dont think i changed it. unfortunately i dont know how to change it. if you could tell me a way to change it once i have already installed it, i would appreciate it.
my code for this problem is
import java.sql.*;
public class testDB{
public static void main(String args[])
     new testDB();
testDB()
     try{
          Connection con = DriverManager.getConnection("jdbc:inetora:localhost:1521:orcl", "scott", "tiger" );
          new com.inet.ora.OraDriver();
          CallableStatement cstmt = con.prepareCall("{call procone(?,?,?)}");
          cstmt.setInt(1,6619211);
          cstmt.setString(2,"Java");
          cstmt.setInt(3,22);
          cstmt.execute();
          con.close();
          }catch(Exception x){
                    System.out.println("exception: "+x);
the error its giving me is the following
com.inet.ora.ORA3SQLException: [OraDriver] Connection Refused:Connect
Anyone know why theres a problem. im sorry i know its probably a dumb question but i cant figure this out.

re: Oracle database and listener:
Oracle does not do things in a simple way. I'll explain things using Oracle's terminology (which I didn't use earlier).
To Oracle, the collection of data-storage (files or devices) that actually has the data is the "database", without regard to any program code or running process.
To Oracle, the memory structures and process (or threads on some OSes) normally used to access a database is called an "instance". (In casual speech, most people call the "instance" the "database"; usually the distinction doesn't matter).
You can have a database without an instance (the program isn't running), an instance without a database (the database hasn't been created or you're using a special Oracle feature called ASM), or you can have multiple instances for one database (an Oracle RAC cluster).
You cannot connect directly to an Oracle instance via a TCP/IP connection (which is normally what a JDBC driver will use, although there are other ways). Instead, Oracle has another program, called the "listener" that brokers connection requests; your program talks to the listener on port 1521 and the listener arranges for your program and the database to connect. The database might actually be on another computer but almost never is, except with RAC clusters or failover configurations. So the listener has to be running for most JDBC programs to work.
SQL*Plus can connect to a database instance via TCP/IP, which requires the listener; however, SQL*Plus can also connect to a database instance that is on the same computer via inter-process communication, which does not require the listener. Stopping the listener process and connecting via SQL*Plus is a common way of putting a database into "maintenance mode", where only the database administrator can make changes to the DB.
The standard Oracle installation will install everything and set up the listener and have it autostart on boot and everything else needed. However, people sometimes disable things they think they don't need, so it's not unheard of for people to turn off the listener becaus they think they don't need it. Or sometimes there's an error and the listener fails to start...

Similar Messages

  • My internet seems to be connected but since installing a new hard drive i cannot connect to safari so I cant do any updates

    My internet seems to be connected but since installing a new hard drive I cannot connect to safari,tells me there is a problem but not what the problem actually is,so I cant do any updates because I cant connct to the browser?Any suggestions.....

    If you use Lion, boot into your recovery pressing Command and R buttons, press "Utilities" menu, open Terminal and write:
    resetpassword
    If you have Snow Leopard, boot into your install DVD pressing C button, click "Utilities" and press Password Reset

  • I had this problem: "cannot connect to itunes" while trying to download an app so i went to the settings and i kinda messed it up that now i have not apps or itunes icon on my ipad! :( can anyone help me?

    I had this problem: "cannot connect to itunes" while trying to download an app so i went to the settings and i kinda messed it up that now i have not apps or itunes icon on my ipad! can anyone help me?

    First, try a reset: hold down the home button along with the power button until you see the Apple, then let go.

  • Personal File Sharing Problem - Cannot "Connect to Server"

    hi, my network (using a base station and an express) has two computers currently connected - a dual G5 (afp://10.0.1.4) and a powerbook aluminum (apf://10.0.1.2). both are connected to the same "server"...laptop via airport and g5 via ethernet.
    i have no problem connecting from my g5 to the laptop using the Connect to Server function, but from my laptop, i cannot connect to the G5. when i use the "Connect to Server" function, the "connect" button won't respond. when i "browse," i get the window that says "the alias could not be open, because the original item could not be found" fwiw, i can connect to ftp servers from my laptop without problem...personal firesharing is on for both computers, and firewalls are off.
    any suggestions?

    powerbook aluminum (apf://10.0.1.2)
    Gene, hopefully just a mistype!?
    I think we should start of by getting Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, Reboot holding down CMD+s, then when the prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least if it doesn't fix it, it'll eliminate a few questions.
    Besides, once you really, really need it... you can't install it!
    I mean, I know where those Aliases are, but sounds like more is involved.

  • BPC 7.0 Server Installation Problem - Cannot connect to reporting services

    I am upgrading from 5.1 to 7.0 version for SAP BPC.  Everything went smooth on the development server (single instance installation including SQL Server 2005 developers edition 32bit, web, reporting and application services on the same server). I tried to repeat the same process on the test server, and the installation went off the rails.  I started with clean installations of SQL Server 2005 on both servers.
    When I try to install the BPC server software, I get to the point of access to the report server, and everything stops. I get the following message: Cannot connect to reporting services.  I have verified the reporting server name, and I have verified that the server name is correct in the installation panel. I have also verified that the reporting server is configured, started, and that there are no errors.
    Any advice?

    Hi Sorin,
    Thanks for the tip, but this was not the case.  The problem was solved by re-loading the OS. Using Windows Server 2003 gave an issue during the re-installation of the SQL Server database. The problem was in the installation itself. After a clean install of both the OS and SQL Server, then SAP BPC 7 worked. The installation does require a number of tweaks, particularly, in my case, the entire Management console must be configured, even if not being used.
    This problem is now solved.
    J.

  • From yesterday, I have been facing the problems in my iphone and my wife iphone. The same problem, "cannot connect to itunes store". I have strong internet connection. I tried all the possible way I could like setting, general, date and time.....etc.

    I have proble of "cannot connect to itunes store. After I have updated the new software ios6, the problem arised in one of my mobile. In the second mobile, I didnot updated the software.Today in the morning, the problem ariesed in that mobile as well. I cannot open the itunes, don't have access to apple store . I tried to solve the problem like going to setting, general, Date and time, automatically off, keeping one year ahead date. I tried all the possible options I could get from the googel. How do I get rid of this problem?

    No - I have not tried other routers on my network.
    What I meant was I could use my itouch on other users wireless networks without any issues.
    I'll update the routers DNS to try  using Google's 8.8.8.8 instead of my ISP.
    Is the issue DNS performance using local ISP -or are there other possibel isues when using local isp DNS?

  • Airport problem-cannot connect to internet since update

    I like many folks here is new to a Mac. I have a iMac intel duel processor. i apparently did this update to 10/4/8 10/2/06. Since then airport does not work and I cannot connect to internet at all. I have talked to Apple customer service but so far no help there. They want me to reinstall disc that came with computer. I also have a new MacBook that has update also. I can set it beside the iMac in my office and it works great. We have a wirelss system in our home and a PC and the MacBook still connect with no problem. Settings on iMac and MacBook look identical to what I can tell. Nothing I try to connect works, rebooting, change some setting. Can anyone offer easy to follow suggestions to a new Mac user. Thanks

    Since it's only the iMac that's having the issue connecting using WPA, we don't need to troubleshoot the router or the other computers.
    I suggest trying the following on the iMac before attempting to reload the previous version of the OS.
    If you use "Preferred Networks," instead of "Automatic" for your "By default, join" setting Location, try the following:
    System Preferences > Network > Show > AirPort > AirPort tab
    - Delete all preferred networks with encryption
    - Add them again after manually connecting
    (Note: It will be faster if you turn on "Automatically add new networks to preferred networks list" under "Options" of the AirPort network connection.)
    If this doesn't work, something might have gone wrong with the update to 10.4.8. I would suggest that you follow the Apple Tech's recommendation and reinstall the previous OS using the installation disk that came with your iMac.

  • Apple Mail Application Problems - Cannot connect to Server

    Hello Apple Community.
    For the past two days my Mail application on my iPad and MacBook do not. It is as if there is a problem with the internet but my internet it working fine. The app opens and loads and continues to load but then says it Cannot Connect to Server.
    Is there any way to fix this problem. I do not have OSX Mavericks.
    Please help.
    Thanks

    If the problem exists on two different devices (different operating systems), your router or ISP is probably the reason. Contact your ISP for help.
    Barry

  • Installation problem: Cannot connect to TV

    Hi,
    I just got my new AppleTV. Connected it to a Panasonic TV via HDMI and then with the power cable. The problem is that the TV stays black. AppleTV is responsponding to the remote (when I press a button, the light on the AppleTV is blinking).
    I tried to use the "menu and + button for 6 sec" to change the HDMI resolution. No change. TV stays black.
    The remote by the way is fully working since it my MacBook is reacting and it starts FrontRow. Another thing: I have startet "Airport Application" to try to find the AppleTV - does not find it. But I assume this is because AppleTV is not yet configured, hence not connected to any network...
    By the way, the TV hdmi is working (had another source on it), because I had another source on it before and it is fine.
    I switched off already both, TV and AppleTV. Still the same situation...
    Can anyone help me? I have no idea what to check anymore.
    Pls advice!
    br
    a

    Hi,
    thx:)
    You were right! I changed to another cable. Now I have a picture!
    How come, that the cable works with a DVD player and not with AppleTV? Sounds rather strange to me. What do I need to look at to know whether a cable is compatible with AppleTV?
    And now I have the next problem. I cannot connect to my WLAN. By the way - there were no issues at all in connecting my MacBook with the WLAN. I am using WEP security with an HEX password. However, AppleTV let me only choose from the Options "WEP Password", "WEP 40/128-bit Hex", "WEP 40/128-bit ASCII". It works with non of the options. The password is for sure correct (I use it on several devices, also on MacBook). I get error code "-3" when I use the first 2 Options and "-6" when I use the last one and the first one with letters from my password written large. I know that the pwd is case sensitive, and actually I use letters from "a" to "d" in my password. Again, no problem on MacBook.
    And again, I would be glad to get your input! I want to show off my new device with the family today - Easter Photos:)
    Thx folks and br
    A

  • How do I fix the problem cannot connect to iTunes Store?

    How do I fix the problem I encounter on my iPad - cannot connect to iTunes Store?

    Hey Fpatrick13,
    We have an article that goes over troubleshooting for that issue. If you saw an alert message like "Cannot connect to the iTunes Store. An unknown error has occurred" on your iPad, or something similar, check out the bottom of the article titled "Troubleshooting on an iPhone, iPad, or iPod touch" for detailed steps:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Cheers,
    David

  • Bluetooth problem - Cannot Connect to Device that is not copyright protected SCMS-T Method

    I have a Qosmio X875-5280 which has a bluetooth adapter. I also have a bluetooth device which is an adapter for a Bose Sounddock such that the device allows the Sounddock to receive the bluetooth audio stream from the laptop -- at least that is how it worked until recently. Diagnostics show that both the bluetooth adapter and the bluetooth device are working. When trying to connect to the device, I now get "connection failed" message or the message "You cannot connect to a device that is not copyright protected by SCMS-T method." It seems the Toshiba bluetooth stack is responsible for this, however, I fail to see why a device which is acting like headphones fails to connect now. I have Windows 7 64 installed. I have uninstalled all of the bluetooth drivers and re-installed them several times. Attached is a pdf file which shows all messages and settings relevant to the issue.
    Attachments:
    bluetooth messages.pdf ‏158 KB

    See the solution I proposed some time ago here.  
    -Jerry

  • T400 with F3507G Win7 Driver problem cannot complete install

    I am trying to install driver of F3507G on T400 Windows 7 but cannot complete the installation the system still show in the device manager that mini card GPS port and mobile broad band GPS port on com 12 are the problem.
    Cloud you please help to rectify what went wrong.  Thank you in advace

    Hello mate,
    Have you got a sim card inserted when you tried to install the driver ?
    Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information on it.
    ThinkPad T510 4313-CTO Windows 8 x64 - Intel Core i7-620M - NVIDIA NVS 3100M - 8GB RAM - 240GB SSD- Intel Centrino Ultimate-N 6300 - Gobi 2000.
    ThinkPad Helix 3697-CTO Windows 8.1 x64 - Intel Core i7-3667U - Intel HD Graphics 4000 - 8GB RAM- 256GB SSD - Intel Centrino Advanced-N 6205 - Ericsson C5621gw

  • Lumia Has Big problem - Cannot Connect To Win XP V...

    I was planning to Buy Nokia Lumia 1020, as I am a Fan of Nokia at present I have Nokia C7, I got a few friends phones Lumia 720, it does not connect to XP via Bluetooth, which means I cannot send SMS even using MS SMS sender, as Lumia is not Compatible with Nokia Suite, which is a shame, they could have easily made this software like Nokia Suite for Lumia. I did suggest to Nokia CEO Mr. Stephen Elop, he just replyed " Thanks For The Suggestion" Hope he takes this suggestion seriously, there are many symbian users like me waiting to upgrade to better phones and are stuck, to want of this Nokia Suite Like software for Lumia !!!

    Windows security is broken up into two parts. Local permissions, and net permissions. You must set both in order to allow access. Simply setting up the share doesn't grant the user access to it.
    You must define the share on the Share tab, and then go to the 'Security' tab and add whatever account the user will be using to access the folder and its associated files.
    Make sure that the files in whatever folder your sharing pick up the inheritence of the parent folder permissions by checking the security on a few files in the folder and verify that the parent folder permissions match the file permissions. I've had instances where inheritence doesn't apply properly and the files in the folder don't have the permissions you set on the parent folder.

  • Shared NAS Drives - problems auto-connect

    Running Lion
      Model Name:          MacBook Pro
      Model Identifier:          MacBookPro6,2
      Processor Name:          Intel Core i5
      Processor Speed:          2.53 GHz
      Number of Processors:          1
      Total Number of Cores:          2
      L2 Cache (per Core):          256 KB
      L3 Cache:          3 MB
      Memory:          8 GB
      Processor Interconnect Speed:          4.8 GT/s
    Connect to NAS using SMB
    When using Snow Leopard I always had issues with auto-reconnecting to my NAS drive at home. I would have to click on the NAS drive the Mac to reconnect to the NAS drive and only then would apps like Picasso or Crashplan see the NAS drive and scan it. I found this unusual as when I was at work I would get a pop up that asked where the NAS drives are and I would have to choose ignore. At home I did not get this pop up, but still need to manually connect.
    I was hoping that this would improve with Lion, but no such luck. I still need to go in and connect every time.
    Thanks

    Thanks, BDAqua, for the suggestion. Unfortunately it did not work for me.
    I went to the link and tried to implement the solution outlined there. Unfortunately, once the folders are mounted on my local machine, when I try to go to the next step it is not possible to create an alias as per the directions at the link. The "Create Alias" option is greyed-out so that although I can see it I cannot invoke it.
    I fear I am overlooking some basic point, but I also wonder if this is somehow related either to the fact I am mounting virtual drives (i.e., folders rather than a physical disk), or else perhaps to some aspect of the NAS that I am using?
    Any further suggestions or imput would certainly be appreciated.

  • Airport problem - cannot connect to the internet

    I'm having problems connecting to my home wireless (that before it didn't happen).
    Anytime I turn on airport and choose my network, i enter my wpa2 password but my mac doesn't recognise it, and shows me the error "connection has exceeded Time Limit".
    I already tried to:
    - delete the my network from the list.
    - add it manually using the "+" button
    - run the network assistant, but it says that my password is wrong (but it's not!!!)
    - access my network ith my smartphone, and I can connect without any problems!
    - acess with ethernet - and it works - i can connect without problems!
    Sometimes I get an exclamation mark in the airport icon, but I already checked my network preferences and I'm sure that the encryption wpa2 is selected.
    I think that I entered in my network only once, but the connection was soooooo slow (even after renewing dhcp) that the connection lasted 1 minute.
    Can anyone help?
    I own a macbook pro - snowleopard 10.6.8

    What type of router are you using?
    I'd like you to check the mac address filtering to make sure that's turned off.

Maybe you are looking for

  • Internal order with revenues: settling to FI and PSG

    Hi, I have this scenario: - internal order with revenues has to settle to FI when not TECO - this is working - when order status becomes TECO - it has to reverse the previous posting - it' s working and settle to PSG, acording to settlment rule - thi

  • FIAA AS01, AS02 format & list in the description fields

    Hi Guru, I am adm. I have to do in: ANLA-TXT50 link to the table with the list of names (create table z* and link it to this field) ANLA-TXA50 display the date in special format so in the transaction AS01, AS02 the users can in Description field  cho

  • How do I remove aberation/halo from composited photos.

    I want to replace the sky in one photo with the sky from another photo. In Bridge I selected the photos and  load the photos into Photoshop layers.  This is Photoshop CC 2014 64-bit.  When they arrive in Photoshop, neither photo has any type of halo

  • Tuxedo service as CORBA client

    Hi all- Just want to confirm my approach on something. I have a Tux (8.1) service that needs to call out to a CORBA object for some of it's processing. I think I need to: - Generate client stubs from the provided IDL using Tux provided 'idl' command.

  • Purpose of client creation

    Hi Can anyone tell me what is the purpose of creating the additional client in SAP/3. Kindly tell me the reasons. Thanks. ARun