geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Unable to obtain physical connection to DB2XA
Date Tue, 12 Feb 2008 23:22:02 GMT
hmmm, thats rather strange, I don't think the classes for the local  
db2 wrapper actually exist.  I think you should use the xa wrapper only.

thanks
david jencks

On Feb 12, 2008, at 2:51 PM, Łukasz Budnik wrote:

> Sorry,
>
> it's so late, I should be in bed by now ;)
>
> I remembered not setting the TraceFile property in the deployment  
> plan.
>
> Well it's true up to a point ;)
>
> I defined it, but I did not assign a value to it, if removed or  
> commented out:
>
> <!-- <config-property-setting name="TraceFile"/>  -->
>
> the tranql-connector-db2-local-1.2-20080212.204755-1.rar works!
>
> So both tranql db2 wrappers work ;)
>
> best regards, sleep well ;)
> Łukasz
>
>
> On 12/02/2008, Łukasz Budnik <lukasz.budnik@gmail.com> wrote:
>> Hi David!
>>
>> I've tested both wrappers.
>>
>> here are the results:
>>
>>> http://snapshots.repository.codehaus.org/org/tranql/tranql- 
>>> connector-db2-local/1.2-SNAPSHOT/tranql-connector-db2- 
>>> local-1.2-20080212.204755-1.rar
>>
>> brand new exception:
>>
>>
>> Deployment failed:
>> org.apache.geronimo.common.DeploymentException: The plan is trying to
>> set attributes: [TraceFile]
>> Show full details
>>
>> org.apache.geronimo.common.DeploymentException: The plan is trying to
>> set attributes: [TraceFile]
>> Known attributes:
>> [GAttributeInfo: name=kernel type=org.apache.geronimo.kernel.Kernel
>> persistent=false manageable=false readable=false writable=false
>> getterName=null setterName=null]
>> [GAttributeInfo: name=DriverType type=java.lang.String  
>> persistent=true
>> manageable=true readable=true writable=true getterName=null
>> setterName=null]
>> [GAttributeInfo: name=MaxStatements type=java.lang.Integer
>> persistent=true manageable=true readable=true writable=true
>> getterName=null setterName=null]
>> [GAttributeInfo: name=stateManageable type=boolean persistent=false
>> manageable=false readable=true writable=false
>> getterName=isStateManageable setterName=null]
>> [GAttributeInfo: name=eventProvider type=boolean persistent=false
>> manageable=false readable=true writable=false
>> getterName=isEventProvider setterName=null]
>> [GAttributeInfo: name=connectionManagerContainer  
>> type=java.lang.Object
>> persistent=false manageable=false readable=true writable=false
>> getterName=getConnectionManagerContainer setterName=null]
>> [GAttributeInfo: name=implementedInterfaces type=[Ljava.lang.String;
>> persistent=true manageable=true readable=true writable=false
>> getterName=getImplementedInterfaces 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=Description type=java.lang.String
>> persistent=true manageable=true readable=true writable=true
>> getterName=null setterName=null]
>> [GAttributeInfo: name=classLoader type=java.lang.ClassLoader
>> persistent=false manageable=false readable=false writable=false
>> getterName=null setterName=null]
>> [GAttributeInfo: name=NetworkProtocol type=java.lang.String
>> persistent=true manageable=true readable=true writable=true
>> getterName=null setterName=null]
>> [GAttributeInfo: name=LoginTimeout type=java.lang.Integer
>> persistent=true manageable=true readable=true writable=true
>> getterName=null setterName=null]
>> [GAttributeInfo: name=connectionInterface type=java.lang.String
>> persistent=true manageable=true readable=true writable=false
>> getterName=getConnectionInterface setterName=null]
>> [GAttributeInfo: name=objectName type=java.lang.String
>> persistent=false manageable=false readable=true writable=false
>> getterName=getObjectName setterName=null]
>> [GAttributeInfo: name=UserName 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=connectionFactoryInterface  
>> type=java.lang.String
>> persistent=true manageable=true readable=true writable=false
>> getterName=getConnectionFactoryInterface setterName=null]
>> [GAttributeInfo: name=connectionFactoryImplClass  
>> type=java.lang.String
>> persistent=true manageable=true readable=true writable=false
>> getterName=getConnectionFactoryImplClass setterName=null]
>> [GAttributeInfo: name=PortNumber type=java.lang.Integer
>> persistent=true manageable=true readable=true writable=true
>> getterName=null setterName=null]
>> [GAttributeInfo: name=ServiceName 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=resourceAdapterWrapper
>> type=org.apache.geronimo.connector.ResourceAdapterWrapper
>> persistent=false manageable=false readable=true writable=false
>> getterName=getResourceAdapterWrapper setterName=null]
>> [GAttributeInfo: name=connectionFactory type=java.lang.Object
>> persistent=false manageable=false readable=true writable=false
>> getterName=getConnectionFactory setterName=null]
>> [GAttributeInfo: name=DataSourceName type=java.lang.String
>> persistent=true manageable=true readable=true writable=true
>> getterName=null setterName=null]
>> [GAttributeInfo: name=statisticsProvider type=boolean  
>> persistent=false
>> manageable=false readable=true writable=false
>> getterName=isStatisticsProvider setterName=null]
>> [GAttributeInfo: name=managedConnectionFactoryClass
>> type=java.lang.String persistent=true manageable=true readable=true
>> writable=false getterName=getManagedConnectionFactoryClass
>> setterName=null]
>> [GAttributeInfo: name=Password type=java.lang.String persistent=true
>> manageable=true readable=true writable=true getterName=null
>> setterName=null]
>> [GAttributeInfo: name=ServerName type=java.lang.String  
>> persistent=true
>> manageable=true readable=true writable=true getterName=null
>> setterName=null]
>> [GAttributeInfo: name=connectionImplClass type=java.lang.String
>> persistent=true manageable=true readable=true writable=false
>> getterName=getConnectionImplClass setterName=null]
>>
>>
>> for the record, I'm not using TraceFile in my deployment plan.
>>
>>> http://snapshots.repository.codehaus.org/org/tranql/tranql- 
>>> connector-db2-xa/1.2-SNAPSHOT/tranql-connector-db2- 
>>> xa-1.2-20080212.204755-1.rar>
>>
>> this one works!
>>
>> best regards
>> Łukasz
>>


Mime
View raw message