Announcement Announcement Module
Collapse
No announcement yet.
java:comp/UserTransaction not found on Websphere 5.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • java:comp/UserTransaction not found on Websphere 5.1

    I have an application context configuration to be used on Websphere5.1, to be used with DAOs using JdbcDaoSupport.

    Here is my config:
    Code:
    <beans>
        <bean id="jndiTemplate" class="org.springframework.jndi.JndiTemplate">
            <property name="environment">
                <props>
                    <prop key="java.naming.factory.initial">com.ibm.websphere.naming.WsnInitialContextFactory</prop>
                    <prop key="java.naming.provider.url">corbaloc&#58;rir&#58;/NameServiceServerRoot</prop>
                </props>
            </property>
        </bean>
        
        
        <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
            <property name="jndiTemplate"><ref bean="jndiTemplate"/></property>
            <property name="jndiName"><value>jdbc/dsname</value></property>
        </bean>
     
        <bean id="WSTransactionFactory" class="org.springframework.transaction.jta.WebSphereTransactionManagerFactoryBean"/>
       
        <bean id="JtaTM" class="org.springframework.transaction.jta.JtaTransactionManager">
            <property name="transactionManager">
                <ref local="WSTransactionFactory"/>
            </property>
        </bean> 
    
        <bean id="testDAO" class="eg.TestDAOImpl">
            <property name="dataSource"><ref bean="dataSource"></ref></property>
        </bean>
    </beans>
    When I lookup my testDAO from the app context I get this exception:
    Code:
    Caused by&#58; org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'JtaTM' defined in class path resource &#91;daoApplicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException&#58; JTA UserTransaction is not available at JNDI location &#91;java&#58;comp/UserTransaction&#93;; nested exception is javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;365&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;226&#41;
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons&#40;DefaultListableBeanFactory.java&#58;276&#41;
    	at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;312&#41;
    	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>&#40;ClassPathXmlApplicationContext.java&#58;80&#41;
    	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>&#40;ClassPathXmlApplicationContext.java&#58;65&#41;
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance0&#40;Native Method&#41;
    	at sun.reflect.NativeConstructorAccessorImpl.newInstance&#40;NativeConstructorAccessorImpl.java&#40;Compiled Code&#41;&#41;
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance&#40;DelegatingConstructorAccessorImpl.java&#40;Compiled Code&#41;&#41;
    	at java.lang.reflect.Constructor.newInstance&#40;Constructor.java&#40;Compiled Code&#41;&#41;
    	at org.springframework.beans.BeanUtils.instantiateClass&#40;BeanUtils.java&#58;100&#41;
    	... 67 more
    Caused by&#58; org.springframework.transaction.TransactionSystemException&#58; JTA UserTransaction is not available at JNDI location &#91;java&#58;comp/UserTransaction&#93;; nested exception is javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
    	at org.springframework.transaction.jta.JtaTransactionManager.lookupUserTransaction&#40;JtaTransactionManager.java&#58;457&#41;
    	at org.springframework.transaction.jta.JtaTransactionManager.afterPropertiesSet&#40;JtaTransactionManager.java&#58;378&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;966&#41;
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;358&#41;
    	... 78 more
    Caused by&#58; javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
    	at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal&#40;NameSpace.java&#40;Compiled Code&#41;&#41;
    	at com.ibm.ws.naming.ipbase.NameSpace.lookup&#40;NameSpace.java&#40;Compiled Code&#41;&#41;
    	at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup&#40;UrlContextImpl.java&#58;1261&#41;
    	at com.ibm.ws.naming.java.javaURLContextRoot.lookup&#40;javaURLContextRoot.java&#58;196&#41;
    	at com.ibm.ws.naming.java.javaURLContextRoot.lookup&#40;javaURLContextRoot.java&#58;137&#41;
    	at javax.naming.InitialContext.lookup&#40;InitialContext.java&#58;361&#41;
    	at org.springframework.jndi.JndiTemplate$1.doInContext&#40;JndiTemplate.java&#58;123&#41;
    	at org.springframework.jndi.JndiTemplate.execute&#40;JndiTemplate.java&#58;85&#41;
    	at org.springframework.jndi.JndiTemplate.lookup&#40;JndiTemplate.java&#58;121&#41;
    	at org.springframework.jndi.JndiTemplate.lookup&#40;JndiTemplate.java&#58;146&#41;
    	at org.springframework.transaction.jta.JtaTransactionManager.lookupUserTransaction&#40;JtaTransactionManager.java&#58;452&#41;
    I have seen another post about specifying the JNDI name for the UserTransaction on Websphere as 'jta/usertransaction' although when I do this I get other ClassCastException errors looking up the user transaction, trying to cast to a javax.naming.Reference.

    Has anyone seen this before? It seems there a a few related posts but I have not seen a definite answer.

    Is anyone using Spring with Websphere 5.1 and have you run into similar issues?

    Thanks,
    Kevin Hooke

  • #2
    This post may help
    http://article.gmane.org/gmane.comp....work.user/2302

    Comment


    • #3
      I am having a similar problem and would be curious to know if anyone has an answer to this question. I'm running into that same exception listed above, but I only get it when I try to load a 2nd application context via a message consumer thread.

      Comment


      • #4
        I am having the same problem in my current setup. The configuration that is imposed to us is based on a web layer and an ejb layer physically separated. I'm using a stateless session bean facade that delegates processing to POJO objects. Those POJO service objects are using DAO to interact with the persistence layer. Those DAOs are Hibernate-based. In order to be able to take profit of the lazy-loading that Hibernate proposes, I'm trying to propagate the transaction down to the Hibernate implementation, to make sure that the Hibernate session remains open for the lifetime of the entire transaction. The configuration file looks like this:

        Code:
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
        
        <beans>
        	<bean id="viveoDataSource"
        		class="org.springframework.jndi.JndiObjectFactoryBean">
        		<property name="jndiName">
        			<value>jdbc/viveoDS</value>
        		</property>
        	</bean>
        	<bean id="hibernateSessionFactory"
        		class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
        		<property name="dataSource">
        			<ref bean="viveoDataSource"/>
        		</property>
        		<property name="mappingResources">
        			<list>
        				<value>Rule.hbm.xml</value>
        				<value>Pattern.hbm.xml</value>
        				<value>Permutation.hbm.xml</value>
        				<value>Variation.hbm.xml</value>
        				<value>Skip.hbm.xml</value>
        				<value>Enrichment.hbm.xml</value>
        			</list>
        		</property>
        		<property name="hibernateProperties">
        			<props>
        				<prop key="hibernate.dialect">org.hibernate.dialect.DB2Dialect</prop>
        			</props>
        		</property>
        	</bean>
        	<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
        	</bean>
        	<bean id="ruleDao" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
        		<property name="transactionManager">
        			<ref bean="transactionManager"/>
        		</property>
        		<property name="target">
        			<ref bean="ruleDaoTarget"/>
        		</property>	
        		<property name="transactionAttributes">
        			<props>
        				<prop key="*">PROPAGATION_REQUIRED</prop>
        			</props>
        		</property>
        	</bean>
        	<bean id="ruleDaoTarget"
        		class="com.viveo.hobm.dao.hibernate.RuleDaoHibernate">
        		<property name="sessionFactory">
        			<ref local="hibernateSessionFactory"/>
        		</property>
        	</bean>
        	<bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
        		<property name="basename">
        			<value>hobmResources</value>
        		</property>
        	</bean>
        </beans>
        and the exception is the following:

        Code:
        *** Starting the server ***
        ************ Start Display Current Environment ************
        WebSphere Platform 5.1 &#91;BASE 5.1.1 a0426.01&#93; &#91;JDK 1.4.2 cn1420-20040626&#93;  running with process name localhost\localhost\server1 and process id 3572
        Host Operating System is Windows XP, version 5.1 build 2600 Service Pack 2
        Java version = J2RE 1.4.2 IBM J9 build 20040610 &#40;JIT enabled&#41;, Java Compiler = j9jit21, Java VM name = IBM J9SE VM
        was.install.root = C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51
        user.install.root = C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51
        Java Home = C&#58;\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\java\jre
        ws.ext.dirs = C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/java/lib;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/classes;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/classes;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/lib;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/lib/ext;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/web/help;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime;C&#58;/Program Files/SQLLIB/java/db2java.zip;C&#58;/Program Files/IBM/Rational/SDP/6.0/rwd/eclipse/plugins/com.ibm.etools.webservice.consumption.soap_6.0.2/runtime/worf.jar
        Classpath = C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/properties;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/properties;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/lib/bootstrap.jar;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/lib/j2ee.jar;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/lib/lmproxy.jar;C&#58;/Program Files/IBM/Rational/SDP/6.0/runtimes/base_v51/lib/urlprotocols.jar;C&#58;/Program Files/IBM/Rational/SDP/6.0/rwd/eclipse/plugins/com.ibm.etools.websphere.tools.common_6.0.2/wteServers.jar;C&#58;/Program Files/IBM/Rational/SDP/6.0/rwd/eclipse/plugins/com.ibm.etools.websphere.tools.common_6.0.2/wasToolsCommon.jar
        Java Library path = C&#58;\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\bin;C&#58;\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\java/bin;C&#58;\Program Files\IBM\Rational\SDP\6.0\runtimes\base_v51\java/jre/bin;C&#58;\Program Files\IBM\Rational\SDP\6.0\eclipse\jre\bin;.;C&#58;\Program Files\IBM\Rational\SDP\6.0\eclipse\jre\bin;C&#58;\WINDOWS\system32;C&#58;\WINDOWS;C&#58;\WINDOWS\System32\Wbem;C&#58;\Program Files\UltraEdit;C&#58;\Program Files\Hummingbird\Connectivity\7.00\Accessories\;C&#58;\Program Files\SQLLIB\BIN;C&#58;\Program Files\SQLLIB\FUNCTION;C&#58;\Program Files\SQLLIB\SAMPLES\REPL;C&#58;\Program Files\SQLLIB\HELP;C&#58;\PROGRA~1\IBM\IMNNQ
        ************* End Display Current Environment *************
        &#91;05/10/05 15&#58;05&#58;31&#58;166 CEST&#93; 1a0b1a0b ManagerAdmin  I TRAS0017I&#58; The startup trace state is org.springframework.*=all=enabled.
        &#91;05/10/05 15&#58;05&#58;31&#58;526 CEST&#93; 1a0b1a0b AdminInitiali A ADMN0015I&#58; AdminService initialized
        &#91;05/10/05 15&#58;05&#58;31&#58;901 CEST&#93; 1a0b1a0b ConfigInfoBui A NMSV0819I&#58; No name server custom properties were found.
        &#91;05/10/05 15&#58;05&#58;32&#58;010 CEST&#93; 1a0b1a0b Configuration A SECJ0215I&#58; Successfully set JAAS login provider configuration class to com.ibm.ws.security.auth.login.Configuration.
        &#91;05/10/05 15&#58;05&#58;32&#58;041 CEST&#93; 1a0b1a0b SecurityDM    I SECJ0231I&#58; The Security component's FFDC Diagnostic Module com.ibm.ws.security.core.SecurityDM registered successfully&#58; true.
        &#91;05/10/05 15&#58;05&#58;32&#58;197 CEST&#93; 1a0b1a0b SecurityCompo I SECJ0309I&#58; Java 2 Security is disabled.
        &#91;05/10/05 15&#58;05&#58;32&#58;197 CEST&#93; 1a0b1a0b SecurityCompo I SECJ0212I&#58; WCCM JAAS configuration information successfully pushed to login provider class.
        &#91;05/10/05 15&#58;05&#58;32&#58;213 CEST&#93; 1a0b1a0b SecurityCompo I SECJ0240I&#58; Security service initialization completed successfully
        &#91;05/10/05 15&#58;05&#58;32&#58;213 CEST&#93; 1a0b1a0b JMSRegistrati A MSGS0602I&#58; WebSphere Embedded Messaging Client only has been installed
        &#91;05/10/05 15&#58;05&#58;34&#58;354 CEST&#93; 1a0b1a0b ResourceMgrIm I WSVR0049I&#58; Binding Viveo Data Source_CF as eis/jdbc/viveoDS_CMP
        &#91;05/10/05 15&#58;05&#58;34&#58;432 CEST&#93; 1a0b1a0b ResourceMgrIm I WSVR0049I&#58; Binding Viveo Data Source as jdbc/viveoDS
        &#91;05/10/05 15&#58;05&#58;34&#58;744 CEST&#93; 1a0b1a0b CacheServiceI I DYNA0048I&#58; WebSphere Dynamic Cache initialized successfully.
        &#91;05/10/05 15&#58;05&#58;36&#58;150 CEST&#93; 1a0b1a0b JMXSoapAdapte A ADMC0013I&#58; SOAP connector available at port 8880
        &#91;05/10/05 15&#58;05&#58;36&#58;166 CEST&#93; 1a0b1a0b SecurityCompo I SECJ0243I&#58; Security service started successfully
        &#91;05/10/05 15&#58;05&#58;36&#58;166 CEST&#93; 1a0b1a0b SecurityCompo I SECJ0210I&#58; Security enabled false
        &#91;05/10/05 15&#58;05&#58;36&#58;760 CEST&#93; 1a0b1a0b ApplicationMg A WSVR0200I&#58; Starting application&#58; IBMUTC
        &#91;05/10/05 15&#58;05&#58;36&#58;854 CEST&#93; 1a0b1a0b WebContainer  A SRVE0161I&#58; IBM WebSphere Application Server - Web Container.  Copyright IBM Corp. 1998-2002
        &#91;05/10/05 15&#58;05&#58;36&#58;869 CEST&#93; 1a0b1a0b WebContainer  A SRVE0162I&#58; Servlet Specification Level&#58; 2.3
        &#91;05/10/05 15&#58;05&#58;36&#58;869 CEST&#93; 1a0b1a0b WebContainer  A SRVE0163I&#58; Supported JSP Specification Level&#58; 1.2
        &#91;05/10/05 15&#58;05&#58;36&#58;963 CEST&#93; 1a0b1a0b WebContainer  A SRVE0169I&#58; Loading Web Module&#58; Universal Test Client.
        &#91;05/10/05 15&#58;05&#58;37&#58;088 CEST&#93; 1a0b1a0b WebGroup      I SRVE0180I&#58; &#91;Universal Test Client&#93; &#91;/UTC&#93; &#91;Servlet.LOG&#93;&#58; JSP 1.2 Processor&#58; init
        &#91;05/10/05 15&#58;05&#58;37&#58;150 CEST&#93; 1a0b1a0b WebGroup      I SRVE0180I&#58; &#91;Universal Test Client&#93; &#91;/UTC&#93; &#91;Servlet.LOG&#93;&#58; SimpleFileServlet&#58; init
        &#91;05/10/05 15&#58;05&#58;37&#58;197 CEST&#93; 1a0b1a0b ApplicationMg A WSVR0221I&#58; Application started&#58; IBMUTC
        &#91;05/10/05 15&#58;05&#58;37&#58;197 CEST&#93; 1a0b1a0b ApplicationMg A WSVR0200I&#58; Starting application&#58; hobmEAR
        &#91;05/10/05 15&#58;05&#58;37&#58;447 CEST&#93; 1a0b1a0b EJBContainerI I WSVR0207I&#58; Preparing to start EJB jar&#58; hobmEJB.jar
        &#91;05/10/05 15&#58;05&#58;37&#58;604 CEST&#93; 1a0b1a0b EJBContainerI I WSVR0037I&#58; Starting EJB jar&#58; hobmEJB.jar
        &#91;05/10/05 15&#58;05&#58;37&#58;713 CEST&#93; 1a0b1a0b WebContainer  A SRVE0169I&#58; Loading Web Module&#58; hobmWeb.
        &#91;05/10/05 15&#58;05&#58;37&#58;744 CEST&#93; 1a0b1a0b WebGroup      I SRVE0180I&#58; &#91;hobmWeb&#93; &#91;/hobmWeb&#93; &#91;Servlet.LOG&#93;&#58; JSP 1.2 Processor&#58; init
        &#91;05/10/05 15&#58;05&#58;37&#58;775 CEST&#93; 1a0b1a0b WebGroup      I SRVE0180I&#58; &#91;hobmWeb&#93; &#91;/hobmWeb&#93; &#91;Servlet.LOG&#93;&#58; SimpleFileServlet&#58; init
        &#91;05/10/05 15&#58;05&#58;37&#58;775 CEST&#93; 1a0b1a0b WebGroup      I SRVE0180I&#58; &#91;hobmWeb&#93; &#91;/hobmWeb&#93; &#91;Servlet.LOG&#93;&#58; InvokerServlet&#58; init
        &#91;05/10/05 15&#58;05&#58;37&#58;791 CEST&#93; 1a0b1a0b ApplicationMg A WSVR0221I&#58; Application started&#58; hobmEAR
        &#91;05/10/05 15&#58;05&#58;38&#58;072 CEST&#93; 1a0b1a0b HttpTransport A SRVE0171I&#58; Transport http is listening on port 9,080.
        &#91;05/10/05 15&#58;05&#58;40&#58;025 CEST&#93; 1a0b1a0b HttpTransport A SRVE0171I&#58; Transport https is listening on port 9,443.
        &#91;05/10/05 15&#58;05&#58;40&#58;057 CEST&#93; 1a0b1a0b RMIConnectorC A ADMC0026I&#58; RMI Connector available at port 2809
        &#91;05/10/05 15&#58;05&#58;40&#58;088 CEST&#93; 1a0b1a0b WsServer      A WSVR0001I&#58; Server server1 open for e-business
        &#91;05/10/05 15&#58;06&#58;30&#58;650 CEST&#93; 55e955e9 WebGroup      I SRVE0180I&#58; &#91;hobmWeb&#93; &#91;/hobmWeb&#93; &#91;Servlet.LOG&#93;&#58; ServletRedirector&#58; init
        &#91;05/10/05 15&#58;06&#58;31&#58;322 CEST&#93; 55e955e9 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader  Loading XML bean definitions from class path resource &#91;hobmWebContext.xml&#93;
        &#91;05/10/05 15&#58;06&#58;31&#58;447 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Bean factory for application context &#91;org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=833040807&#93;&#58; org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;ruleManagerHome,ruleTestObject&#93;; root of BeanFactory hierarchy
        &#91;05/10/05 15&#58;06&#58;31&#58;494 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  2 beans defined in application context &#91;org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=833040807&#93;
        &#91;05/10/05 15&#58;06&#58;31&#58;525 CEST&#93; 55e955e9 CollectionFac I org.springframework.core.CollectionFactory  JDK 1.4+ collections available
        &#91;05/10/05 15&#58;06&#58;31&#58;556 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Unable to locate MessageSource with name 'messageSource'&#58; using default &#91;[email protected]828&#93;
        &#91;05/10/05 15&#58;06&#58;31&#58;572 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster'&#58; using default &#91;org.springframework.context.event.SimpleApplicationEventMulticaster@4b844b84&#93;
        &#91;05/10/05 15&#58;06&#58;31&#58;572 CEST&#93; 55e955e9 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory  Pre-instantiating singletons in factory &#91;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;ruleManagerHome,ruleTestObject&#93;; root of BeanFactory hierarchy&#93;
        &#91;05/10/05 15&#58;06&#58;31&#58;994 CEST&#93; 55e955e9 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader  Loading XML bean definitions from URL &#91;file&#58;/D&#58;/workspaces/hobm/hobmEJB/ejbModule/beanRefContext.xml&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;009 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Bean factory for application context &#91;org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=792735552&#93;&#58; org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;serviceLayer-context&#93;; root of BeanFactory hierarchy
        &#91;05/10/05 15&#58;06&#58;32&#58;009 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  1 beans defined in application context &#91;org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=792735552&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;025 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Unable to locate MessageSource with name 'messageSource'&#58; using default &#91;[email protected]20e&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;025 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster'&#58; using default &#91;org.springframework.context.event.SimpleApplicationEventMulticaster@2d472d47&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;025 CEST&#93; 55e955e9 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory  Pre-instantiating singletons in factory &#91;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;serviceLayer-context&#93;; root of BeanFactory hierarchy&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;056 CEST&#93; 55e955e9 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader  Loading XML bean definitions from class path resource &#91;hobmApplicationContext.xml&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;306 CEST&#93; 55e955e9 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader  Loading XML bean definitions from class path resource &#91;hobmEJBContext.xml&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;338 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Bean factory for application context &#91;org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=1324175085&#93;&#58; org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;viveoDataSource,hibernateSessionFactory,transactionManager,ruleDao,ruleDaoTarget,messageSource,ruleManager&#93;; root of BeanFactory hierarchy
        &#91;05/10/05 15&#58;06&#58;32&#58;353 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  7 beans defined in application context &#91;org.springframework.context.support.ClassPathXmlApplicationContext;hashCode=1324175085&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;384 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Using MessageSource &#91;org.springframework.context.support.ResourceBundleMessageSource&#58; basenames=&#91;hobmResources&#93;&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;384 CEST&#93; 55e955e9 ClassPathXmlA I org.springframework.context.support.ClassPathXmlApplicationContext  Unable to locate ApplicationEventMulticaster with name 'applicationEventMulticaster'&#58; using default &#91;org.springframework.context.event.SimpleApplicationEventMulticaster@44954495&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;384 CEST&#93; 55e955e9 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory  Pre-instantiating singletons in factory &#91;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;viveoDataSource,hibernateSessionFactory,transactionManager,ruleDao,ruleDaoTarget,messageSource,ruleManager&#93;; root of BeanFactory hierarchy&#93;
        &#91;05/10/05 15&#58;06&#58;32&#58;963 CEST&#93; 55e955e9 Environment   I org.hibernate.cfg.Environment  Hibernate 3.0.5
        &#91;05/10/05 15&#58;06&#58;32&#58;963 CEST&#93; 55e955e9 Environment   I org.hibernate.cfg.Environment  hibernate.properties not found
        &#91;05/10/05 15&#58;06&#58;32&#58;963 CEST&#93; 55e955e9 Environment   I org.hibernate.cfg.Environment  using CGLIB reflection optimizer
        &#91;05/10/05 15&#58;06&#58;32&#58;978 CEST&#93; 55e955e9 Environment   I org.hibernate.cfg.Environment  using JDK 1.4 java.sql.Timestamp handling
        &#91;05/10/05 15&#58;06&#58;34&#58;072 CEST&#93; 55e955e9 HbmBinder     I org.hibernate.cfg.HbmBinder  Mapping class&#58; com.viveo.hobm.domainmodel.Rule -> TXXXHOB_RULE
        &#91;05/10/05 15&#58;06&#58;34&#58;650 CEST&#93; 55e955e9 HbmBinder     I org.hibernate.cfg.HbmBinder  Mapping class&#58; com.viveo.hobm.domainmodel.Pattern -> TXXXHOB_PATTERN
        &#91;05/10/05 15&#58;06&#58;34&#58;713 CEST&#93; 55e955e9 HbmBinder     I org.hibernate.cfg.HbmBinder  Mapping class&#58; com.viveo.hobm.domainmodel.Permutation -> TXXXHOB_PERMUTATIO
        &#91;05/10/05 15&#58;06&#58;34&#58;744 CEST&#93; 55e955e9 HbmBinder     I org.hibernate.cfg.HbmBinder  Mapping class&#58; com.viveo.hobm.domainmodel.Variation -> TXXXHOB_VARIATION
        &#91;05/10/05 15&#58;06&#58;34&#58;791 CEST&#93; 55e955e9 HbmBinder     I org.hibernate.cfg.HbmBinder  Mapping class&#58; com.viveo.hobm.domainmodel.Skip -> TXXXHOB_SKIP
        &#91;05/10/05 15&#58;06&#58;34&#58;822 CEST&#93; 55e955e9 HbmBinder     I org.hibernate.cfg.HbmBinder  Mapping class&#58; com.viveo.hobm.domainmodel.Enrichment -> TXXXHOB_ENRICHMENT
        &#91;05/10/05 15&#58;06&#58;34&#58;822 CEST&#93; 55e955e9 LocalSessionF I org.springframework.orm.hibernate3.LocalSessionFactoryBean  Building new Hibernate SessionFactory
        &#91;05/10/05 15&#58;06&#58;34&#58;838 CEST&#93; 55e955e9 Configuration I org.hibernate.cfg.Configuration  processing extends queue
        &#91;05/10/05 15&#58;06&#58;34&#58;838 CEST&#93; 55e955e9 Configuration I org.hibernate.cfg.Configuration  processing collection mappings
        &#91;05/10/05 15&#58;06&#58;34&#58;838 CEST&#93; 55e955e9 HbmBinder     I org.hibernate.cfg.HbmBinder  Mapping collection&#58; com.viveo.hobm.domainmodel.Pattern.skips -> TXXXHOB_SKIP
        &#91;05/10/05 15&#58;06&#58;34&#58;838 CEST&#93; 55e955e9 Configuration I org.hibernate.cfg.Configuration  processing association property references
        &#91;05/10/05 15&#58;06&#58;34&#58;838 CEST&#93; 55e955e9 Configuration I org.hibernate.cfg.Configuration  processing foreign key constraints
        &#91;05/10/05 15&#58;06&#58;34&#58;869 CEST&#93; 55e955e9 ConnectionPro I org.hibernate.connection.ConnectionProviderFactory  Initializing connection provider&#58; org.springframework.orm.hibernate3.LocalDataSourceConnectionProvider
        &#91;05/10/05 15&#58;06&#58;35&#58;150 CEST&#93; 55e955e9 WSRdbDataSour I DSRA8203I&#58; Database product name &#58; DB2/NT
        &#91;05/10/05 15&#58;06&#58;35&#58;181 CEST&#93; 55e955e9 WSRdbDataSour I DSRA8204I&#58; Database product version &#58; 07.02.0006
        &#91;05/10/05 15&#58;06&#58;35&#58;181 CEST&#93; 55e955e9 WSRdbDataSour I DSRA8205I&#58; JDBC driver name  &#58; IBM DB2 JDBC 2.0 Type 2
        &#91;05/10/05 15&#58;06&#58;35&#58;181 CEST&#93; 55e955e9 WSRdbDataSour I DSRA8206I&#58; JDBC driver version  &#58; 07.02.0000
        &#91;05/10/05 15&#58;06&#58;35&#58;338 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  RDBMS&#58; DB2/NT, version&#58; 07.02.0006
        &#91;05/10/05 15&#58;06&#58;35&#58;338 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  JDBC driver&#58; IBM DB2 JDBC 2.0 Type 2, version&#58; 07.02.0000
        &#91;05/10/05 15&#58;06&#58;35&#58;463 CEST&#93; 55e955e9 Dialect       I org.hibernate.dialect.Dialect  Using dialect&#58; org.hibernate.dialect.DB2Dialect
        &#91;05/10/05 15&#58;06&#58;35&#58;509 CEST&#93; 55e955e9 TransactionFa I org.hibernate.transaction.TransactionFactoryFactory  Using default transaction strategy &#40;direct JDBC transactions&#41;
        &#91;05/10/05 15&#58;06&#58;35&#58;525 CEST&#93; 55e955e9 TransactionMa I org.hibernate.transaction.TransactionManagerLookupFactory  No TransactionManagerLookup configured &#40;in JTA environment, use of read-write or transactional second-level cache is not recommended&#41;
        &#91;05/10/05 15&#58;06&#58;35&#58;525 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Automatic flush during beforeCompletion&#40;&#41;&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;525 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Automatic session close at end of transaction&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;541 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Scrollable result sets&#58; enabled
        &#91;05/10/05 15&#58;06&#58;35&#58;541 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  JDBC3 getGeneratedKeys&#40;&#41;&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;541 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Connection release mode&#58; null
        &#91;05/10/05 15&#58;06&#58;35&#58;541 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Default batch fetch size&#58; 1
        &#91;05/10/05 15&#58;06&#58;35&#58;541 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Generate SQL with comments&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;541 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Order SQL updates by primary key&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;556 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Query translator&#58; org.hibernate.hql.ast.ASTQueryTranslatorFactory
        &#91;05/10/05 15&#58;06&#58;35&#58;572 CEST&#93; 55e955e9 ASTQueryTrans I org.hibernate.hql.ast.ASTQueryTranslatorFactory  Using ASTQueryTranslatorFactory
        &#91;05/10/05 15&#58;06&#58;35&#58;588 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Query language substitutions&#58; &#123;&#125;
        &#91;05/10/05 15&#58;06&#58;35&#58;588 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Second-level cache&#58; enabled
        &#91;05/10/05 15&#58;06&#58;35&#58;588 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Query cache&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;588 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Cache provider&#58; org.hibernate.cache.EhCacheProvider
        &#91;05/10/05 15&#58;06&#58;35&#58;603 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Optimize cache for minimal puts&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;603 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Structured second-level cache entries&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;666 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Statistics&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;666 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Deleted entity synthetic identifier rollback&#58; disabled
        &#91;05/10/05 15&#58;06&#58;35&#58;681 CEST&#93; 55e955e9 SettingsFacto I org.hibernate.cfg.SettingsFactory  Default entity-mode&#58; pojo
        &#91;05/10/05 15&#58;06&#58;36&#58;150 CEST&#93; 55e955e9 SessionFactor I org.hibernate.impl.SessionFactoryImpl  building session factory
        &#91;05/10/05 15&#58;06&#58;36&#58;181 CEST&#93; 55e955e9 Configurator  W net.sf.ehcache.config.Configurator  No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath&#58; wsjar&#58;file&#58;/D&#58;/workspaces/hobm/hobmEAR/library/ehcache-1.1.jar!/ehcache-failsafe.xml
        &#91;05/10/05 15&#58;06&#58;38&#58;572 CEST&#93; 55e955e9 SessionFactor I org.hibernate.impl.SessionFactoryObjectFactory  Not binding factory to JNDI, no JNDI name configured
        &#91;05/10/05 15&#58;06&#58;38&#58;572 CEST&#93; 55e955e9 SessionFactor I org.hibernate.impl.SessionFactoryImpl  Checking 0 named queries
        &#91;05/10/05 15&#58;06&#58;38&#58;713 CEST&#93; 55e955e9 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory  Destroying singletons in factory &#123;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;viveoDataSource,hibernateSessionFactory,transactionManager,ruleDao,ruleDaoTarget,messageSource,ruleManager&#93;; root of BeanFactory hierarchy&#125;
        &#91;05/10/05 15&#58;06&#58;38&#58;713 CEST&#93; 55e955e9 LocalSessionF I org.springframework.orm.hibernate3.LocalSessionFactoryBean  Closing Hibernate SessionFactory
        &#91;05/10/05 15&#58;06&#58;38&#58;713 CEST&#93; 55e955e9 SessionFactor I org.hibernate.impl.SessionFactoryImpl  closing
        &#91;05/10/05 15&#58;06&#58;38&#58;713 CEST&#93; 55e955e9 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory  Destroying singletons in factory &#123;org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans &#91;serviceLayer-context&#93;; root of BeanFactory hierarchy&#125;
        &#91;05/10/05 15&#58;06&#58;39&#58;134 CEST&#93; 55e955e9 ExceptionUtil E CNTR0019E&#58; Non-application exception occurred while processing method "createRule". Exception data&#58; com.ibm.ejs.container.CreateFailureException&#58; ; nested exception is&#58; 
        	java.lang.reflect.InvocationTargetException
        	at java.lang.Throwable.<init>&#40;Throwable.java&#41;
        	at java.lang.Throwable.<init>&#40;Throwable.java&#41;
        	at java.rmi.RemoteException.<init>&#40;RemoteException.java&#58;84&#41;
        	at com.ibm.ejs.container.ContainerException.<init>&#40;ContainerException.java&#58;40&#41;
        	at com.ibm.ejs.container.StatelessBeanO.<init>&#40;StatelessBeanO.java&#58;151&#41;
        	at com.ibm.ejs.container.CMStatelessBeanOFactory.create&#40;CMStatelessBeanOFactory.java&#58;40&#41;
        	at com.ibm.ejs.container.EJSHome.createBeanO&#40;EJSHome.java&#58;668&#41;
        	at com.ibm.ejs.container.EJSHome.createBeanO&#40;EJSHome.java&#58;755&#41;
        	at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate&#40;UncachedActivationStrategy.java&#58;78&#41;
        	at com.ibm.ejs.container.activator.Activator.activateBean&#40;Activator.java&#58;516&#41;
        	at com.ibm.ejs.container.EJSContainer.preInvoke_internal&#40;EJSContainer.java&#58;2762&#41;
        	at com.ibm.ejs.container.EJSContainer.preInvoke&#40;EJSContainer.java&#58;2487&#41;
        	at com.ibm.ejs.container.EJSContainer.preInvoke&#40;EJSContainer.java&#58;2472&#41;
        	at com.viveo.hobm.ejb.services.EJSRemoteStatelessRuleManager_0d540c29.createRule&#40;EJSRemoteStatelessRuleManager_0d540c29.java&#58;65&#41;
        	at com.viveo.hobm.ejb.services._RuleManager_Stub.createRule&#40;_RuleManager_Stub.java&#58;262&#41;
        	at SimpleRuleClient.createRule&#40;SimpleRuleClient.java&#58;33&#41;
        	at SimpleTest.testRuleCreation&#40;SimpleTest.java&#58;42&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;85&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;58&#41;
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;60&#41;
        	at java.lang.reflect.Method.invoke&#40;Method.java&#58;391&#41;
        	at junit.framework.TestCase.runTest&#40;TestCase.java&#58;154&#41;
        	at junit.framework.TestCase.runBare&#40;TestCase.java&#58;127&#41;
        	at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer&#40;AbstractCactusTestCase.java&#58;153&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest&#40;AbstractWebTestCaller.java&#58;119&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0&#40;AbstractWebTestController.java&#58;93&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice&#40;AbstractWebTestController.java&#58;224&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest&#40;AbstractWebTestController.java&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2&#40;ServletTestRedirector.java&#58;101&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice&#40;ServletTestRedirector.java&#58;224&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doPost&#40;ServletTestRedirector.java&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0&#40;ServletTestRedirector.java&#58;72&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice&#40;ServletTestRedirector.java&#58;224&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doGet&#40;ServletTestRedirector.java&#41;
        	at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;740&#41;
        	at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;853&#41;
        	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService&#40;StrictServletInstance.java&#58;110&#41;
        	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service&#40;StrictLifecycleServlet.java&#58;174&#41;
        	at com.ibm.ws.webcontainer.servlet.IdleServletState.service&#40;StrictLifecycleServlet.java&#58;313&#41;
        	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service&#40;StrictLifecycleServlet.java&#58;116&#41;
        	at com.ibm.ws.webcontainer.servlet.ServletInstance.service&#40;ServletInstance.java&#58;283&#41;
        	at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch&#40;ValidServletReferenceState.java&#58;42&#41;
        	at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch&#40;ServletInstanceReference.java&#58;40&#41;
        	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch&#40;WebAppRequestDispatcher.java&#58;1019&#41;
        	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch&#40;WebAppRequestDispatcher.java&#58;592&#41;
        	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward&#40;WebAppRequestDispatcher.java&#58;204&#41;
        	at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward&#40;WebAppInvoker.java&#58;125&#41;
        	at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook&#40;WebAppInvoker.java&#58;286&#41;
        	at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation&#40;CachedInvocation.java&#58;71&#41;
        	at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI&#40;ServletRequestProcessor.java&#58;182&#41;
        	at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service&#40;OSEListener.java&#58;334&#41;
        	at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest&#40;HttpConnection.java&#58;56&#41;
        	at com.ibm.ws.http.HttpConnection.readAndHandleRequest&#40;HttpConnection.java&#58;615&#41;
        	at com.ibm.ws.http.HttpConnection.run&#40;HttpConnection.java&#58;439&#41;
        	at com.ibm.ws.util.ThreadPool$Worker.run&#40;ThreadPool.java&#58;912&#41;
        Caused by&#58; java.lang.reflect.InvocationTargetException
        Caused by&#58; org.springframework.beans.factory.access.BootstrapException&#58; Unable to initialize group definition. Group resource name &#91;classpath*&#58;beanRefContext.xml&#93;, factory key &#91;serviceLayer-context&#93;; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'serviceLayer-context' defined in URL &#91;file&#58;/D&#58;/workspaces/hobm/hobmEJB/ejbModule/beanRefContext.xml&#93;&#58; Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException&#58; Could not instantiate class &#91;org.springframework.context.support.ClassPathXmlApplicationContext&#93;; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'transactionManager' defined in class path resource &#91;hobmApplicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException&#58; JTA UserTransaction is not available at JNDI location &#91;java&#58;comp/UserTransaction&#93;; nested exception is javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
        org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'serviceLayer-context' defined in URL &#91;file&#58;/D&#58;/workspaces/hobm/hobmEJB/ejbModule/beanRefContext.xml&#93;&#58; Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException&#58; Could not instantiate class &#91;org.springframework.context.support.ClassPathXmlApplicationContext&#93;; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'transactionManager' defined in class path resource &#91;hobmApplicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException&#58; JTA UserTransaction is not available at JNDI location &#91;java&#58;comp/UserTransaction&#93;; nested exception is javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
        org.springframework.beans.FatalBeanException&#58; Could not instantiate class &#91;org.springframework.context.support.ClassPathXmlApplicationContext&#93;; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'transactionManager' defined in class path resource &#91;hobmApplicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException&#58; JTA UserTransaction is not available at JNDI location &#91;java&#58;comp/UserTransaction&#93;; nested exception is javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
        org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'transactionManager' defined in class path resource &#91;hobmApplicationContext.xml&#93;&#58; Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException&#58; JTA UserTransaction is not available at JNDI location &#91;java&#58;comp/UserTransaction&#93;; nested exception is javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
        org.springframework.transaction.TransactionSystemException&#58; JTA UserTransaction is not available at JNDI location &#91;java&#58;comp/UserTransaction&#93;; nested exception is javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
        javax.naming.NameNotFoundException&#58; Name "comp/UserTransaction" not found in context "java&#58;".
        	at java.lang.Throwable.<init>&#40;Throwable.java&#41;
        	at java.lang.Throwable.<init>&#40;Throwable.java&#41;
        	at javax.naming.NamingException.<init>&#40;NamingException.java&#58;112&#41;
        	at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal&#40;NameSpace.java&#58;1021&#41;
        	at com.ibm.ws.naming.ipbase.NameSpace.lookup&#40;NameSpace.java&#58;932&#41;
        	at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup&#40;UrlContextImpl.java&#58;1261&#41;
        	at com.ibm.ws.naming.java.javaURLContextRoot.lookup&#40;javaURLContextRoot.java&#58;196&#41;
        	at com.ibm.ws.naming.java.javaURLContextRoot.lookup&#40;javaURLContextRoot.java&#58;137&#41;
        	at javax.naming.InitialContext.lookup&#40;InitialContext.java&#58;361&#41;
        	at org.springframework.jndi.JndiTemplate$1.doInContext&#40;JndiTemplate.java&#58;123&#41;
        	at org.springframework.jndi.JndiTemplate.execute&#40;JndiTemplate.java&#58;85&#41;
        	at org.springframework.jndi.JndiTemplate.lookup&#40;JndiTemplate.java&#58;121&#41;
        	at org.springframework.jndi.JndiTemplate.lookup&#40;JndiTemplate.java&#58;146&#41;
        	at org.springframework.transaction.jta.JtaTransactionManager.lookupUserTransaction&#40;JtaTransactionManager.java&#58;471&#41;
        	at org.springframework.transaction.jta.JtaTransactionManager.afterPropertiesSet&#40;JtaTransactionManager.java&#58;397&#41;
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;1058&#41;
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;363&#41;
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;226&#41;
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
        	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons&#40;DefaultListableBeanFactory.java&#58;275&#41;
        	at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;318&#41;
        	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>&#40;ClassPathXmlApplicationContext.java&#58;81&#41;
        	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>&#40;ClassPathXmlApplicationContext.java&#58;66&#41;
        	at sun.reflect.NativeConstructorAccessorImpl.newInstance0&#40;Native Method&#41;
        	at sun.reflect.NativeConstructorAccessorImpl.newInstance&#40;NativeConstructorAccessorImpl.java&#58;80&#41;
        	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance&#40;DelegatingConstructorAccessorImpl.java&#58;44&#41;
        	at java.lang.reflect.Constructor.newInstance&#40;Constructor.java&#58;315&#41;
        	at org.springframework.beans.BeanUtils.instantiateClass&#40;BeanUtils.java&#58;100&#41;
        	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate&#40;SimpleInstantiationStrategy.java&#58;75&#41;
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor&#40;AbstractAutowireCapableBeanFactory.java&#58;669&#41;
        	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;329&#41;
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;226&#41;
        	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
        	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons&#40;DefaultListableBeanFactory.java&#58;275&#41;
        	at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;318&#41;
        	at org.springframework.context.access.ContextSingletonBeanFactoryLocator.initializeDefinition&#40;ContextSingletonBeanFactoryLocator.java&#58;136&#41;
        	at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory&#40;SingletonBeanFactoryLocator.java&#58;386&#41;
        	at org.springframework.ejb.support.AbstractEnterpriseBean.loadBeanFactory&#40;AbstractEnterpriseBean.java&#58;117&#41;
        	at org.springframework.ejb.support.AbstractStatelessSessionBean.ejbCreate&#40;AbstractStatelessSessionBean.java&#58;63&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;85&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;58&#41;
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;60&#41;
        	at java.lang.reflect.Method.invoke&#40;Method.java&#58;391&#41;
        	at com.ibm.ejs.container.StatelessBeanO.<init>&#40;StatelessBeanO.java&#58;144&#41;
        	at com.ibm.ejs.container.CMStatelessBeanOFactory.create&#40;CMStatelessBeanOFactory.java&#58;40&#41;
        	at com.ibm.ejs.container.EJSHome.createBeanO&#40;EJSHome.java&#58;668&#41;
        	at com.ibm.ejs.container.EJSHome.createBeanO&#40;EJSHome.java&#58;755&#41;
        	at com.ibm.ejs.container.activator.UncachedActivationStrategy.atActivate&#40;UncachedActivationStrategy.java&#58;78&#41;
        	at com.ibm.ejs.container.activator.Activator.activateBean&#40;Activator.java&#58;516&#41;
        	at com.ibm.ejs.container.EJSContainer.preInvoke_internal&#40;EJSContainer.java&#58;2762&#41;
        	at com.ibm.ejs.container.EJSContainer.preInvoke&#40;EJSContainer.java&#58;2487&#41;
        	at com.ibm.ejs.container.EJSContainer.preInvoke&#40;EJSContainer.java&#58;2472&#41;
        	at com.viveo.hobm.ejb.services.EJSRemoteStatelessRuleManager_0d540c29.createRule&#40;EJSRemoteStatelessRuleManager_0d540c29.java&#58;65&#41;
        	at com.viveo.hobm.ejb.services._RuleManager_Stub.createRule&#40;_RuleManager_Stub.java&#58;262&#41;
        	at SimpleRuleClient.createRule&#40;SimpleRuleClient.java&#58;33&#41;
        	at SimpleTest.testRuleCreation&#40;SimpleTest.java&#58;42&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;85&#41;
        	at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;58&#41;
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;60&#41;
        	at java.lang.reflect.Method.invoke&#40;Method.java&#58;391&#41;
        	at junit.framework.TestCase.runTest&#40;TestCase.java&#58;154&#41;
        	at junit.framework.TestCase.runBare&#40;TestCase.java&#58;127&#41;
        	at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer&#40;AbstractCactusTestCase.java&#58;153&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest&#40;AbstractWebTestCaller.java&#58;119&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0&#40;AbstractWebTestController.java&#58;93&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice&#40;AbstractWebTestController.java&#58;224&#41;
        	at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest&#40;AbstractWebTestController.java&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2&#40;ServletTestRedirector.java&#58;101&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice&#40;ServletTestRedirector.java&#58;224&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doPost&#40;ServletTestRedirector.java&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0&#40;ServletTestRedirector.java&#58;72&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice&#40;ServletTestRedirector.java&#58;224&#41;
        	at org.apache.cactus.server.ServletTestRedirector.doGet&#40;ServletTestRedirector.java&#41;
        	at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;740&#41;
        	at javax.servlet.http.HttpServlet.service&#40;HttpServlet.java&#58;853&#41;
        	at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService&#40;StrictServletInstance.java&#58;110&#41;
        	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service&#40;StrictLifecycleServlet.java&#58;174&#41;
        	at com.ibm.ws.webcontainer.servlet.IdleServletState.service&#40;StrictLifecycleServlet.java&#58;313&#41;
        	at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service&#40;StrictLifecycleServlet.java&#58;116&#41;
        	at com.ibm.ws.webcontainer.servlet.ServletInstance.service&#40;ServletInstance.java&#58;283&#41;
        	at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch&#40;ValidServletReferenceState.java&#58;42&#41;
        	at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch&#40;ServletInstanceReference.java&#58;40&#41;
        	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch&#40;WebAppRequestDispatcher.java&#58;1019&#41;
        	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch&#40;WebAppRequestDispatcher.java&#58;592&#41;
        	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward&#40;WebAppRequestDispatcher.java&#58;204&#41;
        	at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward&#40;WebAppInvoker.java&#58;125&#41;
        	at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook&#40;WebAppInvoker.java&#58;286&#41;
        	at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation&#40;CachedInvocation.java&#58;71&#41;
        	at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI&#40;ServletRequestProcessor.java&#58;182&#41;
        	at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service&#40;OSEListener.java&#58;334&#41;
        	at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest&#40;HttpConnection.java&#58;56&#41;
        	at com.ibm.ws.http.HttpConnection.readAndHandleRequest&#40;HttpConnection.java&#58;615&#41;
        	at com.ibm.ws.http.HttpConnection.run&#40;HttpConnection.java&#58;439&#41;
        	at com.ibm.ws.util.ThreadPool$Worker.run&#40;ThreadPool.java&#58;912&#41;


        Does anyone have an idea what could be wrong ?

        Thanks,

        Roland

        Comment

        Working...
        X