4 Replies Latest reply on Oct 16, 2012 7:25 AM by Nik J

    ejb session bean not bound issue

    blowice Y Newbie

      Hi there,

       

      I've got a strange situation in my spring+ejb3 deployment under jboss5.0.1GA + IntelliJ IDEA 8.1.4.

      every time i start jboss from IntelliJ, it will give me

      '

      ERROR [DispatcherServlet] Context initialization failed

      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pservice': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: ProductServiceImpl not bound ' error

       

      springapp-servlet.xml

      <?xml version="1.0" encoding="UTF-8"?>
      <beans xmlns="http://www.springframework.org/schema/beans"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xmlns:jee="http://www.springframework.org/schema/jee"
             xsi:schemaLocation="http://www.springframework.org/schema/beans
             http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd">
      
      
          <bean id="messageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
              <property name="basename" value="messages"/>
          </bean>
      
      
          <!-- the application context definition for the springapp DispatcherServlet -->
      
      
          <jee:jndi-lookup id="pservice" jndi-name="ProductServiceImpl/remote"></jee:jndi-lookup>
      
      
          <bean id="productManager" class="com.lab.productsystem.spring.bean.ProductManagerImpl">
              <property name="pservice" ref="pservice"/>
          </bean>
      
      
          <bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
              <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"></property>
              <property name="prefix" value="/WEB-INF/jsp/"></property>
              <property name="suffix" value=".jsp"></property>
          </bean>
      
      
          <bean id="urlHandler"
                class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
              <property name="mappings">
                  <map>
                      <entry key="/listProduct.htm" value="productController"/>
                      <entry key="/editProduct.htm" value="productController"/>
                  </map>
              </property>
          </bean>
      
          <bean id="productController"
                class="com.lab.productsystem.spring.mvc.controller.ProductController">
              <property name="methodNameResolver"
                        ref="productControllerResolver"/>
              <property name="productManager" ref="productManager"/>
          </bean>
      
      
          <bean id="productControllerResolver"
                class="org.springframework.web.servlet.mvc.multiaction.PropertiesMethodNameResolver">
              <property name="mappings">
                  <props>
                      <prop key="/listProduct.htm">handleListProductRequest</prop>
                      <prop key="/editProduct.htm">handleUpdateProductRequest</prop>
                  </props>
              </property>
          </bean>
      
      </beans>
      
      

       

      session bean class

      @Stateless
      public class ProductServiceImpl implements ProductService{
          @PersistenceContext
          private EntityManager em;
      
          public Product findById(int id) {
              try {
                  Product product = em.find(Product.class, id);
                  return product;
              } catch (Exception e) {
                  System.out.println(e);
                  return null;
              }
          }
      
          public List<Product> findAll() {
              try {
                  return em.createNamedQuery("Product.findAll").getResultList();
              } catch (Exception e) {
                  System.out.println(e);
                  return null;
              }
          }
      }
      

       

      class to call this session bean service via JNDI lookup

      public class ProductManagerImpl implements ProductManager{
      
          private ProductService pservice; // inject me!!
      
      
          public void setPservice(ProductService p){
              this.pservice=p;
          }
      
      
          public Product getProduct(int id) {
              return pservice.findById(id);
          }
      
      
          public List<Product> getProducts() {
              return pservice.findAll();  
          }
      }
      
      

       

      the strange thing is, even though, the first time upon jboss startup it always says 'ProductServiceImpl not bound'. as soon as I deploy the project again via my IDE, the error just gone!! and the app runs perfect.

       

      below is the jboss council upon first time start:

      /Users/jack/development/jboss-5.0.1.GA/bin/run.sh -c default
      run.sh: Could not set maximum file descriptor limit: unlimited
      /Users/jack/development/jboss-5.0.1.GA/bin/run.sh: line 89: ulimit: open files: cannot modify limit: Invalid argument
      =========================================================================
      
        JBoss Bootstrap Environment
      
      
        JBOSS_HOME: /Users/jack/development/jboss-5.0.1.GA
      
      
        JAVA: java
      
      
        JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
      
      
        CLASSPATH: /Users/jack/development/jboss-5.0.1.GA/bin/run.jar
      
      
      =========================================================================
      
      
      09:05:26,549 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
      09:05:26,550 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)
      09:05:26,551 INFO  [ServerImpl] Bootstrap URL: null
      09:05:26,551 INFO  [ServerImpl] Home Dir: /Users/jack/development/jboss-5.0.1.GA
      09:05:26,551 INFO  [ServerImpl] Home URL: file:/Users/jack/development/jboss-5.0.1.GA/
      09:05:26,551 INFO  [ServerImpl] Library URL: file:/Users/jack/development/jboss-5.0.1.GA/lib/
      09:05:26,552 INFO  [ServerImpl] Patch URL: null
      09:05:26,552 INFO  [ServerImpl] Common Base URL: file:/Users/jack/development/jboss-5.0.1.GA/common/
      09:05:26,559 INFO  [ServerImpl] Common Library URL: file:/Users/jack/development/jboss-5.0.1.GA/common/lib/
      09:05:26,559 INFO  [ServerImpl] Server Name: default
      09:05:26,559 INFO  [ServerImpl] Server Base Dir: /Users/jack/development/jboss-5.0.1.GA/server
      09:05:26,559 INFO  [ServerImpl] Server Base URL: file:/Users/jack/development/jboss-5.0.1.GA/server/
      09:05:26,559 INFO  [ServerImpl] Server Config URL: file:/Users/jack/development/jboss-5.0.1.GA/server/default/conf/
      09:05:26,559 INFO  [ServerImpl] Server Home Dir: /Users/jack/development/jboss-5.0.1.GA/server/default
      09:05:26,560 INFO  [ServerImpl] Server Home URL: file:/Users/jack/development/jboss-5.0.1.GA/server/default/
      09:05:26,560 INFO  [ServerImpl] Server Data Dir: /Users/jack/development/jboss-5.0.1.GA/server/default/data
      09:05:26,560 INFO  [ServerImpl] Server Library URL: file:/Users/jack/development/jboss-5.0.1.GA/server/default/lib/
      09:05:26,560 INFO  [ServerImpl] Server Log Dir: /Users/jack/development/jboss-5.0.1.GA/server/default/log
      09:05:26,560 INFO  [ServerImpl] Server Native Dir: /Users/jack/development/jboss-5.0.1.GA/server/default/tmp/native
      09:05:26,560 INFO  [ServerImpl] Server Temp Dir: /Users/jack/development/jboss-5.0.1.GA/server/default/tmp
      09:05:26,560 INFO  [ServerImpl] Server Temp Deploy Dir: /Users/jack/development/jboss-5.0.1.GA/server/default/tmp/deploy
      09:05:27,446 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/Users/jack/development/jboss-5.0.1.GA/server/default/conf/bootstrap.xml
      09:05:28,117 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache]
      09:05:28,119 INFO  [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]]
      09:05:28,430 INFO  [CopyMechanism] VFS temp dir: /Users/jack/development/jboss-5.0.1.GA/server/default/tmp
      09:05:28,431 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
      09:05:29,563 INFO  [ServerInfo] Java version: 1.5.0_28,Apple Inc.
      09:05:29,563 INFO  [ServerInfo] Java Runtime: Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_28-b04-382-9M3326)
      09:05:29,563 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_28-157,Apple Inc.
      09:05:29,563 INFO  [ServerInfo] OS-System: Mac OS X 10.5.8,i386
      09:05:29,596 INFO  [JMXKernel] Legacy JMX core initialized
      09:05:31,585 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@fe6f4a(root=/Users/jack/development/jboss-5.0.1.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      09:05:31,587 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@fe6f4a(root=/Users/jack/development/jboss-5.0.1.GA/server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
      09:05:31,587 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@4d7e34{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
      09:05:33,272 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
      09:05:39,325 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
      09:05:39,325 INFO  [NativeServerConfig] 3.0.5.GA
      09:05:48,887 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
      09:05:49,059 INFO  [MailService] Mail Service bound to java:/Mail
      09:05:50,802 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
      09:05:50,825 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
      09:05:50,989 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
      09:05:50,989 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
      09:05:51,693 INFO  [TransactionManagerService] Initializing recovery manager
      09:05:51,831 INFO  [TransactionManagerService] Recovery manager configured
      09:05:51,831 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
      09:05:51,857 INFO  [TransactionManagerService] Starting transaction recovery manager
      09:05:52,466 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
      09:05:52,467 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
      09:05:52,467 INFO  [StandardService] Starting service jboss.web
      09:05:52,470 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.2.GA
      09:05:52,529 INFO  [Catalina] Server startup in 133 ms
      09:05:52,559 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
      09:05:53,168 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws
      09:05:53,220 INFO  [TomcatDeployment] deploy, ctxPath=/web-console
      09:05:53,641 INFO  [RARDeployment] Required license terms exist, view vfszip:/Users/jack/development/jboss-5.0.1.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
      09:05:53,679 INFO  [RARDeployment] Required license terms exist, view vfszip:/Users/jack/development/jboss-5.0.1.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
      09:05:53,713 INFO  [RARDeployment] Required license terms exist, view vfszip:/Users/jack/development/jboss-5.0.1.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml
      09:05:53,735 INFO  [RARDeployment] Required license terms exist, view vfszip:/Users/jack/development/jboss-5.0.1.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml
      09:05:53,765 INFO  [RARDeployment] Required license terms exist, view vfszip:/Users/jack/development/jboss-5.0.1.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
      09:05:54,399 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
      09:05:54,431 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
      09:05:54,434 INFO  [RAMJobStore] RAMJobStore initialized.
      09:05:54,435 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
      09:05:54,435 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
      09:05:54,435 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
      09:05:54,976 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
      09:05:55,419 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
      09:05:55,594 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      09:05:55,594 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@54f6c9 started
      09:05:55,607 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      09:05:55,607 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@710d08 started
      09:05:55,609 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
      09:05:55,609 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
      09:05:55,610 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
      09:05:55,610 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@e3b8c4 started
      09:05:55,631 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      09:05:55,632 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
      09:05:55,777 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MMS-DS' to JNDI name 'java:MMS-DS'
      09:05:55,811 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=TEST-DS' to JNDI name 'java:TEST-DS'
      09:05:55,937 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
      09:05:55,960 INFO  [TomcatDeployment] deploy, ctxPath=/
      09:05:56,012 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console
      09:05:56,085 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
      09:05:56,103 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
      09:05:56,112 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902231221)] Started in 29s:548ms
      Connected to server
      [2011-05-18 09:05:56,352] Facet EJB: Facet is being deployed, please wait...
      [2011-05-18 09:05:56,352] Facet Web: Facet is being deployed, please wait...
      09:05:56,363 WARN  [MainDeployer] undeploy 'file:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar' : package not deployed
      09:05:56,363 WARN  [MainDeployer] undeploy 'file:/Users/jack/development/projects/ProductSystem/out/Product-Web.war' : package not deployed
      09:05:56,365 INFO  [MainDeployer] deploy, url=file:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar
      09:05:56,366 INFO  [MainDeployer] deploy, url=file:/Users/jack/development/projects/ProductSystem/out/Product-Web.war
      09:05:57,862 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15593465{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:05:57,862 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15593465{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:05:57,863 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15593465{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:05:57,863 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15593465{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:05:58,460 INFO  [JBossASKernel] Created KernelDeployment for: Product-EJB.jar
      09:05:58,465 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=Product-EJB.jar,name=ProductServiceImpl,service=EJB3
      09:05:58,465 INFO  [JBossASKernel]   with dependencies:
      09:05:58,465 INFO  [JBossASKernel]   and demands:
      09:05:58,465 INFO  [JBossASKernel]           jboss.ejb:service=EJBTimerService
      09:05:58,465 INFO  [JBossASKernel]           persistence.unit:unitName=#PRODUCT-PU
      09:05:58,465 INFO  [JBossASKernel]   and supplies:
      09:05:58,466 INFO  [JBossASKernel]           Class:com.lab.productsystem.ejb.session.ProductService
      09:05:58,466 INFO  [JBossASKernel]           jndi:ProductServiceImpl/remote
      09:05:58,466 INFO  [JBossASKernel]           jndi:ProductServiceImpl/remote-com.lab.productsystem.ejb.session.ProductService
      09:05:58,466 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=Product-EJB.jar,name=ProductServiceImpl,service=EJB3) to KernelDeployment of: Product-EJB.jar
      09:05:58,563 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#PRODUCT-PU
      09:05:58,665 INFO  [Version] Hibernate Annotations 3.4.0.GA
      09:05:58,700 INFO  [Environment] Hibernate 3.3.1.GA
      09:05:58,710 INFO  [Environment] hibernate.properties not found
      09:05:58,718 INFO  [Environment] Bytecode provider name : javassist
      09:05:58,729 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
      09:05:58,935 INFO  [Version] Hibernate Commons Annotations 3.1.0.GA
      09:05:58,947 INFO  [Version] Hibernate EntityManager 3.4.0.GA
      09:05:59,040 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
      09:05:59,209 INFO  [AnnotationBinder] Binding entity from annotated class: com.lab.productsystem.ejb.entity.Product
      09:05:59,228 INFO  [QueryBinder] Binding Named query: Product.findAll => SELECT p FROM Product p order by p.id asc
      09:05:59,318 INFO  [EntityBinder] Bind entity com.lab.productsystem.ejb.entity.Product on table product
      09:05:59,447 INFO  [Version] Hibernate Validator 3.1.0.GA
      09:05:59,577 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
      09:05:59,720 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
      09:05:59,726 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
      09:05:59,931 INFO  [TomcatDeployment] deploy, ctxPath=/Product-Web
      09:06:00,926 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.1.57
      09:06:00,926 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
      09:06:00,948 INFO  [[/Product-Web]] Initializing Spring FrameworkServlet 'springapp'
      09:06:00,948 INFO  [DispatcherServlet] FrameworkServlet 'springapp': initialization started
      09:06:00,986 INFO  [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@712af2: display name [WebApplicationContext for namespace 'springapp-servlet']; startup date [Wed May 18 09:06:00 SGT 2011]; root of context hierarchy
      09:06:00,988 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
      09:06:01,002 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
      09:06:01,015 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      09:06:01,023 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      09:06:01,024 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
      09:06:01,024 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
      09:06:01,024 INFO  [SettingsFactory] JDBC batch size: 15
      09:06:01,024 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
      09:06:01,027 INFO  [SettingsFactory] Scrollable result sets: enabled
      09:06:01,027 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
      09:06:01,027 INFO  [SettingsFactory] Connection release mode: auto
      09:06:01,029 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
      09:06:01,029 INFO  [SettingsFactory] Default batch fetch size: 1
      09:06:01,030 INFO  [SettingsFactory] Generate SQL with comments: disabled
      09:06:01,030 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
      09:06:01,030 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
      09:06:01,030 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      09:06:01,041 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      09:06:01,041 INFO  [SettingsFactory] Query language substitutions: {}
      09:06:01,041 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
      09:06:01,041 INFO  [SettingsFactory] Second-level cache: enabled
      09:06:01,041 INFO  [SettingsFactory] Query cache: disabled
      09:06:01,067 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
      09:06:01,069 INFO  [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
      09:06:01,071 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
      09:06:01,072 INFO  [SettingsFactory] Cache region prefix: persistence.unit:unitName=#PRODUCT-PU
      09:06:01,072 INFO  [SettingsFactory] Structured second-level cache entries: disabled
      09:06:01,091 INFO  [SettingsFactory] Statistics: disabled
      09:06:01,091 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      09:06:01,094 INFO  [SettingsFactory] Default entity-mode: pojo
      09:06:01,094 INFO  [SettingsFactory] Named query checking : enabled
      09:06:01,184 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/springapp-servlet.xml]
      09:06:01,250 INFO  [SessionFactoryImpl] building session factory
      09:06:01,370 INFO  [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@712af2]: org.springframework.beans.factory.support.DefaultListableBeanFactory@69f884
      09:06:01,520 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@69f884: defining beans [messageSource,pservice,productManager,viewResolver,urlHandler,productController,productControllerResolver]; root of factory hierarchy
      09:06:01,551 INFO  [DefaultListableBeanFactory] Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@69f884: defining beans [messageSource,pservice,productManager,viewResolver,urlHandler,productController,productControllerResolver]; root of factory hierarchy
      09:06:01,551 ERROR [DispatcherServlet] Context initialization failed
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pservice': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: ProductServiceImpl not bound
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
                at java.security.AccessController.doPrivileged(Native Method)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
                at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
                at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
                at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)
                at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)
                at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
                at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
                at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                at $Proxy36.start(Unknown Source)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                at org.jboss.system.ServiceController.start(ServiceController.java:460)
                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:830)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
                at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
                at sun.rmi.transport.Transport$1.run(Transport.java:153)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
                at java.lang.Thread.run(Thread.java:655)
      Caused by: javax.naming.NameNotFoundException: ProductServiceImpl not bound
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
                at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
                at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
                at javax.naming.InitialContext.lookup(InitialContext.java:351)
                at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:155)
                at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
                at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:153)
                at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
                at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:104)
                at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
                at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:200)
                at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:186)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
                ... 122 more
      09:06:01,556 ERROR [[/Product-Web]] StandardWrapper.Throwable
      org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pservice': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: ProductServiceImpl not bound
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1337)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
                at java.security.AccessController.doPrivileged(Native Method)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
                at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
                at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
                at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)
                at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)
                at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
                at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
                at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                at $Proxy36.start(Unknown Source)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                at org.jboss.system.ServiceController.start(ServiceController.java:460)
                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:830)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
                at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
                at sun.rmi.transport.Transport$1.run(Transport.java:153)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
                at java.lang.Thread.run(Thread.java:655)
      Caused by: javax.naming.NameNotFoundException: ProductServiceImpl not bound
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
                at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
                at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
                at javax.naming.InitialContext.lookup(InitialContext.java:351)
                at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:155)
                at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
                at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:153)
                at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
                at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:104)
                at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
                at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:200)
                at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:186)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
                ... 122 more
      09:06:01,567 ERROR [[/Product-Web]] Servlet /Product-Web threw load() exception
      javax.naming.NameNotFoundException: ProductServiceImpl not bound
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
                at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
                at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
                at org.jnp.server.NamingServer.lookup(NamingServer.java:396)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
                at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
                at javax.naming.InitialContext.lookup(InitialContext.java:351)
                at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:155)
                at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:88)
                at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:153)
                at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:178)
                at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:104)
                at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:105)
                at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:200)
                at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:186)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
                at java.security.AccessController.doPrivileged(Native Method)
                at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
                at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
                at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
                at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
                at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
                at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
                at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
                at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
                at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:402)
                at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:316)
                at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:282)
                at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:126)
                at javax.servlet.GenericServlet.init(GenericServlet.java:212)
                at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048)
                at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950)
                at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122)
                at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:312)
                at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:144)
                at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461)
                at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118)
                at org.jboss.web.deployers.WebModule.start(WebModule.java:97)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206)
                at $Proxy36.start(Unknown Source)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42)
                at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37)
                at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
                at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
                at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.system.ServiceController.doChange(ServiceController.java:688)
                at org.jboss.system.ServiceController.start(ServiceController.java:460)
                at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99)
                at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
                at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
                at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
                at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
                at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
                at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
                at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
                at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
                at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
                at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
                at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698)
                at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:830)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:270)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
                at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:180)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
                at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
                at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
                at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
                at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
                at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:855)
                at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:422)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:592)
                at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
                at sun.rmi.transport.Transport$1.run(Transport.java:153)
                at java.security.AccessController.doPrivileged(Native Method)
                at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
                at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
                at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
                at java.lang.Thread.run(Thread.java:655)
      [2011-05-18 09:06:01,584] Facet Web: Facet is deployed successfully
      09:06:01,667 INFO  [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#PRODUCT-PU
      09:06:01,669 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      09:06:01,675 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#PRODUCT-PU
      09:06:01,675 WARN  [SessionFactoryObjectFactory] InitialContext did not implement EventContext
      09:06:01,675 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      09:06:02,079 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=Product-EJB.jar,name=ProductServiceImpl,service=EJB3
      09:06:02,099 INFO  [EJBContainer] STARTED EJB: com.lab.productsystem.ejb.session.ProductServiceImpl ejbName: ProductServiceImpl
      09:06:02,174 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
      
      
                ProductServiceImpl/remote - EJB3.x Default Remote Business Interface
                ProductServiceImpl/remote-com.lab.productsystem.ejb.session.ProductService - EJB3.x Remote Business Interface
      
      
      [2011-05-18 09:06:02,237] Facet EJB: Facet is deployed successfully
      
      

       

      this is the jboss council after I redeploy via IntelliJ

       

      [2011-05-18 09:24:59,628] Facet Web: Facet is being deployed, please wait...
      [2011-05-18 09:24:59,628] Facet EJB: Facet is being deployed, please wait...
      09:24:59,633 INFO  [TomcatDeployment] undeploy, ctxPath=/Product-Web
      09:24:59,641 INFO  [SessionSpecContainer] Stopping jboss.j2ee:jar=Product-EJB.jar,name=ProductServiceImpl,service=EJB3
      09:24:59,665 INFO  [EJBContainer] STOPPED EJB: com.lab.productsystem.ejb.session.ProductServiceImpl ejbName: ProductServiceImpl
      09:24:59,716 INFO  [MainDeployer] deploy, url=file:/Users/jack/development/projects/ProductSystem/out/Product-Web.war
      09:24:59,747 INFO  [PersistenceUnitDeployment] Stopping persistence unit persistence.unit:unitName=#PRODUCT-PU
      09:24:59,747 INFO  [SessionFactoryImpl] closing
      09:24:59,747 INFO  [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.unit:unitName=#PRODUCT-PU
      09:24:59,747 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      09:24:59,747 INFO  [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.unit:unitName=#PRODUCT-PU
      09:24:59,769 INFO  [MainDeployer] deploy, url=file:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar
      09:24:59,890 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15158153{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:24:59,890 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15158153{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:24:59,890 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15158153{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:24:59,890 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@15158153{vfszip:/Users/jack/development/projects/ProductSystem/out/Product-EJB.jar/}
      09:24:59,983 INFO  [JBossASKernel] Created KernelDeployment for: Product-EJB.jar
      09:24:59,983 INFO  [JBossASKernel] installing bean: jboss.j2ee:jar=Product-EJB.jar,name=ProductServiceImpl,service=EJB3
      09:24:59,984 INFO  [JBossASKernel]   with dependencies:
      09:24:59,984 INFO  [JBossASKernel]   and demands:
      09:24:59,984 INFO  [JBossASKernel]           jboss.ejb:service=EJBTimerService
      09:24:59,984 INFO  [JBossASKernel]           persistence.unit:unitName=#PRODUCT-PU
      09:24:59,984 INFO  [JBossASKernel]   and supplies:
      09:24:59,984 INFO  [JBossASKernel]           Class:com.lab.productsystem.ejb.session.ProductService
      09:24:59,984 INFO  [JBossASKernel]           jndi:ProductServiceImpl/remote
      09:24:59,984 INFO  [JBossASKernel]           jndi:ProductServiceImpl/remote-com.lab.productsystem.ejb.session.ProductService
      09:24:59,984 INFO  [JBossASKernel] Added bean(jboss.j2ee:jar=Product-EJB.jar,name=ProductServiceImpl,service=EJB3) to KernelDeployment of: Product-EJB.jar
      09:25:00,017 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=#PRODUCT-PU
      09:25:00,020 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
      09:25:00,021 INFO  [AnnotationBinder] Binding entity from annotated class: com.lab.productsystem.ejb.entity.Product
      09:25:00,021 INFO  [QueryBinder] Binding Named query: Product.findAll => SELECT p FROM Product p order by p.id asc
      09:25:00,021 INFO  [EntityBinder] Bind entity com.lab.productsystem.ejb.entity.Product on table product
      09:25:00,035 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
      09:25:00,038 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
      09:25:00,038 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
      09:25:00,038 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.1.57
      09:25:00,039 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
      09:25:00,039 INFO  [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect
      09:25:00,040 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
      09:25:00,040 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
      09:25:00,041 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
      09:25:00,041 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
      09:25:00,041 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
      09:25:00,041 INFO  [SettingsFactory] JDBC batch size: 15
      09:25:00,041 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
      09:25:00,041 INFO  [SettingsFactory] Scrollable result sets: enabled
      09:25:00,041 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
      09:25:00,041 INFO  [SettingsFactory] Connection release mode: auto
      09:25:00,041 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
      09:25:00,041 INFO  [SettingsFactory] Default batch fetch size: 1
      09:25:00,041 INFO  [SettingsFactory] Generate SQL with comments: disabled
      09:25:00,041 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
      09:25:00,041 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
      09:25:00,041 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
      09:25:00,042 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
      09:25:00,042 INFO  [SettingsFactory] Query language substitutions: {}
      09:25:00,043 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
      09:25:00,043 INFO  [SettingsFactory] Second-level cache: enabled
      09:25:00,043 INFO  [SettingsFactory] Query cache: disabled
      09:25:00,043 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
      09:25:00,043 INFO  [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
      09:25:00,044 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
      09:25:00,044 INFO  [SettingsFactory] Cache region prefix: persistence.unit:unitName=#PRODUCT-PU
      09:25:00,044 INFO  [SettingsFactory] Structured second-level cache entries: disabled
      09:25:00,044 INFO  [SettingsFactory] Statistics: disabled
      09:25:00,044 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
      09:25:00,044 INFO  [SettingsFactory] Default entity-mode: pojo
      09:25:00,044 INFO  [SettingsFactory] Named query checking : enabled
      09:25:00,065 INFO  [SessionFactoryImpl] building session factory
      09:25:00,080 INFO  [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=#PRODUCT-PU
      09:25:00,080 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      09:25:00,088 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=#PRODUCT-PU
      09:25:00,088 WARN  [SessionFactoryObjectFactory] InitialContext did not implement EventContext
      09:25:00,088 INFO  [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      09:25:00,181 INFO  [SessionSpecContainer] Starting jboss.j2ee:jar=Product-EJB.jar,name=ProductServiceImpl,service=EJB3
      09:25:00,182 INFO  [EJBContainer] STARTED EJB: com.lab.productsystem.ejb.session.ProductServiceImpl ejbName: ProductServiceImpl
      09:25:00,211 INFO  [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
      
      
                ProductServiceImpl/remote - EJB3.x Default Remote Business Interface
                ProductServiceImpl/remote-com.lab.productsystem.ejb.session.ProductService - EJB3.x Remote Business Interface
      
      
      [2011-05-18 09:25:00,251] Facet EJB: Facet is deployed successfully
      09:25:02,621 INFO  [TomcatDeployment] deploy, ctxPath=/Product-Web
      09:25:02,771 INFO  [[/Product-Web]] Initializing Spring FrameworkServlet 'springapp'
      09:25:02,772 INFO  [DispatcherServlet] FrameworkServlet 'springapp': initialization started
      09:25:02,790 INFO  [XmlWebApplicationContext] Refreshing org.springframework.web.context.support.XmlWebApplicationContext@148f1f: display name [WebApplicationContext for namespace 'springapp-servlet']; startup date [Wed May 18 09:25:02 SGT 2011]; root of context hierarchy
      09:25:02,861 INFO  [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/springapp-servlet.xml]
      09:25:02,994 INFO  [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@148f1f]: org.springframework.beans.factory.support.DefaultListableBeanFactory@aba36c
      09:25:03,067 INFO  [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@aba36c: defining beans [messageSource,pservice,productManager,viewResolver,urlHandler,productController,productControllerResolver]; root of factory hierarchy
      09:25:03,225 INFO  [DispatcherServlet] FrameworkServlet 'springapp': initialization completed in 453 ms
      [2011-05-18 09:25:03,231] Facet Web: Facet is deployed successfully
      
      

       

      is there a way to get rid of this not bound error?

       

      Thanks in advance.