squirrel | 2 Jul 2010 16:38

help troubleshoot login

Everytime I first run Squirrel, it will fail to login. My password is
already prepopulated. In order to make it work, I will have to click
Properties and under the Schemas tab, I will change the choice from "Load
and cache all Schemas" to "Load all Schemas, cache none". If I click
Connect button again, I will be able to login. If I click Close Session and
login again, it will be successful again. However, if I kill Squirrel
application and rerun it, my login will fail. I will now have to go back to
Schemas tab and change the current selection. :) Then it will work.

Did I mess up anything?

Thanks!

Neil

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
siegfried doerrer | 2 Jul 2010 19:26
Picon
Favicon

Can't start squirrel 3.1 any more - confused about Java compatibility

Over the past few weeks my installation of squirrel 3.1, which has worked flawlessly since installed a few months back no longer start on my 32-bit windows setup

I think this as happened ever since I installed itunes/Quicktime - which I think updated JRE to version1.6.0_19-b04.

looking at the squirrel-sql.bat file, I noticed that the version checker fails

""%LOCAL_JAVA%w" -cp "%SQUIRREL_SQL_HOME%\lib\versioncheck.jar" JavaVersionChecker 1.6 1.7"

I can start squirrel via "java -jar squirrel-sql.jar", but can't connect to ora cle anymore (get exception:

java.lang.NoClassDefFoundError: org/fife/ui/rtextarea/RTextArea
at net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.RSyntaxSQLEntryAreaFactory.createSQLEntryPanel(RSyntaxSQLEntryAreaFactory.java:37)
at net.sourceforge.squirrel_sql.plugins.syntax.SQLEntryPanelFactoryProxy.createSQLEntryPanel(SQLEntryPanelFactoryProxy.java:64
)

as far as I can tell, latest JRE = 1.6.0_20.  Do I need to install JDK?    Is anybody else having problems finding the JDK download? Seems to be missing from Oracle/Sun.



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
siegfried doerrer | 2 Jul 2010 19:58
Picon
Favicon

Re: Can't start squirrel 3.1 any more - confused about Java compatibility

C:\Program Files\squirrel-sql-3.1>java -Xmx256m -Dsun.java2d.noddraw=true -cp %S
QUIRREL_CP% net.sourceforge.squirrel_sql.client.Main %TMP_PARMS%
Exception in thread "main" java.lang.NoClassDefFoundError: Files\Java\jre6\lib\ext\QTJava/zip
Caused by: java.lang.ClassNotFoundException: Files\Java\jre6\lib\ext\QTJava.zip
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.find Class(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Files\Java\jre6\lib\ext\QTJava.zip.  Program will exit.

From: Robert Manning <robert.m.manning <at> gmail.com>
To: siegfried doerrer <sdoerrer <at> yahoo.com>
Sent: Fri, July 2, 2010 1:40:44 PM
Subject : Re: [Squirrel-sql-users] Can't start squirrel 3.1 any more - confused about Java compatibility

For now, you could comment out the call to "JavaVersionChecker".
Also, when you execute "java -version" on the command line, what
output do you get?

Starting SQuirreL using the jar (java -jar squirrel-sql.jar) gives the
JVM a static classpath defined in the Jar manifest.  It will not
pickup your Oracle JDBC driver if you placed it in your /lib folder
previously.  So, when you start it that way, you will need to modify
your Oracle driver definition in SQuirreL to add "Extra Classpath"
path to your driver jar file.

Rob

On Fri, Jul 2, 2010 at 1:26 PM, siegfried doerrer <sdoerrer <at> yahoo.com> wrote:
> Over the past few weeks my installation of squirrel 3.1, which has worked
> flawlessly since installed a few months back no longer start on my 32-bit
> windows setup
> I think this as happened ever since I installed itunes/Quicktime - which I
> think updated JRE to version1.6.0_19-b04.
> looking at the squirrel-sql.bat file, I noticed that the version checker
> fails
> ""%LOCAL_JAVA%w" -cp "%SQUIRREL_SQL_HOME%\lib\versioncheck.jar"
> JavaVersionChecker 1.6 1.7"
> I can start squirrel via "java -jar squirrel-sql.jar", but can't connect to
> oracle anymore (get exception:
> java.lang.NoClassDefFoundError: org/fife/ui/rtextarea/RTextArea
> at
> net.sourceforge.squirrel_sql.plugins.syntax.rsyntax.RSyntaxSQLEntryAreaFactory.createSQLEntryPanel(RSyntaxSQLEntryAreaFactory.java:37)
> at
> net.sourceforge.squirrel_sql.plugins.syntax.SQLEntryPanelFactoryProxy.createSQLEntryPanel(SQLEntryPanelFactoryProxy.java:64
> )
> as far as I can tell, latest JRE = 1.6.0_20.  Do I need to install JDK?
>  Is anybody else having problems finding the JDK download? Seems to be
> missing from Oracle/Sun.
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Squirrel-sql-users mailing list
> Squirrel-sql-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
Eduardo Castro | 5 Jul 2010 14:11
Picon

How to set charset

Hi,

   how can I set the charset of SQuirreL?

Regards,
Eduardo

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Squirrel-sql-users mailing list
Squirrel-sql-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
Gabriele Brosulo | 5 Jul 2010 16:03
Favicon

Java problem??

Hi all,
Im' running a squirrelsql on my debian squeeze and everithing looks fine 
until I try a connection.

Trying "File" -> "Global Preferences" -> "Update" -> "test connection"
I got the error reported below. Following my java version:

#java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)

The error (sorry for the length, bun I'm not a Java programmer, so I 
don't know what does it's important and what doesn't):

387530 [AWT-EventQueue-1] DEBUG 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl  - 
downloadCurrentRelease: host=www.squirrel-sql.net port=80 
path=updates/stable fileToGet=release.xml
387531 [AWT-EventQueue-1] DEBUG 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl  - 
downloadHttpFile: writing http response body to file: 
/home/g4b0/update/downloads/release.xml
387531 [AWT-EventQueue-1] DEBUG 
net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl  - 
downloadHttpFile: downloading file (release.xml) from url: 
http://www.squirrel-sql.net/updates/stable/release.xml
387531 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.methods.GetMethod  - enter GetMethod(String)
387531 [AWT-EventQueue-1] DEBUG org.apache.commons.httpclient.HttpClient 
  - enter HttpClient.executeMethod(HttpMethod)
387531 [AWT-EventQueue-1] DEBUG org.apache.commons.httpclient.HttpClient 
  - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
387531 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 1 to 
process request
387531 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
387531 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - Open connection to 
www.squirrel-sql.net:80
387533 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387533 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
387533 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
387533 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387533 [AWT-EventQueue-1] INFO 
org.apache.commons.httpclient.HttpMethodDirector  - I/O exception 
(java.net.SocketException) caught when processing request: Network is 
unreachable
387533 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Network is unreachable
java.net.SocketException: Network is unreachable
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.<init>(Socket.java:375)
	at java.net.Socket.<init>(Socket.java:249)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
	at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at 
net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
	at 
net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at 
javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	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:4574)
	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 
net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
	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)
387534 [AWT-EventQueue-1] INFO 
org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
387534 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 2 to 
process request
387534 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
387534 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - Open connection to 
www.squirrel-sql.net:80
387534 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387535 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
387535 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
387535 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387535 [AWT-EventQueue-1] INFO 
org.apache.commons.httpclient.HttpMethodDirector  - I/O exception 
(java.net.SocketException) caught when processing request: Network is 
unreachable
387535 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Network is unreachable
java.net.SocketException: Network is unreachable
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.<init>(Socket.java:375)
	at java.net.Socket.<init>(Socket.java:249)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
	at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at 
net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
	at 
net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at 
javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	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:4574)
	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 
net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
	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)
387536 [AWT-EventQueue-1] INFO 
org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 3 to 
process request
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - Open connection to 
www.squirrel-sql.net:80
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387536 [AWT-EventQueue-1] INFO 
org.apache.commons.httpclient.HttpMethodDirector  - I/O exception 
(java.net.SocketException) caught when processing request: Network is 
unreachable
387536 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Network is unreachable
java.net.SocketException: Network is unreachable
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.<init>(Socket.java:375)
	at java.net.Socket.<init>(Socket.java:249)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
	at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at 
net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
	at 
net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at 
javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	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:4574)
	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 
net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
	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)
387538 [AWT-EventQueue-1] INFO 
org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
387538 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 4 to 
process request
387538 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
387538 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - Open connection to 
www.squirrel-sql.net:80
387538 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387538 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
387538 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
387538 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.closeSockedAndStreams()
387539 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpMethodDirector  - Method retry handler 
returned false. Automatic recovery will not be attempted
387539 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - enter 
HttpConnection.releaseConnection()
387539 [AWT-EventQueue-1] DEBUG 
org.apache.commons.httpclient.HttpConnection  - Releasing connection 
back to connection manager.
387539 [AWT-EventQueue-1] ERROR 
net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl  - 
downloadHttpFile: Unexpected exception while attempting to open an HTTP 
connection to url 
(http://www.squirrel-sql.net/updates/stable/release.xml) to download a 
file (/home/g4b0/update/downloads/release.xml): Network is unreachable
java.net.SocketException: Network is unreachable
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:529)
	at java.net.Socket.connect(Socket.java:478)
	at java.net.Socket.<init>(Socket.java:375)
	at java.net.Socket.<init>(Socket.java:249)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
	at 
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
	at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
	at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
	at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
	at 
net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
	at 
net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
	at 
net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at 
javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	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:4574)
	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 
net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
	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)

-- 
Gabriele Dr. Brosulo
  Responsabile Web
  EdiSoft Srl
  Sede Legale: Corso Piemonte, 13
  Sede Operativa: Via Bodoni, 23/25
  12037 SALUZZO (CN)
  Tel. + 39 0175 43443
  Fax. + 39 0175 475196
  E-mail: brosulo <at> edisoft.net
  Web Principale: www.edisoft.net
  Divisione Internet: internet.edisoft.net
  Divisione Verticali: verticali.edisoft.net
  Divisione Servizi: servizi.edisoft.net
  -----------------------------------------
  Informativa sulla privacy reperibile presso:
  http://www.edisoft.net/privacy/informativa.pdf

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Robert Manning | 5 Jul 2010 16:38
Picon
Gravatar

Re: Java problem??

It appears that you were attempting to test the connection for
software updates to the update site (www.squirrel-sql.net) and for
some reason that host is unreachable to you.  Perhaps you use a proxy
to connect to the Internet ? (If so, checkout "Global Preferences" ->
"Proxy")

Rob

On Mon, Jul 5, 2010 at 10:03 AM, Gabriele Brosulo <brosulo <at> edisoft.net> wrote:
> Hi all,
> Im' running a squirrelsql on my debian squeeze and everithing looks fine
> until I try a connection.
>
> Trying "File" -> "Global Preferences" -> "Update" -> "test connection"
> I got the error reported below. Following my java version:
>
> #java -version
> java version "1.6.0_20"
> Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
> Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
>
> The error (sorry for the length, bun I'm not a Java programmer, so I
> don't know what does it's important and what doesn't):
>
> 387530 [AWT-EventQueue-1] DEBUG
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl  -
> downloadCurrentRelease: host=www.squirrel-sql.net port=80
> path=updates/stable fileToGet=release.xml
> 387531 [AWT-EventQueue-1] DEBUG
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl  -
> downloadHttpFile: writing http response body to file:
> /home/g4b0/update/downloads/release.xml
> 387531 [AWT-EventQueue-1] DEBUG
> net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl  -
> downloadHttpFile: downloading file (release.xml) from url:
> http://www.squirrel-sql.net/updates/stable/release.xml
> 387531 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.methods.GetMethod  - enter GetMethod(String)
> 387531 [AWT-EventQueue-1] DEBUG org.apache.commons.httpclient.HttpClient
>  - enter HttpClient.executeMethod(HttpMethod)
> 387531 [AWT-EventQueue-1] DEBUG org.apache.commons.httpclient.HttpClient
>  - enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
> 387531 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 1 to
> process request
> 387531 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
> 387531 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - Open connection to
> www.squirrel-sql.net:80
> 387533 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387533 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
> 387533 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
> 387533 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387533 [AWT-EventQueue-1] INFO
> org.apache.commons.httpclient.HttpMethodDirector  - I/O exception
> (java.net.SocketException) caught when processing request: Network is
> unreachable
> 387533 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Network is unreachable
> java.net.SocketException: Network is unreachable
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>        at java.net.Socket.connect(Socket.java:529)
>        at java.net.Socket.connect(Socket.java:478)
>        at java.net.Socket.<init>(Socket.java:375)
>        at java.net.Socket.<init>(Socket.java:249)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
>        at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>        at
> net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
>        at
> net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
>        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>        at
> javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
>        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>        at java.awt.Component.processEvent(Component.java:6028)
>        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:4574)
>        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
> net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
>        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)
> 387534 [AWT-EventQueue-1] INFO
> org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
> 387534 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 2 to
> process request
> 387534 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
> 387534 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - Open connection to
> www.squirrel-sql.net:80
> 387534 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387535 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
> 387535 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
> 387535 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387535 [AWT-EventQueue-1] INFO
> org.apache.commons.httpclient.HttpMethodDirector  - I/O exception
> (java.net.SocketException) caught when processing request: Network is
> unreachable
> 387535 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Network is unreachable
> java.net.SocketException: Network is unreachable
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>        at java.net.Socket.connect(Socket.java:529)
>        at java.net.Socket.connect(Socket.java:478)
>        at java.net.Socket.<init>(Socket.java:375)
>        at java.net.Socket.<init>(Socket.java:249)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
>        at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>        at
> net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
>        at
> net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
>        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>        at
> javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
>        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>        at java.awt.Component.processEvent(Component.java:6028)
>        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:4574)
>        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
> net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
>        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)
> 387536 [AWT-EventQueue-1] INFO
> org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 3 to
> process request
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - Open connection to
> www.squirrel-sql.net:80
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387536 [AWT-EventQueue-1] INFO
> org.apache.commons.httpclient.HttpMethodDirector  - I/O exception
> (java.net.SocketException) caught when processing request: Network is
> unreachable
> 387536 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Network is unreachable
> java.net.SocketException: Network is unreachable
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>        at java.net.Socket.connect(Socket.java:529)
>        at java.net.Socket.connect(Socket.java:478)
>        at java.net.Socket.<init>(Socket.java:375)
>        at java.net.Socket.<init>(Socket.java:249)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
>        at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>        at
> net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
>        at
> net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
>        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>        at
> javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
>        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>        at java.awt.Component.processEvent(Component.java:6028)
>        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:4574)
>        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
> net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
>        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)
> 387538 [AWT-EventQueue-1] INFO
> org.apache.commons.httpclient.HttpMethodDirector  - Retrying request
> 387538 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Attempt number 4 to
> process request
> 387538 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.open()
> 387538 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - Open connection to
> www.squirrel-sql.net:80
> 387538 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387538 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Closing the connection.
> 387538 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter HttpConnection.close()
> 387538 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.closeSockedAndStreams()
> 387539 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpMethodDirector  - Method retry handler
> returned false. Automatic recovery will not be attempted
> 387539 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - enter
> HttpConnection.releaseConnection()
> 387539 [AWT-EventQueue-1] DEBUG
> org.apache.commons.httpclient.HttpConnection  - Releasing connection
> back to connection manager.
> 387539 [AWT-EventQueue-1] ERROR
> net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl  -
> downloadHttpFile: Unexpected exception while attempting to open an HTTP
> connection to url
> (http://www.squirrel-sql.net/updates/stable/release.xml) to download a
> file (/home/g4b0/update/downloads/release.xml): Network is unreachable
> java.net.SocketException: Network is unreachable
>        at java.net.PlainSocketImpl.socketConnect(Native Method)
>        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
>        at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
>        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
>        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>        at java.net.Socket.connect(Socket.java:529)
>        at java.net.Socket.connect(Socket.java:478)
>        at java.net.Socket.<init>(Socket.java:375)
>        at java.net.Socket.<init>(Socket.java:249)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80)
>        at
> org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122)
>        at
> org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
>        at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>        at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
>        at
> net.sourceforge.squirrel_sql.fw.util.IOUtilitiesImpl.downloadHttpFile(IOUtilitiesImpl.java:278)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadHttpUpdateFile(UpdateUtilImpl.java:874)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentReleaseHttp(UpdateUtilImpl.java:1054)
>        at
> net.sourceforge.squirrel_sql.client.update.UpdateUtilImpl.downloadCurrentRelease(UpdateUtilImpl.java:203)
>        at
> net.sourceforge.squirrel_sql.client.preferences.UpdatePreferencesPanel$TestConnectionButtonListener.actionPerformed(UpdatePreferencesPanel.java:654)
>        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
>        at
> javax.swing.AbstractButton$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.Component.processMouseEvent(Component.java:6263)
>        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>        at java.awt.Component.processEvent(Component.java:6028)
>        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:4574)
>        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
> net.sourceforge.squirrel_sql.client.Application$1.dispatchEvent(Application.java:194)
>        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)
>
>
>
>
>
>
> --
> Gabriele Dr. Brosulo
>  Responsabile Web
>  EdiSoft Srl
>  Sede Legale: Corso Piemonte, 13
>  Sede Operativa: Via Bodoni, 23/25
>  12037 SALUZZO (CN)
>  Tel. + 39 0175 43443
>  Fax. + 39 0175 475196
>  E-mail: brosulo <at> edisoft.net
>  Web Principale: www.edisoft.net
>  Divisione Internet: internet.edisoft.net
>  Divisione Verticali: verticali.edisoft.net
>  Divisione Servizi: servizi.edisoft.net
>  -----------------------------------------
>  Informativa sulla privacy reperibile presso:
>  http://www.edisoft.net/privacy/informativa.pdf
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Squirrel-sql-users mailing list
> Squirrel-sql-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Robert Manning | 5 Jul 2010 16:44
Picon
Gravatar

Re: How to set charset

Eduardo,

The charset encoding used in SQuirreL (and any other Java application)
is UTF-16.  Can you give us some more background as to what you are
trying to do, or what is not working ?

Rob

On Mon, Jul 5, 2010 at 8:11 AM, Eduardo Castro <estima <at> gmail.com> wrote:
> Hi,
>
>    how can I set the charset of SQuirreL?
>
> Regards,
> Eduardo
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Squirrel-sql-users mailing list
> Squirrel-sql-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Gabriele Brosulo | 5 Jul 2010 17:06
Favicon

Re: Java problem??

On 05/07/2010 16:38, Robert Manning wrote:
> It appears that you were attempting to test the connection for
> software updates to the update site (www.squirrel-sql.net) and for
> some reason that host is unreachable to you.  Perhaps you use a proxy
> to connect to the Internet ?

Investigating further I noticed that also NetBeans can not download 
updates, then it is definitely a problem of java ... how to solve it?

--

-- 
Gabriele Dr. Brosulo
  Responsabile Web
  EdiSoft Srl

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Robert Manning | 5 Jul 2010 17:13
Picon
Gravatar

Re: Java problem??

If your web browser is the only app that can connect to Internet hosts
such as http://www.squirrel-sql.net, then my guess is that you are
using a web proxy on your network that forces all applications to use
it (no direct connections can be made to Internet hosts).  Check your
web browser proxy settings to confirm this.

Rob

On Mon, Jul 5, 2010 at 11:06 AM, Gabriele Brosulo <brosulo <at> edisoft.net> wrote:
> On 05/07/2010 16:38, Robert Manning wrote:
>> It appears that you were attempting to test the connection for
>> software updates to the update site (www.squirrel-sql.net) and for
>> some reason that host is unreachable to you.  Perhaps you use a proxy
>> to connect to the Internet ?
>
> Investigating further I noticed that also NetBeans can not download
> updates, then it is definitely a problem of java ... how to solve it?
>
> --
> Gabriele Dr. Brosulo
>  Responsabile Web
>  EdiSoft Srl
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Squirrel-sql-users mailing list
> Squirrel-sql-users <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
Gabriele Brosulo | 5 Jul 2010 17:19
Favicon

Re: Java problem??

I'm the network administrator and I can assure you that there is no 
proxy here... all application like pidgin, skype, various web browser, 
self-written software, ssh, ftp etc are connecting without proxy, just 
java apps on my host can not connect.

Thanks for your time :)

On 05/07/2010 17:13, Robert Manning wrote:
> If your web browser is the only app that can connect to Internet hosts
> such as http://www.squirrel-sql.net, then my guess is that you are
> using a web proxy on your network that forces all applications to use
> it (no direct connections can be made to Internet hosts).  Check your
> web browser proxy settings to confirm this.
>
> Rob
>
> On Mon, Jul 5, 2010 at 11:06 AM, Gabriele Brosulo<brosulo <at> edisoft.net>  wrote:
>> On 05/07/2010 16:38, Robert Manning wrote:
>>> It appears that you were attempting to test the connection for
>>> software updates to the update site (www.squirrel-sql.net) and for
>>> some reason that host is unreachable to you.  Perhaps you use a proxy
>>> to connect to the Internet ?
>>
>> Investigating further I noticed that also NetBeans can not download
>> updates, then it is definitely a problem of java ... how to solve it?
>>

--

-- 
Gabriele Dr. Brosulo
  Responsabile Web
  EdiSoft Srl

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first

Gmane