8 Replies Latest reply on Aug 31, 2012 1:18 AM by soneill

    DayTrader3

    soneill

      Hi,

       

      I saw that DayTrader 3.0.0 was released about 6 weeks back. 

       

      http://geronimo.apache.org/2012/07/13/apache-geronimo-samples-and-daytrader-v300-released.html

       

      I'm looking to grab this and play around with it in JBoss 7.1.1.

       

      Has anyone else done this yet?  Any issues to be aware of?  Any performance tuning hints/tips?

       

      A simple search of the forums for "Day Trader" or "DayTrader" did not turn up much.

       

       

      Thanks,

      -Steve

        • 1. Re: DayTrader3
          soneill

          I haven't done java development in a while, I'm a little rusty, but so far I've been able to....

           

          -Install Eclipse Indigo, Install JBoss Tools, Install an SVN utility, Install sublcipse, Unzip maven 3.0.3 locally

           

          -Grab the repository to disk with svn, and I can follow the DT3 README to do an mvn clean install...which gives me an ear file.

           

          Inspecting the persistence.xml, I've determined that I need two jdbc datasources, which I have created in JBoss, which is using standalone-full.xml.  I've also downloaded and imported a jpa .jar file, and done an associated add of the module with a module .xml in the correct place.

           

          The installation the dt3 .ear file errors out with log entries listed at the bottom of this post.  

           

          Also, I was hoping to be able to import the DT3 code base directly into Eclipse, to be able to play around/recompile/see any warnings errors; however, i'm not sure of the correct steps or what kind of project to use.  Import as SVN and make it a JBoss EE Web App project archetype?  Some other archetype? No particular archetype since the DT3 code base is already a maven project?

           

          Not asking for full-on hand-holding here, but can anyone offer some hints or suggestions?  Even if its just some links to get me googling in the right direction, it'd be much appreciated.

           

           

          *************************************

          log entries from deployment

          *************************************

          00:33:36,918 INFO  [org.jboss.as.repository] (HttpManagementService-threads - 1) JBAS014900: Content added at location C:\apps\wpdev\jbossEAP6\standalone\data\content\84\095aa2c57c4f5d5f3b28f20a120a0c1c73f863\content

          00:33:41,579 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-10) JBAS015876: Starting deployment of "daytrader-ear-3.0.0.ear"

          00:33:42,302 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015876: Starting deployment of "web.war"

          00:33:42,469 INFO  [org.jboss.as.jpa] (MSC service thread 1-12) JBAS011401: Read persistence.xml for daytrader

          00:33:42,750 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-14) JNDI bindings for session bean named DirectSLSBBean in deployment unit subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear" are as follows:

           

           

                    java:global/daytrader/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                    java:app/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                    java:module/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                    java:jboss/exported/daytrader/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                    java:global/daytrader/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBLocal

                    java:app/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBLocal

                    java:module/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBLocal

           

           

          00:33:42,751 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-14) JNDI bindings for session bean named TradeSLSBBean in deployment unit subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear" are as follows:

           

           

                    java:global/daytrader/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                    java:app/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                    java:module/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                    java:jboss/exported/daytrader/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                    java:global/daytrader/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBLocal

                    java:app/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBLocal

                    java:module/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBLocal

           

           

          00:33:42,827 INFO  [org.jboss.as.osgi] (MSC service thread 1-1) JBAS011907: Register module: Module "deployment.daytrader-ear-3.0.0.ear:main" from Service Module Loader

          00:33:42,828 INFO  [org.jboss.as.jpa] (MSC service thread 1-10) JBAS011402: Starting Persistence Unit Service 'daytrader-ear-3.0.0.ear#daytrader'

          00:33:42,916 ERROR [stderr] (MSC service thread 1-10) 2  daytrader  TRACE  [MSC service thread 1-10] openjpa.Runtime - Setting the following properties from "?" into configuration: {openjpa.RuntimeUnenhancedClasses=supported, javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl, javax.persistence.sharedCache.mode=UNSPECIFIED, openjpa.Log=DefaultLevel=TRACE, Tool=INFO, openjpa.jdbc.DBDictionary=derby, PersistenceVersion=1.0, openjpa.Id=daytrader, openjpa.ConnectionFactoryMode=managed, openjpa.ConnectionFactory=org.jboss.jca.adapters.jdbc.WrapperDataSource@1a51852, openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true), javax.persistence.validation.mode=AUTO, javax.persistence.validation.factory=org.jboss.as.jpa.validator.SerializableValidatorFactory@1b0a981, jboss.as.jpa.providerModule=org.apache.openjpa, openjpa.TransactionMode=managed, openjpa.BrokerImpl=non-finalizing, openjpa.MetaDataFactory=jpa(Types=org.apache.geronimo.daytrader.javaee6.entities.AccountDataBean;org.apache.geronimo.daytrader.javaee6.entities.AccountProfileDataBean;org.apache.geronimo.daytrader.javaee6.entities.HoldingDataBean;org.apache.geronimo.daytrader.javaee6.entities.OrderDataBean;org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean), openjpa.Sequence=table(Table=OPENJPASEQ, Increment=100), openjpa.ClassResolver=org.apache.openjpa.persistence.PersistenceUnitInfoImpl$ClassResolverImpl@10f8407, openjpa.ConnectionFactory2=org.jboss.jca.adapters.jdbc.WrapperDataSource@1dfeace, openjpa.DynamicEnhancementAgent=false}

           

           

          00:33:42,919 ERROR [stderr] (MSC service thread 1-10) 6  daytrader  TRACE  [MSC service thread 1-10] openjpa.Runtime - No cache marshaller found for id org.apache.openjpa.conf.MetaDataCacheMaintenance.

           

           

          00:33:42,956 ERROR [stderr] (MSC service thread 1-10) 43  daytrader  TRACE  [MSC service thread 1-10] openjpa.MetaData - Scanning resource "META-INF/orm.xml" for persistent types.

           

           

          00:33:42,957 ERROR [stderr] (MSC service thread 1-10) 44  daytrader  TRACE  [MSC service thread 1-10] openjpa.MetaData - The persistent unit root url is "null"

           

           

          00:33:42,957 ERROR [stderr] (MSC service thread 1-10) 44  daytrader  TRACE  [MSC service thread 1-10] openjpa.MetaData - parsePersistentTypeNames() found [org.apache.geronimo.daytrader.javaee6.entities.AccountDataBean, org.apache.geronimo.daytrader.javaee6.entities.AccountProfileDataBean, org.apache.geronimo.daytrader.javaee6.entities.OrderDataBean, org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean, org.apache.geronimo.daytrader.javaee6.entities.HoldingDataBean].

           

           

          00:33:42,958 ERROR [stderr] (MSC service thread 1-10) 45  daytrader  TRACE  [MSC service thread 1-10] openjpa.MetaData - Found 5 classes with metadata in 3 milliseconds.

           

           

          00:33:42,970 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC000001: Failed to start service jboss.deployment.subunit."daytrader-ear-3.0.0.ear"."web.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."daytrader-ear-3.0.0.ear"."web.war".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear"

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_34]

                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_34]

                    at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_34]

          Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014544: No EJB found with interface of type 'org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean' for binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote

                    at org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:88)

                    at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:227)

                    at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor$1.handle(ModuleJndiBindingProcessor.java:194)

                    at org.jboss.as.ee.component.ClassDescriptionTraversal.run(ClassDescriptionTraversal.java:54)

                    at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.processClassConfigurations(ModuleJndiBindingProcessor.java:162)

                    at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:155)

                    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

                    ... 5 more

           

           

          00:33:42,982 ERROR [stderr] (MSC service thread 1-10) 0  daytrader  TRACE  [MSC service thread 1-10] openjpa.Runtime - Setting the following properties from "?" into configuration: {openjpa.BrokerFactory=jdbc, openjpa.RuntimeUnenhancedClasses=supported, javax.persistence.provider=org.apache.openjpa.persistence.PersistenceProviderImpl, javax.persistence.sharedCache.mode=UNSPECIFIED, openjpa.Log=DefaultLevel=TRACE, Tool=INFO, openjpa.jdbc.DBDictionary=derby, PersistenceVersion=1.0, openjpa.Id=daytrader, openjpa.ConnectionFactoryMode=managed, openjpa.ConnectionFactory=org.jboss.jca.adapters.jdbc.WrapperDataSource@1a51852, openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true), javax.persistence.validation.mode=AUTO, javax.persistence.validation.factory=org.jboss.as.jpa.validator.SerializableValidatorFactory@1b0a981, jboss.as.jpa.providerModule=org.apache.openjpa, openjpa.TransactionMode=managed, openjpa.BrokerImpl=non-finalizing, openjpa.MetaDataFactory=jpa(Types=org.apache.geronimo.daytrader.javaee6.entities.AccountDataBean;org.apache.geronimo.daytrader.javaee6.entities.AccountProfileDataBean;org.apache.geronimo.daytrader.javaee6.entities.HoldingDataBean;org.apache.geronimo.daytrader.javaee6.entities.OrderDataBean;org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean), openjpa.Sequence=table(Table=OPENJPASEQ, Increment=100), openjpa.ClassResolver=org.apache.openjpa.persistence.PersistenceUnitInfoImpl$ClassResolverImpl@10f8407, openjpa.ConnectionFactory2=org.jboss.jca.adapters.jdbc.WrapperDataSource@1dfeace, openjpa.DynamicEnhancementAgent=false}

           

           

          00:33:42,994 ERROR [stderr] (MSC service thread 1-10) 12  daytrader  TRACE  [MSC service thread 1-10] openjpa.Runtime - Not creating a ValidatorImpl because this app is using the JPA 1.0 Spec

           

           

          00:33:43,004 ERROR [stderr] (MSC service thread 1-10) 22  daytrader  TRACE  [MSC service thread 1-10] openjpa.Runtime - org.apache.openjpa.persistence.PersistenceProviderImpl@afaa85 creating container org.apache.openjpa.persistence.EntityManagerFactoryImpl@e42811 for PU daytrader.

           

           

          00:33:43,206 INFO  [org.jboss.as.server] (HttpManagementService-threads - 1) JBAS015870: Deploy of deployment "daytrader-ear-3.0.0.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"daytrader-ear-3.0.0.ear\".\"web.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"daytrader-ear-3.0.0.ear\".\"web.war\".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment \"web.war\" of deployment \"daytrader-ear-3.0.0.ear\"

              Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014544: No EJB found with interface of type 'org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean' for binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"daytrader-ear-3.0.0.ear\".CLEANUP Missing[JBAS014861: <one or more transitive dependencies>]"]}

          00:33:43,209 INFO  [org.jboss.as.osgi] (MSC service thread 1-12) JBAS011908: Unregister module: Module "deployment.daytrader-ear-3.0.0.ear:main" from Service Module Loader

          00:33:43,210 INFO  [org.jboss.as.jpa] (MSC service thread 1-11) JBAS011403: Stopping Persistence Unit Service 'daytrader-ear-3.0.0.ear#daytrader'

          00:33:43,210 ERROR [stderr] (MSC service thread 1-11) 228  daytrader  TRACE  [MSC service thread 1-11] openjpa.Runtime - org.apache.openjpa.persistence.EntityManagerFactoryImpl@e42811.close() invoked.

           

           

          00:33:43,298 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-14) JBAS015877: Stopped deployment web.war in 91ms

          00:33:43,303 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment daytrader-ear-3.0.0.ear in 96ms

          • 2. Re: DayTrader3
            soneill

            moved my thread from tuning to here, seemed to be a more appropriate location

            • 3. Re: DayTrader3
              soneill

              I've been conecntrating on these lines:

               

              Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014544: No EJB found with interface of type 'org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean' for binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"daytrader-ear-3.0.0.ear\".CLEANUP Missing[JBAS014861: <one or more transitive dependencies>]"]}

               

              So that sounds like the QutoeDataBean EJB cannot be found?  How do I get more information about how its trying to find this EJB, or what pre-reqs need to be fulfilled to make it findable?

               

              Maybe its something off in my persistence.xml, does this look OK?

               

              <?xml version="1.0" encoding="UTF-8"?>

              <persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">

               

               

                  <persistence-unit transaction-type="JTA" name="daytrader">

                      <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>

               

                     <jta-data-source>java:/jdbc/TradeDataSource</jta-data-source> 

               

                      <non-jta-data-source>java:/jdbc/NoTxTradeDataSource</non-jta-data-source>

               

                      <class>org.apache.geronimo.daytrader.javaee6.entities.AccountDataBean</class>

                      <class>org.apache.geronimo.daytrader.javaee6.entities.AccountProfileDataBean</class>

                      <class>org.apache.geronimo.daytrader.javaee6.entities.HoldingDataBean</class>

                      <class>org.apache.geronimo.daytrader.javaee6.entities.OrderDataBean</class>

                      <class>org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean</class>

                      <exclude-unlisted-classes>true</exclude-unlisted-classes>

                     

                      <properties>

                                            <!-- <property name="openjpa.Log" value="DefaultLevel=TRACE, Tool=INFO"/> -->

                                            <property name="jboss.as.jpa.providerModule" value="org.apache.openjpa" />

                                            <property name="openjpa.Log" value="DefaultLevel=TRACE"/>

                                            <property name="openjpa.DynamicEnhancementAgent" value="false"/>

                                            <property name="openjpa.RuntimeUnenhancedClasses" value="supported" />

               

                       </properties>

                  </persistence-unit>

              </persistence>

              • 4. Re: DayTrader3
                soneill

                screw it...switched back over Hibernate as my JPA provider in my persistence.xml

                 

                but still get the same deployment failure error:

                 

                No EJB found with interface of type 'org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean' for binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote

                 

                Guess I'll go back and read the documentation again, maybe I missed something.

                 

                Packaging looks good, right?  ear/lib has entities.jar and utilities.jar.  Entities.jar contains QuoteDataBean, web.war contains PingServlet2Entity.

                 

                daytrader-ear-3.0.0.ear/

                --lib/

                --lib/entities.jar

                --lib/utilities.jar

                --web.war

                • 5. Re: DayTrader3
                  soneill

                  Here is the log for the deployment.  I  have some traces turned on.    Anything look out of the ordinary??

                   

                  13:22:15,326 INFO  [org.jboss.as.repository] (HttpManagementService-threads - 9) JBAS014900: Content added at location C:\apps\wpdev\jbossEAP6\standalone\data\content\50\73c90e9d9d107b7a016c3eea8f3ffe55d7d814\content

                  13:22:19,137 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-16) JBAS015876: Starting deployment of "daytrader-ear-3.0.0.ear"

                  13:22:19,670 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) JBAS015876: Starting deployment of "web.war"

                  13:22:19,699 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: attribute value(0) = JTA

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: attribute value(1) = daytrader

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=provider

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=jta-data-source

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=non-jta-data-source

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=class

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=class

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=class

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=class

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=class

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=exclude-unlisted-classes

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: element=properties

                  13:22:19,700 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parse persistence.xml: reached ending persistence-unit tag

                  13:22:19,700 INFO  [org.jboss.as.jpa] (MSC service thread 1-15) JBAS011401: Read persistence.xml for daytrader

                  13:22:19,701 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) PersistenceUnitMetadataImpl(version=2.0) [

                            name: daytrader

                            jtaDataSource: java:jboss/TradeDataSource

                            nonJtaDataSource: java:jboss/NoTxTradeDataSource

                            transactionType: JTA

                            provider: org.hibernate.ejb.HibernatePersistence

                            classes[

                                      org.apache.geronimo.daytrader.javaee6.entities.AccountDataBean                    org.apache.geronimo.daytrader.javaee6.entities.AccountProfileDataBean                    org.apache.geronimo.daytrader.javaee6.entities.HoldingDataBean                    org.apache.geronimo.daytrader.javaee6.entities.OrderDataBean                    org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean          ]

                            packages[

                            ]

                            mappingFiles[

                            ]

                            jarFiles[

                            ]

                            validation-mode: AUTO

                            shared-cache-mode: UNSPECIFIED

                            properties[

                                      jboss.entity.manager.jndi.name: java:jboss/TradeDataSourceManager1

                                      jboss.entity.manager.factory.jndi.name: java:jboss/TradeDataSourceManager1Factory

                            ]]

                  13:22:19,701 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) parsed persistence unit definitions for ear daytrader-ear-3.0.0.ear

                  13:22:19,701 TRACE [org.jboss.as.jpa] (MSC service thread 1-15) incrementing PU count for daytrader-ear-3.0.0.ear by 1

                  13:22:19,708 TRACE [org.jboss.as.jpa] (MSC service thread 1-14) parsed persistence unit definitions for war web.war

                  13:22:19,708 TRACE [org.jboss.as.jpa] (MSC service thread 1-14) incrementing PU count for daytrader-ear-3.0.0.ear by 0

                  13:22:19,709 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added javax.persistence.api:main dependency to daytrader-ear-3.0.0.ear

                  13:22:19,710 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added javaee.api:main dependency to daytrader-ear-3.0.0.ear

                  13:22:19,710 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added org.jboss.as.jpa:main dependency to daytrader-ear-3.0.0.ear

                  13:22:19,710 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added org.jboss.as.jpa.spi:main dependency to daytrader-ear-3.0.0.ear

                  13:22:19,710 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added org.javassist:main dependency to daytrader-ear-3.0.0.ear

                  13:22:19,710 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added (default provider) org.hibernate dependency to daytrader-ear-3.0.0.ear (since 1 PU(s) didn't specify jboss.as.jpa.providerModule)

                  13:22:19,710 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added org.hibernate.envers:main dependency to daytrader-ear-3.0.0.ear

                  13:22:19,710 DEBUG [org.jboss.as.jpa] (MSC service thread 1-14) added org.hibernate:main dependency to daytrader-ear-3.0.0.ear

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) pu search for name 'daytrader' inside of web.war

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) findWithinDeployment check 'daytrader' against pu 'daytrader'

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) findWithinDeployment matched 'daytrader' against pu 'daytrader'

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) pu search found daytrader-ear-3.0.0.ear#daytrader

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) pu search for name 'daytrader' inside of web.war

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) findWithinDeployment check 'daytrader' against pu 'daytrader'

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) findWithinDeployment matched 'daytrader' against pu 'daytrader'

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) pu search found daytrader-ear-3.0.0.ear#daytrader

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) pu search for name 'daytrader' inside of web.war

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) findWithinDeployment check 'daytrader' against pu 'daytrader'

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) findWithinDeployment matched 'daytrader' against pu 'daytrader'

                  13:22:19,711 TRACE [org.jboss.as.jpa] (MSC service thread 1-3) pu search found daytrader-ear-3.0.0.ear#daytrader

                  13:22:19,711 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added javax.persistence.api:main dependency to web.war

                  13:22:19,712 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added javaee.api:main dependency to web.war

                  13:22:19,712 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added org.jboss.as.jpa:main dependency to web.war

                  13:22:19,712 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added org.jboss.as.jpa.spi:main dependency to web.war

                  13:22:19,712 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added org.javassist:main dependency to web.war

                  13:22:19,712 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added (default provider) org.hibernate dependency to web.war (since 1 PU(s) didn't specify jboss.as.jpa.providerModule)

                  13:22:19,712 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added org.hibernate.envers:main dependency to web.war

                  13:22:19,712 DEBUG [org.jboss.as.jpa] (MSC service thread 1-3) added org.hibernate:main dependency to web.war

                  13:22:19,785 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-10) Installing timer service for component DirectSLSBBean

                  13:22:19,785 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-10) Installing timer service for component TradeSLSBBean

                  13:22:19,787 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-10) JNDI bindings for session bean named DirectSLSBBean in deployment unit subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear" are as follows:

                   

                   

                            java:global/daytrader/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBLocal

                            java:app/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBLocal

                            java:module/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBLocal

                            java:global/daytrader/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                            java:app/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                            java:module/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                            java:jboss/exported/daytrader/web/DirectSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBRemote

                   

                   

                  13:22:19,787 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-10) JNDI bindings for session bean named TradeSLSBBean in deployment unit subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear" are as follows:

                   

                   

                            java:global/daytrader/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBLocal

                            java:app/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBLocal

                            java:module/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBLocal

                            java:global/daytrader/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                            java:app/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                            java:module/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                            java:jboss/exported/daytrader/web/TradeSLSBBean!org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBRemote

                   

                   

                  13:22:19,817 DEBUG [org.jboss.as.ejb3.deployment.processors.EjbClientContextSetupProcessor] (MSC service thread 1-7) Deployment unit deployment "daytrader-ear-3.0.0.ear" doesn't have any explicit EJB client context configured. Falling back on the default service jboss.ejb3.ejbClientContext.default EJB client context service

                  13:22:19,817 DEBUG [org.jboss.as.ejb3.deployment.processors.EjbClientContextSetupProcessor] (MSC service thread 1-7) Registering EJB client context org.jboss.ejb.client.EJBClientContext@17c1361 for classloader ModuleClassLoader for Module "deployment.daytrader-ear-3.0.0.ear:main" from Service Module Loader

                  13:22:19,817 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) install persistence unit definitions for ear daytrader-ear-3.0.0.ear

                  13:22:19,817 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) install persistence unit definitions for ear utils.jar

                  13:22:19,817 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) install persistence unit definitions for ear entities.jar

                  13:22:19,817 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) adding 'vfs:/C:/apps/wpdev/jbossEAP6/bin/content/daytrader-ear-3.0.0.ear/lib/utils.jar/' to annotation index map

                  13:22:19,818 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) adding 'vfs:/C:/apps/wpdev/jbossEAP6/bin/content/daytrader-ear-3.0.0.ear/lib/entities.jar/' to annotation index map

                  13:22:19,819 DEBUG [org.jboss.as.jpa] (MSC service thread 1-7) loaded persistence provider adapter org.jboss.as.jpa.hibernate:4

                  13:22:19,819 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) returning global (module) Persistence Provider org.hibernate.ejb.HibernatePersistence

                  13:22:19,819 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) lookup provider checking provider version (4.1.3.Final-redhat-1)

                  13:22:19,819 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) binding the entity manager factory to jndi name 'java:jboss/TradeDataSourceManager1Factory'

                  13:22:19,819 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) added PersistenceUnitService for 'service jboss.persistenceunit."daytrader-ear-3.0.0.ear#daytrader"'.  PU is ready for injector action.

                  13:22:19,820 INFO  [org.jboss.as.osgi] (MSC service thread 1-16) JBAS011907: Register module: Module "deployment.daytrader-ear-3.0.0.ear:main" from Service Module Loader

                  13:22:19,820 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) registering session bean interceptors for component 'DirectSLSBBean' in 'web.war'

                  13:22:19,820 TRACE [org.jboss.as.jpa] (MSC service thread 1-7) registering session bean interceptors for component 'TradeSLSBBean' in 'web.war'

                  13:22:19,820 DEBUG [org.jboss.as.ejb3.deployment.processors.EjbClientContextSetupProcessor] (MSC service thread 1-7) Deployment unit subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear" doesn't have any explicit EJB client context configured. Falling back on the default service jboss.ejb3.ejbClientContext.default EJB client context service

                  13:22:19,820 DEBUG [org.jboss.as.ejb3.deployment.processors.EjbClientContextSetupProcessor] (MSC service thread 1-7) Registering EJB client context org.jboss.ejb.client.EJBClientContext@17c1361 for classloader ModuleClassLoader for Module "deployment.daytrader-ear-3.0.0.ear.web.war:main" from Service Module Loader

                  13:22:19,821 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2ServletRcv named org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2ServletRcv

                  13:22:19,821 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBCCollection named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBCCollection

                  13:22:19,821 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.TradeAppServlet named org.apache.geronimo.daytrader.javaee6.web.TradeAppServlet

                  13:22:19,822 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.PortfolioJSF named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.PortfolioJSF

                  13:22:19,822 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.ejb3.DirectSLSBBean named DirectSLSBBean

                  13:22:19,834 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-7) Security is *not* enabled on EJB: DirectSLSBBean, no security interceptors will apply

                  13:22:19,842 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-7) Security is *not* enabled on EJB: DirectSLSBBean, no security interceptors will apply

                  13:22:19,843 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2CMROne2Many named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2CMROne2Many

                  13:22:19,843 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2Entity named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2Entity

                  13:22:19,843 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBBean named TradeSLSBBean

                  13:22:19,853 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-7) Security is *not* enabled on EJB: TradeSLSBBean, no security interceptors will apply

                  13:22:19,862 DEBUG [org.jboss.as.ejb3] (MSC service thread 1-7) Security is *not* enabled on EJB: TradeSLSBBean, no security interceptors will apply

                  13:22:19,863 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingJDBCWrite named org.apache.geronimo.daytrader.javaee6.web.prims.PingJDBCWrite

                  13:22:19,863 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.TradeJPAContextListener named org.apache.geronimo.daytrader.javaee6.web.TradeJPAContextListener

                  13:22:19,863 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServletWriter named org.apache.geronimo.daytrader.javaee6.web.prims.PingServletWriter

                  13:22:19,863 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingJDBCRead named org.apache.geronimo.daytrader.javaee6.web.prims.PingJDBCRead

                  13:22:19,863 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.TradeAppJSF named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.TradeAppJSF

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.QuoteDataJSF named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.QuoteDataJSF

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2MDBQueue named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2MDBQueue

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2TwoPhase named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2TwoPhase

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: javax.faces.webapp.FacesServlet named javax.faces.webapp.FacesServlet

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.OrdersAlertFilter named org.apache.geronimo.daytrader.javaee6.web.OrdersAlertFilter

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBC named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBC

                  13:22:19,864 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV named javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.catalina.servlets.DefaultServlet named org.apache.catalina.servlets.DefaultServlet

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2Include named org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2Include

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingSession2 named org.apache.geronimo.daytrader.javaee6.web.prims.PingSession2

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: com.sun.faces.config.ConfigureListener named com.sun.faces.config.ConfigureListener

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingSession1 named org.apache.geronimo.daytrader.javaee6.web.prims.PingSession1

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2EntityCollection named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2EntityCollection

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.AccountDataJSF named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.AccountDataJSF

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.TradeScenarioServlet named org.apache.geronimo.daytrader.javaee6.web.TradeScenarioServlet

                  13:22:19,865 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingSession3 named org.apache.geronimo.daytrader.javaee6.web.prims.PingSession3

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2JNDI named org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2JNDI

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.jasper.servlet.JspServlet named org.apache.jasper.servlet.JspServlet

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.OrderDataJSF named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.OrderDataJSF

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet named org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.TradeConfigJSF named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.TradeConfigJSF

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2Jsp named org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2Jsp

                  13:22:19,866 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.TradeDirectContextListener named org.apache.geronimo.daytrader.javaee6.web.TradeDirectContextListener

                  13:22:19,867 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.MarketSummaryJSF named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.MarketSummaryJSF

                  13:22:19,867 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2IncludeRcv named org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2IncludeRcv

                  13:22:19,867 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ExplicitGC named org.apache.geronimo.daytrader.javaee6.web.prims.ExplicitGC

                  13:22:19,867 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.Beans.HoldingData named managed-bean.org.apache.geronimo.daytrader.javaee6.web.Beans.HoldingData

                  13:22:19,867 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2MDBTopic named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2MDBTopic

                  13:22:19,867 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: javax.servlet.jsp.jstl.tlv.ScriptFreeTLV named javax.servlet.jsp.jstl.tlv.ScriptFreeTLV

                  13:22:19,868 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.TradeJDBCContextListener named org.apache.geronimo.daytrader.javaee6.web.TradeJDBCContextListener

                  13:22:19,868 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.TradeConfigServlet named org.apache.geronimo.daytrader.javaee6.web.TradeConfigServlet

                  13:22:19,868 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: javax.faces.webapp.FacetTag named javax.faces.webapp.FacetTag

                  13:22:19,868 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2CMROne2One named org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2CMROne2One

                  13:22:19,868 DEBUG [org.jboss.as.ee] (MSC service thread 1-7) Configuring component class: org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2Servlet named org.apache.geronimo.daytrader.javaee6.web.prims.PingServlet2Servlet

                  13:22:19,870 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBCCollection/directSLSBRemote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBCCollection".directSLSBRemote

                  13:22:19,870 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding java:global/DirectSLSBBean using service service jboss.naming.context.java.global.DirectSLSBBean

                  13:22:19,870 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2CMROne2Many/tradeSLSBRemote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2CMROne2Many".tradeSLSBRemote

                  13:22:19,871 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2Entity/tradeSLSBRemote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2Entity".tradeSLSBRemote

                  13:22:19,871 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding java:global/TradeSLSBBean using service service jboss.naming.context.java.global.TradeSLSBBean

                  13:22:19,871 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBBean/entityManager using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.ejb3.TradeSLSBBean".entityManager

                  13:22:19,872 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2TwoPhase/tradeSLSBRemote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2TwoPhase".tradeSLSBRemote

                  13:22:19,872 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session/tradeSLSBRemote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session".tradeSLSBRemote

                  13:22:19,872 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBC/directSLSBRemote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2JDBC".directSLSBRemote

                  13:22:19,872 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2EntityCollection/tradeSLSBRemote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Session2EntityCollection".tradeSLSBRemote

                  13:22:19,873 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/em using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity".em

                  13:22:19,873 TRACE [org.jboss.as.ee] (MSC service thread 1-7) Binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote using service service jboss.naming.context.java.module.daytrader.web.env."org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity".quote

                  13:22:19,873 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.subunit."daytrader-ear-3.0.0.ear"."web.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."daytrader-ear-3.0.0.ear"."web.war".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear"

                            at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                            at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_06]

                            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06]

                            at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06]

                  Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014544: No EJB found with interface of type 'org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean' for binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote

                            at org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:88)

                            at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:227)

                            at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor$1.handle(ModuleJndiBindingProcessor.java:194)

                            at org.jboss.as.ee.component.ClassDescriptionTraversal.run(ClassDescriptionTraversal.java:54)

                            at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.processClassConfigurations(ModuleJndiBindingProcessor.java:162)

                            at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:155)

                            at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

                            ... 5 more

                   

                   

                  13:22:20,076 INFO  [org.jboss.as.osgi] (MSC service thread 1-15) JBAS011908: Unregister module: Module "deployment.daytrader-ear-3.0.0.ear:main" from Service Module Loader

                  13:22:20,076 INFO  [org.jboss.as.server] (HttpManagementService-threads - 9) JBAS015870: Deploy of deployment "daytrader-ear-3.0.0.ear" was rolled back with failure message {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"daytrader-ear-3.0.0.ear\".\"web.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"daytrader-ear-3.0.0.ear\".\"web.war\".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment \"web.war\" of deployment \"daytrader-ear-3.0.0.ear\"

                      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014544: No EJB found with interface of type 'org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean' for binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.persistenceunit.\"daytrader-ear-3.0.0.ear#daytrader\" Missing[jboss.naming.context.java.jboss.NoTxTradeDataSource, jboss.naming.context.java.jboss.TradeDataSource]","jboss.naming.context.java.jboss.TradeDataSourceManager1Factory Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"daytrader-ear-3.0.0.ear\".CLEANUP Missing[JBAS014861: <one or more transitive dependencies>]"]}

                  13:22:20,182 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-11) JBAS015877: Stopped deployment web.war in 106ms

                  13:22:20,186 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment daytrader-ear-3.0.0.ear in 110ms

                  • 6. Re: DayTrader3
                    soneill

                    By using my stack trace and clicking through the 7.1.1.Final code base, I this is what I think is happening (stick with me, i am not a devloper):

                     

                    Stack trace:

                    18:13:50,503 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.subunit."daytrader-ear-3.0.0.ear"."web.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.subunit."daytrader-ear-3.0.0.ear"."web.war".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment "web.war" of deployment "daytrader-ear-3.0.0.ear"

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

                              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA-redhat-1.jar:1.0.2.GA-redhat-1]

                              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [rt.jar:1.7.0_06]

                              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [rt.jar:1.7.0_06]

                              at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_06]

                    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS014543: No EJB found with interface of type 'org.apache.geronimo.daytrader.javaee6.entities.QuoteDataBean' and name 'quoteejb' for binding org.apache.geronimo.daytrader.javaee6.web.prims.ejb3.PingServlet2Entity/quote

                              at org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:88)

                              at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.addJndiBinding(ModuleJndiBindingProcessor.java:227)

                              at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor$1.handle(ModuleJndiBindingProcessor.java:194)

                              at org.jboss.as.ee.component.ClassDescriptionTraversal.run(ClassDescriptionTraversal.java:54)

                              at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.processClassConfigurations(ModuleJndiBindingProcessor.java:162)

                              at org.jboss.as.ee.component.deployers.ModuleJndiBindingProcessor.deploy(ModuleJndiBindingProcessor.java:155)

                              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.2.Final-redhat-1.jar:7.1.2.Final-redhat-1]

                              ... 5 more

                     

                    So I started off at org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:88)

                     

                         public void getResourceValue(final ResolutionContext resolutionContext, final ServiceBuilder<?> serviceBuilder, final DeploymentPhaseContext phaseContext, final Injector<ManagedReferenceFactory> injector) throws DeploymentUnitProcessingException {

                    85         resolve();

                    86

                    87         if (error != null) {

                    88             throw new DeploymentUnitProcessingException(error);

                    89         }

                    90

                     

                    which would indicate that "error" is not null....okay wokring backwards...checked out "resolve()"...

                     

                    124                    if (ejbsForViewName.isEmpty()) {

                    125                        if (beanName == null) {

                    126                            error = EjbMessages.MESSAGES.ejbNotFound(typeName, bindingName);

                    127                        } else {

                    128                            error = EjbMessages.MESSAGES.ejbNotFound(typeName, beanName, bindingName);

                    129                        }

                     

                    Line 126 looks like my error message.  Indicating that ejbsForViewName is empty.  So the error message is spot on.  So why is it empty?  How is ejbsForViewName determined?

                     

                    109                    final Set<ViewDescription> views = getViews();

                    110

                    111                    final Set<EJBViewDescription> ejbsForViewName = new HashSet<EJBViewDescription>();

                    112                    for (final ViewDescription view : views) {

                    113                        if (view instanceof EJBViewDescription) {

                    114                            final MethodIntf viewType = ((EJBViewDescription) view).getMethodIntf();

                    115                            // @EJB injection *shouldn't* consider the @WebService endpoint view or MDBs

                    116                            if (viewType == MethodIntf.SERVICE_ENDPOINT || viewType == MethodIntf.MESSAGE_ENDPOINT) {

                    117                                continue;

                    118                            }

                    119                            ejbsForViewName.add((EJBViewDescription) view);

                    120                        }

                    121                    }

                     

                    ejbsForViewName is populated according to the block above.   However, that seems to depend on line 109.   Lets look at getViews() next...

                     

                    158    private Set<ViewDescription> getViews() {

                    159        final EEApplicationDescription applicationDescription = deploymentUnit.getAttachment(EE_APPLICATION_DESCRIPTION);

                    160        final ResourceRoot deploymentRoot = deploymentUnit.getAttachment(Attachments.DEPLOYMENT_ROOT);

                    161        final Set<ViewDescription> componentsForViewName;

                    162        if (beanName != null) {

                    163            componentsForViewName = applicationDescription.getComponents(beanName, typeName, deploymentRoot.getRoot());

                    164        } else {

                    165            componentsForViewName = applicationDescription.getComponentsForViewName(typeName, deploymentRoot.getRoot());

                    166        }

                    167        return componentsForViewName;

                    168    }

                     

                    If getViews() is returning empty, then that means componentsForViewName is empty.  Which in this case, is determined by line 165.  Lets look at that block next...

                     

                    89     public Set<ViewDescription> getComponentsForViewName(final String viewType, final VirtualFile deploymentRoot) {

                    90         final List<ViewInformation> info = componentsByViewName.get(viewType);

                    91

                    92         if (info == null) {

                    93             return Collections.<ViewDescription>emptySet();

                    94         }

                    95         final Set<ViewDescription> ret = new HashSet<ViewDescription>();

                    96         final Set<ViewDescription> currentDep = new HashSet<ViewDescription>();

                    97         for (ViewInformation i : info) {

                    98             if (deploymentRoot.equals(i.deploymentRoot)) {

                    99                 currentDep.add(i.viewDescription);

                    100            }

                    101            ret.add(i.viewDescription);

                    102        }

                    103        if(!currentDep.isEmpty()) {

                    104            return currentDep;

                    105        }

                    106        return ret;

                    107    }


                    At this point, my best guess is that in Line 90, nothing is returned to info and an empty set is returned back up through the chain, ultimately resulting in error and fail to deploy.

                     

                    In summary I think the error path looks like this....

                     

                    org.jboss.as.ee.component.EEApplicationDescription.getComponentsForViewName(final String viewType, final VirtualFile DeploymentRoot)

                       called by org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getViews()

                       called by org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.resolve()

                       called by org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.resolve()

                      called by org.jboss.as.ejb3.deployment.processors.EjbInjectionSource.getResourceValue(EjbInjectionSource.java:88)



                    Assuming my .ear is packaged correctly, in a JEE 6 standard compliant way, why is this map/list thing not getting populated with the data it needs?  It looks like this is the ulitmate reason for the deployment failure and "No EJB with interface blah for binding to bleh" error message.

                    • 7. Re: DayTrader3
                      soneill

                      moved to JNDI and naming from another discussion...if this is not the best home for this thread/issue, can someone please suggest a better one?

                      • 8. Re: DayTrader3
                        soneill

                        in my QuoteDataBean.java, changing

                         

                        @EJB

                         

                        to

                         

                        @EJB(mappedName="java:global/daytrader/QuoteDataBean)

                         

                         

                         

                        There's probably a more nuetral way of doing it, but that worked for now.   I still don't understand why the mappedName attribute is required - I was hoping the code would just work out of the box.