Results 1 to 4 of 4
  1. #1
    vishnujava is offline Member
    Join Date
    Apr 2008
    Posts
    14
    Rep Power
    0

    Default Exception in JYMSG application

    Hi everybody,

    actually i am executing the swing application to connect yahoo messenger through swing application,
    (i got this application from the link..."devx.com/Java/Article/22546")
    while executing the app. im getting the exception like...

    Attempting login
    java.net.UnknownHostException: scs.msg.yahoo.com
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at ymsg.network.DirectConnectionHandler.open(Unknown Source)
    at ymsg.network.Session.login(Unknown Source)
    at YahooClient.login(YahooClient.java:178)
    at YahooClient.actionPerformed(YahooClient.java:244)
    at javax.swing.AbstractButton.fireActionPerformed(Unk nown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed (Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed (Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseRe leased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent( Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(U nknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierar chy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarch y(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Window Deactivated


    how can i resolve it, anybody plz help me.

    thanks in advance,

    - Vishnu

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    Are you sure that is a valid URL? I get a 404 when I use it.
    What happens when you enter that URL in your browser?

  3. #3
    vishnujava is offline Member
    Join Date
    Apr 2008
    Posts
    14
    Rep Power
    0

    Default

    Hi Norm,

    Actually in downloaded jar file that url might be mentioned....
    I think we can't chage it,

    from browser me aslo getting same 404 error.

    waiting for solution...

  4. #4
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    17,902
    Rep Power
    25

    Default

    If the URL is invalid and you can't change it, I have no suggestions on how to solve it.

Similar Threads

  1. why this exception
    By payal.mitra86 in forum JDBC
    Replies: 1
    Last Post: 05-21-2008, 11:28 PM
  2. Exception!
    By rameshraj in forum Advanced Java
    Replies: 1
    Last Post: 05-05-2008, 02:39 PM
  3. Replies: 1
    Last Post: 03-08-2008, 07:41 PM
  4. Replies: 0
    Last Post: 02-16-2008, 10:31 PM
  5. Replies: 0
    Last Post: 02-16-2008, 10:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •