Hello All,

The JDBC URL format of Informix that works for us is:
jdbc:informix-sqli://host:3009/dbname:informixserver=onl930

Could be the uppercase.. can you try with lowercase (for INFORMIXSERVER)

HTH
regards
MS

-----Original Message-----
From: David Stoleson [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 9:08 AM
To: [EMAIL PROTECTED]
Subject: [JBoss-user] 3.2.0RC4: Problem with DB Connection


JBoss 3.2.0RC4
Informix
JDK 1.4.1
MacOSX

---

I have the following informix-ds.xml file deployed with the  
INFORMIXSERVER=dbserver specified in the connection string.  Yet it is  
complaining about INFORMIXSERVER not being set.

<datasources>

   <local-tx-datasource>
     <jndi-name>InformixDS</jndi-name>
      
<connection-url>jdbc:informix-sqli://host:1621/ 
dbname:INFORMIXSERVER=dbserver</connection-url>
     <driver-class>com.informix.jdbc.IfxDriver</driver-class>
     <user-name>user</user-name>
     <password>password</password>
   </local-tx-datasource>

</datasources>


----
Log:
----

10:34:15,429 INFO  [EjbModule] Creating
10:34:15,461 INFO  [EjbModule] Deploying FooEJB
10:34:15,757 INFO  [EntityContainer] Creating
10:34:15,801 INFO  [EntityInstancePool] Creating
10:34:15,818 INFO  [EntityInstancePool] Created
10:34:15,959 INFO  [EntityContainer] Created
10:34:15,962 INFO  [EjbModule] Created
10:34:15,987 INFO  [EjbModule] Starting
10:34:16,138 INFO  [EntityContainer] Starting
10:34:16,803 ERROR [EntityContainer] Starting failed
org.jboss.deployment.DeploymentException: Error while fixing table  
name; - nested throwable: (org.jboss.util.NestedSQLException: Could not  
create connection; - nested throwable: (java.sql.SQLException:  
INFORMIXSERVER has to be specified); - nested throwable:  
(org.jboss.resource.JBossResourceException: Could not create  
connection; - nested throwable: (java.sql.SQLException: INFORMIXSERVER  
has to be specified)))
         at  
org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.fixTableName(SQLUtil.java:68)
         at  
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.<init>(JDBCEntity 
Bridge.java:119)
         at  
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCSto 
reManager.java:444)
         at  
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.j 
ava:378)
         at  
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager. 
java:170)
         at  
org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339)
         at  
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to