"adver11" wrote : Fidsejb3Test.ejb3
  | ----com/fids/test/CmpTest.class
  | ----com/fids/test/CmpTestBean.class
  | 
  | FidsCmp3.par
  | ----com/fids/ejb3/cmp/Fund.class
  | ----META-INF/persistence.xml
  | 
  | CmpTestBean.java
  | public @Stateless class CmpTestBean implements CmpTest {
  |   |         @PersistenceContext(unitName = "fids")
  |   |         protected EntityManager em;
  |   |                 ............
  | 
  | persistence.xml
  | <?xml version="1.0" encoding="UTF-8"?>
  |   | <entity-manager>
  |   |   <name>fids</name>
  |   |   <provider>org.hibernate.ejb.HibernatePersistence</provider>
  |   |   <jta-data-source>java:/DefaultDS</jta-data-source>
  |   |   <properties>
  |   |         <property name="hibernate.dialect" 
value="org.hibernate.dialect.HSQLDialect"/>
  |   |         
  |   |     <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
  |   |        
  |   |     <property name="hibernate.cache.provider_class" 
value="org.hibernate.cache.HashtableCacheProvider"/>
  |   |      </properties>
  |   | </entity-manager>
  | 
  | Deploying:
  | 
  | 16:21:49,517 INFO  [JaccHelper] Initialising JACC Context for deployment: 
Fidsej
  |   | b3Test.ejb3
  |   | 16:21:49,717 INFO  [Ejb3AnnotationHandler] found EJB3: 
ejbName=com.fids.test.Cmp
  |   | TestBean, class=com.fids.test.CmpTestBean, type=STATELESS16:21:49,977 
INFO  [JaccHelper] com.fids.test.CmpTestBean has no @SecurityDomain
  |   |  - skipping JACC configuration
  |   | 16:21:49,977 INFO  [JaccHelper] JACC Policy Configuration for 
deployment has bee
  |   | n put in service
  |   | 16:21:49,977 INFO  [Ejb3Deployment] EJB3 deployment time took: 460
  |   | 16:21:50,038 WARN  [ServiceController] Problem starting service 
jboss.j2ee:servi
  |   | ce=EJB3,name=com.fids.test.CmpTestBean
  |   | java.lang.RuntimeException: unable to find: 
java:/managedEntityFactories/fids        at 
org.jboss.ejb3.injection.PersistenceContextHandler.getManagedEntityMa
  |   | nagerFactory(PersistenceContextHandler.java:85)
  |   |         at 
org.jboss.ejb3.injection.PersistenceContextHandler.loadFieldInjectors
  |   | (PersistenceContextHandler.java:168)
  |   |         at 
org.jboss.ejb3.injection.PersistenceContextHandler.loadInjectors(Pers
  |   | istenceContextHandler.java:134)
  |   |         at 
org.jboss.ejb3.EJBContainer.resolveInjectors(EJBContainer.java:486)
  |   |         at 
org.jboss.ejb3.EJBContainer.initializePool(EJBContainer.java:421)
  |   |         at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:374)
  |   |         at 
org.jboss.ejb3.SessionContainer.start(SessionContainer.java:51)
  |   |         at 
org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.
  |   | java:65)
  |   | 
  |   | ..........................
  |   | 
  |   | 16:21:50,048 INFO  [EJB3Deployer] Deployed: 
file:/D:/jboss-4.0.3SP1/server/defau
  |   | lt/deploy/Fidsejb3Test.ejb3
  |   | 16:21:50,098 INFO  [JaccHelper] Initialising JACC Context for 
deployment: FidsCm
  |   | p3.par16:21:50,158 INFO  [Ejb3Deployment] Found persistence.xml file in 
EJB3 jar
  |   | 16:21:50,498 INFO  [Environment] Hibernate 3.1
  |   | 16:21:50,508 INFO  [Environment] hibernate.properties not found
  |   | 16:21:50,508 INFO  [Environment] using CGLIB reflection optimizer
  |   | 16:21:50,508 INFO  [Environment] using JDK 1.4 java.sql.Timestamp 
handling
  |   | 16:21:50,689 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
com.fids.ejb3.cmp
  |   | .aodb_chkin_desk
  |   | 16:22:21,553 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
com.fids.ejb3.cmp
  |   | .chkin_desk
  |   | 16:22:21,553 INFO  [Ejb3Configuration] found EJB3 @Embeddable: 
com.fids.ejb3.cmp
  |   | .chkin_zone_id_PK
  |   | 16:22:21,984 INFO  [Configuration] processing extends queue
  |   | 16:22:21,984 INFO  [Configuration] processing collection mappings
  |   | 16:22:21,984 INFO  [Configuration] processing association property 
references
  |   | 16:22:21,984 INFO  [Configuration] processing foreign key constraints
  |   | 16:22:22,044 INFO  [Configuration] processing extends queue
  |   | 16:22:22,044 INFO  [Configuration] processing collection mappings
  |   | 16:22:22,044 INFO  [Configuration] processing association property 
references
  |   | 16:22:22,044 INFO  [Configuration] processing foreign key constraints
  |   | 16:22:22,755 INFO  [ConnectionProviderFactory] Initializing connection 
provider:
  |   |  org.hibernate.ejb.InjectedDataSourceConnectionProvider
  |   | 16:22:22,755 INFO  [InjectedDataSourceConnectionProvider] Using 
provided datasou
  |   | rce
  |   | 16:22:22,765 INFO  [SettingsFactory] RDBMS: HSQL Database Engine, 
version: 1.8.0
  |   | 
  |   | 16:22:22,765 INFO  [SettingsFactory] JDBC driver: HSQL Database Engine 
Driver, v
  |   | ersion: 1.8.0
  |   | 16:22:22,805 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.HSQLDialect
  |   | 16:22:23,245 INFO  [TransactionFactoryFactory] Using default 
transaction strateg
  |   | y (direct JDBC transactions)
  |   | 16:22:23,245 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionMa
  |   | nagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
  |   | 16:22:23,255 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionMan
  |   | agerLookup
  |   | 16:22:23,255 INFO  [SettingsFactory] Automatic flush during 
beforeCompletion():
  |   | disabled
  |   | 16:22:23,255 INFO  [SettingsFactory] Automatic session close at end of 
transacti
  |   | on: disabled
  |   | 16:22:23,255 INFO  [SettingsFactory] JDBC batch size: 15
  |   | 16:22:23,255 INFO  [SettingsFactory] JDBC batch updates for versioned 
data: disa
  |   | bled
  |   | 16:22:23,255 INFO  [SettingsFactory] Scrollable result sets: enabled
  |   | 16:22:23,255 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
  |   | 16:22:23,255 INFO  [SettingsFactory] Connection release mode: 
after_statement
  |   | 16:22:23,255 INFO  [SettingsFactory] Default batch fetch size: 1
  |   | 16:22:23,255 INFO  [SettingsFactory] Generate SQL with comments: 
disabled
  |   | 16:22:23,255 INFO  [SettingsFactory] Order SQL updates by primary key: 
disabled
  |   | 16:22:23,255 INFO  [SettingsFactory] Query translator: 
org.hibernate.hql.ast.AST
  |   | QueryTranslatorFactory
  |   | 16:22:23,275 INFO  [ASTQueryTranslatorFactory] Using 
ASTQueryTranslatorFactory
  |   | 16:22:23,275 INFO  [SettingsFactory] Query language substitutions: {}
  |   | 16:22:23,275 INFO  [SettingsFactory] Second-level cache: enabled
  |   | 16:22:23,275 INFO  [SettingsFactory] Query cache: disabled
  |   | 16:22:23,275 INFO  [SettingsFactory] Cache provider: 
org.hibernate.cache.Hashtab
  |   | leCacheProvider
  |   | 16:22:23,275 INFO  [SettingsFactory] Optimize cache for minimal puts: 
disabled
  |   | 16:22:23,285 INFO  [SettingsFactory] Structured second-level cache 
entries: disa
  |   | bled
  |   | 16:22:23,295 INFO  [SettingsFactory] Statistics: disabled
  |   | 16:22:23,295 INFO  [SettingsFactory] Deleted entity synthetic 
identifier rollbac
  |   | k: enabled
  |   | 16:22:23,295 INFO  [SettingsFactory] Default entity-mode: POJO
  |   | 16:22:23,396 INFO  [SessionFactoryImpl] building session factory
  |   | 16:22:23,806 INFO  [SessionFactoryObjectFactory] Not binding factory to 
JNDI, no
  |   |  JNDI name configured
  |   | 16:22:23,816 INFO  [Configuration] processing extends queue
  |   | 16:22:23,816 INFO  [Configuration] processing collection mappings
  |   | 16:22:23,816 INFO  [Configuration] processing association property 
references
  |   | 16:22:23,816 INFO  [Configuration] processing foreign key constraints
  |   | 16:22:23,816 INFO  [Configuration] processing extends queue
  |   | 16:22:23,816 INFO  [Configuration] processing collection mappings
  |   | 16:22:23,816 INFO  [Configuration] processing association property 
references
  |   | 16:22:23,816 INFO  [Configuration] processing foreign key constraints
  |   | 16:22:23,816 INFO  [SchemaExport] Running hbm2ddl schema export
  |   | 16:22:23,826 INFO  [SchemaExport] exporting generated schema to database
  |   | 16:22:23,826 INFO  [SchemaExport] schema export complete
  |   | 16:22:23,826 INFO  [Configuration] processing extends queue
  |   | 16:22:23,826 INFO  [Configuration] processing collection mappings
  |   | 16:22:23,826 INFO  [Configuration] processing association property 
references
  |   | 16:22:23,826 INFO  [Configuration] processing foreign key constraints
  |   | 16:22:23,826 INFO  [Configuration] processing extends queue
  |   | 16:22:23,826 INFO  [Configuration] processing collection mappings
  |   | 16:22:23,826 INFO  [Configuration] processing association property 
references
  |   | 16:22:23,826 INFO  [Configuration] processing foreign key constraints
  |   | 16:22:23,836 INFO  [NamingHelper] JNDI InitialContext 
properties:{java.naming.fa
  |   | ctory.initial=org.jnp.interfaces.NamingContextFactory, 
java.naming.factory.url.p
  |   | kgs=org.jboss.naming:org.jnp.interfaces}
  |   | 16:22:23,836 INFO  [SessionFactoryImpl] Checking 0 named queries
  |   | 16:22:23,836 INFO  [Ejb3Deployment] Create EntityManager with JNDI 
name: fids
  |   | 16:22:23,846 INFO  [JaccHelper] JACC Policy Configuration for 
deployment has bee
  |   | n put in service
  |   | 16:22:23,846 INFO  [Ejb3Deployment] EJB3 deployment time took: 33748
  |   | 16:22:23,846 INFO  [EJB3Deployer] Deployed: 
file:/D:/jboss-4.0.3SP1/server/defau
  |   | lt/deploy/FidsCmp3.par
  |   | 16:22:23,896 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, 
warUrl=.../dep
  |   | loy/jmx-console.war/
  |   | 16:22:23,996 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
  |   | 
  |   | --- MBeans waiting for other MBeans ---
  |   | ObjectName: jboss.j2ee:service=EJB3,name=com.fids.test.CmpTestBean
  |   |   State: FAILED
  |   |   Reason: java.lang.RuntimeException: unable to find: 
java:/managedEntityFactori
  |   | es/fids
  |   | 
  |   | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
  |   | ObjectName: jboss.j2ee:service=EJB3,name=com.fids.test.CmpTestBean
  |   |   State: FAILED
  |   |   Reason: java.lang.RuntimeException: unable to find: 
java:/managedEntityFactori
  |   | es/fids
  |   | 
  |   | 16:22:24,067 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-808
  |   | 0
  |   | 16:22:24,137 INFO  [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
  |   | 16:22:24,147 INFO  [JkMain] Jk running ID=0 time=0/30  config=null
  |   | 16:22:24,157 INFO  [Server] JBoss (MX MicroKernel) [4.0.3SP1 (build: 
CVSTag=JBos
  |   | s_4_0_3_SP1 date=200510231751)] Started in 1m:8s:359ms
  | 
  | how to solve this problem?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913330#3913330

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913330


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to