[jboss-user] [EJB3] - Re: UNRESOLVED Demands 'persistence.unit:unitName=...

Matthias Becker do-not-reply at jboss.com
Thu Mar 24 13:19:59 EDT 2011


Matthias Becker [http://community.jboss.org/people/drake2711] created the discussion

"Re: UNRESOLVED Demands 'persistence.unit:unitName=..."

To view the discussion, visit: http://community.jboss.org/message/595418#595418

--------------------------------------------------------------
And this is the output if i place the persistence.xml in the META-INF directory of the JPA project...
I feel like a noob (which i probably am with this technology)...


18:15:58,872 INFO  [AbstractJBossASServerBase] Server Configuration:

    JBOSS_HOME URL: file:/C:/development/tools/jboss-6.0.0.Final/
    Bootstrap: $JBOSS_HOME\server/default/conf/bootstrap.xml
    Common Base: $JBOSS_HOME\common/
    Common Library: $JBOSS_HOME\common/lib/
    Server Name: default
    Server Base: $JBOSS_HOME\server/
    Server Library: $JBOSS_HOME\server/default/lib/
    Server Config: $JBOSS_HOME\server/default/conf/
    Server Home: $JBOSS_HOME\server/default/
    Server Data: $JBOSS_HOME\server/default/data/
    Server Log: $JBOSS_HOME\server/default/log/
    Server Temp: $JBOSS_HOME\server/default/tmp/

18:15:58,876 INFO  [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
18:16:01,055 INFO  [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.
18:16:01,056 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
18:16:01,056 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
18:16:01,056 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
18:16:01,057 INFO  [ServerInfo] VM arguments: -Dprogram.name=JBossTools: JBoss 6.0 Runtime -Xms256m -Xmx768m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:\development\tools\jboss-6.0.0.Final\lib\endorsed -Djava.library.path=C:\development\tools\jboss-6.0.0.Final\bin\native; -Dfile.encoding=UTF-8 
18:16:01,124 INFO  [JMXKernel] Legacy JMX core initialized
18:16:13,567 INFO  [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
18:16:14,292 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
18:16:22,641 WARNUNG [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
18:16:37,686 INFO  [PersistenceUnitValueMetaData] iDependOn persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
18:16:37,976 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 751464577{vfs:///C:/development/tools/jboss-6.0.0.Final/server/default/deploy/EsbMonitorEAR-0.0.1-SNAPSHOT.ear/EsbMonitorJsfProject-0.0.1-SNAPSHOT.war/}
18:16:37,977 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 751464577{vfs:///C:/development/tools/jboss-6.0.0.Final/server/default/deploy/EsbMonitorEAR-0.0.1-SNAPSHOT.ear/EsbMonitorJsfProject-0.0.1-SNAPSHOT.war/}
18:16:39,567 WARNUNG [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal
18:16:39,855 INFO  [JMXConnector] starting JMXConnector on host localhost:1090
18:16:40,058 INFO  [MailService] Mail Service bound to java:/Mail
18:16:41,160 INFO  [HornetQServerImpl] live server is starting..
18:16:41,282 INFO  [JournalStorageManager] Using NIO Journal
18:16:41,310 WARNUNG [HornetQServerImpl] Security risk! It has been detected that the cluster admin user and password have not been changed from the installation default. Please see the HornetQ user guide, cluster chapter, for instructions on how to do this.
18:16:42,048 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protocol
18:16:42,052 INFO  [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protocol
18:16:42,055 INFO  [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started
18:16:42,110 INFO  [WebService] Using RMI server codebase: http://localhost:8083/
18:16:42,327 INFO  [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
18:16:42,335 INFO  [arjuna] ARJUNA-12324 Start RecoveryActivators
18:16:42,360 INFO  [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Do, 24 Mrz 2011 18:16:42
18:16:42,448 INFO  [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712
18:16:42,448 INFO  [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712
18:16:42,450 INFO  [jbossatx] ARJUNA-32013 Starting transaction recovery manager
18:16:42,460 INFO  [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
18:16:42,461 INFO  [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
18:16:42,465 INFO  [arjuna] ARJUNA-12170 TransactionStatusManager started on port 4713 and host 127.0.0.1 with service com.arjuna.ats.arjuna.recovery.ActionStatusService
18:16:42,536 INFO  [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
18:16:42,604 INFO  [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.
18:16:43,032 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\development\tools\jboss-6.0.0.Final\bin\native;
18:16:43,213 INFO  [ModClusterService] Initializing mod_cluster 1.1.0.Final
18:16:43,233 INFO  [TomcatDeployment] deploy, ctxPath=/invoker
18:16:43,674 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/development/tools/jboss-6.0.0.Final/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
18:16:43,697 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/development/tools/jboss-6.0.0.Final/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
18:16:43,708 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/development/tools/jboss-6.0.0.Final/server/default/deploy/jms-ra.rar/META-INF/ra.xml
18:16:43,739 INFO  [HornetQResourceAdapter] HornetQ resource adaptor started
18:16:43,752 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/development/tools/jboss-6.0.0.Final/server/default/deploy/mail-ra.rar/META-INF/ra.xml
18:16:43,774 INFO  [RARDeployment] Required license terms exist, view vfs:/C:/development/tools/jboss-6.0.0.Final/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
18:16:43,935 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2
18:16:43,997 INFO  [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
18:16:43,997 INFO  [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
18:16:44,003 INFO  [RAMJobStore] RAMJobStore initialized.
18:16:44,007 INFO  [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

18:16:44,008 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossQuartzScheduler' initialized from an externally opened InputStream.
18:16:44,008 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.8.3
18:16:44,009 INFO  [QuartzScheduler] Scheduler JBossQuartzScheduler_$_NON_CLUSTERED started.
18:16:44,153 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=jdbc/esb_monitor_dev' to JNDI name 'java:jdbc/esb_monitor_dev'
18:16:44,566 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
18:16:44,765 INFO  [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
18:16:45,248 INFO  [Version] Hibernate Commons Annotations 3.2.0.Final
18:16:45,269 INFO  [Environment] Hibernate 3.6.0.Final
18:16:45,274 INFO  [Environment] hibernate.properties not found
18:16:45,282 INFO  [Environment] Bytecode provider name : javassist
18:16:45,291 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
18:16:45,457 INFO  [Version] Hibernate EntityManager 3.6.0.Final
18:16:45,500 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
    name: timerdb
    ...]
18:16:45,534 WARN  [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly.PersistenceUnitInfo.getNewTempClassLoader() is null.
18:16:45,633 INFO  [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity
18:16:45,715 INFO  [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimerEntity on table timer
18:16:45,814 INFO  [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity
18:16:45,817 INFO  [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.CalendarTimerEntity on table calendar_timer
18:16:45,853 INFO  [AnnotationBinder] Binding entity from annotated class: org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod
18:16:45,862 INFO  [EntityBinder] Bind entity org.jboss.ejb3.timerservice.mk2.persistence.TimeoutMethod on table timeout_method
18:16:45,950 INFO  [Version] Hibernate Validator 3.1.0.GA
18:16:46,010 INFO  [Version] Hibernate Validator 4.1.0.Final
18:16:46,035 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
18:16:46,229 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
18:16:46,238 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
18:16:46,247 INFO  [HibernateSearchEventListenerRegister] Unable to find org.hibernate.search.event.FullTextIndexEventListener on the classpath. Hibernate Search is not enabled.
18:16:46,263 INFO  [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
18:16:46,268 INFO  [InjectedDataSourceConnectionProvider] Using provided datasource
18:16:46,273 INFO  [SettingsFactory] Database ->
       name : HSQL Database Engine
    version : 1.8.0
      major : 1
      minor : 8
18:16:46,273 INFO  [SettingsFactory] Driver ->
       name : HSQL Database Engine Driver
    version : 1.8.0
      major : 1
      minor : 8
18:16:46,343 INFO  [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect
18:16:46,376 INFO  [JdbcSupportLoader] Disabling contextual LOB creation as JDBC driver reported JDBC version [3] less than 4
18:16:46,378 INFO  [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
18:16:46,383 INFO  [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
18:16:46,388 INFO  [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
18:16:46,388 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): disabled
18:16:46,388 INFO  [SettingsFactory] Automatic session close at end of transaction: disabled
18:16:46,388 INFO  [SettingsFactory] JDBC batch size: 15
18:16:46,388 INFO  [SettingsFactory] JDBC batch updates for versioned data: disabled
18:16:46,393 INFO  [SettingsFactory] Scrollable result sets: enabled
18:16:46,393 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
18:16:46,393 INFO  [SettingsFactory] Connection release mode: auto
18:16:46,397 INFO  [SettingsFactory] Default batch fetch size: 1
18:16:46,398 INFO  [SettingsFactory] Generate SQL with comments: disabled
18:16:46,398 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
18:16:46,398 INFO  [SettingsFactory] Order SQL inserts for batching: disabled
18:16:46,399 INFO  [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
18:16:46,407 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
18:16:46,408 INFO  [SettingsFactory] Query language substitutions: {}
18:16:46,408 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
18:16:46,408 INFO  [SettingsFactory] Second-level cache: enabled
18:16:46,408 INFO  [SettingsFactory] Query cache: disabled
18:16:46,411 INFO  [SettingsFactory] Cache region factory : org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge
18:16:46,424 INFO  [RegionFactoryCacheProviderBridge] Cache provider: org.hibernate.cache.HashtableCacheProvider
18:16:46,427 INFO  [SettingsFactory] Optimize cache for minimal puts: disabled
18:16:46,428 INFO  [SettingsFactory] Cache region prefix: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
18:16:46,428 INFO  [SettingsFactory] Structured second-level cache entries: disabled
18:16:46,439 INFO  [SettingsFactory] Statistics: disabled
18:16:46,439 INFO  [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
18:16:46,439 INFO  [SettingsFactory] Default entity-mode: pojo
18:16:46,439 INFO  [SettingsFactory] Named query checking : enabled
18:16:46,440 INFO  [SettingsFactory] Check Nullability in Core (should be disabled when Bean Validation is on): disabled
18:16:46,481 INFO  [SessionFactoryImpl] building session factory
18:16:46,955 INFO  [SessionFactoryObjectFactory] Factory name: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
18:16:46,961 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:16:46,967 INFO  [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
18:16:46,969 WARN  [SessionFactoryObjectFactory] InitialContext did not implement EventContext
18:16:46,984 INFO  [SchemaUpdate] Running hbm2ddl schema update
18:16:46,985 INFO  [SchemaUpdate] fetching database metadata
18:16:46,987 INFO  [SchemaUpdate] updating schema
18:16:46,989 INFO  [DefaultTraversableResolver] Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
18:16:47,020 INFO  [TableMetadata] table found: PUBLIC.TIMEOUTMETHOD_METHODPARAMS
18:16:47,021 INFO  [TableMetadata] columns: [methodparams, timeoutmethod_id]
18:16:47,021 INFO  [TableMetadata] foreign keys: [fkf294c964b7de2d8a]
18:16:47,021 INFO  [TableMetadata] indexes: [sys_idx_55]
18:16:47,045 INFO  [TableMetadata] table found: PUBLIC.CALENDAR_TIMER
18:16:47,046 INFO  [TableMetadata] columns: [scheduleexprtimezone, scheduleexprsecond, autotimer, scheduleexprstartdate, scheduleexprminute, scheduleexprhour, timeoutmethod_id, id, scheduleexprdayofmonth, scheduleexprenddate, scheduleexprmonth, scheduleexprdayofweek, scheduleexpryear]
18:16:47,046 INFO  [TableMetadata] foreign keys: [fk2b697f04b7de2d8a, fk2b697f04e6e6ef93]
18:16:47,046 INFO  [TableMetadata] indexes: [sys_idx_57, sys_idx_49, sys_idx_59]
18:16:47,057 INFO  [TableMetadata] table found: PUBLIC.TIMEOUT_METHOD
18:16:47,057 INFO  [TableMetadata] columns: [id, methodname, declaringclass]
18:16:47,057 INFO  [TableMetadata] foreign keys: []
18:16:47,057 INFO  [TableMetadata] indexes: [sys_idx_51]
18:16:47,069 INFO  [TableMetadata] table found: PUBLIC.TIMER
18:16:47,069 INFO  [TableMetadata] columns: [id, previousrun, initialdate, repeatinterval, timedobjectid, timerstate, nextdate, info]
18:16:47,070 INFO  [TableMetadata] foreign keys: []
18:16:47,070 INFO  [TableMetadata] indexes: [sys_idx_53]
18:16:47,072 INFO  [SchemaUpdate] schema update complete
18:16:47,079 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:16:47,289 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
18:16:47,484 INFO  [xnio] XNIO Version 2.1.0.CR2
18:16:47,497 INFO  [nio] XNIO NIO Implementation Version 2.1.0.CR2
18:16:47,770 INFO  [remoting] JBoss Remoting version 3.1.0.Beta2
18:16:47,975 INFO  [TomcatDeployment] deploy, ctxPath=/
18:16:48,079 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///C:/development/tools/jboss-6.0.0.Final/server/default/deploy/EsbMonitorEAR-0.0.1-SNAPSHOT.ear state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error during deploy: org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData.RuleFacade
    at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
    at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
    at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
    at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
    at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]
    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
    at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
    at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: java.lang.IllegalArgumentException: Can't find a persistence unit named 'EsbMonitorPUFactory' in AbstractVFSDeploymentContext at 751464577{vfs:///C:/development/tools/jboss-6.0.0.Final/server/default/deploy/EsbMonitorEAR-0.0.1-SNAPSHOT.ear/EsbMonitorJsfProject-0.0.1-SNAPSHOT.war/}
    at org.jboss.jpa.resolvers.BasePersistenceUnitDependencyResolver.resolvePersistenceUnitSupplier(BasePersistenceUnitDependencyResolver.java:107) [:1.0.2-alpha-3]
    at org.jboss.jpa.deployers.switchboard.PersistenceUnitResourceProvider.provide(PersistenceUnitResourceProvider.java:72) [:1.0.2-alpha-3]
    at org.jboss.jpa.deployers.switchboard.PersistenceUnitResourceProvider.provide(PersistenceUnitResourceProvider.java:39) [:1.0.2-alpha-3]
    at org.jboss.switchboard.mc.JndiEnvironmentProcessor.process(JndiEnvironmentProcessor.java:68) [:1.0.0-alpha-15]
    at org.jboss.switchboard.mc.deployer.AbstractSwitchBoardDeployer.process(AbstractSwitchBoardDeployer.java:119) [:1.0.0-alpha-15]
    at org.jboss.switchboard.mc.deployer.EJBEnvironmentSwitchBoardDeployer.internalDeploy(EJBEnvironmentSwitchBoardDeployer.java:87) [:1.0.0-alpha-15]
    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.GA]
    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
    ... 45 more

18:16:48,230 INFO  [service] Removing bootstrap log handlers
18:16:49,376 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS IN ERROR:
  Deployment "vfs:///C:/development/tools/jboss-6.0.0.Final/server/default/deploy/EsbMonitorEAR-0.0.1-SNAPSHOT.ear" is in error due to the following reason(s): java.lang.IllegalArgumentException: Can't find a persistence unit named 'EsbMonitorPUFactory' in AbstractVFSDeploymentContext at 751464577{vfs:///C:/development/tools/jboss-6.0.0.Final/server/default/deploy/EsbMonitorEAR-0.0.1-SNAPSHOT.ear/EsbMonitorJsfProject-0.0.1-SNAPSHOT.war/}

    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
    at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
    at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
    at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
    at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]

18:16:49,427 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
18:16:49,438 INFO  [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
18:16:49,438 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 50s:557ms
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/595418#595418]

Start a new discussion in EJB3 at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110324/84899c6a/attachment-0001.html 


More information about the jboss-user mailing list