Informix - problemas para conectarme informix

   
Vista:

problemas para conectarme informix

Publicado por lpain (1 intervención) el 09/09/2009 10:57:20
Hola!! Estoy trabajando en una aplicacion desarrollada en Java que utiliza la base de datos de Informix. El gestor de la base de datos esta correctamente configurado ya que puedo acceder sin problema desde el cliente sqleditor pej.

Pero no consigo conectarme desde la aplicacion.
Trabajo en Vista y utilizo como entorno de desarrollo eclipse.
Yo creo que los ficheros de configuracion los tengo correctamente. El error que me saca es el siguiente:
*** Using 'ConfigurationParameters.properties' file for configuration ***
**** CREANDO EL DATASOURCE!!!!!
imedir.util.exceptions.InternalErrorException: com.informix.asf.IfxASFException: Attempt to connect to database server (ol_lola1) failed.
at imedir.smiis.applications.authenticator.model.athenticate.methodFacade.plain.PlainMethodFacade.getAllAvaliableMethods(PlainMethodFacade.java:47)
at imedir.smiis.applications.authenticator.model.athenticate.Authenticator.<init>(Authenticator.java:26)
at imedir.smiis.applications.authenticator.model.athenticate.Authenticator.getInstance(Authenticator.java:67)
at imedir.smiis.applications.authenticator.model.athenticate.facade.plain.PlainAuthenticateFacade.login(PlainAuthenticateFacade.java:17)
at imedir.smiis.applications.authenticator.view.controller.AuthenticateController.login(AuthenticateController.java:51)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog.login(AuthJDialog.java:114)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog.access$1(AuthJDialog.java:108)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog$3.actionPerformed(AuthJDialog.java:83)
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:2475)
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)
***Information about encapsulated exception***
java.sql.SQLException: com.informix.asf.IfxASFException: Attempt to connect to database server (ol_lola1) failed.
at com.informix.jdbc.IfxSqliConnect.<init>(IfxSqliConnect.java:1026)
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 java.sql.DriverManager.getConnection(DriverManager.java:582)
at java.sql.DriverManager.getConnection(DriverManager.java:185)
at imedir.util.sql.SimpleDataSource.getConnection(SimpleDataSource.java:78)
at imedir.smiis.applications.authenticator.model.athenticate.methodFacade.plain.PlainMethodFacade.getAllAvaliableMethods(PlainMethodFacade.java:44)
at imedir.smiis.applications.authenticator.model.athenticate.Authenticator.<init>(Authenticator.java:26)
at imedir.smiis.applications.authenticator.model.athenticate.Authenticator.getInstance(Authenticator.java:67)
at imedir.smiis.applications.authenticator.model.athenticate.facade.plain.PlainAuthenticateFacade.login(PlainAuthenticateFacade.java:17)
at imedir.smiis.applications.authenticator.view.controller.AuthenticateController.login(AuthenticateController.java:51)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog.login(AuthJDialog.java:114)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog.access$1(AuthJDialog.java:108)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog$3.actionPerformed(AuthJDialog.java:83)
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:2475)
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)
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: imedir.util.exceptions.InternalErrorException: com.informix.asf.IfxASFException: Attempt to connect to database server (ol_lola1) failed.
at imedir.smiis.applications.authenticator.view.controller.AuthenticateController.login(AuthenticateController.java:65)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog.login(AuthJDialog.java:114)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog.access$1(AuthJDialog.java:108)
at imedir.smiis.tools.viewer.view.authentication.AuthJDialog$3.actionPerformed(AuthJDialog.java:83)
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:2475)
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: imedir.util.exceptions.InternalErrorException: com.informix.asf.IfxASFException: Attempt to connect to database server (ol_lola1) failed.
at imedir.util.sql.PlainActionProcessor.process(PlainActionProcessor.java:83)
at imedir.smiis.applications.authenticator.model.logger.facade.plain.PlainLoggerFacade.annotateLoginFailure(PlainLoggerFacade.java:56)
at imedir.smiis.applications.authenticator.view.controller.AuthenticateController.login(AuthenticateController.java:62)
... 28 more
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder