I have a friend that told me about an error when using jboss with
firebird database.


he's getting the following error :

.

2002-12-10 13:54:22,820 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.

he told me that the can connect via Interserver (particularly don't know
what it is) with the same user/pass.

anyone can tell me what's going on?

<?xml version="1.0" encoding="UTF-8"?>

<!-- =====================================================================
-->
<!--
-->
<!-- JBoss Server Configuration
-->
<!--
-->
<!-- =====================================================================
-->
<!--
====================================================================
-->
<!-- New ConnectionManager setup for firebird dbs using jca-jdbc xa
driver-->
<!-- Build jmx-api (build/build.sh all) and view for config
documentation -->
<!--
====================================================================
-->

<service>

<!--FBManager can be used to create and drop databases.
Drop is especially useful during testing, since it
assures a clean start next time. -->
<!--SPDBUG? This will need to be used, sooner rather than later.
Worry
about it when we need it.
<mbean code="org.firebirdsql.management.FBManager"
name="jboss.jca:service=FirebirdManager">
-->
<!--SPDBUG?
<mbean code="org.firebirdsql.management.FBManager"
name="jboss.jca:service=XaTxCM,name=FirebirdDS">
<attribute
name="FileName">localhost/3050:c:\temp\itracker\Itracker.gdb</attribute>
<attribute name="UserName">sysdba</attribute>
<attribute name="Password">masterkey</attribute>
<attribute name="CreateOnStart">true</attribute>
<attribute name="DropOnStop">false</attribute>
</mbean>
-->

<!-- Include a login module configuration named FirebirdDBRealm.
Update your login-conf.xml, here is an example for a
ConfiguredIdentityLoginModule:

<application-policy name = "FirebirdDBRealm">
<authentication>
<login-module code =
"org.jboss.resource.security.ConfiguredIdentityLoginModule" flag =
"required">
<module-option name = "principal">sysdba</module-option>
<module-option name = "userName">sysdba</module-option>
<module-option name = "password">masterkey</module-option>
<module-option name =
"managedConnectionFactoryName">jboss.jca:service=XaTxCM,name=FirebirdDS</mod
ule-option>
</login-module>
</authentication>
</application-policy>

NOTE: the application-policy name attribute must match
SecurityDomainJndiName, and the
module-option name = "managedConnectionFactoryName"
must match the object name of the ConnectionManager you are
configuring here.
-->

<mbean code="org.jboss.resource.connectionmanager.XATxConnectionManager"
name="jboss.jca:service=XaTxCM,name=FirebirdDS">
<!--make the rar deploy - A BIG HACK till xslt based deployment is
written-->
<depends>jboss.jca:service=RARDeployer</depends>

<depends optional-attribute-name="ManagedConnectionFactoryName">
<mbean code="org.jboss.resource.connectionmanager.RARDeployment"
name="jboss.jca:service=XaTxDS,name=FirebirdDS">
<!--more hack-->
<depends
optional-attribute-name="OldRarDeployment">jboss.jca:service=RARDeployment,n
ame=Firebird Database Connector</depends>
<attribute name="JndiName">DefaultDS</attribute>
<attribute name="ManagedConnectionFactoryProperties">
<properties>
<config-property>
<config-property-name>Database</config-property-name>

<config-property-type>java.lang.String</config-property-type>

<config-property-value>localhost/3050:c:\temp\itracker\itracker.gdb</config-
property-value>
</config-property>
<config-property>
<config-property-name>UserName</config-property-name>

<config-property-type>java.lang.String</config-property-type>
<config-property-value>sysdba</config-property-value>
</config-property>
<config-property>
<config-property-name>Password</config-property-name>

<config-property-type>java.lang.String</config-property-type>
<config-property-value>masterkey</config-property-value>
</config-property>
</properties>
</attribute>
</mbean>

</depends>
<depends optional-attribute-name="ManagedConnectionPool">
<mbean
code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
name="jboss.jca:service=XaTxPool,name=FirebirdDS">

<attribute name="MinSize">0</attribute>
<attribute name="MaxSize">50</attribute>
<attribute name="BlockingTimeoutMillis">5000</attribute>
<attribute name="IdleTimeoutMinutes">15</attribute>
<!--criteria indicates if Subject (from security domain) or app
supplied
parameters (such as from getConnection(user, pw)) are used to
distinguish
connections in the pool. Choices are
ByContainerAndApplication (use both),
ByContainer (use Subject),
ByApplication (use app supplied params only),
ByNothing (all connections are equivalent, usually if adapter
supports
reauthentication)-->
<attribute name="Criteria">ByContainer</attribute>
</mbean>
</depends>
<depends
optional-attribute-name="CachedConnectionManager">jboss.jca:service=CachedCo
nnectionManager</depends>

<!--comment out this line if you want component managed security or
want
to use the default values in the
ManagedConnectionFactoryProperties -->
<attribute name="SecurityDomainJndiName">FirebirdDBRealm</attribute>

<depends
optional-attribute-name="JaasSecurityManagerService">jboss.security:service=
JaasSecurityManager</depends>

<attribute
name="TransactionManager">java:/TransactionManager</attribute>
</mbean>

</service>

----- Original Message -----
From: "Emerson Cargnin - SICREDI Servi�os" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 10, 2002 6:42 PM
Subject: Re: [enterprise-list] JBoss com JCA(Firebird)


manda o firebird-service.xml...

Maykel Tres wrote:
> est�o corretas porque via InterServer eu consigo rodar a aplica��o.
> e o "does not implement any Service methods" continua l�. mesmo usando
> InterServer.
>
> ----- Original Message -----
> From: "Emerson Cargnin - SICREDI Servi�os" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 10, 2002 3:40 PM
> Subject: Re: [enterprise-list] JBoss com JCA(Firebird)
>
>
> bem, o "does not implement any Service methods" � normal.
> qto a senha e usuario, verifique again : )
>
> Maykel Tres wrote:
>
>>Ola pessoal,
>>
>>estou tentando instalar uma aplica��o(Itracker) no JBoss(3.0.4)
>>utilizando interbase.
>>
>>Eu segui a receita de bolo que vem junto com o JCA do firebird, s� que
>>ele n�o esta funcionando.
>>
>>algu�m pode me dar uma luz, outra receita, ajuda, help, qualquer
coisa....
>>
>>abaixo log do JBoss.
>>
>>agrade�o desde j�!
>>
>>Maykel
>>
>>2002-12-10 13:46:16,950 INFO [org.jboss.deployment.MainDeployer]
>>Starting deployment of package:
>>file:/C:/jboss-3.0.4/server/all/deploy/firebird-service.xml
>>2002-12-10 13:46:17,010 WARN [org.jboss.system.ServiceController]
>>jboss.jca:service=XaTxDS,name=FirebirdDS does not implement any Service
>>methods
>>
>>...
>>
>>2002-12-10 13:54:22,820 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.
>>
>>s� que eu tenho certeza absoluta que o user e senha est�o corretos.
>
>
>
> --
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> | Emerson Cargnin |
> | Analista de Sistemas Sr. |
> | Tel : (051) 3358-4959 |
> | SICREDI Servi�os |
> | Porto Alegre - Brasil |
> |xxxxxxxxxxxxxxxxxxxxxxxxxx|
>
>
> ---------------------------------------------------------------------
> Para cancelar a subscri��o, envie mensagem para:
> [EMAIL PROTECTED]
> Para comandos adicionais, envie mensagem para:
> [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> Para cancelar a subscri��o, envie mensagem para:
[EMAIL PROTECTED]
> Para comandos adicionais, envie mensagem para:
[EMAIL PROTECTED]
>
>


--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Emerson Cargnin |
| Analista de Sistemas Sr. |
| Tel : (051) 3358-4959 |
| SICREDI Servi�os |
| Porto Alegre - Brasil |
|xxxxxxxxxxxxxxxxxxxxxxxxxx|


---------------------------------------------------------------------
Para cancelar a subscri��o, envie mensagem para:
[EMAIL PROTECTED]
Para comandos adicionais, envie mensagem para:
[EMAIL PROTECTED]


---------------------------------------------------------------------
Para cancelar a subscri��o, envie mensagem para:
[EMAIL PROTECTED]
Para comandos adicionais, envie mensagem para:
[EMAIL PROTECTED]



--
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
| Emerson Cargnin |
| Analista de Sistemas Sr. |
| Tel : (051) 3358-4959 |
| SICREDI Servi�os |
| Porto Alegre - Brasil |
|xxxxxxxxxxxxxxxxxxxxxxxxxx|




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to