Hello,
I have been using firebird 1.0 on Redhat 7.1, kernel 2.4.9-21 with
JBoss3.0.0RC2. I am trying to deploy some EJBs. These EJBs run fine on
my Mac OS X 10.1.4/JBoss-3.0.0RC2/Firebird1.0 setup but fail to run on
Linux.
I noticed that JBoss is using a "user.name" env variable [which
corresponds to my username] when deploying to the Firebird database.
2002-05-18 00:08:41,326 DEBUG [org.jboss.deployment.SARDeployer]
Deploying SAR, start step: url
file:/home/james/jboss-3.0.0RC2/server/default/d\
eploy/firebird-service.xml
2002-05-18 00:08:41,441 DEBUG [org.firebirdsql.jgds.GDS_Impl] Got socket
2002-05-18 00:08:41,446 DEBUG [org.firebirdsql.jgds.GDS_Impl] user.name:
james
2002-05-18 00:08:41,447 DEBUG [org.firebirdsql.jgds.GDS_Impl] op_connect
2002-05-18 00:08:41,448 DEBUG [org.firebirdsql.jgds.GDS_Impl] sent
2002-05-18 00:08:41,448 DEBUG [org.firebirdsql.jgds.GDS_Impl] op_accept
...
2002-05-18 00:08:41,698 DEBUG [org.jboss.system.ServiceController]
waiting in start jboss.jca:service=XaTxCM,name=FirebirdDS on
jboss.jca:servic\
e=XaTxDS,name=FirebirdDS
2002-05-18 00:08:41,698 DEBUG [org.jboss.system.ServiceController]
waiting in start jboss.jca:service=XaTxDS,name=FirebirdDS on
jboss.jca:servic\
e=RARDeployment,name=Firebird Database Connector
2002-05-18 00:08:41,699 INFO
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool]
Starting
2002-05-18 00:08:41,703 INFO
[org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Started
So the creation of the connection pool succeeds, but later, when the ejb
jar file is deployed, I see a failure:
2002-05-18 00:08:51,544 INFO [org.jboss.ejb.EjbModule] Deploying Address
2002-05-18 00:08:51,568 INFO [org.jboss.ejb.EjbModule] Deploying
Customer
2002-05-18 00:08:51,792 DEBUG [org.jboss.system.ServiceController]
adding depends in ServiceController.create: []
2002-05-18 00:08:51,823 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Bound
jmxName=jboss.j2ee:service=EJB,jndiName=ejb/ad/MultimediaResource,
hash=-\
1827599858into Registry
2002-05-18 00:08:51,823 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Proxy
Factory for ejb/ad/MultimediaResource initialized
2002-05-18 00:08:51,904 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.MultimediaResource]
Initializing CMP plugin for MultimediaResourc\
e
2002-05-18 00:08:52,065 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.MultimediaResource]
Loading standardjbosscmp-jdbc.xml : file:/hom\
e/james/jboss-3.0.0RC2/server/default/conf/standardjbosscmp-jdbc.xml
2002-05-18 00:08:52,297 DEBUG
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.MultimediaResource]
jar:file:/home/james/jboss-3.0.0RC2/server/de\
fault/tmp/deploy/server/default/deploy/ad-ejb.jar/97.ad-
ejb.jar!/META-INF/jbosscmp-jdbc.xml found. Overriding defaults
2002-05-18 00:08:53,895 DEBUG
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool:
registering pool with interval 900000 old\
interval: 9223372036854775807
2002-05-18 00:08:53,895 DEBUG
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool:
about to notify thread: old next: 1021698\
983895, new next: 1021698983895
2002-05-18 00:08:53,961 DEBUG [org.firebirdsql.jgds.GDS_Impl] Got socket
2002-05-18 00:08:53,962 DEBUG [org.firebirdsql.jgds.GDS_Impl] user.name:
james
2002-05-18 00:08:53,962 DEBUG [org.firebirdsql.jgds.GDS_Impl] op_connect
2002-05-18 00:08:53,963 DEBUG [org.firebirdsql.jgds.GDS_Impl] sent
2002-05-18 00:08:53,963 DEBUG [org.firebirdsql.jgds.GDS_Impl] op_accept
2002-05-18 00:08:53,963 DEBUG [org.firebirdsql.jgds.GDS_Impl] received
2002-05-18 00:08:53,964 DEBUG [org.firebirdsql.jgds.GDS_Impl] op_attach
2002-05-18 00:08:53,968 DEBUG [org.firebirdsql.jgds.GDS_Impl] sent
2002-05-18 00:08:53,968 DEBUG [org.firebirdsql.jgds.GDS_Impl] op_response
2002-05-18 00:08:54,059 DEBUG [org.firebirdsql.jgds.GDS_Impl]
op_response resp_object: 0
2002-05-18 00:08:54,060 DEBUG [org.firebirdsql.jgds.GDS_Impl]
op_response resp_blob_id: 0
2002-05-18 00:08:54,060 DEBUG [org.firebirdsql.jgds.GDS_Impl]
op_response resp_data size: 0
2002-05-18 00:08:54,060 DEBUG [org.firebirdsql.jgds.GDS_Impl]
readStatusVector int: 335544472
2002-05-18 00:08:54,069 INFO
[org.firebirdsql.jca.FBManagedConnectionFactory] Could not get a db
connection!
org.firebirdsql.gds.GDSException: Your user name and password are not
defined. Ask your database administrator to set up a Firebird login.
at
org.firebirdsql.jgds.GDS_Impl.readStatusVector(GDS_Impl.java:1414)
Is JBoss using *my* username/password to get db connections? In the
firebird-service.xml file, the username is set to [for example]
"USERNAME" and the password is [for example] "password". Shouldn't it
use those instead?
Thanks for any help,
James Richards
_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user