On Sep 5, 2007, at 7:41 AM, Tomasz Mazan wrote:
<connectiondefinition-instance>
<name>MyPool</name>
<config-property-setting
name="Password"></config-property-setting>
<config-property-setting
name="UserName"></config-property-setting>
<config-property-setting
name="PortNumber"></config-property-setting>
<config-property-setting
name="DatabaseName"></config-property-setting>
<config-property-setting
name="ServerName"></config-property-setting>
<config-property-setting
name="LoginTimeout"></config-property-setting>
<connectionmanager>
When I try to deploy application, I get exception:
13:16:12,406 ERROR [GBeanInstanceState] Error while starting; GBean
is now in the FAILED state: abstractName="myapp/MyApp/0.1/ear?
J2EEApplication=myapp/MyApp/0.1/
ear,JCAConnectionFactory=MyXAPool,JCAResource=MyPool,ResourceAdapter=M
yPoo
l,ResourceAdapterModule=FonBsaCorePool,j2eeType=JCAManagedConnectionFa
ctory,name=MyXAPool"
java.lang.ClassNotFoundException:
org.tranql.connector.postgresql.EmbeddedXAMCF in classloader myapp/
MyApp/0.1/ear
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadOptimized
Class(MultiParentClassLoader.java:428)
at
org.apache.geronimo.kernel.config.MultiParentClassLoader.loadClass
(MultiParentClassLoader.java:278)
What I've done wrong, or where is cause of this exception. I didn't
find EmbededXAMCF class in jar/rar archives
Tomasz Mazan vel. Beniamin
Tomasz,
I corrected the problem. I had refactored the class and forgot to
update the RAR. I've updated and published new SNAPSHOTS. Please
grab a new update of the XA rar.
Also, set the user / password, server, etc for your postgres
environment.