Thansk!
I correct the descriptor, it worked. :)
Tommy
On Wed, 2008-07-23 at 09:09 -0300, Luciano Salotto wrote:
> You have a problem with your deployment descriptor. You are trying to
> set properties Driver and ConnectionURL, if you check the properties
> that you can set for postgre tranql connector are the ones listed in
> the error message.
>
> Those two properties (Driver and ConnectionURL) matches the generic
> tranql connector deployment descriptor, but you are trying to deploy
> you are using the postrgre-tranql connector.
>
> There are two ways of fixing this:
> 1) Change the connector you are using to generic tranql
> (tranql-connector-ra), this won't hurt at all, your DB will work
> correctly
> 2) Modify the deployment descriptor to match the configuration
> parameters of postgre tranql. You can check how the xml should look
> like, inside the tranql-connector-postgresql-xa-1.1.rar under META-INF
> direcotry you will see a file called ra.xml.
>
> Hope this helps
>
> Luciano
>
>
>
> On Wed, Jul 23, 2008 at 2:27 AM, Tommy <[EMAIL PROTECTED]>
> wrote:
> HI:
>
> I use geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT , when I
> deploy a j2ee connector, get some error like this:
>
> In admin console , connect my database is successful, but I
> can not deloy it ! Please help me
>
>
>
> Username: system
>
> Password: *******
>
> Error: Unable to distribute
> tranql-connector-postgresql-xa-1.1.rar:
>
> The plan is trying to set attributes: [Driver,
> ConnectionURL]
>
>
>
> Known attributes:
>
>
>
> [GAttributeInfo: name=implementedInterfaces
> type=[Ljava.lang.String;
>
> persistent=true manageable=true readable=true
> writable=false
>
> getterName=getImplementedInterfaces setterName=null]
>
>
>
> [GAttributeInfo: name=connectionFactory
> type=java.lang.Object
>
> persistent=false manageable=false readable=true
> writable=false
>
> getterName=getConnectionFactory setterName=null]
>
>
>
> [GAttributeInfo: name=connectionInterface
> type=java.lang.String
>
> persistent=true manageable=true readable=true
> writable=false
>
> getterName=getConnectionInterface setterName=null]
>
>
>
> [GAttributeInfo: name=connectionFactoryImplClass
>
> type=java.lang.String persistent=true manageable=true
> readable=true
>
> writable=false getterName=getConnectionFactoryImplClass
>
> setterName=null]
>
>
>
> [GAttributeInfo: name=abstractName
>
> type=org.apache.geronimo.gbean.AbstractName
> persistent=false
>
> manageable=false readable=false writable=false
> getterName=null
>
> setterName=null]
>
>
>
> [GAttributeInfo: name=stateManageable type=boolean
> persistent=false
>
> manageable=false readable=true writable=false
>
> getterName=isStateManageable setterName=null]
>
>
>
> [GAttributeInfo: name=classLoader
> type=java.lang.ClassLoader
>
> persistent=false manageable=false readable=false
> writable=false
>
> getterName=null setterName=null]
>
>
>
> [GAttributeInfo: name=PrepareThreshold
> type=java.lang.Integer
>
> persistent=true manageable=true readable=true
> writable=true
>
> getterName=null setterName=null]
>
>
>
> [GAttributeInfo: name=resourceAdapterWrapper
>
> type=org.apache.geronimo.connector.ResourceAdapterWrapper
>
> persistent=false manageable=false readable=true
> writable=false
>
> getterName=getResourceAdapterWrapper setterName=null]
>
>
>
> [GAttributeInfo: name=statisticsProvider type=boolean
>
> persistent=false manageable=false readable=true
> writable=false
>
> getterName=isStatisticsProvider setterName=null]
>
>
>
> [GAttributeInfo: name=PortNumber type=java.lang.Integer
>
> persistent=true manageable=true readable=true
> writable=true
>
> getterName=null setterName=null]
>
>
>
> [GAttributeInfo: name=connectionManagerContainer
>
> type=java.lang.Object persistent=false manageable=false
>
> readable=true writable=false
>
> getterName=getConnectionManagerContainer setterName=null]
>
>
>
> [GAttributeInfo: name=LoginTimeout type=java.lang.Integer
>
> persistent=true manageable=true readable=true
> writable=true
>
> getterName=null setterName=null]
>
>
>
> [GAttributeInfo: name=connectionFactoryInterface
>
> type=java.lang.String persistent=true manageable=true
> readable=true
>
> writable=false getterName=getConnectionFactoryInterface
>
> setterName=null]
>
>
>
> [GAttributeInfo: name=kernel
> type=org.apache.geronimo.kernel.Kernel
>
> persistent=false manageable=false readable=false
> writable=false
>
> getterName=null setterName=null]
>
>
>
> [GAttributeInfo: name=connectionImplClass
> type=java.lang.String
>
> persistent=true manageable=true readable=true
> writable=false
>
> getterName=getConnectionImplClass setterName=null]
>
>
>
> [GAttributeInfo: name=ServerName type=java.lang.String
>
> persistent=true manageable=true readable=true
> writable=true
>
> getterName=null setterName=null]
>
>
>
> [GAttributeInfo: name=eventProvider type=boolean
> persistent=false
>
> manageable=false readable=true writable=false
>
> getterName=isEventProvider setterName=null]
>
>
>
> [GAttributeInfo: name=Password type=java.lang.String
> persistent=true
>
> manageable=true readable=true writable=true
> getterName=null
>
> setterName=null]
>
>
>
> [GAttributeInfo: name=UserName type=java.lang.String
> persistent=true
>
> manageable=true readable=true writable=true
> getterName=null
>
> setterName=null]
>
>
>
> [GAttributeInfo: name=DatabaseName type=java.lang.String
>
> persistent=true manageable=true readable=true
> writable=true
>
> getterName=null setterName=null]
>
>
>
> [GAttributeInfo: name=configProperties type=java.util.Map
>
> persistent=false manageable=false readable=true
> writable=false
>
> getterName=getConfigProperties setterName=null]
>
>
>
> [GAttributeInfo: name=managedConnectionFactoryClass
>
> type=java.lang.String persistent=true manageable=true
> readable=true
>
> writable=false getterName=getManagedConnectionFactoryClass
>
> setterName=null]
>
>
>
> [GAttributeInfo: name=objectName type=java.lang.String
>
> persistent=false manageable=false readable=true
> writable=false
>
> getterName=getObjectName setterName=null]
>
>
>
>
>
> D:\geronimo-tomcat6-javaee5-2.1.2-SNAPSHOT>
>
>
>
>