<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: UNRESOLVED Demands 'persistence.unit:unitName=...
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/drake2711">Matthias Becker</a> in <i>EJB3</i> - <a href="http://community.jboss.org/message/595418#595418">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>And this is the output if i place the persistence.xml in the META-INF directory of the JPA project...</p><p>I feel like a noob (which i probably am with this technology)...</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">18:15:58,872 INFO&#160; [AbstractJBossASServerBase] Server Configuration:

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

18:15:58,876 INFO&#160; [AbstractServer] Starting: JBossAS [6.0.0.Final "Neo"]
18:16:01,055 INFO&#160; [ServerInfo] Java version: 1.6.0_24,Sun Microsystems Inc.
18:16:01,056 INFO&#160; [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
18:16:01,056 INFO&#160; [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
18:16:01,056 INFO&#160; [ServerInfo] OS-System: Windows 7 6.1,amd64
18:16:01,057 INFO&#160; [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&#160; [JMXKernel] Legacy JMX core initialized
18:16:13,567 INFO&#160; [AbstractServerConfig] JBoss Web Services - Stack CXF Server 3.4.1.GA
18:16:14,292 INFO&#160; [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&#160; [PersistenceUnitValueMetaData] iDependOn persistence.unit:unitName=jboss-ejb3-timerservice-mk2.jar#timerdb
18:16:37,976 INFO&#160; [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@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&#160; [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@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&#160; [JMXConnector] starting JMXConnector on host localhost:1090
18:16:40,058 INFO&#160; [MailService] Mail Service bound to java:/Mail
18:16:41,160 INFO&#160; [HornetQServerImpl] live server is starting..
18:16:41,282 INFO&#160; [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&#160; [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5445 for CORE protocol
18:16:42,052 INFO&#160; [NettyAcceptor] Started Netty Acceptor version 3.2.1.Final-r2319 localhost:5455 for CORE protocol
18:16:42,055 INFO&#160; [HornetQServerImpl] HornetQ Server version 2.1.2.Final (Colmeia, 120) started
18:16:42,110 INFO&#160; [WebService] Using RMI server codebase: http://localhost:8083/
18:16:42,327 INFO&#160; [jbossatx] ARJUNA-32010 JBossTS Recovery Service (tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
18:16:42,335 INFO&#160; [arjuna] ARJUNA-12324 Start RecoveryActivators
18:16:42,360 INFO&#160; [arjuna] ARJUNA-12296 ExpiredEntryMonitor running at Do, 24 Mrz 2011 18:16:42
18:16:42,448 INFO&#160; [arjuna] ARJUNA-12310 Recovery manager listening on endpoint 127.0.0.1:4712
18:16:42,448 INFO&#160; [arjuna] ARJUNA-12344 RecoveryManagerImple is ready on port 4712
18:16:42,450 INFO&#160; [jbossatx] ARJUNA-32013 Starting transaction recovery manager
18:16:42,460 INFO&#160; [arjuna] ARJUNA-12163 Starting service com.arjuna.ats.arjuna.recovery.ActionStatusService on port 4713
18:16:42,461 INFO&#160; [arjuna] ARJUNA-12337 TransactionStatusManagerItem host: 127.0.0.1 port: 4713
18:16:42,465 INFO&#160; [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&#160; [jbossatx] ARJUNA-32017 JBossTS Transaction Service (JTA version - tag: JBOSSTS_4_14_0_Final) - JBoss Inc.
18:16:42,604 INFO&#160; [arjuna] ARJUNA-12202 registering bean jboss.jta:type=ObjectStore.
18:16:43,032 INFO&#160; [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&#160; [ModClusterService] Initializing mod_cluster 1.1.0.Final
18:16:43,233 INFO&#160; [TomcatDeployment] deploy, ctxPath=/invoker
18:16:43,674 INFO&#160; [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&#160; [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&#160; [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&#160; [HornetQResourceAdapter] HornetQ resource adaptor started
18:16:43,752 INFO&#160; [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&#160; [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&#160; [SimpleThreadPool] Job execution threads will use class loader of thread: Thread-2
18:16:43,997 INFO&#160; [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
18:16:43,997 INFO&#160; [QuartzScheduler] Quartz Scheduler v.1.8.3 created.
18:16:44,003 INFO&#160; [RAMJobStore] RAMJobStore initialized.
18:16:44,007 INFO&#160; [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v1.8.3) 'JBossQuartzScheduler' with instanceId 'NON_CLUSTERED'
&#160; Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
&#160; NOT STARTED.
&#160; Currently in standby mode.
&#160; Number of jobs executed: 0
&#160; Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 10 threads.
&#160; Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

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

18:16:48,230 INFO&#160; [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:
&#160; 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@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/}

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

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

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/595418#595418">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in EJB3 at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>