Error connecting to the db while running the .jar

Hi,
i made an application using netbeans ide 4.1, and when i try to run the program with the .jar file i get this error java.lang.ClassNotFoundException: oracle/jdbc/driver/OracleDriver, but when i run the program using the ide it runs normally.
I´m using oracle 8i and I set the classes12.zip by adding it to the properties of the project in the runtime libraries
what can be the cause of this error?

no, false alarm, i didn´t have the driver path in my classpath, that was the problem...

Similar Messages

  • FTP adapter failing sometimes, msg:Error connecting to the OAI Repository

    Hi,
    I have imported a dump due to curropt metadata definition. The import was successful without any warning/error.
    I have recreated the event , but when I am testing the same, getting following error in the FTP adapter, though the adadpter is started successfully, connecting to hub /repository, still trowing below errror when it translates a file:
    Sometimes it works when the adadpter is killed & restarted.
    Ususally happening when a new event is created & run for the first time...
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    <A N = "do_no">428997</A>
    <A N = "mdo_no">
    </A>
    </AO>
    </AO>
    </AO>
    </B>
    </MSG>.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    Message linked list has 0 elements.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    FileReceiver.sendResponse() completed.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    FileReceiver.receive() is invoked.
    Mon Oct 03 17:18:45 SGT 2005: Transport logs:
    The message queue is empty.
    Mon Oct 03 17:18:45 SGT 2005: Initializing connection to the Repository...
    Mon Oct 03 17:18:46 SGT 2005: Connected to the Repository.
    Mon Oct 03 17:18:46 SGT 2005: Error connecting to the OAI Repository. Please make sure that the hub database and the OAI Repository are started properly. Once everything is started properly, the connection will be automatically re-established. However, if you have provided incorrect parameters concerning your hub database or the OAI Repository during installation of this Adapter, please stop the Adapter, fix the information and restart.
    oracle.aob.repository.aobRepositoryCartridge.RepositoryException
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    ++++++++++++++++++++++++++++++++++++++++++++++++++++
    Any pointers on this will be a great help for me.
    Regards,
    MOhit

    In same context, what I observed is that the FTP adapter throws above error if a file is send again for translation...ie; when i try to use the same file for testing putingit in FTO dir , FTP adapter hangs throwing above error.
    Even after few runs of other files.
    Is it something related to the security feature of the product which prohibits sending the contents of message if the same contents are send previously?
    Actullay I had never faced such issue before & use to do the testing with same file itself.
    oai_agent_error has following entry in internalid column:
    MetadataManager_RepositoryConnectionErrorWithoutOID
    When I kill the adapter, the same msg is picked up by the subcribing adadpeter(dbadapter) & puts the data into the table.
    Tough I m fixing the above issue as below:
    1- kill the FTP adapter
    2- remove its entries in componentinfo table.
    3-deleting all rows in oai_hub_queue.
    4- stop other adapters.
    5- Stopping & restarting the repository again.
    Still not sure whether error throwing by adapter is expected functionality in iStudio, or something is missing in the setting done in my setup?
    Regards.
    Mohit

  • "Connection failed ... There was an error connecting to the server"

    Hi,
    I have a late-2009 imac, running Snow Leopard and all the latest updates.
    However, since ugrading to ilife '09, I now see the following error
    "Connection failed
    There was an error connecting to the server
    "BeechMac". Check the servername or IP address and then try again"
    However, "Beechmac" was the name of the older G4 Mac from which I upgraded (using Time Machine) to the imac last year - and it no longer exists on the network.
    As a test, I copied over to this Mac Mini (also latest OS and updates) all the iphoto directory prior to update and then updated to ilife '11 - same problem is seen.
    I assume some files have some form of symbolic links to a networked partition ?
    The only difference to my network/system has been updating to ilife '11 - and all I use is iphoto.
    However, the error pops up every hour or so - and the mouse disappears and its tricky to gain mouse focus again to remove the message.
    I've scoured the Internet - but no help.
    - Paul

    I think I've identified the problem (or at least a solution).
    There were broken Alias links for some of the photos in my iphoto directory.
    I navigated Finder to the root of my iphoto collection and searched for "Kind: Alias"
    I then checked (using Right-Click:"Get info") that the Alias was working (if not a broken Jpeg icon was shown), and if not fixed up.
    It appears that in my system moves from taking photos from PC onto my original G5 Mac and then into iphoto (which had two partitions) some of the files had been aliased rather than copied. (Not sure exactly how this happened).
    Anyway, I was able to repair the broken file by going into the Terminal and copying the required JPEG onto the Alias.
    I wish there was an easier way to find broken Aliases - it was fairly tedious.
    - Paul

  • There was an error connecting to the update server.

    There was an error connecting to the update server. Check your network settings and try again.
    am i along with this?
    airport utility 5.4.2 can`t get a new update 7.4.2

    Ok. Got it fixed.
    For a real fix:
    Try trashing the ~/Library/Application Support/Apple/AirPort folder. This should solve the problem this time and next time.
    If you are reluctant to do that, log into your 'test' account. (You do have a test account, don't you?)
    Do the update from there.
    Apparently we have something corrupted in our support directories for the AirPort device.
    I first fixed my problem by doing the alternate log in method and found that all 3 of my devices were needing a firmware update but only the Capsule was reporting an update within my own account.

  • How do I get rid of the error message "There was an error connecting to the server “Office AirPort Extreme” ?

    How do I get rid of the error message "There was an error connecting to the server “Office AirPort Extreme” ?  This message shows up 3 times when I boot my iMac.

    I do have a USB hard drive hooked up to the Airport.  I've never created an AppleScript for it.  Should I disconnect the USB drive and see if I still get the error message?
    Thanks for your reply!

  • There was an error connecting to the network, try again!

    I bought a new Computer (Mac Mini) with Snow Leopard installed; On joining the network(WEP128Bit) airport extremebasestation and airportexpress with WDS-mode) suddenly the basestation didnt offer WEP 128bit any more. I cant remember precisely but i think ist got something to do with the firmwareupdate of the AEBS or that i gave up WDS and changed to „extend a wireles network“ , well it only offered „WEP transitory“ which did not work properly for some reason;
    So i changed to WPA/WPA2 option and extending my network with the airport express.
    This worked fine; two computers with leopard, the new one with Snow leopard and a windows Laptop as well as two Mobilephones could easily join the network.
    BUT: My old Imac G4 with Tiger (10.4.11) could not join so easy.. (I changed the settings to WPA of course) The symptom was that on the right upper corner of the screen a message appeared saying: „there was an error connecting to the network, try again!“ and when i hit the „try again“ button up to 20 times then sometimes it suddenly succeeded to join.
    I was just about to look after the wirelesscard but tried before one thing: I changed my network channel on the AEBS from „automatic“ to Channel 11.
    From this time on i worked like a charm. I dont know why only the Imac G4 needed channel 11, but this solved my problem.
    Message was edited by: Alfi
    Message was edited by: Alfi
    Message was edited by: Alfi
    Message was edited by: Alfi
    Message was edited by: Alfi
    Message was edited by: Alfi

    Here is the list of DHCP Clients:
    http://home.earthlink.net/~jeffny0...ExtClients.jpg
    (MAC addresses scambled for security)
    I am not sure what 192.168.1.193 is ??? The 16 port Asante switch??
    Anyone know if there is a way to (easily) add "Client ID" names in XP? I went though my Macs and added names to help ID them in the router, but can't see where to add names in XP?
    IP Address: 64.110.135.46
    Subnet Mask: 255.255.255.128
    Router Address: 65.110.135.1
    (posting that does not compromise my security??)
    I think I need to figure out how to get the HP 4050 to renew its IP address? Then the router should assign an address to it.....I would like it to use the same address it has now so I don't have to recofigure addresses on the computers to print to it......hummm
    DHCP Begining Address: 191.168.1.2
    DHCP Ending Address: 191.168.1.200
    DHCP Lease: 4 (hours)
    COUPLE HOURS LATER......
    Just tried turning off the HP 4050 and unplugging it from the wall. Then plugging it (power) back in and turning it on, trying to get it to renew its IP address with the AirPort Extreme router.....nothing. Still does not show up in my list of DHCP Clients.
    Tried Restarting the router.....now I see no clients at all in my list of DHCP Client list..... grrrrrr
    Can anyone tell me why AirPort Extreme is not seeing the HP 4050 as a DHCP client?
    Jeff-

  • Trying to sync my macs but getting this... error connecting to the server

    trying to sync my macs but get this .....error connecting to the server,check server name or ip address ?????

    Same problem . . . any resolutions out there?

  • Hi,  I have keep seeing a small 'Connection failed'  warning box popping up: [[Connection failed  There was an error connecting to the server "Warning; Self Aware"]].  Question for you gods - what does it mean. is it important?  my computer connects to my

    hi,  I have keep seeing a small 'Connection failed'  warning box popping up: [[Connection failed  There was an error connecting to the server "Warning; Self Aware"]].  Question for you gods - what does it mean. is it important?  my computer connects to my server works.  Could it be related to  "Network Preference & Monitor icons missing from my system preferences page?  and my guest sign=in account is now the main account??     thanks you. jb

    hi,  I have keep seeing a small 'Connection failed'  warning box popping up: [[Connection failed  There was an error connecting to the server "Warning; Self Aware"]].  Question for you gods - what does it mean. is it important?  my computer connects to my server works.  Could it be related to  "Network Preference & Monitor icons missing from my system preferences page?  and my guest sign=in account is now the main account??     thanks you. jb

  • HT4519 I have a yahoo email account and i keep getting an "error connection to the server failed"

    The email account i have always used on my ipad mini is through yahoo. Now i keep getting an error "connection to the server failed" when trying to access my email.

    its a common message but could be due to several possible causes
    try this
    close the mail app by double tapping the home button, swipe the screen until you see the large icon of the mail app.  Swipe the app up and off the screen to close. Tap the home button to return to home screen. Open mail app again.
    if that didn't work, then...
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings  (or for network connection issues 'reset network settings').
    (no media or data will be deleted from the device, this will only take a minute).
    Unplug your wifi router for 5-10 minutes and at the same time reset settings on the ipad
    settings/general/reset/reset all settings
    (no data will be lost)

  • There was an error connecting to the ATT network

    I am trying to get help figuring out why when I try to connect on a wireless ATT modem I get an error message saying, "There was an error connecting to the network ATT5216." ATT could not help solve the problem. Anybody got any answers?

    It didn't work. I typed in 17.149.160.49 in the browser bar and I got the message "You are not connected to the Internet. Safari can't open the page http://www.apple.com/stratpage because your computer isn't connected to the Internet. The AirPort is connected to the wireless network though. When i go to System Preferences>Network>AirPort and try and detect DHCP settings automatically by clicking on "renew DHCP lease" nothing happens. So I set all the paramemters manually using an AirPort address of 192.168.1.164 Subnet mask 255.255.255.0 and router address of 192.168.1.254. This hasn't solved the problem either. Do you think upgrading to 10.5 would help? I'm not so sure it would.

  • Got internal error Exception caught in pfrrun() while running PLSQL in apex

    Hi,
    The apex 3.1 is running on the windows 2003 box with 10.2.0.3 database.For almost 3 weeks,there are error messages on the alert log that
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-03135: connection lost contact
    When the trace file is observed,the following messages is displayed
    *** 2008-07-29 07:25:42.715
    *** ACTION NAME:(PAGE 26) 2008-07-29 07:25:42.684
    *** MODULE NAME:(APEX:XXX) 2008-07-29 07:25:42.684
    *** SERVICE NAME:(test) 2008-07-29 07:25:42.684
    *** CLIENT ID:() 2008-07-29 07:25:42.684
    *** SESSION ID:() 2008-07-29 07:25:42.684
    *********START PLSQL RUNTIME DUMP************
    ***Got internal error Exception caught in pfrrun() while running PLSQL***
    ***Got ORA-3113 while running PLSQL***
    PACKAGE BODY FLOWS_030100.WWV_RENDER_REPORT3:
    Did somebody encountered this error?What is the problem here?please advice on this.

    This was upgraded to 3.1 from a month back and there
    are no messages on the development box where the
    envirnoment is the sameI'm not sure (at the moment I have not instance with APEX here) but FLOWS_030000 should be APEX 3.0 package...
    So to say it's a corpse of previous APEX installation...
    But there is an Oracle Application Express (APEX) where you can ask further questions about APEX structure.
    Message was edited by:
    Faust
    Edit:
    alert log internal error exeception caught in pfrrun() while running pl/sql

  • Error connecting to OPMN (is it running?)

    Hi All,
    Might this be a silly question but please help me out.
    I have 10g AS installed on Solaris.I need to get the datasource lookup from my localhost standalone java application .
    This is the code i have used:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,
              "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.SECURITY_PRINCIPAL, "ias_admin");
    env.put(Context.SECURITY_CREDENTIALS, "admin123");
    env.put(Context.PROVIDER_URL, "opmn:ormi://mysolarisserver:12425");
    try {
         Context ctx = new InitialContext(env);
         DataSource ds = (DataSource) ctx.lookup("jdbc/OracleDS");
         con = ds.getConnection();
    } catch (Exception e) {
    e.printStackTrace();
    Exception I get is:
    Error: Error connecting to OPMN (is it running?): Connection refused: connect
    javax.naming.NameNotFoundException: jdbc/csmsDS not found
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:164)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at code.MyHybernateTest123.getConnection(MyHybernateTest123.java:102)
         at code.MyHybernateTest123.main(MyHybernateTest123.java:36)
    I have verified for the list of ports in Enterprise Manger and could get the 12425 as port in use for RMI.
    Please help me out.
    Thanks in advance.
    Cheers,
    Bhuvan.

    Hi Steve,
    Thanks for the reply and it was informative.
    Here is the scenario which im actually working on.
    I have a client running in local host and i need to get the datasource configured in a instance (or a component) created in oc4j.The oc4j is installed on remote system in solaris environment.So can u suggest /provide the details of lookup .
    Im trying to use: ormi and the code i have written is:
    env.put(Context.INITIAL_CONTEXT_FACTORY,
              "com.evermind.server.rmi.RMIInitialContextFactory");
              env.put(Context.SECURITY_PRINCIPAL, "admin");
              env.put(Context.SECURITY_CREDENTIALS, "admin");
              env.put(Context.PROVIDER_URL, "ormi://myserver:12425");
              try {
                   Context ctx = new InitialContext(env);
                   DataSource ds = (DataSource) ctx.lookup("jdbc/myOracleDS");
              con = ds.getConnection();
              } catch (Exception e) {
              log.error(e);
    Here 12425 is the rmi port of the component in which i configured the datasource.
    I get the following exception:
    javax.naming.NamingException: Lookup error: java.net.ConnectException: Connection refused: connect; nested exception is:
         java.net.ConnectException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:168)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at code.MyHybernateTest123.getConnection(MyHybernateTest123.java:103)
         at code.MyHybernateTest123.main(MyHybernateTest123.java:36)
    Caused by: java.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
         at java.net.Socket.connect(Socket.java:452)
         at java.net.Socket.connect(Socket.java:402)
         at java.net.Socket.<init>(Socket.java:309)
         at java.net.Socket.<init>(Socket.java:153)
         at com.evermind.server.rmi.RMIConnection.connect(RMIConnection.java:2324)
         at com.evermind.server.rmi.RMIConnection.lookup(RMIConnection.java:1781)
         at com.evermind.server.rmi.RMIServer.lookup(RMIServer.java:721)
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:149)
         ... 3 more
    Please help me out.Im struck with this issue for the past 2 weeks.
    Thanks in advance
    Cheers,
    Bhuvan

  • Error connecting to OPMN (is it running?): Connection refused:

    I have installed SOA in my laptop and started the SOA suite and completed the Hello world example program. To deploy I am trying to create Integration Server connection and selected connection Type as "Oracle Application Server 10g 10.1.3." and when I am trying to test the connection I am getting below error.
    Error getting OC4J process for: opmn-home+oc4j-localhost-6003-default:
    Error connecting to OPMN (is it running?): Connection refused: connect
    I have not changed any default values
    HostName : localhost OPMN Port : 6003
    OC4J Instance Name : home
    Could you please let me know if anything missing information.
    Regards
    Kiran Akkiraju

    I am able to create Connection now. System is defaulting port as 6003 instead of 6004. I have changed the port after seeking OPMN configuration XML file.
    Regards
    Kiran Akkiraju

  • Oracle Apps Forms errors out with FRM-40735 while running from Oracle D2K

    Hi
    Will anybody please provide me a solution on Oracle Apps Forms which errors out with FRM-40735 while running from Oracle D2K
    Regards
    Nakul Venkataraman

    Hello,
    certain trigger in your form is throwing an exception and its not being catched by the exception part for your block. check the code of your trigger and pur exception handling into your trigger code

  • Alert log internal error exeception caught in pfrrun() while running pl/sql

    Hi ,
    For the past two days these error messages appears in the alert log.
    ACTION NAME(PAGE 1)
    MODULE NAME:(APPLICATION xxx)
    *** got internal error exception caught in pfrrun() while running pl/sql***
    *** Got ora-3113 while running plsql***
    Function FLOWS_030000.V (or) PACKAGE BODY FLOWS_030000.WWV_FLOW:
    can anyone assist me on this.
    Thanks

    user589320,
    As Scott mentioned, have a look at
    http://www.inside-oracle-apex.com/2008/03/attention-are-you-using-drop-in.html
    That might solve your problem.
    Patrick
    *** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
    My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/

Maybe you are looking for

  • Beige G3 no longer boots at all

    I've been using it for years (obviously), and the other day I was trying to install Tiger on a new 400 GB hard drive, when I forgot I had to restart using XPostFacto. The specs are in the signature; 1 GHz G4 upgrade, 3 hard drives off an ATA/PCI card

  • NIC issue

    Hi, I am trying to configure 2 ports from a 4 port Ethernet GigaSwift card to connect to different networks. The NIC's first port bge0 works fine and it holds the main ip of my server. i.e bge0: ip: 1.2.3.4 netmask:255.255.255.240 The second port bge

  • Desktop 10.1.2.3

    Hi everyone One of my clients recently reported that they had upgraded their Desktop to 10.1.2.3. They are now getting issues with workbooks that were saved to the database in that they will not open. Workbooks saved to the file system have no such i

  • Manually defining Home directory path- reverts to "none"

    Our OS-X 10.4.8 setup centralises home directories on our server, no users have homedirs on local Macs. In WGM, I select a student, then the "Home" tab. As we nest homedir locations into folders by graduating year, I need to set the path manually. So

  • "Cannot sync ; required disk cannot not found"

    haha this is now the 2nd shuffle I have plugged into my computer and can no longer load any songs onto it and have deleted existing songs on 1. (1 being brand new and one being the shuffle I have always used with this computer). I go to transfer 1 so