[ 
https://issues.apache.org/jira/browse/GERONIMO-4671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739953#action_12739953
 ] 

Forrest Xia commented on GERONIMO-4671:
---------------------------------------

I can deploy an oracle datasource according to your configuration via admin 
console db pool wizard, and the deployed datasource works fine!

have you selected the database type "Oracle XA" to create the datasource?


> Error on Oracle XA Datasource deployment or server startup thow the 
> datasource works correctly
> ----------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-4671
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4671
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: persistence
>    Affects Versions: 2.1.4
>         Environment: java 1.6 update 14, windows
>            Reporter: Ralf Baumhof
>            Priority: Minor
>
> We have configured oracle xa datasource with the following settings 
> (see also 
> http://www.nabble.com/Configure-Oracle-XA-Datasource-with-Oracle-XE-(10g-Express)-in-console-dialog-to23707396s134.html#a23858245)
> User Name: oracleuser    (schema name)
> Service Name: xe
> Password:        XXX
> Confirm Password: XXX
> Port:        1521
> Data Source Name: oracle.jdbc.xa.client.OracleXADataSource
> Network Protocol: TCP
> Database Name: xe
> TNS Entry Name: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(Host = 
> localhost)(Port = 1521))(CONNECT_DATA = (SID = xe)))
> Driver Type: thin
> Server Name: localhost 
> The datasource works, and with geronimo 2.1.3 (java 1.5 update 16 on windows, 
> linux) no errors have been reported. Now we are switching to geronimo 2.1.4 
> and during deployment an exception is thrown. This exception is also thrown 
> on every server startup.
> Exception during deployment:
> Geronimo Application Server started
> 2009-06-03 21:09:45,921 WARN  [XSRFHandler] Blocked due to invalid 
> HttpServletRe
> quest parameter.
> 2009-06-03 21:09:45,921 ERROR [XSSXSRFFilter] XSSXSRFFilter blocked 
> HttpServletR
> equest due to invalid FORM content.
> 2009-06-03 21:12:57,468 ERROR [RecoveryController] Recovery error
> javax.transaction.xa.XAException
>         at oracle.jdbc.xa.OracleXAResource.recover(OracleXAResource.java:705)
>         at 
> org.apache.geronimo.transaction.manager.WrapperNamedXAResource.recove
> r(WrapperNamedXAResource.java:74)
>         at 
> org.apache.geronimo.transaction.manager.RecoveryImpl.recoverResourceM
> anager(RecoveryImpl.java:98)
>         at 
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.recove
> rResourceManager(TransactionManagerImpl.java:352)
>         at 
> org.apache.geronimo.connector.outbound.AbstractConnectionManager.doRe
> covery(AbstractConnectionManager.java:70)
>         at 
> org.apache.geronimo.connector.outbound.ManagedConnectionFactoryWrappe
> r.doStart(ManagedConnectionFactoryWrapper.java:166)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:998)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:268)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:541)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
>         at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:176)
>         at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:44)
>         at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:294)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:555)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
>         at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:456)
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:188)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:563)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:544)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:832)
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at 
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$17b39900.startConfiguration(<generated>)
>         at 
> org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCom
> mand.java:67)
>         at java.lang.Thread.run(Thread.java:595)
> Exception during server startup:
> Starting Geronimo Application Server v2.1.4
> [**************************************  ]  97%  75s Starting 
> console.dbpool...2
> 009-06-04 09:41:44,586 ERROR [RecoveryController] Recovery error
> javax.transaction.xa.XAException
>         at oracle.jdbc.xa.OracleXAResource.recover(OracleXAResource.java:705)
>         at 
> org.apache.geronimo.transaction.manager.WrapperNamedXAResource.recove
> r(WrapperNamedXAResource.java:74)
>         at 
> org.apache.geronimo.transaction.manager.RecoveryImpl.recoverResourceM
> anager(RecoveryImpl.java:98)
>         at 
> org.apache.geronimo.transaction.manager.TransactionManagerImpl.recove
> rResourceManager(TransactionManagerImpl.java:352)
>         at 
> org.apache.geronimo.connector.outbound.AbstractConnectionManager.doRe
> covery(AbstractConnectionManager.java:70)
>         at 
> org.apache.geronimo.connector.outbound.ManagedConnectionFactoryWrappe
> r.doStart(ManagedConnectionFactoryWrapper.java:166)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanI
> nstance.java:998)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:268)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.j
> ava:541)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GB
> eanDependency.java:111)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDepe
> ndency.java:146)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDepe
> ndency.java:120)
>         at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEve
> nt(BasicLifecycleMonitor.java:176)
>         at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(Bas
> icLifecycleMonitor.java:44)
>         at 
> org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBr
> oadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart
> (GBeanInstanceState.java:294)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInsta
> nceState.java:102)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(G
> BeanInstanceState.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanI
> nstance.java:555)
>         at 
> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(Basi
> cKernel.java:379)
>         at 
> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguratio
> nGBeans(ConfigurationUtil.java:456)
>         at 
> org.apache.geronimo.kernel.config.KernelConfigurationManager.start(Ke
> rnelConfigurationManager.java:188)
>         at 
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startCon
> figuration(SimpleConfigurationManager.java:563)
>         at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at 
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
>         at 
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:832)
>         at 
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at 
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at 
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at 
> org.apache.geronimo.kernel.config.EditableConfigurationManager$$Enhan
> cerByCGLIB$$17b39900.startConfiguration(<generated>)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaem
> on.java:162)
>         at 
> org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon
> .java:79)
>         at 
> org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(Ma
> inConfigurationBootstrapper.java:45)
>         at 
> org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
>         at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30)
> [

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to