Boa tarde pessoal, por gentileza me ajudem, meu problema é o seguinte:
1- Eu crio um projeto [color=red]Seam Web Project [/color]no [color=blue]eclipse[/color] com o plugin Jboss Tools;
2- Todo o esqueleto do projeto é criado sem dar qualquer tipo de erro ou warning;
3- Adiciono o projeto criado(aplicacao, aplicacao-ejb, aplicacao-ear e mais o resource aplicacao-ds.xml ) na aba Server ao Jboss 5.1;
[color=darkred]PS- A aplicacão até que está rodando, porém não sei tirar esse erro, que provavelmente irá me gerar muitos outros mais a frente.[/color]
4- Quando mando apenas dar Start no Jboss por dentro do eclipse ele gera o seguintes erros;
18:19:07,423 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@25c39470{EjbSynchronizations}
18:19:07,423 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@9b7c5697{TimerServiceDispatcher}
18:19:07,486 INFO [TomcatDeployment] deploy, ctxPath=/aplicacao
18:19:07,689 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/aplicacao'
18:19:08,923 INFO [ServletContextListener] Welcome to Seam 2.2.0.GA
18:19:12,970 WARN [PersistentPermissionResolver] no permission store available - please install a PermissionStore with the name 'org.jboss.seam.security.jpaPermissionStore' if persistent permissions are required.
18:19:13,063 WARN [HDScanner] Failed to process changes
org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "persistence.unit:unitName=aplicacao-ear.ear/aplicacao-ejb.jar#aplicacao" is missing the following dependencies:
Dependency "jboss.jca:name=aplicacaoDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=aplicacaoDatasource,service=DataSourceBinding' **")
DEPLOYMENTS IN ERROR:
Deployment "jboss.jca:name=aplicacaoDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=aplicacaoDatasource,service=DataSourceBinding' **
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
18:19:14,032 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=aplicacaoDatasource' to JNDI name 'java:aplicacaoDatasource'
18:19:14,032 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=aplicacao-ear.ear/aplicacao-ejb.jar#aplicacao
18:19:14,032 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [
name: aplicacao
...]
18:19:14,063 WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null.
18:19:14,063 INFO [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
18:19:14,063 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
18:19:14,063 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
18:19:14,220 INFO [SettingsFactory] RDBMS: Oracle, version: Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
18:19:14,220 INFO [SettingsFactory] JDBC driver: Oracle JDBC driver, version: 10.2.0.2.0
18:19:14,220 INFO [Dialect] Using dialect: org.hibernate.dialect.Oracle10gDialect
18:19:14,220 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
18:19:14,220 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
18:19:14,220 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
18:19:14,220 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
18:19:14,220 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
18:19:14,220 INFO [SettingsFactory] JDBC batch size: 15
18:19:14,220 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
18:19:14,220 INFO [SettingsFactory] Scrollable result sets: enabled
18:19:14,220 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
18:19:14,220 INFO [SettingsFactory] Connection release mode: auto
18:19:14,220 INFO [SettingsFactory] Default batch fetch size: 1
18:19:14,220 INFO [SettingsFactory] Generate SQL with comments: disabled
18:19:14,220 INFO [SettingsFactory] Order SQL updates by primary key: disabled
18:19:14,220 INFO [SettingsFactory] Order SQL inserts for batching: disabled
18:19:14,220 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
18:19:14,220 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
18:19:14,220 INFO [SettingsFactory] Query language substitutions: {}
18:19:14,220 INFO [SettingsFactory] JPA-QL strict compliance: enabled
18:19:14,220 INFO [SettingsFactory] Second-level cache: enabled
18:19:14,220 INFO [SettingsFactory] Query cache: disabled
18:19:14,220 INFO [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
18:19:14,220 INFO [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
18:19:14,220 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
18:19:14,220 INFO [SettingsFactory] Cache region prefix: persistence.unit:unitName=aplicacao-ear.ear/aplicacao-ejb.jar#aplicacao
18:19:14,220 INFO [SettingsFactory] Structured second-level cache entries: disabled
18:19:14,220 INFO [SettingsFactory] Echoing all SQL to stdout
18:19:14,220 INFO [SettingsFactory] Statistics: disabled
18:19:14,220 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
18:19:14,220 INFO [SettingsFactory] Default entity-mode: pojo
18:19:14,220 INFO [SettingsFactory] Named query checking : enabled
18:19:14,235 INFO [SessionFactoryImpl] building session factory
18:19:14,235 INFO [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=aplicacao-ear.ear/aplicacao-ejb.jar#aplicacao
18:19:14,235 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
18:19:14,235 INFO [NamingHelper] Creating subcontext: persistence.unit:unitName=aplicacao-ear.ear
18:19:14,235 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=aplicacao-ear.ear/aplicacao-ejb.jar#aplicacao
18:19:14,235 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
18:19:14,235 INFO [SchemaUpdate] Running hbm2ddl schema update
18:19:14,235 INFO [SchemaUpdate] fetching database metadata
18:19:14,595 INFO [SchemaUpdate] updating schema
18:19:14,595 INFO [SchemaUpdate] schema update complete
18:19:14,595 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}