I seem to recall there being a number of support jars required for the
informix driver. I'll check and get back to you.
Rob
On Mon, Aug 22, 2011 at 5:01 AM, 李超 <lee...@gm...> wrote:
> Hi, guys
>
> I have used squirrel v2.4.1 for a long time. A couple of days ago I
> decided to upgrade to v3.2.1. However when I try to build a new alias
> to connect to a informix server I got this error message:
> informix@47: Unable to load locale categories.
>
> and the following is the stack trace:
> java.sql.SQLException: Unable to load locale categories.
> at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:964)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at com.informix.jdbc.IfxDriver.connect(IfxDriver.java:254)
> at
> net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.getConnection(SQLDriverManager.java:133)
> at
> net.sourceforge.squirrel_sql.client.mainframe.action.OpenConnectionCommand.execute(OpenConnectionCommand.java:97)
> at
> net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$SheetHandler.run(ConnectToAliasCommand.java:281)
> at
> net.sourceforge.squirrel_sql.client.mainframe.action.ConnectToAliasCommand$SheetHandler.performOK(ConnectToAliasCommand.java:238)
> at
> net.sourceforge.squirrel_sql.client.gui.db.ConnectionInternalFrame.connect(ConnectionInternalFrame.java:311)
> at
> net.sourceforge.squirrel_sql.client.gui.db.ConnectionInternalFrame.access$300(ConnectionInternalFrame.java:56)
> at
> net.sourceforge.squirrel_sql.client.gui.db.ConnectionInternalFrame$2.run(ConnectionInternalFrame.java:209)
> at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
> at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
> at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:93)
> 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)
>
> The url of this alias is:
> jdbc:informix-sqli://10.0.2.47:8003/godu:INFORMIXSERVER=godu, and the
> driver of informix is ifxjdbc.jar. All these work well on v2.4.1.
> Someone said this is due to the environment variable INFORMIXDIR is
> not set. But my computer is just a client. There is no Informix
> installed on it. So I doubted this is not the point. Could anyone help
> me?
>
> Thanks a lot!
>
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at: http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> Squirrel-sql-users mailing list
> Squ...@li...
> https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
>
|