Announcement Announcement Module
Collapse
No announcement yet.
JBoss DataSource not found Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JBoss DataSource not found

    Hi people!!!

    I'm trying to use spring + Hibernate + Ejb.
    I started with the dataSource configuration on JBOss AS.
    What I´ve done:

    1 ). Create a mysql-ds.xml and put it into [jbosshomedir]\server\default\deploy

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <!-- $Id&#58; mysql-ds.xml,v 1.2 2003/12/12 19&#58;22&#58;31 starksm Exp $ -->
    <!--  Datasource config for MySQL using 3.0.9 available from&#58;
    http&#58;//www.mysql.com/downloads/api-jdbc-stable.html
    -->
    
    <datasources>
      <local-tx-datasource>
        <jndi-name>comp/env/jdbc/springhib</jndi-name>
        <connection-url>jdbc&#58;mysql&#58;//localhost&#58;3306/proj01</connection-url>
        <driver-class>com.mysql.jdbc.Driver</driver-class>
        <user-name>root</user-name>
        <password></password>
      </local-tx-datasource>
    </datasources>

    2 ). Copy the file mysql-connector-java-3.0.15-ga-bin.jar
    from the Connector/J distribution to the lib directory in the default server configuration.
    • mysql-connector-java-3.1.8-bin-g.jar
      mysql-connector-java-3.1.8-bin.jar

    The distribution cames with 2 files, so I dont know which of them to copy.
    So I copied both :-)

    Well I think that´s all for the JBoss Data Source Configuration, right??

    Now this is my applicationContext.xml


    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
    
    <!--
      - Application context definition.
    	-->
    <beans>
    
    	<!-- ========================= RESOURCE DEFINITIONS ========================= -->
      
    	
    	<!-- JNDI DataSource for J2EE environments -->
    
    	<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
    		<property name="jndiName"><value>java&#58;comp/env/jdbc/springhib</value></property>
    	</bean>
    
    
    	<!-- Hibernate SessionFactory -->
    	<bean id="sessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean">
    		<property name="dataSource"><ref local="dataSource"/></property>
    		<property name="mappingResources">
    			<value>Endereco.hbm.xml</value>
    		</property>
    		<property name="hibernateProperties">
    			<props>
    				<prop key="hibernate.dialect">$&#123;hibernate.dialect&#125;</prop>
    				<prop key="hibernate.show_sql">true</prop>
    			</props>
    		</property>
    	</bean>
    
    </beans>

    Well done ... JBoss is ok

    12:52:05,250 INFO [WrapperDataSourceService] Bound connection factory for resou
    rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Defa
    ultDS to JNDI name 'javaefaultDS'
    12:52:05,703 INFO [ConnectionFactoryBindingService] Bound connection factory fo
    r resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBin
    ding,name=JmsXA to JNDI name 'java:JmsXA'
    12:52:05,781 INFO [WrapperDataSourceService] Bound connection factory for resou
    rce adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=comp
    /env/jdbc/springhib to JNDI name 'java:comp/env/jdbc/springhib'
    12:52:06,953 INFO [A] Bound to JNDI name: queue/A
    12:52:06,968 INFO [B] Bound to JNDI name: queue/B
    12:52:06,968 INFO [C] Bound to JNDI name: queue/C
    12:52:06,968 INFO [D] Bound to JNDI name: queue/D
    12:52:06,984 INFO [ex] Bound to JNDI name: queue/ex
    12:52:07,281 INFO [testTopic] Bound to JNDI name: topic/testTopic
    12:52:07,296 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
    12:52:07,296 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic

    When a try to use the proxy I got this error

    2005-05-05 10:26:01,156 DEBUG [org.springframework.beans.BeanWrapperImpl] Invoked write method [public void org.springframework.jndi.JndiObjectLocator.setJndi Name(java.lang.String)] with value [java:comp/env/jdbc/springhib]
    2005-05-05 10:26:01,156 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking BeanPostProcessors before initialization of bean 'dataSource'
    2005-05-05 10:26:01,156 DEBUG [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Invoking afterPropertiesSet() on bean with beanName 'dataSource'
    2005-05-05 10:26:01,156 DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:comp/env/jdbc/springhib]
    2005-05-05 10:26:01,156 INFO [org.springframework.beans.factory.support.DefaultL istableBeanFactory] Destroying singletons in factory {org.springframework.beans.factory.support.Default ListableBeanFactory defining beans [dataSource,sessionFactory,enderecoDao]; root of BeanFactory hierarchy}
    2005-05-05 10:26:01,156 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException in method: public abstract br.syndeo.classes.Endereco br.syndeo.classes.IEnderecoService.getInstance(), causedBy:
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'dataSource' defined in class path resource [META-INF/applicationContext-hibernate.xml]: Initialization of bean failed; nested exception is javax.naming.NameNotFoundException: jdbc not bound
    javax.naming.NameNotFoundException: jdbc not bound
    What I have to do???


    help

  • #2
    From memory, I think if my jndiName in the Jboss *-ds.xml file is called "java:/myDS" then I also bind directly to that name.

    You name configured in jboss is comp/env/jdbc/springhib while you've configured Spring to bind to something different, java:comp/env/jdbc/springhib.

    Just trying making them both java:/MyDS and see what happens.

    I can check a JBoss server in about 5-6 hours when I'm near it if this still doesn't work.

    I'm not sure you need all that comp/env stuff ??

    Comment


    • #3
      In my setup, I bind to <jndi-name>myDS</jndi-name> in the *-ds.xml file, and I have
      <property name="jndiName"><value>java:/myDS</value></property>
      in the config for my JndiObjectFactoryBean.

      I'm kind of guessing here, but the error
      javax.naming.NameNotFoundException: jdbc not bound
      suggests that jboss may not have created the hierarchical context structure that your name suggests, and that Spring is expecting. You can see exactly what is bound to JNDI, and the context hierarchy, by looking at the url servername/jmx-console/, select service=JNDIView under jboss, and then invoke operation 'list'.

      HTH

      Comment


      • #4
        Problem Solved

        Hi everybody!!

        Tanks to all you folks that try to help me.

        The solution

        I begin to review all configuration files from my project and a discovery that my ejb-jar.xml and jboss.xml doesn´t have the resource-ref stuff.
        So I put it and it works just fine.

        jboss.xml

        Code:
              <session>
                 <ejb-name>EnderecoEjb</ejb-name>
                 <local-jndi-name>ejb/EnderecoEjbLocal</local-jndi-name>
                 <resource-ref>
                 	<res-ref-name>jdbc/springhib</res-ref-name>
                 	<resource-name>springhib</resource-name>
                 </resource-ref>
        
                 <method-attributes>
                </method-attributes>
              </session>
        ejb-jar.xml

        Code:
             <session>
               .
               .
               .
                 <resource-ref>
                 	<res-ref-name>jdbc/springhib</res-ref-name>
                 	<res-type>javax.sql.DataSource</res-type>
                 	<res-auth>Container</res-auth>
                 </resource-ref>
        
              </session>
        Bye!

        Comment


        • #5
          Re: Problem Solved

          I am not using any EJB's, so how would I add the resource-ref in jboss-web.xml?????



          Originally posted by moacsjr
          Hi everybody!!

          Tanks to all you folks that try to help me.

          The solution

          I begin to review all configuration files from my project and a discovery that my ejb-jar.xml and jboss.xml doesn´t have the resource-ref stuff.
          So I put it and it works just fine.

          jboss.xml

          Code:
                <session>
                   <ejb-name>EnderecoEjb</ejb-name>
                   <local-jndi-name>ejb/EnderecoEjbLocal</local-jndi-name>
                   <resource-ref>
                   	<res-ref-name>jdbc/springhib</res-ref-name>
                   	<resource-name>springhib</resource-name>
                   </resource-ref>
          
                   <method-attributes>
                  </method-attributes>
                </session>
          ejb-jar.xml

          Code:
               <session>
                 .
                 .
                 .
                   <resource-ref>
                   	<res-ref-name>jdbc/springhib</res-ref-name>
                   	<res-type>javax.sql.DataSource</res-type>
                   	<res-auth>Container</res-auth>
                   </resource-ref>
          
                </session>
          Bye!

          Comment


          • #6
            I am really DIEING here. Here is what I have:

            web.xml
            Code:
            ...
                <resource-ref>
                    <res-ref-name>bhffds</res-ref-name>
                    <res-type>javax.sql.DataSource</res-type>
                    <res-auth>Container</res-auth>
                </resource-ref>
            
            ...

            jboss-web.xml:
            Code:
            ...
                <resource-ref>
                    <res-ref-name>bhffds</res-ref-name>
                    <jndi-name>java&#58;bhffds</jndi-name>
                </resource-ref>
            
            ...
            ApplicationContext-hibernate.xml:

            Code:
            ...
            	<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
            		<property name="jndiName"><value>bhffds</value></property>
                    <property name="resourceRef"><value>false</value></property>
            	</bean>
            ...
            My JBoss Trace:


            Code:
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating dependent components for&#58; jboss.jca&#58;name=bhffds,service=ManagedConnectionFactory dependents are&#58; &#91;ObjectName&#58; jb
            oss.jca&#58;name=bhffds,service=ManagedConnectionPool
              State&#58; CONFIGURED
              I Depend On&#58;
                jboss.jca&#58;name=bhffds,service=ManagedConnectionFactory
              Depends On Me&#58;
                jboss.jca&#58;name=bhffds,service=LocalTxCM
            &#93;
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating service jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,644 DEBUG &#91;JBossManagedConnectionPool&#93; Creating jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,644 DEBUG &#91;JBossManagedConnectionPool&#93; Created jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating dependent components for&#58; jboss.jca&#58;name=bhffds,service=ManagedConnectionPool dependents are&#58; &#91;ObjectName&#58; jboss
            .jca&#58;name=bhffds,service=LocalTxCM
              State&#58; CONFIGURED
              I Depend On&#58;
                jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
                jboss.jca&#58;service=CachedConnectionManager
                jboss&#58;service=TransactionManager
              Depends On Me&#58;
                jboss.jca&#58;name=bhffds,service=DataSourceBinding
            &#93;
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating service jboss.jca&#58;name=bhffds,service=LocalTxCM
            17&#58;02&#58;39,644 DEBUG &#91;TxConnectionManager&#93; Creating jboss.jca&#58;name=bhffds,service=LocalTxCM
            17&#58;02&#58;39,644 DEBUG &#91;TxConnectionManager&#93; Created jboss.jca&#58;name=bhffds,service=LocalTxCM
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating dependent components for&#58; jboss.jca&#58;name=bhffds,service=LocalTxCM dependents are&#58; &#91;ObjectName&#58; jboss.jca&#58;name=bh
            ffds,service=DataSourceBinding
              State&#58; CONFIGURED
              I Depend On&#58;
                jboss.jca&#58;name=bhffds,service=LocalTxCM
                jboss&#58;service=invoker,type=jrmp
            &#93;
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating service jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,644 DEBUG &#91;WrapperDataSourceService&#93; Creating jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,644 DEBUG &#91;WrapperDataSourceService&#93; Created jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating dependent components for&#58; jboss.jca&#58;name=bhffds,service=DataSourceBinding dependents are&#58; &#91;&#93;
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating service jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Ignoring create request for service&#58; jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating service jboss.jdbc&#58;datasource=bhffds,service=metadata
            17&#58;02&#58;39,644 DEBUG &#91;DataSourceMetaData&#93; Creating jboss.jdbc&#58;datasource=bhffds,service=metadata
            17&#58;02&#58;39,644 DEBUG &#91;DataSourceMetaData&#93; Created jboss.jdbc&#58;datasource=bhffds,service=metadata
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; Creating dependent components for&#58; jboss.jdbc&#58;datasource=bhffds,service=metadata dependents are&#58; &#91;&#93;
            17&#58;02&#58;39,644 DEBUG &#91;MainDeployer&#93; Done with create step of deploying db2-ds.xml
            17&#58;02&#58;39,644 DEBUG &#91;MainDeployer&#93; Begin deployment start file&#58;/C&#58;/opt/jboss-4.0.2/server/default/deploy/db2-ds.xml
            17&#58;02&#58;39,644 DEBUG &#91;SARDeployer&#93; Deploying SAR, start step&#58; url file&#58;/C&#58;/opt/jboss-4.0.2/server/default/deploy/db2-ds.xml
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; starting service jboss.jca&#58;name=bhffds,service=LocalTxCM
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; waiting in start jboss.jca&#58;name=bhffds,service=LocalTxCM on jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; starting service jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; waiting in start jboss.jca&#58;name=bhffds,service=ManagedConnectionPool on jboss.jca&#58;name=bhffds,service=ManagedConnectionFa
            ctory
            17&#58;02&#58;39,644 DEBUG &#91;ServiceController&#93; starting service jboss.jca&#58;name=bhffds,service=ManagedConnectionFactory
            17&#58;02&#58;39,644 DEBUG &#91;RARDeployment&#93; Starting jboss.jca&#58;name=bhffds,service=ManagedConnectionFactory
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'Password'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'TrackStatements'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'UserName'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'DriverClass'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'NewConnectionSQL'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'CheckValidConnectionSQL'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'ExceptionSorterClassName'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'ConnectionProperties'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'TransactionIsolation'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'SharePreparedStatements'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'ValidConnectionCheckerClassName'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'ConnectionURL'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Not setting config property 'PreparedStatementCacheSize'
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; setting property&#58; ConnectionURL to value jdbc&#58;db2&#58;//db2ff000&#58;51504/bhffdb
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; set property ConnectionURL to value jdbc&#58;db2&#58;//db2ff000&#58;51504/bhffdb
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; setting property&#58; DriverClass to value com.ibm.db2.jcc.DB2Driver
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; set property DriverClass to value com.ibm.db2.jcc.DB2Driver
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; setting property&#58; UserName to value ****
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; set property UserName to value ****
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; setting property&#58; Password to value ****
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; set property Password to value ****
            17&#58;02&#58;39,660 DEBUG &#91;RARDeployment&#93; Started jboss.jca&#58;name=bhffds,service=ManagedConnectionFactory
            17&#58;02&#58;39,660 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.jca&#58;name=bhffds,service=ManagedConnectionFactory dependent components&#58; &#91;ObjectNa
            me&#58; jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
              State&#58; CREATED
              I Depend On&#58;
                jboss.jca&#58;name=bhffds,service=ManagedConnectionFactory
              Depends On Me&#58;
                jboss.jca&#58;name=bhffds,service=LocalTxCM
            &#93;
            17&#58;02&#58;39,660 DEBUG &#91;ServiceController&#93; starting service jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,660 DEBUG &#91;JBossManagedConnectionPool&#93; Starting jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,675 DEBUG &#91;JBossManagedConnectionPool&#93; Started jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
            17&#58;02&#58;39,675 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.jca&#58;name=bhffds,service=ManagedConnectionPool dependent components&#58; &#91;ObjectName&#58;
             jboss.jca&#58;name=bhffds,service=LocalTxCM
              State&#58; CREATED
              I Depend On&#58;
                jboss.jca&#58;name=bhffds,service=ManagedConnectionPool
                jboss.jca&#58;service=CachedConnectionManager
                jboss&#58;service=TransactionManager
              Depends On Me&#58;
                jboss.jca&#58;name=bhffds,service=DataSourceBinding
            &#93;
            17&#58;02&#58;39,675 DEBUG &#91;ServiceController&#93; starting service jboss.jca&#58;name=bhffds,service=LocalTxCM
            17&#58;02&#58;39,675 DEBUG &#91;TxConnectionManager&#93; Starting jboss.jca&#58;name=bhffds,service=LocalTxCM
            17&#58;02&#58;39,675 DEBUG &#91;TxConnectionManager&#93; Started jboss.jca&#58;name=bhffds,service=LocalTxCM
            17&#58;02&#58;39,675 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.jca&#58;name=bhffds,service=LocalTxCM dependent components&#58; &#91;ObjectName&#58; jboss.jca&#58;n
            ame=bhffds,service=DataSourceBinding
              State&#58; CREATED
              I Depend On&#58;
                jboss.jca&#58;name=bhffds,service=LocalTxCM
                jboss&#58;service=invoker,type=jrmp
            &#93;
            17&#58;02&#58;39,675 DEBUG &#91;ServiceController&#93; starting service jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,675 DEBUG &#91;WrapperDataSourceService&#93; Starting jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,675 DEBUG &#91;WrapperDataSourceService&#93; Using delegate&#58; org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy@4977e2 for invoker=jboss&#58;service=invoker,typ
            e=jrmp
            17&#58;02&#58;39,691 DEBUG &#91;WrapperDataSourceService&#93; Created proxy for invoker=jboss&#58;service=invoker,type=jrmp, targetName=jboss.jca&#58;name=bhffds,service=DataSourceBind
            ing, nameHash=-2043558966
            17&#58;02&#58;39,738 DEBUG &#91;WrapperDataSourceService&#93; Binding object 'org.jboss.resource.adapter.jdbc.WrapperDataSource@1332109' into JNDI at 'java&#58;bhffds'
            17&#58;02&#58;39,738 INFO  &#91;WrapperDataSourceService&#93; Bound connection factory for resource adapter for ConnectionManager 'jboss.jca&#58;name=bhffds,service=DataSourceBindi
            ng to JNDI name 'java&#58;bhffds'
            17&#58;02&#58;39,738 DEBUG &#91;WrapperDataSourceService&#93; Started jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,738 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.jca&#58;name=bhffds,service=DataSourceBinding dependent components&#58; &#91;&#93;
            17&#58;02&#58;39,738 DEBUG &#91;ServiceController&#93; starting service jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,738 DEBUG &#91;ServiceController&#93; Ignoring start request for service&#58; jboss.jca&#58;name=bhffds,service=DataSourceBinding
            17&#58;02&#58;39,738 DEBUG &#91;ServiceController&#93; starting service jboss.jdbc&#58;datasource=bhffds,service=metadata
            17&#58;02&#58;39,738 DEBUG &#91;DataSourceMetaData&#93; Starting jboss.jdbc&#58;datasource=bhffds,service=metadata
            17&#58;02&#58;39,738 DEBUG &#91;DataSourceMetaData&#93; Started jboss.jdbc&#58;datasource=bhffds,service=metadata
            17&#58;02&#58;39,738 DEBUG &#91;ServiceController&#93; Starting dependent components for&#58; jboss.jdbc&#58;datasource=bhffds,service=metadata dependent components&#58; &#91;&#93;
            17&#58;02&#58;39,754 DEBUG &#91;MainDeployer&#93; End deployment start on package&#58; db2-ds.xml
            17&#58;02&#58;39,754 DEBUG &#91;MainDeployer&#93; Deployed package&#58; file&#58;/C&#58;/opt/jboss-4.0.2/server/default/deploy/db2-ds.xml
            17&#58;02&#58;39,754 DEBUG &#91;URLDeploymentScanner&#93; Watch URL for&#58; file&#58;/C&#58;/opt/jboss-4.0.2/server/default/deploy/db2-ds.xml -> file&#58;/C&#58;/opt/jboss-4.0.2/server/default/de
            ploy/db2-ds.xml
            ...
            
            ....
            17&#58;02&#58;57,628 DEBUG &#91;TomcatDeployer&#93; addEnvEntries
            17&#58;02&#58;57,628 DEBUG &#91;TomcatDeployer&#93; linkResourceEnvRefs
            17&#58;02&#58;57,628 DEBUG &#91;TomcatDeployer&#93; linkResourceRefs
            17&#58;02&#58;57,628 DEBUG &#91;TomcatDeployer&#93; Linking 'bhffds' to JNDI name&#58; java&#58;bhffds
            17&#58;02&#58;57,628 DEBUG &#91;TomcatDeployer&#93; linkMessageDestinationRefs
            ...
            ...
            ...
            
            17&#58;03&#58;03,878 INFO  &#91;DefaultListableBeanFactory&#93; Destroying singletons in factory &#123;org.springframework.beans.factory.support.DefaultListableBeanFactory defining
            beans &#91;consumerWSDAO,consumerManager,queryKey,searchKey,accessLdap,securityAdvice,securityAdvisor,tilesConfigurer,jdbcPropertyConfigurer,dataSource,sessionFacto
            ry,transactionManager,consumerDAO,consumerTrxDAO,consumerUdbManager,consumerTrxUdbManager,propertiesConfigurationBean,propertiesConfigurationJobDetail,simpleTri
            gger,cronTrigger,org.springframework.scheduling.quartz.SchedulerFactoryBean,fastforwardTrxProxy,consumerProxy,consumerTrxProxy,propertiesConfigurationTrxProxy&#93;;
             root of BeanFactory hierarchy&#125;
            17&#58;03&#58;03,878 ERROR &#91;ContextLoader&#93; Context initialization failed
            org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'sessionFactory' defined in ServletContext resource &#91;/WEB-INF/application
            Context-hibernate.xml&#93;&#58; Can't resolve reference to bean 'dataSource' while setting property 'dataSource'; nested exception is org.springframework.beans.factory.
            BeanCreationException&#58; Error creating bean with name 'dataSource' defined in ServletContext resource &#91;/WEB-INF/applicationContext-hibernate.xml&#93;&#58; Initialization
             of bean failed; nested exception is javax.naming.NameNotFoundException&#58; bhffds not bound
            org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'dataSource' defined in ServletContext resource &#91;/WEB-INF/applicationCont
            ext-hibernate.xml&#93;&#58; Initialization of bean failed; nested exception is javax.naming.NameNotFoundException&#58; bhffds not bound
            javax.naming.NameNotFoundException&#58; bhffds not bound
                    at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;491&#41;
                    at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;499&#41;
                    at org.jnp.server.NamingServer.getObject&#40;NamingServer.java&#58;505&#41;
                    at org.jnp.server.NamingServer.lookup&#40;NamingServer.java&#58;278&#41;
                    at sun.reflect.GeneratedMethodAccessor70.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at sun.rmi.server.UnicastServerRef.dispatch&#40;UnicastServerRef.java&#58;261&#41;
                    at sun.rmi.transport.Transport$1.run&#40;Transport.java&#58;148&#41;
                    at java.security.AccessController.doPrivileged&#40;Native Method&#41;
                    at sun.rmi.transport.Transport.serviceCall&#40;Transport.java&#58;144&#41;
                    at sun.rmi.transport.tcp.TCPTransport.handleMessages&#40;TCPTransport.java&#58;460&#41;
                    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run&#40;TCPTransport.java&#58;701&#41;
                    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
                    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer&#40;StreamRemoteCall.java&#58;247&#41;
                    at sun.rmi.transport.StreamRemoteCall.executeCall&#40;StreamRemoteCall.java&#58;223&#41;
                    at sun.rmi.server.UnicastRef.invoke&#40;UnicastRef.java&#58;133&#41;
                    at org.jnp.server.NamingServer_Stub.lookup&#40;Unknown Source&#41;
                    at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;610&#41;
                    at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;572&#41;
                    at javax.naming.InitialContext.lookup&#40;InitialContext.java&#58;347&#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.JndiLocatorSupport.lookup&#40;JndiLocatorSupport.java&#58;71&#41;
                    at org.springframework.jndi.JndiObjectLocator.lookup&#40;JndiObjectLocator.java&#58;85&#41;
                    at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet&#40;JndiObjectFactoryBean.java&#58;124&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;962&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;354&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference&#40;BeanDefinitionValueResolver.java&#58;176&#41;
                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary&#40;BeanDefinitionValueResolver.java&#58;105&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;916&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;727&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;336&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;301&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;301&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#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;277&#41;
                    at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;312&#41;
                    at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh&#40;AbstractRefreshableWebApplicationContext.java&#58;134&#41;
                    at org.springframework.web.context.ContextLoader.createWebApplicationContext&#40;ContextLoader.java&#58;230&#41;
                    at org.springframework.web.context.ContextLoader.initWebApplicationContext&#40;ContextLoader.java&#58;156&#41;
                    at org.springframework.web.context.ContextLoaderListener.contextInitialized&#40;ContextLoaderListener.java&#58;48&#41;
                    at org.apache.catalina.core.StandardContext.listenerStart&#40;StandardContext.java&#58;3669&#41;
                    at org.apache.catalina.core.StandardContext.start&#40;StandardContext.java&#58;4104&#41;
                    at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;759&#41;
                    at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;739&#41;
                    at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;524&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
                    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;150&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.apache.catalina.core.StandardContext.init&#40;StandardContext.java&#58;5005&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
                    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;150&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal&#40;TomcatDeployer.java&#58;274&#41;
                    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy&#40;TomcatDeployer.java&#58;91&#41;
                    at org.jboss.web.AbstractWebDeployer.start&#40;AbstractWebDeployer.java&#58;357&#41;
                    at org.jboss.web.WebModule.startModule&#40;WebModule.java&#58;68&#41;
                    at org.jboss.web.WebModule.startService&#40;WebModule.java&#58;46&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;272&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;222&#41;
                    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;897&#41;
                    at $Proxy0.start&#40;Unknown Source&#41;
                    at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;418&#41;
                    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy28.start&#40;Unknown Source&#41;
                    at org.jboss.web.AbstractWebContainer.start&#40;AbstractWebContainer.java&#58;394&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;964&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;956&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;775&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;738&#41;
                    at sun.reflect.GeneratedMethodAccessor49.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke&#40;AbstractInterceptor.java&#58;121&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke&#40;ModelMBeanOperationInterceptor.java&#58;127&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy8.deploy&#40;Unknown Source&#41;
                    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy&#40;URLDeploymentScanner.java&#58;325&#41;
                    at org.jboss.deployment.scanner.URLDeploymentScanner.scan&#40;URLDeploymentScanner.java&#58;501&#41;
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan&#40;AbstractDeploymentScanner.java&#58;204&#41;
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService&#40;AbstractDeploymentScanner.java&#58;277&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;272&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;222&#41;
                    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;897&#41;
                    at $Proxy0.start&#40;Unknown Source&#41;
                    at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;418&#41;
                    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy4.start&#40;Unknown Source&#41;
                    at org.jboss.deployment.SARDeployer.start&#40;SARDeployer.java&#58;273&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;964&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;775&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;738&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;722&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke&#40;AbstractInterceptor.java&#58;121&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke&#40;ModelMBeanOperationInterceptor.java&#58;127&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy5.deploy&#40;Unknown Source&#41;
                    at org.jboss.system.server.ServerImpl.doStart&#40;ServerImpl.java&#58;434&#41;
                    at org.jboss.system.server.ServerImpl.start&#40;ServerImpl.java&#58;315&#41;
                    at org.jboss.Main.boot&#40;Main.java&#58;195&#41;
                    at org.jboss.Main$1.run&#40;Main.java&#58;463&#41;
                    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
            17&#58;03&#58;03,878 ERROR &#91;&#91;/fastforward&#93;&#93; Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListe
            ner
            org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'sessionFactory' defined in ServletContext resource &#91;/WEB-INF/application
            Context-hibernate.xml&#93;&#58; Can't resolve reference to bean 'dataSource' while setting property 'dataSource'; nested exception is org.springframework.beans.factory.
            BeanCreationException&#58; Error creating bean with name 'dataSource' defined in ServletContext resource &#91;/WEB-INF/applicationContext-hibernate.xml&#93;&#58; Initialization
             of bean failed; nested exception is javax.naming.NameNotFoundException&#58; bhffds not bound
            org.springframework.beans.factory.BeanCreationException&#58; Error creating bean with name 'dataSource' defined in ServletContext resource &#91;/WEB-INF/applicationCont
            ext-hibernate.xml&#93;&#58; Initialization of bean failed; nested exception is javax.naming.NameNotFoundException&#58; bhffds not bound
            javax.naming.NameNotFoundException&#58; bhffds not bound
                    at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;491&#41;
                    at org.jnp.server.NamingServer.getBinding&#40;NamingServer.java&#58;499&#41;
                    at org.jnp.server.NamingServer.getObject&#40;NamingServer.java&#58;505&#41;
                    at org.jnp.server.NamingServer.lookup&#40;NamingServer.java&#58;278&#41;
                    at sun.reflect.GeneratedMethodAccessor70.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at sun.rmi.server.UnicastServerRef.dispatch&#40;UnicastServerRef.java&#58;261&#41;
                    at sun.rmi.transport.Transport$1.run&#40;Transport.java&#58;148&#41;
                    at java.security.AccessController.doPrivileged&#40;Native Method&#41;
                    at sun.rmi.transport.Transport.serviceCall&#40;Transport.java&#58;144&#41;
                    at sun.rmi.transport.tcp.TCPTransport.handleMessages&#40;TCPTransport.java&#58;460&#41;
                    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run&#40;TCPTransport.java&#58;701&#41;
                    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
                    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer&#40;StreamRemoteCall.java&#58;247&#41;
                    at sun.rmi.transport.StreamRemoteCall.executeCall&#40;StreamRemoteCall.java&#58;223&#41;
                    at sun.rmi.server.UnicastRef.invoke&#40;UnicastRef.java&#58;133&#41;
                    at org.jnp.server.NamingServer_Stub.lookup&#40;Unknown Source&#41;
                    at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;610&#41;
                    at org.jnp.interfaces.NamingContext.lookup&#40;NamingContext.java&#58;572&#41;
                    at javax.naming.InitialContext.lookup&#40;InitialContext.java&#58;347&#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.JndiLocatorSupport.lookup&#40;JndiLocatorSupport.java&#58;71&#41;
                    at org.springframework.jndi.JndiObjectLocator.lookup&#40;JndiObjectLocator.java&#58;85&#41;
                    at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet&#40;JndiObjectFactoryBean.java&#58;124&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods&#40;AbstractAutowireCapableBeanFactory.java&#58;962&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;354&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference&#40;BeanDefinitionValueResolver.java&#58;176&#41;
                    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary&#40;BeanDefinitionValueResolver.java&#58;105&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues&#40;AbstractAutowireCapableBeanFactory.java&#58;916&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean&#40;AbstractAutowireCapableBeanFactory.java&#58;727&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;336&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;301&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;147&#41;
                    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean&#40;AbstractAutowireCapableBeanFactory.java&#58;301&#41;
                    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean&#40;AbstractBeanFactory.java&#58;223&#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;277&#41;
                    at org.springframework.context.support.AbstractApplicationContext.refresh&#40;AbstractApplicationContext.java&#58;312&#41;
                    at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh&#40;AbstractRefreshableWebApplicationContext.java&#58;134&#41;
                    at org.springframework.web.context.ContextLoader.createWebApplicationContext&#40;ContextLoader.java&#58;230&#41;
                    at org.springframework.web.context.ContextLoader.initWebApplicationContext&#40;ContextLoader.java&#58;156&#41;
                    at org.springframework.web.context.ContextLoaderListener.contextInitialized&#40;ContextLoaderListener.java&#58;48&#41;
                    at org.apache.catalina.core.StandardContext.listenerStart&#40;StandardContext.java&#58;3669&#41;
                    at org.apache.catalina.core.StandardContext.start&#40;StandardContext.java&#58;4104&#41;
                    at org.apache.catalina.core.ContainerBase.addChildInternal&#40;ContainerBase.java&#58;759&#41;
                    at org.apache.catalina.core.ContainerBase.addChild&#40;ContainerBase.java&#58;739&#41;
                    at org.apache.catalina.core.StandardHost.addChild&#40;StandardHost.java&#58;524&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
                    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;150&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.apache.catalina.core.StandardContext.init&#40;StandardContext.java&#58;5005&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.apache.commons.modeler.BaseModelMBean.invoke&#40;BaseModelMBean.java&#58;503&#41;
                    at org.jboss.mx.server.RawDynamicInvoker.invoke&#40;RawDynamicInvoker.java&#58;150&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal&#40;TomcatDeployer.java&#58;274&#41;
                    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy&#40;TomcatDeployer.java&#58;91&#41;
                    at org.jboss.web.AbstractWebDeployer.start&#40;AbstractWebDeployer.java&#58;357&#41;
                    at org.jboss.web.WebModule.startModule&#40;WebModule.java&#58;68&#41;
                    at org.jboss.web.WebModule.startService&#40;WebModule.java&#58;46&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;272&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;222&#41;
                    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;897&#41;
                    at $Proxy0.start&#40;Unknown Source&#41;
                    at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;418&#41;
                    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy28.start&#40;Unknown Source&#41;
                    at org.jboss.web.AbstractWebContainer.start&#40;AbstractWebContainer.java&#58;394&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;964&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;956&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;775&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;738&#41;
                    at sun.reflect.GeneratedMethodAccessor49.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke&#40;AbstractInterceptor.java&#58;121&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke&#40;ModelMBeanOperationInterceptor.java&#58;127&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy8.deploy&#40;Unknown Source&#41;
                    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy&#40;URLDeploymentScanner.java&#58;325&#41;
                    at org.jboss.deployment.scanner.URLDeploymentScanner.scan&#40;URLDeploymentScanner.java&#58;501&#41;
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan&#40;AbstractDeploymentScanner.java&#58;204&#41;
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService&#40;AbstractDeploymentScanner.java&#58;277&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;272&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;222&#41;
                    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;897&#41;
                    at $Proxy0.start&#40;Unknown Source&#41;
                    at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;418&#41;
                    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy4.start&#40;Unknown Source&#41;
                    at org.jboss.deployment.SARDeployer.start&#40;SARDeployer.java&#58;273&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;964&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;775&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;738&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;722&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke&#40;AbstractInterceptor.java&#58;121&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke&#40;ModelMBeanOperationInterceptor.java&#58;127&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy5.deploy&#40;Unknown Source&#41;
                    at org.jboss.system.server.ServerImpl.doStart&#40;ServerImpl.java&#58;434&#41;
                    at org.jboss.system.server.ServerImpl.start&#40;ServerImpl.java&#58;315&#41;
                    at org.jboss.Main.boot&#40;Main.java&#58;195&#41;
                    at org.jboss.Main$1.run&#40;Main.java&#58;463&#41;
                    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
            17&#58;03&#58;03,894 ERROR &#91;StandardContext&#93; Error listenerStart
            17&#58;03&#58;03,894 ERROR &#91;StandardContext&#93; Context &#91;/fastforward&#93; startup failed due to previous errors
            17&#58;03&#58;03,894 INFO  &#91;&#91;/fastforward&#93;&#93; Closing Spring root WebApplicationContext
            17&#58;03&#58;03,894 ERROR &#91;WebModule&#93; Starting failed jboss.web.deployment&#58;id=275570867,war=fastforwardWeb-1.1.7.war
            17&#58;03&#58;03,894 DEBUG &#91;NestedThrowable&#93; org.jboss.util.NestedThrowable.parentTraceEnabled=true
            17&#58;03&#58;03,910 DEBUG &#91;NestedThrowable&#93; org.jboss.util.NestedThrowable.nestedTraceEnabled=false
            17&#58;03&#58;03,910 DEBUG &#91;NestedThrowable&#93; org.jboss.util.NestedThrowable.detectDuplicateNesting=true
            org.jboss.deployment.DeploymentException&#58; URL file&#58;/C&#58;/opt/jboss-4.0.2/server/default/tmp/deploy/tmp20518bhff.ear-contents/fastforwardWeb-1.1.7-exp.war/ deploym
            ent failed
                    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal&#40;TomcatDeployer.java&#58;356&#41;
                    at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy&#40;TomcatDeployer.java&#58;91&#41;
                    at org.jboss.web.AbstractWebDeployer.start&#40;AbstractWebDeployer.java&#58;357&#41;
                    at org.jboss.web.WebModule.startModule&#40;WebModule.java&#58;68&#41;
                    at org.jboss.web.WebModule.startService&#40;WebModule.java&#58;46&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;272&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;222&#41;
                    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;897&#41;
                    at $Proxy0.start&#40;Unknown Source&#41;
                    at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;418&#41;
                    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy28.start&#40;Unknown Source&#41;
                    at org.jboss.web.AbstractWebContainer.start&#40;AbstractWebContainer.java&#58;394&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;964&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;956&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;775&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;738&#41;
                    at sun.reflect.GeneratedMethodAccessor49.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke&#40;AbstractInterceptor.java&#58;121&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke&#40;ModelMBeanOperationInterceptor.java&#58;127&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy8.deploy&#40;Unknown Source&#41;
                    at org.jboss.deployment.scanner.URLDeploymentScanner.deploy&#40;URLDeploymentScanner.java&#58;325&#41;
                    at org.jboss.deployment.scanner.URLDeploymentScanner.scan&#40;URLDeploymentScanner.java&#58;501&#41;
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan&#40;AbstractDeploymentScanner.java&#58;204&#41;
                    at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService&#40;AbstractDeploymentScanner.java&#58;277&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart&#40;ServiceMBeanSupport.java&#58;272&#41;
                    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle&#40;ServiceMBeanSupport.java&#58;222&#41;
                    at sun.reflect.GeneratedMethodAccessor2.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.system.ServiceController$ServiceProxy.invoke&#40;ServiceController.java&#58;897&#41;
                    at $Proxy0.start&#40;Unknown Source&#41;
                    at org.jboss.system.ServiceController.start&#40;ServiceController.java&#58;418&#41;
                    at sun.reflect.GeneratedMethodAccessor10.invoke&#40;Unknown Source&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;72&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy4.start&#40;Unknown Source&#41;
                    at org.jboss.deployment.SARDeployer.start&#40;SARDeployer.java&#58;273&#41;
                    at org.jboss.deployment.MainDeployer.start&#40;MainDeployer.java&#58;964&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;775&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;738&#41;
                    at org.jboss.deployment.MainDeployer.deploy&#40;MainDeployer.java&#58;722&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke0&#40;Native Method&#41;
                    at sun.reflect.NativeMethodAccessorImpl.invoke&#40;NativeMethodAccessorImpl.java&#58;39&#41;
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke&#40;DelegatingMethodAccessorImpl.java&#58;25&#41;
                    at java.lang.reflect.Method.invoke&#40;Method.java&#58;324&#41;
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke&#40;ReflectedDispatcher.java&#58;141&#41;
                    at org.jboss.mx.server.Invocation.dispatch&#40;Invocation.java&#58;80&#41;
                    at org.jboss.mx.interceptor.AbstractInterceptor.invoke&#40;AbstractInterceptor.java&#58;121&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke&#40;ModelMBeanOperationInterceptor.java&#58;127&#41;
                    at org.jboss.mx.server.Invocation.invoke&#40;Invocation.java&#58;74&#41;
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke&#40;AbstractMBeanInvoker.java&#58;249&#41;
                    at org.jboss.mx.server.MBeanServerImpl.invoke&#40;MBeanServerImpl.java&#58;644&#41;
                    at org.jboss.mx.util.MBeanProxyExt.invoke&#40;MBeanProxyExt.java&#58;177&#41;
                    at $Proxy5.deploy&#40;Unknown Source&#41;
                    at org.jboss.system.server.ServerImpl.doStart&#40;ServerImpl.java&#58;434&#41;
                    at org.jboss.system.server.ServerImpl.start&#40;ServerImpl.java&#58;315&#41;
                    at org.jboss.Main.boot&#40;Main.java&#58;195&#41;
                    at org.jboss.Main$1.run&#40;Main.java&#58;463&#41;
                    at java.lang.Thread.run&#40;Thread.java&#58;534&#41;
            What am I missing?
            Why can I not get this damn thing to work?
            Please help, getting very desperate.

            I am trying to get this to work in WAS 5.1 and JBoss.
            Do this will not work in WAS 5.1:

            <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryB ean">
            <property name="jndiName"><value>java:bhffds</value></property>
            <property name="resourceRef"><value>false</value></property>
            </bean>


            But this DOES work in was 5.1:

            <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryB ean">
            <property name="jndiName"><value>bhffds</value></property>
            <property name="resourceRef"><value>false</value></property>
            </bean>

            Comment


            • #7
              mysql-connector-java-3.1.8-bin-g.jar
              mysql-connector-java-3.1.8-bin.jar
              3.1.8-g is the connector with debug support - such as printing the queries sent to the database and the like. I suggest you only have one mysql connector, the one w/o the g.

              Comment


              • #8
                Here's what works for me (jboss 3.2.7, Spring 1.2.1, not using hibernate).
                The datasource-ds.xml file that jboss uses to set up the datasource:
                Code:
                <datasources>
                  <local-tx-datasource>
                    <jndi-name>WOInfDemoDS</jndi-name>
                            <connection-url>jdbc&#58;informix-sqli&#58;//infdemo&#58;1527/woweb&#58;INFORMIXSERVER=on_demo_remote;user=xxxx;password=xxxx</connection-url> 
                    <driver-class>com.informix.jdbc.IfxDriver</driver-class> 
                    <user-name>xxxx</user-name> 
                    <password>xxxx</password> 
                    <min-pool-size>5</min-pool-size> 
                    <max-pool-size>50</max-pool-size> 
                    </local-tx-datasource>
                </datasources>
                The spring config to get the datasource from JNDI:
                Code:
                <bean id="ifxds" class="org.springframework.jndi.JndiObjectFactoryBean">
                  <property name="jndiName">
                  <value>java&#58;/WOInfDemoDS</value> 
                  </property>
                </bean>
                So you might try java:bhffds in your JndiObjectFactoryBean when running with jboss.

                Again, you can see exactly what is bound in JNDI, and where, using jmx-console. See my post above.

                I'm pretty sure you only need resource-ref stuff in web.xml and jboss-web.xml if you want to access the datasource in jsp/jstl. As long as your access to the datasource is via Spring DI, you don't need it.

                Comment


                • #9
                  java:bhffds DOES work with JBoss, but not n WAS 5.1.
                  bhffds by itself works on WAS 5.1, but not on JBoss.
                  I need it to work on BOTH JBoss and WA 5.1 please.


                  Originally posted by cmgharris
                  Here's what works for me (jboss 3.2.7, Spring 1.2.1, not using hibernate).
                  The datasource-ds.xml file that jboss uses to set up the datasource:
                  Code:
                  <datasources>
                    <local-tx-datasource>
                      <jndi-name>WOInfDemoDS</jndi-name>
                              <connection-url>jdbc&#58;informix-sqli&#58;//infdemo&#58;1527/woweb&#58;INFORMIXSERVER=on_demo_remote;user=xxxx;password=xxxx</connection-url> 
                      <driver-class>com.informix.jdbc.IfxDriver</driver-class> 
                      <user-name>xxxx</user-name> 
                      <password>xxxx</password> 
                      <min-pool-size>5</min-pool-size> 
                      <max-pool-size>50</max-pool-size> 
                      </local-tx-datasource>
                  </datasources>
                  The spring config to get the datasource from JNDI:
                  Code:
                  <bean id="ifxds" class="org.springframework.jndi.JndiObjectFactoryBean">
                    <property name="jndiName">
                    <value>java&#58;/WOInfDemoDS</value> 
                    </property>
                  </bean>
                  So you might try java:bhffds in your JndiObjectFactoryBean when running with jboss.

                  Again, you can see exactly what is bound in JNDI, and where, using jmx-console. See my post above.

                  I'm pretty sure you only need resource-ref stuff in web.xml and jboss-web.xml if you want to access the datasource in jsp/jstl. As long as your access to the datasource is via Spring DI, you don't need it.

                  Comment


                  • #10
                    I need it to work on BOTH JBoss and WA 5.1 please.
                    I'm sorry, I can't help you with that.

                    But you can at least abstract out the difference by putting the jndiName value in a properties file and using a PropertyPlaceholderConfigurer to set the value from the properties file. Then you only need a separate properties file for the two environments, not a whole different Spring config file. And I'm guessing there could well be other differences in configuration that could go in that properties file.

                    Comment


                    • #11
                      Not sure if you solved this or not, or if this will help, but here is how we have our Datasource defined with Spring and JBoss:

                      applicationContext-hibernate.xml
                      Code:
                      	<bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean">
                      		<property name="jndiName"><value>java&#58;/ProcessPointeDS</value></property>
                      	</bean>
                      web.xml:
                      Code:
                           <resource-ref>
                              <description>DB Connection</description>
                              <res-ref-name>jdbc/processpointe</res-ref-name>
                              <res-type>javax.sql.DataSource</res-type>
                              <res-auth>Container</res-auth>
                          </resource-ref>
                      jboss-web.xml:
                      Code:
                      <jboss-web>
                      	<resource-ref>
                      		<res-ref-name>jdbc/processpointe</res-ref-name>
                      		<res-type>javax.sql.DataSource</res-type>
                      		<jndi-name>java&#58;/ProcessPointeDS</jndi-name>
                      	</resource-ref>
                      </jboss-web>
                      HTH.

                      Regards,
                      Todd

                      Comment

                      Working...
                      X