Perfect, it worked!!
Thanks a lot
On 18/05/2011 14:05, Robert Manning wrote:
> In this case, I would recommend that you download the 3.2.1 install jar
> and install into /usr/local/squirrel-sql-3.2.1. Then run
> squirrel-sql.sh from that directory. Once you are able to connect to
> your database using that new install of SQuirreL, then you can remove
> the plugins/updates folder from your home directory, as well as the
> /usr/local/squirrel-sql-3.1.2 directory and its contents.
> Rob
>
> On Wed, May 18, 2011 at 3:52 AM, Gabriele Brosulo <br...@ed...
> <mailto:br...@ed...>> wrote:
>
> Hi Robert,
> On my linuxbox (Debian Sid) Squirrel-sql is installed in
> /usr/local/squirrel-sql-3.1.2, and the files you listed below are in
> that directory.
>
> The problem is that I have also plugins and update directory also in
> my home directory.
>
> Permissions into the install directory are the followings:
>
> ################################################################
> ################################################################
> g4b0@gabodeb:/usr/local/squirrel-sql-3.1.2$ ls -l
> totale 3976
> -rw-r--r-- 1 root staff 23 16 giu 2010 addpath.bat
> drwxr-sr-x 4 root staff 4096 5 lug 2010 doc
> drwxr-sr-x 2 root staff 4096 5 lug 2010 icons
> -rwxr-xr-x 1 root staff 15213 5 lug 2010
> IzPackLocaleEnabledXdgDesktopIconScript.sh
> drwxr-sr-x 2 root staff 4096 5 lug 2010 lib
> -rw-r--r-- 1 root staff 308 16 giu 2010 log4j.properties
> drwxr-sr-x 21 root staff 4096 6 lug 2010 plugins
> -rw-r--r-- 1 root staff 3223 9 lug 2010 squirrel-sql.bat
> -rw-r--r-- 1 root staff 590 5 lug 2010
> SQuirreL-SQL-Client-1278336331009.desktop
> -rw-r--r-- 1 root staff 3994110 16 giu 2010 squirrel-sql.jar
> -rwxr-xr-x 1 root staff 4469 9 lug 2010 squirrel-sql.sh
> drwxr-sr-x 2 root staff 4096 5 lug 2010 Uninstaller
> drwxr-sr-x 2 root staff 4096 5 lug 2010 update
> -rw-r--r-- 1 root staff 400 16 giu 2010 update-log4j.properties
> ################################################################
> ################################################################
>
> My user is part of the staff group:
>
> ################################################################
> ################################################################
> g4b0@gabodeb:/usr/local/squirrel-sql-3.1.2$ groups g4b0
> g4b0 : g4b0 dialout cdrom floppy audio video plugdev staff scanner
> netdev bluetooth fuse powerdev
> ################################################################
> ################################################################
>
> How can I solve this?
>
> I think that this problem is also related to another: if I enable
> the syntax plugin I can't connect to any remote server, following
> the stack trace:
>
> ################################################################
> ################################################################
> 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)
> at
> net.sourceforge.squirrel_sql.client.session.mainpanel.SQLPanel.createGUI(SQLPanel.java:844)
> at
> net.sourceforge.squirrel_sql.client.session.mainpanel.SQLPanel.<init>(SQLPanel.java:182)
> at
> net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.getComponent(SQLTab.java:72)
> at
> net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.getSQLPanel(SQLTab.java:123)
> at
> net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.setSession(SQLTab.java:83)
> at
> net.sourceforge.squirrel_sql.client.session.mainpanel.SQLTab.<init>(SQLTab.java:42)
> at
> net.sourceforge.squirrel_sql.client.gui.session.MainPanel.<init>(MainPanel.java:112)
> at
> net.sourceforge.squirrel_sql.client.gui.session.MainPanelFactory.createMainPanel(MainPanelFactory.java:27)
> at
> net.sourceforge.squirrel_sql.client.gui.session.SessionPanel.createGUI(SessionPanel.java:478)
> at
> net.sourceforge.squirrel_sql.client.gui.session.SessionPanel.initialize(SessionPanel.java:134)
> at
> net.sourceforge.squirrel_sql.client.gui.session.SessionInternalFrame.createGUI(SessionInternalFrame.java:123)
> at
> net.sourceforge.squirrel_sql.client.gui.session.SessionInternalFrame.<init>(SessionInternalFrame.java:53)
> at
> net.sourceforge.squirrel_sql.client.gui.WindowManager.createInternalFrame(WindowManager.java:360)
> at
> net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$Runner.run(ConnectToAliasCommand.java:372)
> at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
> at java.awt.EventQueue.access$000(EventQueue.java:85)
> at java.awt.EventQueue$1.run(EventQueue.java:603)
> at java.awt.EventQueue$1.run(EventQueue.java:601)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
> 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)
> Caused by: java.lang.ClassNotFoundException:
> org.fife.ui.rtextarea.RTextArea
> at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> at
> net.sourceforge.squirrel_sql.fw.util.MyURLClassLoader.findClass(MyURLClassLoader.java:209)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> ... 31 more
> ################################################################
> ################################################################
>
> Thanks a lot
>
>
> On 14/05/2011 16:54, Robert Manning wrote:
>
> Gabriele,
>
> The best thing to do in this case would be to re-install
> SQuirreL in a
> different folder and remove the SQuirreL-related files
> (log4j.properties, squirrel-sql.sh, squirrel-sql.bat, lib/, update/,
> plugins/, etc. ) from your home directory. Do not remove the
> .squirrel-sql folder from your home directory as doing this
> would wipe
> out your aliases, drivers and preferences.
>
> Rob
>
> On Fri, May 13, 2011 at 10:36 AM, Gabriele Brosulo
> <br...@ed... <mailto:br...@ed...>
> <mailto:br...@ed... <mailto:br...@ed...>>> wrote:
>
> Hi all,
> How can I move update and plugins folder from my home folder
> to another
> location?
>
> Thanks a lot
> --
> 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 <tel:%2B%2039%200175%2043443>
> <tel:%2B%2039%200175%2043443>
> Fax. + 39 0175 475196 <tel:%2B%2039%200175%20475196>
> <tel:%2B%2039%200175%20475196>
> E-mail: br...@ed... <mailto:br...@ed...>
> <mailto:br...@ed... <mailto:br...@ed...>>
> Web Principale: www.edisoft.net <http://www.edisoft.net/>
> <http://www.edisoft.net <http://www.edisoft.net/>>
> Divisione Internet: internet.edisoft.net
> <http://internet.edisoft.net/> <http://internet.edisoft.net
> <http://internet.edisoft.net/>>
>
> Divisione Verticali: verticali.edisoft.net
> <http://verticali.edisoft.net/>
> <http://verticali.edisoft.net <http://verticali.edisoft.net/>>
> Divisione Servizi: servizi.edisoft.net
> <http://servizi.edisoft.net/> <http://servizi.edisoft.net
> <http://servizi.edisoft.net/>>
>
> -----------------------------------------
> Informativa sulla privacy reperibile presso:
> http://www.edisoft.net/privacy/informativa.pdf
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its
> next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> <mailto:Squ...@li...>
> <mailto:Squ...@li...
> <mailto:Squ...@li...>>
>
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>
>
>
>
--
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: br...@ed...
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
|