Announcement Announcement Module
Collapse
No announcement yet.
how use WebSphereTransactionManagerFactoryBean class? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how use WebSphereTransactionManagerFactoryBean class?

    I'm using WS 4.0 Test Enviroment and I need to access to an Oracle datasource and a Sybase datasource, both are correctly configured in the server (with JTA capable drivers).

    I need to know how to use WebSphereTransactionManagerFactoryBean
    to create the TransactionManager Bean and to use these two datasources on two differents DAO's BUT in one EJB Sesion method. This method do a select to an oracle table, and with some info from that table, do a select to a sybase table and return an object with the property that I need.

    I had already configured the dataAcessContext.xml with two jndi datasources, two session factories, one transaction manager (with doesn't work) and all the DAO's.

    I will try to bring more info about this in the next few hours, right know I'm in a hurry.

    Please if someone has used this class with WS 4.0 please let me know how you do it, please....

    Thanks....

  • #2
    complete case info....

    These are the config I'm handling...

    App arquitecture: Oracle9i, Sybase ASE, Spring 1.1.1, EJB Session 1.1, Struts 1.1.

    App Server: WebSphere Enterprise 4.0

    These is a part of my dataAccessContext.xml:

    Code:
    <!-- ********** Data Sources ********** -->
    	<!-- SDEDS -->
    	<bean id="SDEDS" class="org.springframework.jndi.JndiObjectFactoryBean">
    		<property name="jndiName">
    			<value>jdbc/sdeds</value>
    		</property>
    	</bean>
    	
    	<!-- SDEDS2 -->
    	<bean id="SDEDS2" class="org.springframework.jndi.JndiObjectFactoryBean">
    		<property name="jndiName">
    			<value>jdbc/sdeds2</value>
    		</property>
    	</bean>
    
    <!-- ********** Session Factory ********** -->
    	<!-- SDESF -->
    	<bean id="SDESF" class="org.springframework.orm.hibernate.LocalSessionFactoryBean">
    		<property name="mappingResources">
    			<list>
    				<value>cr/go/ice/sde/dao/hibernate/SdecAcreedor.hbm.xml</value>		<value>cr/go/ice/sde/dao/hibernate/SdecMoneda.hbm.xml</value>		<value>cr/go/ice/sde/dao/hibernate/SdecSector.hbm.xml</value>
    <value> ................... </value>
    			</list>
    		</property>
    		<property name="hibernateProperties">
    			<props>
    				<prop key="hibernate.dialect">net.sf.hibernate.dialect.Oracle9Dialect</prop>
    				<prop key="hibernate.use_outer_join">false</prop>
    				<prop key="hibernate.show_sql">true</prop>
    			</props>
    		</property>
    		<property name="dataSource">
    			<ref local="SDEDS" />
    		</property>
    		<property name="jtaTransactionManager">
    			<ref local="WSTransactionFactory"/>
    		</property>  
    	</bean>
    
    	<!-- SDESF2 -->
    	<bean id="SDESF2" class="org.springframework.orm.hibernate.LocalSessionFactoryBean">
    		<property name="mappingResources">
    			<list>		<value>cr/go/ice/sde/dao/hibernate/Con02ch.hbm.xml</value>
    			</list>
    		</property>
    		<property name="hibernateProperties">
    			<props>
    				<prop key="hibernate.dialect">net.sf.hibernate.dialect.SybaseDialect</prop>
    				<prop key="hibernate.use_outer_join">false</prop>
    				<prop key="hibernate.show_sql">true</prop>
    			</props>
    		</property>
    		<property name="dataSource">
    			<ref local="SDEDS2" />
    		</property>
    		<property name="jtaTransactionManager">
    			<ref local="WSTransactionFactory"/>
    		</property>  
    	</bean>
    
    	<!-- ********** Transaction Manager ********** -->	
    	<bean id="WSTransactionFactory" class="org.springframework.transaction.jta.WebSphereTransactionManagerFactoryBean"/>
    	
    	<bean id="SDETM" class="org.springframework.transaction.jta.JtaTransactionManager"> 
    		<property name="transactionManager">
    			<ref local="WSTransactionFactory"/>
    		</property> 
    	</bean>
    
            <!-- ********** Data Access Objects ********** -->
    <!-- AcreedorDAO -->
    	<bean id="AcreedorDAO" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"> 
    		<property name="transactionManager"> 
    			<ref local="SDETM" /> 
    		</property> 
    		<property name="target"> 
    			<ref local="AcreedorDAOTarget" /> 
    		</property> 
    		<property name="transactionAttributes"> 
    			<props> 
    				<prop key="*">PROPAGATION_SUPPORTS</prop>
    			</props> 
    		</property> 
    	</bean>
    	
    	<bean id="AcreedorDAOTarget" class="cr.go.ice.sde.dao.hibernate.AcreedorDAOImpl">
    		<property name="sessionFactory">
    			<ref local="SDESF" />
    		</property>
    	</bean>
    <<< some others DAO's, skipped >>>>>>>
    So, went I startup the server, everything goes fine, but went I try to access one method in any DAO, I got these errors:

    [10/28/04 14:33:16:003 CST] 4e4ddc99 Server U Version : 4.0.7
    [10/28/04 14:33:16:003 CST] 4e4ddc99 Server U Edition: Advanced Single Server Edition for Multiplatforms
    [10/28/04 14:33:16:003 CST] 4e4ddc99 Server U Build date: Fri Oct 03 00:00:00 CST 2003
    [10/28/04 14:33:16:003 CST] 4e4ddc99 Server U Build number: ptf70339.05
    [10/28/04 14:33:17:721 CST] 4e4ddc99 DrAdminServer I WSVR0053I: DrAdmin available on port 7000
    [10/28/04 14:33:17:784 CST] 4e4ddc99 ResourceBinde I WSVR0049I: Binding SDEDS as jdbc/sdeds
    [10/28/04 14:33:17:893 CST] 4e4ddc99 ResourceBinde I WSVR0049I: Binding SDEDS2 as jdbc/sdeds2
    [10/28/04 14:33:19:284 CST] 4e4ddc99 EJBEngine I WSVR0037I: Starting EJB jar: SDEEJBSession
    [10/28/04 14:33:23:003 CST] 4e4ddc99 EJBEngine I WSVR0037I: Starting EJB jar: SDEEJBEntity
    [10/28/04 14:33:25:393 CST] 4e4ddc99 CacheManager A DYNA0011E: Servlet cache file dynacache.xml not found; caching is disabled
    [10/28/04 14:33:25:409 CST] 4e4ddc99 ServletEngine A SRVE0161I: IBM WebSphere Application Server - Web Container. Copyright IBM Corp. 1998-2001
    [10/28/04 14:33:25:424 CST] 4e4ddc99 ServletEngine A SRVE0162I: Servlet Specification Level: 2.2
    [10/28/04 14:33:25:424 CST] 4e4ddc99 ServletEngine A SRVE0163I: Supported JSP Specification Level: 1.1
    [10/28/04 14:33:25:550 CST] 4e4ddc99 ServletEngine A SRVE0167I: Session Manager is Configured - Initializing...
    [10/28/04 14:33:25:628 CST] 4e4ddc99 ServletEngine A SRVE0169I: Loading Web Module: IBM Universal Test Client.
    [10/28/04 14:33:25:909 CST] 4e4ddc99 WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
    [10/28/04 14:33:25:924 CST] 4e4ddc99 WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
    [10/28/04 14:33:25:971 CST] 4e4ddc99 ServletEngine A SRVE0169I: Loading Web Module: SDEWeb.
    [10/28/04 14:33:26:096 CST] 4e4ddc99 WebGroup I SRVE0091I: [Servlet LOG]: JSP 1.1 Processor: init
    [10/28/04 14:33:26:096 CST] 4e4ddc99 WebGroup I SRVE0091I: [Servlet LOG]: SimpleFileServlet: init
    [10/28/04 14:33:26:112 CST] 4e4ddc99 WebGroup I SRVE0091I: [Servlet LOG]: InvokerServlet: init
    [10/28/04 14:33:26:424 CST] 4e4ddc99 WebGroup I SRVE0091I: [Servlet LOG]: action: init
    [10/28/04 14:33:26:440 CST] 4e4ddc99 SystemOut U 2004-10-28 14:33:26,440 INFO [org.apache.struts.util.PropertyMessageResources] - <Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true>

    [10/28/04 14:33:26:456 CST] 4e4ddc99 SystemOut U 2004-10-28 14:33:26,456 INFO [org.apache.struts.util.PropertyMessageResources] - <Initializing, config='org.apache.struts.action.ActionResources', returnNull=true>

    [10/28/04 14:33:27:815 CST] 4e4ddc99 SystemOut U 2004-10-28 14:33:27,815 INFO [org.apache.struts.util.PropertyMessageResources] - <Initializing, config='cr.go.ice.sde.web.resources.ApplicationRes ources', returnNull=true>

    [10/28/04 14:33:28:003 CST] 4e4ddc99 SystemOut U 2004-10-28 14:33:28,003 INFO [org.apache.struts.tiles.TilesPlugin] - <Tiles definition factory loaded for module ''.>

    [10/28/04 14:33:28:034 CST] 4e4ddc99 SystemOut U 2004-10-28 14:33:28,034 INFO [org.apache.struts.validator.ValidatorPlugIn] - <Loading validation rules file from '/WEB-INF/validator-rules.xml'>

    [10/28/04 14:33:28:190 CST] 4e4ddc99 SystemOut U 2004-10-28 14:33:28,190 INFO [org.apache.struts.validator.ValidatorPlugIn] - <Loading validation rules file from '/WEB-INF/validation.xml'>

    [10/28/04 14:33:28:471 CST] 4e4ddc99 HttpTransport A SRVE0171I: Transport http is listening on port 8,080.
    [10/28/04 14:33:28:487 CST] 4e4ddc99 Server A WSVR0023I: Server Default Server open for e-business
    Everything goes fine.. but...
    [10/28/04 14:33:39:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:39,862 INFO [org.springframework.jndi.JndiObjectFactoryBean] - <Located object with JNDI name [jdbc/sdeds]: value=[WebSphere DataSource:CMProperties for DataSource "SDEDS"
    DataSource Properties [oracle.jdbc.xa.client.OracleXADataSource]: {URL=jdbc:oracle:thin:@10.129.20.33:1521:des8;user =sdeusr;password=XXXXXXXX;driverType=thin;portNumb er=1521;databaseName=des8;serverName=10.129.20.33; }
    Connection Pool Properties:
    dataBaseVersion = 0
    minConnectionPoolSize = 1
    maxConnectionPoolSize = 10
    connTimeout = 180
    idleTimeout = 1800
    orphanTimeout = 1800
    agedTimeout = 0
    maxStatementCacheSize = 10
    autoConnectionCleanupDisabled = false
    errorMap = null
    informixLockModeWait = 0
    oracleStmtCacheSize = 0
    connectionValidation = false
    validationSQL = null
    logOrphan = false
    diagOptions = 0
    TransactionBranchesLooselyCoupled= false
    resetReadOnly = false
    secureXACredential = false
    surgeThreshold = -1
    surgeTime = 20
    stuckThreshold = -1
    stuckTime = 30
    stuckTimerTime = 5]>

    [10/28/04 14:33:39:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:39,862 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - <Creating shared instance of singleton bean 'SDEDS2'>

    [10/28/04 14:33:39:909 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:39,909 INFO [org.springframework.jndi.JndiObjectFactoryBean] - <Located object with JNDI name [jdbc/sdeds2]: value=[WebSphere DataSource:CMProperties for DataSource "SDEDS2"
    DataSource Properties [com.sybase.jdbc2.jdbc.SybXADataSource]: {user=alnune;password=XXXXXXXX;portNumber=5000;dat abaseName=arqui_pruebas;serverName=speapl07;}
    Connection Pool Properties:
    dataBaseVersion = 0
    minConnectionPoolSize = 1
    maxConnectionPoolSize = 10
    connTimeout = 180
    idleTimeout = 1800
    orphanTimeout = 1800
    agedTimeout = 0
    maxStatementCacheSize = 10
    autoConnectionCleanupDisabled = false
    errorMap = null
    informixLockModeWait = 0
    oracleStmtCacheSize = 0
    connectionValidation = false
    validationSQL = null
    logOrphan = false
    diagOptions = 0
    TransactionBranchesLooselyCoupled= false
    resetReadOnly = false
    secureXACredential = false
    surgeThreshold = -1
    surgeTime = 20
    stuckThreshold = -1
    stuckTime = 30
    stuckTimerTime = 5]>

    [10/28/04 14:33:39:909 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:39,909 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - <Creating shared instance of singleton bean 'SDESF'>

    [10/28/04 14:33:39:940 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:39,940 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - <Creating shared instance of singleton bean 'WSTransactionFactory'>

    [10/28/04 14:33:39:956 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:39,956 INFO [org.springframework.transaction.jta.WebSphereTrans actionManagerFactoryBean] - <Found WebSphere 4: com.ibm.ejs.jts.jta.JTSXA>

    [10/28/04 14:33:40:003 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,003 INFO [net.sf.hibernate.cfg.Environment] - <Hibernate 2.1.6>

    [10/28/04 14:33:40:003 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,003 INFO [net.sf.hibernate.cfg.Environment] - <hibernate.properties not found>

    [10/28/04 14:33:40:003 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,003 INFO [net.sf.hibernate.cfg.Environment] - <using CGLIB reflection optimizer>

    [10/28/04 14:33:40:003 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,003 INFO [net.sf.hibernate.cfg.Environment] - <JVM does not support Statement.getGeneratedKeys()>

    [10/28/04 14:33:40:018 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,018 INFO [net.sf.hibernate.cfg.Environment] - <JVM does not support LinkedHasMap, LinkedHashSet - ordered maps and sets disabled>

    [10/28/04 14:33:40:018 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,018 INFO [net.sf.hibernate.cfg.Environment] - <using workaround for JVM bug in java.sql.Timestamp>

    [10/28/04 14:33:40:362 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,362 INFO [net.sf.hibernate.cfg.Binder] - <Mapping class: cr.go.ice.sde.domain.Sdec_acreedorInfo -> SDEC_ACREEDOR>

    [10/28/04 14:33:40:659 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:40,643 INFO [net.sf.hibernate.cfg.Binder] - <Mapping class: cr.go.ice.sde.domain.Sdec_monedaInfo -> SDEC_MONEDA>
    ..............................
    [10/28/04 14:33:42:331 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,331 INFO [net.sf.hibernate.dialect.Dialect] - <Using dialect: net.sf.hibernate.dialect.Oracle9Dialect>

    [10/28/04 14:33:42:331 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,331 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Use outer join fetching: false>

    [10/28/04 14:33:42:331 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,331 INFO [net.sf.hibernate.connection.ConnectionProviderFact ory] - <Initializing connection provider: org.springframework.orm.hibernate.LocalDataSourceC onnectionProvider>

    [10/28/04 14:33:42:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,346 INFO [net.sf.hibernate.transaction.TransactionManagerLoo kupFactory] - <instantiating TransactionManagerLookup: org.springframework.orm.hibernate.LocalTransaction ManagerLookup>

    [10/28/04 14:33:42:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,346 INFO [net.sf.hibernate.transaction.TransactionManagerLoo kupFactory] - <instantiated TransactionManagerLookup>

    [10/28/04 14:33:42:565 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,565 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Use scrollable result sets: true>

    [10/28/04 14:33:42:565 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,565 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Use JDBC3 getGeneratedKeys(): false>

    [10/28/04 14:33:42:565 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,565 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Optimize cache for minimal puts: false>

    [10/28/04 14:33:42:565 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,565 INFO [net.sf.hibernate.cfg.SettingsFactory] - <echoing all SQL to stdout>

    [10/28/04 14:33:42:565 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,565 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Query language substitutions: {}>

    [10/28/04 14:33:42:565 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,565 INFO [net.sf.hibernate.cfg.SettingsFactory] - <cache provider: net.sf.hibernate.cache.EhCacheProvider>

    [10/28/04 14:33:42:581 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,581 INFO [net.sf.hibernate.cfg.Configuration] - <instantiating and configuring caches>

    [10/28/04 14:33:42:628 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:42,628 INFO [net.sf.hibernate.impl.SessionFactoryImpl] - <building session factory>

    [10/28/04 14:33:43:784 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,784 INFO [net.sf.hibernate.impl.SessionFactoryObjectFactory] - <Not binding factory to JNDI, no JNDI name configured>

    [10/28/04 14:33:43:784 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,784 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - <Creating shared instance of singleton bean 'SDESF2'>

    [10/28/04 14:33:43:831 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,831 INFO [net.sf.hibernate.cfg.Binder] - <Mapping class: cr.go.ice.sde.domain.Con02ch -> con02ch>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [org.springframework.orm.hibernate.LocalSessionFact oryBean] - <Building new Hibernate SessionFactory>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.cfg.Configuration] - <processing one-to-many association mappings>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.cfg.Configuration] - <processing one-to-one association property references>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.cfg.Configuration] - <processing foreign key constraints>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.dialect.Dialect] - <Using dialect: net.sf.hibernate.dialect.SybaseDialect>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Use outer join fetching: false>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.connection.ConnectionProviderFact ory] - <Initializing connection provider: org.springframework.orm.hibernate.LocalDataSourceC onnectionProvider>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.transaction.TransactionManagerLoo kupFactory] - <instantiating TransactionManagerLookup: org.springframework.orm.hibernate.LocalTransaction ManagerLookup>

    [10/28/04 14:33:43:862 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:43,862 INFO [net.sf.hibernate.transaction.TransactionManagerLoo kupFactory] - <instantiated TransactionManagerLookup>

    [10/28/04 14:33:44:331 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,331 WARN [net.sf.hibernate.util.JDBCExceptionReporter] - <SQL Error: 0, SQLState: JZ0XS>

    [10/28/04 14:33:44:331 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,331 ERROR [net.sf.hibernate.util.JDBCExceptionReporter] - <JZ0XS: The server does not support XA-style transactions. Please verify that the transaction feature is enabled and licensed on this server.>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,331 WARN [net.sf.hibernate.cfg.SettingsFactory] - <Could not obtain connection metadata>
    java.sql.SQLException: JZ0XS: The server does not support XA-style transactions. Please verify that the transaction feature is enabled and licensed on this server.
    at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(Erro rMessage.java:500)
    at com.sybase.jdbc2.jdbc.SybXAConnection.<init>(SybXA Connection.java:274)
    at com.sybase.jdbc2.jdbc.SybXADataSource.createConnec tion(SybXADataSource.java:147)
    at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver. java:473)
    at com.sybase.jdbc2.jdbc.SybDriver.connect(SybDriver. java:505)
    at com.sybase.jdbc2.jdbc.SybDataSource.getConnection( SybDataSource.java:270)
    at com.sybase.jdbc2.jdbc.SybXADataSource.getXAConnect ion(SybXADataSource.java:97)
    at com.ibm.ejs.cm.portability.SybasePortabilityLayer. getInstance(SybasePortabilityLayer.java:200)
    at com.ibm.ejs.cm.portability.PortabilityLayerFactory .getPortabilityLayer(PortabilityLayerFactory.java: 83)
    at com.ibm.ejs.cm.JDBC2PhaseRF.createConnectionFactor y(JDBC2PhaseRF.java:59)
    at com.ibm.ejs.cm.JDBC2PhaseRF.getSource(JDBC2PhaseRF .java:167)
    at com.ibm.ejs.cm.DataSourceImpl$1.run(DataSourceImpl .java:135)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSo urceImpl.java:133)
    at com.ibm.ejs.cm.DataSourceImpl.getConnection(DataSo urceImpl.java:102)
    at org.springframework.orm.hibernate.LocalDataSourceC onnectionProvider.getConnection(LocalDataSourceCon nectionProvider.java:59)
    at net.sf.hibernate.cfg.SettingsFactory.buildSettings (SettingsFactory.java:73)
    at net.sf.hibernate.cfg.Configuration.buildSettings(C onfiguration.java:1155)
    at net.sf.hibernate.cfg.Configuration.buildSessionFac tory(Configuration.java:789)
    at org.springframework.orm.hibernate.LocalSessionFact oryBean.newSessionFactory(LocalSessionFactoryBean. java:467)
    at org.springframework.orm.hibernate.LocalSessionFact oryBean.afterPropertiesSet(LocalSessionFactoryBean .java:405)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1057)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:287)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:205)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:204)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:136)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:230)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:284)
    at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:80)
    at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:65)
    at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:56)
    at cr.go.ice.sde.ejb.session.AcreedorDBBean.ejbCreate (AcreedorDBBean.java:49)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.ibm.ejs.container.StatelessBeanO.<init>(Statel essBeanO.java:114)
    at com.ibm.ejs.container.CMStatelessBeanO.<init>(CMSt atelessBeanO.java:29)
    at com.ibm.ejs.container.CMStatelessBeanOFactory.crea te(CMStatelessBeanOFactory.java:17)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:464)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:548)
    at com.ibm.ejs.container.activator.UncachedActivation Strategy.atActivate(UncachedActivationStrategy.jav a:66)
    at com.ibm.ejs.container.activator.Activator.activate Bean(Activator.java:186)
    at com.ibm.ejs.container.EJSContainer.preInvoke(EJSCo ntainer.java:1646)
    at cr.go.ice.sde.ejb.session.EJSRemoteStatelessAcreed orDB_5577b4b9.catalogo(EJSRemoteStatelessAcreedorD B_5577b4b9.java:61)
    at cr.go.ice.sde.ejb.session._AcreedorDB_Stub.catalog o(_AcreedorDB_Stub.java:254)
    at cr.go.ice.sde.bd.implement.AcreedorBD.catalogo(Acr eedorBD.java:42)
    at cr.go.ice.sde.web.actions.acreedor.AcreedorAction. execute(AcreedorAction.java:62)
    at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
    at com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:151)
    at com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:317)
    at com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
    at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:477)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:351)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 44)

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Use scrollable result sets: false>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Use JDBC3 getGeneratedKeys(): false>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Optimize cache for minimal puts: false>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.cfg.SettingsFactory] - <echoing all SQL to stdout>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.cfg.SettingsFactory] - <Query language substitutions: {}>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.cfg.SettingsFactory] - <cache provider: net.sf.hibernate.cache.EhCacheProvider>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.cfg.Configuration] - <instantiating and configuring caches>

    [10/28/04 14:33:44:346 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,346 INFO [net.sf.hibernate.impl.SessionFactoryImpl] - <building session factory>

    [10/28/04 14:33:44:362 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,362 INFO [net.sf.hibernate.impl.SessionFactoryObjectFactory] - <Not binding factory to JNDI, no JNDI name configured>

    [10/28/04 14:33:44:362 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,362 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - <Creating shared instance of singleton bean 'SDETM'>

    [10/28/04 14:33:44:456 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,456 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - <Destroying singletons in factory {org.springframework.beans.factory.support.Default ListableBeanFactory defining beans [SDEDS,SDEDS2,SDESF,SDESF2,WSTransactionFactory,SDE TM,AcreedorDAO,AcreedorDAOTarget,AmortizacionDAO,A mortizacionDAOTarget,DesembolsoDAO,DesembolsoDAOTa rget,MonedaDAO,MonedaDAOTarget,PagoInteresesDAO,Pa goInteresesDAOTarget,PrestamoDAO,PrestamoDAOTarget ,ProyeccionDAO,ProyeccionDAOTarget,SectorDAO,Secto rDAOTarget,TablaFinancieraDAO,TablaFinancieraDAOTa rget,TCSimuladoDAO,TCSimuladoDAOTarget,TipoAcreedo rDAO,TipoAcreedorDAOTarget,TipoDesembolsoDAO,TipoD esembolsoDAOTarget,TipoFinanciamientoDAO,TipoFinan ciamientoDAOTarget,TipoMonedaDAO,TipoMonedaDAOTarg et,TipoPeriodoDAO,TipoPeriodoDAOTarget]; Root of BeanFactory hierarchy}>

    [10/28/04 14:33:44:456 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,456 INFO [org.springframework.orm.hibernate.LocalSessionFact oryBean] - <Closing Hibernate SessionFactory>

    [10/28/04 14:33:44:456 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,456 INFO [net.sf.hibernate.impl.SessionFactoryImpl] - <closing>

    [10/28/04 14:33:44:456 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,456 INFO [org.springframework.orm.hibernate.LocalSessionFact oryBean] - <Closing Hibernate SessionFactory>

    [10/28/04 14:33:44:471 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,471 INFO [net.sf.hibernate.impl.SessionFactoryImpl] - <closing>

    [10/28/04 14:33:44:471 CST] 1ecedc93 SystemOut U 2004-10-28 14:33:44,471 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] - <Destroying inner beans in factory {org.springframework.beans.factory.support.Default ListableBeanFactory defining beans [SDEDS,SDEDS2,SDESF,SDESF2,WSTransactionFactory,SDE TM,AcreedorDAO,AcreedorDAOTarget,AmortizacionDAO,A mortizacionDAOTarget,DesembolsoDAO,DesembolsoDAOTa rget,MonedaDAO,MonedaDAOTarget,PagoInteresesDAO,Pa goInteresesDAOTarget,PrestamoDAO,PrestamoDAOTarget ,ProyeccionDAO,ProyeccionDAOTarget,SectorDAO,Secto rDAOTarget,TablaFinancieraDAO,TablaFinancieraDAOTa rget,TCSimuladoDAO,TCSimuladoDAOTarget,TipoAcreedo rDAO,TipoAcreedorDAOTarget,TipoDesembolsoDAO,TipoD esembolsoDAOTarget,TipoFinanciamientoDAO,TipoFinan ciamientoDAOTarget,TipoMonedaDAO,TipoMonedaDAOTarg et,TipoPeriodoDAO,TipoPeriodoDAOTarget]; Root of BeanFactory hierarchy}>

    [10/28/04 14:33:44:471 CST] 1ecedc93 SystemOut U org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'SDETM' defined in class path resource [dataAccessContext.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemE xception: JTA UserTransaction is not available at JNDI location [java:comp/UserTransaction]; nested exception is javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".
    [10/28/04 14:33:44:487 CST] 1ecedc93 ExceptionUtil X CNTR0019E: Non-application exception occurred while processing method catalogo: com.ibm.ejs.container.CreateFailureException: java.lang.reflect.InvocationTargetException; nested exception is:
    java.lang.reflect.InvocationTargetException
    java.lang.reflect.InvocationTargetException: javax.ejb.EJBException
    at cr.go.ice.sde.ejb.session.AcreedorDBBean.ejbCreate (AcreedorDBBean.java:52)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.ibm.ejs.container.StatelessBeanO.<init>(Statel essBeanO.java:114)
    at com.ibm.ejs.container.CMStatelessBeanO.<init>(CMSt atelessBeanO.java:29)
    at com.ibm.ejs.container.CMStatelessBeanOFactory.crea te(CMStatelessBeanOFactory.java:17)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:464)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:548)
    at com.ibm.ejs.container.activator.UncachedActivation Strategy.atActivate(UncachedActivationStrategy.jav a:66)
    at com.ibm.ejs.container.activator.Activator.activate Bean(Activator.java:186)
    at com.ibm.ejs.container.EJSContainer.preInvoke(EJSCo ntainer.java:1646)
    at cr.go.ice.sde.ejb.session.EJSRemoteStatelessAcreed orDB_5577b4b9.catalogo(EJSRemoteStatelessAcreedorD B_5577b4b9.java:61)
    at cr.go.ice.sde.ejb.session._AcreedorDB_Stub.catalog o(_AcreedorDB_Stub.java:254)
    at cr.go.ice.sde.bd.implement.AcreedorBD.catalogo(Acr eedorBD.java:42)
    at cr.go.ice.sde.web.actions.acreedor.AcreedorAction. execute(AcreedorAction.java:62)
    at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
    at com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:151)
    at com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:317)
    at com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
    at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:477)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:351)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 44)
    ----- Begin backtrace for detail
    java.lang.reflect.InvocationTargetException: javax.ejb.EJBException
    at cr.go.ice.sde.ejb.session.AcreedorDBBean.ejbCreate (AcreedorDBBean.java:52)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.ibm.ejs.container.StatelessBeanO.<init>(Statel essBeanO.java:114)
    at com.ibm.ejs.container.CMStatelessBeanO.<init>(CMSt atelessBeanO.java:29)
    at com.ibm.ejs.container.CMStatelessBeanOFactory.crea te(CMStatelessBeanOFactory.java:17)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:464)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:548)
    at com.ibm.ejs.container.activator.UncachedActivation Strategy.atActivate(UncachedActivationStrategy.jav a:66)
    at com.ibm.ejs.container.activator.Activator.activate Bean(Activator.java:186)
    at com.ibm.ejs.container.EJSContainer.preInvoke(EJSCo ntainer.java:1646)
    at cr.go.ice.sde.ejb.session.EJSRemoteStatelessAcreed orDB_5577b4b9.catalogo(EJSRemoteStatelessAcreedorD B_5577b4b9.java:61)
    at cr.go.ice.sde.ejb.session._AcreedorDB_Stub.catalog o(_AcreedorDB_Stub.java:254)
    at cr.go.ice.sde.bd.implement.AcreedorBD.catalogo(Acr eedorBD.java:42)
    at cr.go.ice.sde.web.actions.acreedor.AcreedorAction. execute(AcreedorAction.java:62)
    at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
    at com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:151)
    at com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:317)
    at com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
    at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:477)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:351)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 44)
    ----- Begin backtrace for targetException
    javax.ejb.EJBException
    at cr.go.ice.sde.ejb.session.AcreedorDBBean.ejbCreate (AcreedorDBBean.java:52)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.ibm.ejs.container.StatelessBeanO.<init>(Statel essBeanO.java:114)
    at com.ibm.ejs.container.CMStatelessBeanO.<init>(CMSt atelessBeanO.java:29)
    at com.ibm.ejs.container.CMStatelessBeanOFactory.crea te(CMStatelessBeanOFactory.java:17)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:464)
    at com.ibm.ejs.container.EJSHome.createBeanO(EJSHome. java:548)
    at com.ibm.ejs.container.activator.UncachedActivation Strategy.atActivate(UncachedActivationStrategy.jav a:66)
    at com.ibm.ejs.container.activator.Activator.activate Bean(Activator.java:186)
    at com.ibm.ejs.container.EJSContainer.preInvoke(EJSCo ntainer.java:1646)
    at cr.go.ice.sde.ejb.session.EJSRemoteStatelessAcreed orDB_5577b4b9.catalogo(EJSRemoteStatelessAcreedorD B_5577b4b9.java:61)
    at cr.go.ice.sde.ejb.session._AcreedorDB_Stub.catalog o(_AcreedorDB_Stub.java:254)
    at cr.go.ice.sde.bd.implement.AcreedorBD.catalogo(Acr eedorBD.java:42)
    at cr.go.ice.sde.web.actions.acreedor.AcreedorAction. execute(AcreedorAction.java:62)
    at org.apache.struts.action.RequestProcessor.processA ctionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(Actio nServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstanc e.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.ser vice(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServl et.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.serv ice(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenc eState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceRefer ence.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.handleWebAppDispatch(WebAppRequestDispatcher.j ava:721)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.dispatch(WebAppRequestDispatcher.java:374)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatc her.forward(WebAppRequestDispatcher.java:118)
    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward (WebAppInvoker.java:134)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInv ocationHook(WebAppInvoker.java:239)
    at com.ibm.servlet.engine.invocation.CachedInvocation .handleInvocation(CachedInvocation.java:67)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor .dispatchByURI(ServletRequestProcessor.java:151)
    at com.ibm.servlet.engine.oselistener.OSEListenerDisp atcher.service(OSEListener.java:317)
    at com.ibm.servlet.engine.http11.HttpConnection.handl eRequest(HttpConnection.java:60)
    at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:477)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:351)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:1 44)
    ----- Begin backtrace for causedBy
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'SDETM' defined in class path resource [dataAccessContext.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemE xception: JTA UserTransaction is not available at JNDI location [java:comp/UserTransaction]; nested exception is javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".
    org.springframework.transaction.TransactionSystemE xception: JTA UserTransaction is not available at JNDI location [java:comp/UserTransaction]; nested exception is javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".
    javax.naming.NameNotFoundException: Name "comp/UserTransaction" not found in context "java:".
    at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpac e.java:833)
    at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlCon text.java:1170)
    at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlCon text.java:1162)
    at com.ibm.ws.naming.urlbase.UrlContext.lookup(UrlCon text.java:1214)
    at javax.naming.InitialContext.lookup(InitialContext. java:359)
    at org.springframework.jndi.JndiTemplate$1.doInContex t(JndiTemplate.java:123)
    .....................................
    So I don't have realle the idea why this is happening, Is there any way that I can know if the sybase server can handle XA Style transactions besides asking the administrator (because I don't think he may knows).

    Comment


    • #3
      XA Driver

      you need to use the XA drvier that comes with your database..

      Comment

      Working...
      X