JDBC connectivity please help...

i already created a datasource at my administrative tools with
Data Source Name: PayrollData
Databse selected is:G:\java app\payroll\data\payrolldata.mdb
payrolldata.mdb has a mastempl table this is a list of personnel.
here is my code to connect to my database:
protected void lostFoc(){
String data="jdbc:odbc:PayrollData";
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn=DriverManager.getConnection(data,"","");
Statement stm=conn.createStatement();
ResultSet rsmastempl=stm.executeQuery("SELECT * FROM mastempl");
txtecode.setText(rsmastempl.getString("ecode")); //display 1 of the many account numbers in the mastempl table.
stm.close();
catch (SQLException s){
catch (Exception e){
when executing this method from it seems that there is no records being retrieved and it seems that the ResultSet rsmastempl is empty.
what is wrong with my code?
thank u for helping me.
killuasoft

Hi
After retriving data from batabase into resultset object,we have to keep a while condition which is modified as below,then it wont give empty
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn=DriverManager.getConnection(data,"","");
Statement stm=conn.createStatement();
ResultSet rsmastempl=stm.executeQuery("SELECT * FROM mastempl");
while(rsmastempl.next)
txtecode.setText(rsmastempl.getString("ecode")); //display 1 of the
many account numbers in the mastempl table.
stm.close();
catch (SQLException s){
catch (Exception e){
}

Similar Messages

  • JBO-26061, Error while opening JDBC connection, please help

    Hello
    I am new to JDeveloper suite.
    I tried to follow BC4J/JSP tutorial found in "JDeveloper Handbook" but every time I try to execute my starter page, I get the following error:
    Error Message: JBO-29000: Unexpected exception caught: oracle.jbo.DMLException, msg=JBO-26061: Error while opening JDBC connection.
    Connection test runs successfully in JDev itself and I had no trouble with creating BC4j components (entity object, view and application module), mapping fields etc. Bc4j.xcfg file looks OK as well as server.xml of OC4J server.
    I guess that OC4J server is unable to connect to database, but I cannot see why and what could be done about it.
    Any recommendations would be warmly appreciated. Please send cc to [email protected] as well.
    Thanks in advance,
    Kristjan

    Kristjan,
    BC4J has a tester that can be used to test applications. Right mousew click onto the Application Module and choose tester from the menu. Use setting as defaulted. If this can't connect, then obviously the database connection defined for the Application module is different from the one you are testing. Also, make sure the database password of the connection gets deployed (checkbox option in the connection dialog)
    Frank

  • My iphone 5 only connects to wifi when i'm in the room which has the router. once i leave i get no connections. please help me.

    i have a iphone 5. i can only connect to the wifi when im in the same room as the router. once i leave my wifi does not connect. please help me fix this.

    Hello nishaanth,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning network issues:
    iOS: Troubleshooting Wi-Fi networks and connections
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

  • Protocol Confusion of freeTDS jdbc driver, please help!

    I use freeTDS jdbc driver to connect to MS SQL 2000. In my programme, firstly I need to select sth out, and base on this update the other field in the same table. TOC will like that
    Statement stmt1 = conn.createStatement();
    ResultSet rs1 = stmt1.executeQuery("select sth from table");
    stmt1.executeUpdate("update table set field1 = 'xxx'");
    exception throw: java.sql.SQLException: Protocol confusion. Got a 0x79 packet
    I checked from the source of TDS driver, this exception throws when the sql query output is not a resultset.
    These 2 querys are prefectly okay individually, I tried to reverse the order, doesn't work neither. Even I disconnect the DB Connection and reconnect it before running the 2nd query, it won't help.
    Please help!

    I haven't used freetds, but seems like defaul version is 5.0. Try it with 7.0 and see it works better. By the way, JDBC driver's readme says that it was only tested with MSSQL 6.5 and 7.0.
    ---- FAQ from freetds.org ----
    Do I need to configure anything?
    When you untar the package you will need to run:
    $ ./configure
    You also have the following options you can add to the configure statement:
    --with-tdsver=VERSION
    specify the TDS version to use
    (4.2, 4.6, 5.0, or 7.0) [default is 5.0].
    --enable-msdblib
    enable Microsoft APIs and behaviour for DBLib
    --enable-dbmfix
    rename dbopen() to tdsdbopen() as a work around for dbm name conflict
    --with-gnu-ld
    assume the C compiler uses GNU ld [default=no]
    --enable-shared
    build shared libraries [default=yes]
    --enable-static
    build static libraries [default=yes]
    IMPORTANT You must build with TDS version 4.2 to access a MSSQL server or Sybase prior to 10.0! TDS 7.0 may also be used to talk to MS SQL 7 and above.

  • I suppose it is the problem with socket connection,Please help

    Hi,
    I'm trying to build a chat server in Java on Linux OS.I've created basically 2 classes in the client program.The first one shows the login window.When we enter the Login ID & password & click on the ok button,the data is sent to the server for verification.If the login is true,the second class is invoked,which displays the messenger window.This class again access the server
    for collecting the IDs of the online persons.But this statement which reads from the server causes an exception in the program.If we invoke the second class independently(ie not from 1st class) then there is no problem & the required data is read from the server.Can anyone please help me in getting this program right.I'm working on a p4 machine with JDK1.4.
    The Exceptions caused are given below
    java.net.SocketException: Connection reset by peer: Connection reset by peer
    at java.net.SocketInputStream.SocketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:119)
         at java.io.InputStreamReader$CharsetFiller.readBytes(InputStreanReader.java :339)
         at java.io.InputStreamReader$CharsetFiller.fill(InputStreamReader.java:374)
         at java.io.InputStreamReader.read(InputStreamReader.java:511)
         at java.io.BufferedReader.fill(BufferedReader.java:139)
         at java.io.BufferedReader.readLine(BufferedReader.java:299)
         at java.io.BufferedReader.readLine(BufferedReader.java:362)
         at Login.LoginData(Login.java:330)
         at Login.test(Login.java:155)
         at Login$Buttonhandler.actionPerformed(Login.java:138)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1722)
         at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:17775)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:4141)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:253)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:261)
         at java.awt.Component.processMouseEvent(Component.java:4906)
         at java.awt.Component.processEvent(component.java:4732)
         at java.awt.Container.processEvent(Container.java:1337)
         at java.awt.component.dispatchEventImpl(Component.java:3476)
         at java.awt.Container.dispatchEventImpl(Container.java:1399)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3302)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3014)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2967)
         at java.awt.Container.dispatchEventImpl(Container.java:1373)
         at java.awt.window.dispatchEventImpl(Window.java:1459)
         at java.awt.Component.dispatchEvent(Component.java:3343)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
         at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:150)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:131)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
         My program looks somewhat like this :
    1st class definition:
    public class Login extends Jframe// Login is the name of the first class;
    Socket connection;
    DataOutputStream outStream;
    BufferedReader inStream;
    Frame is set up here
    public class Buttonhandler implements ActionListener
    public void actionPerformed(ActionEvent e) {
    String comm = e.getActionCommand();
    if(comm.equals("ok")) {
    check=LoginCheck(ID,paswd);
    test();
    public void test() //checks whether the login is true
    if(check)
    new Messenger(ID);// the second class is invoked
    public boolean LoginCheck(String user,String passwd)
    //Enter the Server's IP & port below
    String destination="localhost";
    int port=1234;
    try
    connection=new Socket(destination,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStream = new BufferedReader(new InputStreamReader(connection.getInputStream()));
    outStream=new DataOutputStream(connection.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    System.out.println("connected to "+destination+" at port "+port+".");
    BufferedReader keyboardInput=new BufferedReader(new InputStreamReader(System.in));
    String receive=new String();
    try{
    receive=inStream.readLine();
    }catch(IOException ex){ error("Error reading from server");}
    if(receive.equals("Logintrue"))
    check=true;
    else
    check=false;
    try{
    inStream.close();
    outStream.close();
    connection.close();
    }catch (IOException ex){
    error("IO error closing socket");
    return(check);
    // second class is defined below
    public class Messenger
    Socket connect;
    DataOutputStream outStr;
    BufferedReader inStr;
    public static void main(String args[])
    { Messenger mes = new Messenger(args[0]);}
    Messenger(String strg)
    CreateWindow();
    setupEvents();
    LoginData(strg);
    fram.show();
    void setupEvents()
    fram.addWindowListener(new WindowHandler());
    login.addActionListener(new MenuItemHandler());
    quit.addActionListener(new MenuItemHandler());
    button.addActionListener(new Buttonhandle());
    public void LoginData(String name)
    //Enter the Server's IP & port below
    String dest="localhost";
    int port=1234;
    int r=0;
    String str[]=new String[40];
    try
    connect=new Socket(dest,port);
    }catch (UnknownHostException ex){
    error("Unknown host");
    catch (IOException ex){
    ex.printStackTrace ();
    error("IO error creating socket ");
    try{
    inStr = new BufferedReader(new InputStreamReader(connect.getInputStream()));
    outStr=new DataOutputStream(connect.getOutputStream());
    }catch (IOException ex){
    error("IO error getting streams");
    ex.printStackTrace();
    String codeln=new String("\n");
    try{
    outStr.flush();
    outStr.writeBytes("!@*&!@#$%^");//code for sending logged in users
    outStr.writeBytes(codeln);
    outStr.write(13);
    outStr.flush();
    String check="qkpltx";
    String receive=new String();
    try{
    while((receive=inStr.readLine())!=null) //the statement that causes the exception
    if(receive.equals(check))
    break;
    else
         str[r]=receive;
         r++;
    }catch(IOException ex){ex.printStackTrace();error("Error reading from socket");}
    catch(NullPointerException ex){ex.printStackTrace();}
    } catch (IOException ex){ex.printStackTrace();
    error("Error reading from keyboard or socket ");
    try{
    inStr.close();
    outStr.close();
    connect.close();
    }catch (IOException ex){
    error("IO error closing socket");
    for(int l=0,k=1;l<r;l=l+2,k++)
    if(!(str[l].equals(name)))
    stud[k]=" "+str[l];
    else
    k--;
    public class Buttonhandle implements ActionListener
    public void actionPerformed(ActionEvent e) {
    //chat with the selected user;
    public class MenuItemHandler implements ActionListener
    public void actionPerformed(ActionEvent e)
    String cmd=e.getActionCommand();
    if(cmd.equals("Disconnect"))
    //Disconnect from the server
    else if(cmd.equals("Change User"))
         //Disconnect from the server & call the login window
    else if(cmd.equals("View Connection Details"))
    //show connection details;
    public class WindowHandler extends WindowAdapter
    public void windowClosing(WindowEvent e){
    //Disconnect from server & then exit;
    System.exit(0);}
    I�ll be very thankful if anyone corrects the mistake for me.Please help.

    You're connecting to the server twice. After you've successfully logged in, pass the Socket to the Messenger class.
    public class Messenger {
        Socket connect;
        public static void main(String args[]) {
            Messenger mes = new Messenger(args[0]);
        Messenger(Socket s, String strg) {
            this.connect = s;
            CreateWindow();
            setupEvents();
            LoginData(strg);
            fram.show();
    }

  • TS1368 I got an new nano for christmas and l put it in to the computer, l just got Windows 8 on my computer, l am unable to connect my new nano to my computer. l have deleted itunes and put it back on my computer and still unable to connect please help me

    I got a new nano l am unable to connect it on my computer, l have windows 8. I have deleted itunes and downloaded back on my computer, l still am unable to connect my nano to my computer.
    When l put my nano on the computer itunes saids "Accessing Itunes" it is not connecting.
    Please help me.
    Thanks

    Uninstalling and reinstalling iTunes has no affect on the media on the computer or the account it is linked to.
    If the media was purchased under another iTunes account, then it is permanently tied to that account.
    Using mulitple iDevices with one computer

  • My Wifi connection is fine and will connect to safari, but my apps wont connect, they say no internet connection, please help me

    Using my wifi, i can connect to safari fine, but my apps like; twitter, youtube, facebook and other apps that require internet connecton wont connect at all, i have tried resetting my network but that has not helped, please help me!

    go to settings date and time then set automatically ;D
    hope this helped you

  • Very slow connection, please help!

    Hi all
    I hope someone here can give more help than the BT call centre. 
    My speed has dropped dramatically over the last month. I have gone from getting around 3.5mbps-4mbps to now less than 0.5mbps.
    I have done the BT speed test and I have also copied the ADSL settings and status. I have pasted this below.  
    Can someone please advise me of any advice as I am stumped. I would consider myself pretty computer savvy but I am completly at a loss with this.
    This test is done using a wireless laptop whilst the Homehub was plugged into the test socket located on the master socket. The speed tests are identical to when I do this on a wired desktop and the Homehub plugged into a different socket. 
    BT Speed tester results
    Download speedachieved during the test was - 465 Kbps
    For your connection, the acceptable range of speeds is 50-500 Kbps.
    Additional Information:
    Your DSL Connection Rate :5376 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
    IP Profile for your line is - 500 Kbps
    ADSL line status
    Connection information
    Line state Connected
    Connection time 0 days, 0:14:26
    Downstream 5,376 Kbps
    Upstream 448 Kbps
    ADSL settings
    VPI/VCI 0/38
    Type PPPoA
    Modulation ITU-T G.992.1
    Latency type Interleaved
    Noise margin (Down/Up) 11.1 dB / 19.0 dB
    Line attenuation (Down/Up) 41.0 dB / 25.0 dB
    Output power (Down/Up) 19.8 dBm / 12.0 dBm
    Loss of Framing (Local) 0
    Loss of Signal (Local) 0
    Loss of Power (Local) 0
    FEC Errors (Down/Up) 351550 / 2
    CRC Errors (Down/Up) 224 / 2147480000
    HEC Errors (Down/Up) nil / 0
    Error Seconds (Local) 164
    BT have advised that the speed test is the maximum I can receive on my line but the homehub shows a massively higher speed. I'm confused. 
    Please help me!
    Many thanks
    Lee

    welcome to the forum
    you have a 5mb connection but your noise margin is a bit high at 11.1 as normal about 6.  the real problem is your profile is down at 500 instead of 4500 and this is probably due to the resets/disconnection which eithe you have done trying to improve your speed or the hub has done on it's own.
    if you stay connected 24/5 for 3/5 with no resets/disconnections your profile will rise to 4500.  you may find later that your noise margin drops to nearer 6 with a slight increase in your connection speed
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Christmas Connection - Please help - CABLE/Netgear

    I am buying my little brother a macbook for christmas.
    my parents who live in the same house have a mini mac and i just ordered them a Netgear RangeMax 802.11g Wireless Router so that my brother can get online with the same connection. I can walk my parents through setting up the wireless router over the phone but not really sure what I need to tell my brother to setup the connection for his system?
    As long as the router is hooked up right will the macbook automatically locate the connection from the netgear router?
    Please help.
    13 INCH mac book - Intel Core 2 Duo   Mac OS X (10.4.8)  

    He can click on the Airport icon, and should see the network listed. If it is encrypted, it will ask for the password once he click on the network's name. He enters the password, and Airport will connect.
    If it is unencrypted, Airport will usually pop up and ask if he would like to join the open wireless network.
    Core 2 Duo White MacBook - 2GB ram/ 160GB HD   Mac OS X (10.4.8)  

  • 40GB IPod Click Wheel Freezes iTunes When Connected - Please Help?!

    I have only had my ipod 3 months and it was given to me as a present so the ipod thing is quite new to me.
    Recently my ipod froze and after reseting as per instructions it showed a folder icon and apple support.com.
    I turned the ipod back on after that to find all my music files gone, i tried connecting my ipod back to my lap top to download the music again but iTunes just freezes.
    I have also placed my ipod in disk mode to completley restore it but i cannot do this if iTunes wont recoginze its there.
    I am completely lost and gutted that after only 3 months i have lost faith in the ipod already and just listen to my music through my lap top at home now.
    I left all my cd's back in england before i came to oz and have nothing to listen to in the car now.
    Can anyone please help?
    Thanks in advance

    I guess nobody else has had this problem?
    Does anybody know if you can e-mail apple direct to express how useless their services are or even to try to get an explanation from them of how to correct the problem before i throw their ipod in the bin?

  • I cant connect to iMessage  with my phone number and  I'm on wifi and i have a cellular connection please help

    Please help  me get iMessage with my number

    First, log out of everything including home sharing, imessage, facetime and appstore. Turn on airplane mode for a few seconds and retry turning on imessage.
    You can also try instead of airplane mode you can turn off your phone instead then retry imessage.

  • I get message when attempting to access many websites - unrusted connection, please help

    I have been accessing many websites via firefox for many years, but over the past3-4 days I have been receiving the message - untrusted website, with the technical details informing me that www.google.com uses an invalid security certificate because no issuer chain was provided. I have uninstalled firefox 31, and replaced it with No:30, but it has made no difference because the problem still persists in this version as well. I have tried going through chrome and yahoo to those same sites but I experience very slow dial up type speeds in pages both loading and opening through those other browsers, and I am now feeling very frustrated in going onto the net at all presently, and I've just upgraded my data usage through my provider www.slingshot.co.nz from 40 to 80 gigs per month, but this is now also feeling like a lost cause as well. I am hoping someone at firefox may be able to help resolve this very troublesome issue, although I have also read some other stories contributed on this same matter, but I do not know if they were ever resolved either. Please help because I am now at my wits end upon it and have nothing else able to do, including what to do with the trouble shooter I downloaded at your suggestion from firefox - Thankyou.

    Meanwhile, assuming the worst (malware), here are some suggestions for clean up.
    Open the Windows '''Control Panel''', Uninstall a Program. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
    In particular, be on the lookout for Browser Safeguard (or similar name) or Sendori.
    Then, in Firefox, open the '''Add-ons page''' using either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable (or Remove, if possible) unrecognized and unwanted extensions.
    Often a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Finally, you can "mop up" remaining issues with the scanning/cleaning tools suggested in this support article: [[Troubleshoot Firefox issues caused by malware]].
    Any change?

  • ODI11 jdbc Cannot Get Jdbc Connection Exception - HELP!

    Dear
    I'm trying to make a conexion a new facility in the ODI 11 in a new machine.
    that occurs when you try to configure the conexion at exactly the moment that will define the repository of work the following error occurs.
    ==
    Parameters
    Odi user and password - OK (checked and is correct)
    Repository User and Master password - ok (checked and is correct)
    Driver List - oracle.jdbc.OracleDriver
    URL>
    jdbc: oracle: thin: @ (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = sss.rrr3.ttttj.ggg.br) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RRR3) ))
    and
    Error Text>
    oracle.odi.core.config.MasterRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Can not get connection Data Source
    at oracle.odi.core.repository.Repository.getMasterRepository (Repository.java: 74)
    at oracle.odi.core.OdiInstance.createMasterRepository (OdiInstance.java: 501)
    at oracle.odi.core.OdiInstance. <init> (OdiInstance.java: 553)
    at oracle.odi.core.OdiInstance.createInstance (OdiInstance.java: 529)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.jButtonRepository_ActionPerformed (SnpsDialogLoginDetail.java: 1209)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.connEtoC9 (SnpsDialogLoginDetail.java: 394)
    com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.access at $ 15 (SnpsDialogLoginDetail.java: 390)
    com.sunopsis.graphical.dialog.SnpsDialogLoginDetail at $ IvjEventHandler.actionPerformed (SnpsDialogLoginDetail.java: 186)
    at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
    javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
    at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.Component.processMouseEvent (Component.java: 6267)
    at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
    at java.awt.Component.processEvent (Component.java: 6032)
    at java.awt.Container.processEvent (Container.java: 2041)
    at java.awt.Component.dispatchEventImpl (Component.java: 4630)
    at java.awt.Container.dispatchEventImpl (Container.java: 2099)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
    at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
    at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
    at java.awt.Container.dispatchEventImpl (Container.java: 2085)
    at java.awt.Window.dispatchEventImpl (Window.java: 2478)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 178)
    java.awt.Dialog at $ 1.run (Dialog.java: 1046)
    java.awt.Dialog at $ 3.Run (Dialog.java: 1098)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show (Dialog.java: 1096)
    at java.awt.Component.show (Component.java: 1563)
    at java.awt.Component.setVisible (Component.java: 1515)
    at java.awt.Window.setVisible (Window.java: 842)
    at java.awt.Dialog.setVisible (Dialog.java: 986)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.snpsInitializeDisplayAll (SnpsDialogLoginDetail.java: 1475)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.snpsInitialize (SnpsDialogLoginDetail.java: 1421)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail.initialize (SnpsDialogLoginDetail.java: 1096)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail. <init> (SnpsDialogLoginDetail.java: 230)
    at com.sunopsis.graphical.dialog.SnpsDialogLoginDetail. <init> (SnpsDialogLoginDetail.java: 208)
    at oracle.odi.ui.LoginFactory.createLoginDetailDialog (LoginFactory.java: 218)
    at oracle.odi.ui.LoginFactory.createNewLogin (LoginFactory.java: 291)
    at com.sunopsis.graphical.dialog.SnpsDialogLogin.jToolBarButtonNew_ActionPerformed (SnpsDialogLogin.java: 853)
    at com.sunopsis.graphical.dialog.SnpsDialogLogin.connEtoC1 (SnpsDialogLogin.java: 166)
    com.sunopsis.graphical.dialog.SnpsDialogLogin at $ IvjEventHandler.actionPerformed (SnpsDialogLogin.java: 120)
    at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
    javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
    at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.Component.processMouseEvent (Component.java: 6267)
    at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
    at java.awt.Component.processEvent (Component.java: 6032)
    at java.awt.Container.processEvent (Container.java: 2041)
    at java.awt.Component.dispatchEventImpl (Component.java: 4630)
    at java.awt.Container.dispatchEventImpl (Container.java: 2099)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
    at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
    at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
    at java.awt.Container.dispatchEventImpl (Container.java: 2085)
    at java.awt.Window.dispatchEventImpl (Window.java: 2478)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 178)
    java.awt.Dialog at $ 1.run (Dialog.java: 1046)
    java.awt.Dialog at $ 3.Run (Dialog.java: 1098)
    at java.security.AccessController.doPrivileged (Native Method)
    at java.awt.Dialog.show (Dialog.java: 1096)
    at java.awt.Component.show (Component.java: 1563)
    at java.awt.Component.setVisible (Component.java: 1515)
    at java.awt.Window.setVisible (Window.java: 842)
    at java.awt.Dialog.setVisible (Dialog.java: 986)
    at com.sunopsis.graphical.dialog.SnpsAbstractDialog.setVisible (SnpsAbstractDialog.java: 299)
    at oracle.odi.ui.OdiConnectController.handleEvent (OdiConnectController.java: 114)
    at oracle.ide.controller.IdeAction.performAction (IdeAction.java: 529)
    at oracle.ide.controller.IdeAction.actionPerformedImpl (IdeAction.java: 884)
    at oracle.ide.controller.IdeAction.actionPerformed (IdeAction.java: 501)
    oracle.odi.ui.docking.AbstractOdiDockableWindow at $ 1.actionPerformed (AbstractOdiDockableWindow.java: 203)
    at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java: 1995)
    javax.swing.AbstractButton at $ Handler.actionPerformed (AbstractButton.java: 2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java: 387)
    at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java: 242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java: 236)
    at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java: 272)
    at java.awt.Component.processMouseEvent (Component.java: 6267)
    at javax.swing.JComponent.processMouseEvent (JComponent.java: 3267)
    at java.awt.Component.processEvent (Component.java: 6032)
    at java.awt.Container.processEvent (Container.java: 2041)
    at java.awt.Component.dispatchEventImpl (Component.java: 4630)
    at java.awt.Container.dispatchEventImpl (Container.java: 2099)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java: 4577)
    at java.awt.LightweightDispatcher.processMouseEvent (Container.java: 4238)
    at java.awt.LightweightDispatcher.dispatchEvent (Container.java: 4168)
    at java.awt.Container.dispatchEventImpl (Container.java: 2085)
    at java.awt.Window.dispatchEventImpl (Window.java: 2478)
    at java.awt.Component.dispatchEvent (Component.java: 4460)
    at java.awt.EventQueue.dispatchEvent (EventQueue.java: 599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters (EventDispatchThread.java: 269)
    at java.awt.EventDispatchThread.pumpEventsForFilter (EventDispatchThread.java: 184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java: 174)
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java: 169)
    at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java: 161)
    at java.awt.EventDispatchThread.run (EventDispatchThread.java: 122)
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection (DataSourceUtils.java: 82)
    at org.springframework.jdbc.core.JdbcTemplate.execute (JdbcTemplate.java: 524)
    at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 588)
    at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 613)
    at org.springframework.jdbc.core.JdbcTemplate.query (JdbcTemplate.java: 645)
    at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 111)
    at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 121)
    at org.springframework.jdbc.object.SqlQuery.execute (SqlQuery.java: 136)
    oracle.odi.core.repository.support.RepositoryUtils at $ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java: 179)
    at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo (RepositoryUtils.java: 373)
    at oracle.odi.core.repository.Repository.getMasterRepository (Repository.java: 72)
    ... 113 more
    Caused by: java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection (LoginTimeoutDatasourceAdapter.java: 133)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection (LoginTimeoutDatasourceAdapter.java: 62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection (DataSourceUtils.java: 113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection (DataSourceUtils.java: 79)
    ... 123 more
    Caused by: java.sql.SQLException: Exception while getting connection: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at oracle.ucp.util.UCPErrorHandler.newSQLException (UCPErrorHandler.java: 541)
    at oracle.ucp.jdbc.PoolDataSourceImpl.throwSQLException (PoolDataSourceImpl.java: 587)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 668)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 613)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 607)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java: 39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 25)
    at java.lang.reflect.Method.invoke (Method.java: 597)
    oracle.odi.core.datasource.support.RuntimeClassLoaderDataSourceCreator at $ DataSourceInvocationHandler.invoke (RuntimeClassLoaderDataSourceCreator.java: 41)
    Proxy0.getConnection at $ (Unknown Source)
    oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter at $ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java: 217)
    java.util.concurrent.Executors at $ RunnableAdapter.call (Executors.java: 441)
    java.util.concurrent.FutureTask at $ Sync.innerRun (FutureTask.java: 303)
    at java.util.concurrent.FutureTask.run (FutureTask.java: 138)
    at java.util.concurrent.ThreadPoolExecutor $ Worker.runTask (ThreadPoolExecutor.java: 886)
    at java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java: 908)
    at java.lang.Thread.run (Thread.java: 662)
    Caused by: oracle.ucp.UniversalConnectionPoolException: Unable to get Connection from Data Source
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException (UCPErrorHandler.java: 421)
    at oracle.ucp.util.UCPErrorHandler.newUniversalConnectionPoolException (UCPErrorHandler.java: 389)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection (DriverConnectionFactoryAdapter.java: 133)
    oracle.ucp.common.UniversalConnectionPoolImpl at $ UniversalConnectionPoolInternal.createOnePooledConnectionInternal (UniversalConnectionPoolImpl.java: 1570)
    $ UniversalConnectionPoolInternal.access oracle.ucp.common.UniversalConnectionPoolImpl at $ 600 (UniversalConnectionPoolImpl.java: 1378)
    at oracle.ucp.common.UniversalConnectionPoolImpl.createOnePooledConnection (UniversalConnectionPoolImpl.java: 445)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnectionWithoutCountingRequests (UniversalConnectionPoolImpl.java: 302)
    at oracle.ucp.common.UniversalConnectionPoolImpl.borrowConnection (UniversalConnectionPoolImpl.java: 129)
    at oracle.ucp.jdbc.JDBCConnectionPool.borrowConnection (JDBCConnectionPool.java: 119)
    at oracle.ucp.jdbc.PoolDataSourceImpl.getConnection (PoolDataSourceImpl.java: 655)
    ... 15 more
    Caused by: java.sql.SQLException: ORA-01017: password / username invalid; log-on denied
    at oracle.jdbc.driver.SQLStateMapping.newSQLException (SQLStateMapping.java: 70)
    at oracle.jdbc.driver.DatabaseError.newSQLException (DatabaseError.java: 133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException (DatabaseError.java: 206)
    at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 455)
    at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 406)
    at oracle.jdbc.driver.T4CTTIoer.processError (T4CTTIoer.java: 399)
    at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth (T4CTTIoauthenticate.java: 799)
    at oracle.jdbc.driver.T4CConnection.logon (T4CConnection.java: 368)
    at oracle.jdbc.driver.PhysicalConnection. <init> (PhysicalConnection.java: 508)
    at oracle.jdbc.driver.T4CConnection. <init> (T4CConnection.java: 203)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection (T4CDriverExtension.java: 33)
    at oracle.jdbc.driver.OracleDriver.connect (OracleDriver.java: 510)
    at oracle.ucp.jdbc.DriverConnectionFactoryAdapter.createConnection (DriverConnectionFactoryAdapter.java: 129)
    ... 22 more
    ==
    >
    I think the problem is in jdbc
    but exhausted my ideas on how to fix
    this
    where:
    ODI already reinstalled 11
    checked path in SO (JAVA_HOME, ODI_JAVA_HOME am using C: \ Program Files \ Java \ bin \ jdk1.6.0_23)
    ORACLE_CLASSES am using C: \ oracle \ product \ 10.2.0 \ client_1 \ jdbc \ lib \ ojdbc14.jar
    and
    ORACLE_HOME is using C: \ oracle \ product \ 10.2.0 \ client_1
    My OS is windows vista business (the client machine odi11)
    connecting to the database oracle11
    have any suggestions for a procedure, something that did not, forgot or did not even know.
    Thank you.

    Hi Ankit Jain
    yes it's the second option,
    exactly the error occurs when I click the icon to select the repository of work - work_dev
    then this exception is generated
    =
    I select for the field
    Drivers List -
    the value >> Oracle JDBC Driver
    and then is placed in the Driver Name field
    value>> oracle.jdbc.OracleDriver
    and after I put a URL
    jdbc: oracle: thin: @ (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = sss.rrr3.ttttj.ggg.br) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = RRR3) ))
    It should say
    that
    This is occurring on a machine, but others the same configuration is working
    I think it's something of the environment on this machine,
    but no longer know what to test
    grateful for your attention.

  • Nokia BH 501, unstable connection please help

    Hi
    I just purchased the Nokia BH 501 stereo bluetooth headset. The sound quality is OK, but it has been very unstable espesially when I'm walking with my phone in my pocket it keeps falling out. I'm using it on a Nokia 6120 Classic. Is it anything I can do to improve the stability?
    Please help!

    Hi All,
    I am having the same problem. I have a 5310 Xpressmusic and I basically can't move at all with the bh 501. This is a very poor product as I bought them to use while exercising, usually walking, but it is the same on the train or whatever.
    It doesn't matter what pochet or whatever it is still the same problem - constant drop outs!
    Also the volume is not loud enough and it barely can cope with the sound of the tram (I live in Melbourne Australia) when I catch it to work.
    I am really very angry about this and have been putting comments that the product is lousy on technology evaluation sites.
    Have a look at http://www.cnet.com.au/mobilephones/accessories/0,239025938,339273962,00.htm
    and you will see many comments along the same lines.
    Is Nokia going to lift their game and tell and fix this problem for us or give our money back???
    FIX IT NOW - COMPLETE RIP OFF!!!!!

  • Problems connecting using MM.MySQL JDBC driver - Please Help

    I have been trying to get the driver to work for the past two days and have hit a brick wall. If someone could offer any ideas on what other steps to try I would so much appreciate it. Here's the situation:
    I'm working on Mac OS X.1, jdk 1.3, mysql (database) and using the mm.mysql driver version 2.0.6.1. I'm using a test script which loads the driver, tries to connect to the 'test' database (which doesn't require a username/password) and then prints out the systems date when successful.
    //load the driver
    Class.forName("org.gjt.mm.mysql.Driver");
    //Try connecting to db
    Connection conn = DriverManager.getConnection(jdbc:mysql:///test", "", "");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("SELECT now();");
    while (rset.next())
    System.out.println(rset.getString(1));
    // Close result set, statement and DB connection
    rset.close();
    stmt.close();
    conn.close();
    The problem is that everytime I run the script I get an error telling me that the driver could not be found:
    Exception in thread "main" java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    ��������at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    ��������at java.security.AccessController.doPrivileged(Native Method)
    ������at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    ��������at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
    ��������at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.j
    The mysql database is running in the background, the driver's path location has been added to my classpath and I've also tried modifying the driver name as well as using older versions of the driver itself, but still no luck. This needs to be up and running so I can finalize a project I've been working on. If anyone has any ideas on what I could possibly try next, I welcome the suggestions.
    Thanks in advance.

    I didn't realize you had to extract the information either.
    Ok.. so I downloaded the latest jar file from sourceforge, extracted the data and IT WORKED!! Thank you so much. You saved my head from exploding.
    Many thanks.
    -c

Maybe you are looking for

  • V_T554C Error, While Running the payoll.

    Hi all, When Im running my payroll,  the following error is displayed, as No entry in table T554C for key 40 01 40 for time 15.02.2010. even after configuring  the information in the table V_T554C, still then the same error is displayed. Pls guide me

  • Ora 24960 exception with VC9 and Oracle 11g - 11.1.0.6.0 client

    Hi, We have developed a OCCI client application using 10g express edition and visual studio 2003. It was working fine. Now we have migrated to 11g (11.1.0.6.0) client with visual studio 2008. VC version 9. We have migrated all .dll and .lib files bas

  • Distribution of InDesign CS3 Print Presets

    Is there a way to "mass" distribute InDesign Print Presets for InDesign CS3? Have a large list of Print Presets saved on a server. Would like to "push" them out to over 20 production Macs with CS3, using something like Apple Remote Desktop. Each Prin

  • Problems with Adobe CS2

    Hello all- I have a brand new mac that is less that a week old. 2 x 3 GHz Dual Core Intel Xeon 2 GB 667 MHz DDR2. I used migration assistant from my older G4, Mirrored door model. I have had nothing but problems with Photoshop and InDesign. They have

  • Increasing Download Speeds On 10.4.11 (Tiger)

    Hi I Have An Ibook G4 Running With 10.4.11 I Just Wanted To Know Is There A Way I Could Increase My Download Speeds Help Appreciated Hunt The Mac