5 Replies Latest reply on Sep 30, 2005 4:21 AM by wang haiwen

    seam scanning: ......   not fund scan ENTITY_BEAN, JAVA_BEAN

    wang haiwen Newbie

      I develop by JBOSS SEAM Register Example, use MSSQLServer, has a EntityBean "FmsUser" ->table "fmsusers" like SEAM Register User,
      FmsUser.java,Register.java, RegisterAction.java,
      configure is ok? why scaning seam not fund ENTITY_BEAN, JAVA_BEAN.
      error:


      14:09:06,703 INFO [Seam] initializing Seam
      14:09:06,796 INFO [Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.sea
      14:09:06,953 INFO [Component] Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.c
      14:09:06,984 INFO [Component] Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Faces
      14:09:07,015 INFO [Component] Component: eventContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Event
      14:09:07,031 INFO [Component] Component: sessionContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Ses
      14:09:07,046 INFO [Component] Component: statelessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.S
      14:09:07,062 INFO [Component] Component: conversationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.cor
      14:09:07,078 INFO [Component] Component: applicationContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core
      14:09:07,109 INFO [Component] Component: businessProcessContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.
      14:09:07,125 INFO [Scanner] scanning: C:\jboss\server\all\deploy\govejb.ejb3
      14:09:07,140 INFO [Seam] done initializing Seam

      How can I do?

        • 1. Re: seam scanning: ......   not fund scan ENTITY_BEAN, JAVA_
          wang haiwen Newbie

          In persintent.xml config.
          org.hibernate.dialect.MSSQLServerDialect
          2005-09-30 14:09:04,218 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] Running hbm2ddl schema export
          2005-09-30 14:09:04,250 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] import file not found: /import.sql
          2005-09-30 14:09:04,250 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] exporting generated schema to database
          2005-09-30 14:09:04,296 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] drop table fmsusers
          2005-09-30 14:09:04,328 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] Unsuccessful: drop table fmsusers
          2005-09-30 14:09:04,328 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]?? ?? ? 'fmsusers'??????????????
          2005-09-30 14:09:04,328 DEBUG [org.hibernate.tool.hbm2ddl.SchemaExport] create table fmsusers (username varchar(255) not null, name varchar(100) not null, password varchar(15) not null, primary key (username))
          2005-09-30 14:09:04,390 INFO [org.hibernate.tool.hbm2ddl.SchemaExport] schema export complete
          2005-09-30 14:09:04,390 DEBUG [org.hibernate.util.JDBCExceptionReporter] SQL Warning
          java.sql.SQLWarning: [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to govfms
          at com.microsoft.jdbc.base.BaseWarnings.createSQLWarning(Unknown Source)
          at com.microsoft.jdbc.base.BaseWarnings.get(Unknown Source)
          at com.microsoft.jdbc.base.BaseConnection.getWarnings(Unknown Source)
          at org.jboss.resource.adapter.jdbc.WrappedConnection.getWarnings(WrappedConnection.java:401)
          at org.hibernate.util.JDBCExceptionReporter.logAndClearWarnings(JDBCExceptionReporter.java:22)
          at org.hibernate.tool.hbm2ddl.SchemaExport$SuppliedConnectionProviderConnectionHelper.release(SchemaExport.java:430)
          at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:213)
          at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:133)
          at org.hibernate.impl.SessionFactoryImpl.(SessionFactoryImpl.java:299)
          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1127)
          at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:358)
          at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:484)
          at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:202)
          at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:78)
          at org.jboss.ejb3.Ejb3Deployment.initializeManagedEntityManagerFactory(Ejb3Deployment.java:512)
          at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:253)
          at org.jboss.ejb3.Ejb3JmxDeployment.create(Ejb3JmxDeployment.java:230)
          at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:34)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:252)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:234)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
          at $Proxy0.create(Unknown Source)
          at org.jboss.system.ServiceController.create(ServiceController.java:356)
          at org.jboss.system.ServiceController.create(ServiceController.java:295)
          at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy17.create(Unknown Source)
          at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:198)
          at org.jboss.deployment.MainDeployer.create(MainDeployer.java:919)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:773)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
          at sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy9.deploy(Unknown Source)
          at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
          at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
          at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287)
          at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:236)
          at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
          at $Proxy0.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:453)
          at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy4.start(Unknown Source)
          at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276)
          at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:721)
          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:585)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
          at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
          at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
          at $Proxy5.deploy(Unknown Source)
          at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:451)
          at org.jboss.system.server.ServerImpl.start(ServerImpl.java:328)
          at org.jboss.Main.boot(Main.java:187)
          at org.jboss.Main$1.run(Main.java:438)
          at java.lang.Thread.run(Thread.java:595)
          2005-09-30 14:09:04,406 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState:
          2005-09-30 14:09:04,406 WARN [org.hibernate.util.JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to govfms
          2005-09-30 14:09:04,406 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 5701, SQLState: 01000
          2005-09-30 14:09:04,406 WARN [org.hibernate.util.JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]?????????? 'govfms'?
          2005-09-30 14:09:04,406 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 0, SQLState:
          2005-09-30 14:09:04,421 WARN [org.hibernate.util.JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC]Language changed to ????
          2005-09-30 14:09:04,421 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Warning: 5703, SQLState: 01000
          2005-09-30 14:09:04,421 WARN [org.hibernate.util.JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]???????? ?????

          How can I config EJB3.0 with SQL Server 2000

          • 2. Re: seam scanning: ......   not fund scan ENTITY_BEAN, JAVA_
            wang haiwen Newbie

            How can I config Jboss seam + SQL Server 2000

            • 3. Re: seam scanning: ......   not fund scan ENTITY_BEAN, JAVA_
              Gavin King Master

               

              "kidder_whw" wrote:
              I develop by JBOSS SEAM Register Example, use MSSQLServer, has a EntityBean "FmsUser" ->table "fmsusers" like SEAM Register User,
              FmsUser.java,Register.java, RegisterAction.java,
              configure is ok? why scaning seam not fund ENTITY_BEAN, JAVA_BEAN.
              error:


              Make sure you have a file called seam.properties in the archive where the seam components are deployed

              • 4. Re: seam scanning: ......   not fund scan ENTITY_BEAN, JAVA_
                Gavin King Master

                 

                "gavin.king@jboss.com" wrote:
                2005-09-30 14:09:04,390 DEBUG [org.hibernate.util.JDBCExceptionReporter] SQL Warning
                java.sql.SQLWarning: [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to govfms


                Its just a warning, and being logged at debug level. Ignore it.