1 2 Previous Next 25 Replies Latest reply on Sep 25, 2013 9:15 PM by xiang yingbing

    Exception on execute session bean "No Persistence provider for EntityManager"

    Владимир Козачук Newbie

      When the in bean entityManager.createQuery(sql); (INSERT INTO coordinate (DataDateTime, Latitude, Longtitude) VALUE('2013-4-21 15:34:50',67523440,75552856) em = null )

       

      Import_File.java

       

      @Stateless(name="Import_File", mappedName="Import_File")

       

      @Remote(interf.Import_FileRemote.class)

      @LocalBean

      public class Import_File implements Import_FileRemote, Import_FileLocal {

        @PersistenceContext(unitName="blackBox")

        private EntityManager em;

      ***

      private void addRow(){

           String sql = "INSERT INTO coordinate (DataDateTime, Latitude, Longtitude)"

            + " VALUE('"+event.getDate()+"',"+event.getLatitude()+","+event.getLongtitude()+")";

            System.out.println(sql + " em = " + em  );

             em.createQuery(sql);


      persistence.xml


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

      <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">

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

        <provider>org.hibernate.ejb.HibernatePersistence</provider>

        <jta-data-source>java:jboss/blackBoxDS</jta-data-source>

        <properties>

                  <property name="hibernate.ejb.use_class_enhancer" value="true" />

                  <property name="hibernate.show_sql" value="true" />

                  <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLInnoDBDialect"/>

              </properties>

        </persistence-unit>

      </persistence>

       

      client log

       

      сен 23, 2013 1:08:18 AM org.xnio.Xnio <clinit>

      INFO: XNIO Version 3.0.7.GA-redhat-1

      сен 23, 2013 1:08:18 AM org.xnio.nio.NioXnio <clinit>

      INFO: XNIO NIO Implementation Version 3.0.7.GA-redhat-1

      сен 23, 2013 1:08:18 AM org.jboss.remoting3.EndpointImpl <clinit>

      INFO: JBoss Remoting version 3.2.16.GA-redhat-1

      Looking EJB via JNDI

      ejb:blackBoxEJBEAR/blackBoxEJBClient//Import_File!interf.Import_FileRemote

      сен 23, 2013 1:08:18 AM org.jboss.ejb.client.EJBClient <clinit>

      INFO: JBoss EJB Client version 1.0.21.Final-redhat-1

      INSERT INTO coordinate (DataDateTime, Latitude, Longtitude) VALUE('2013-4-21 15:34:50',67523440,75552856) em = null

      Exception in thread "main" java.lang.NullPointerException

        at bean.Import_File.readF(Import_File.java:90)

        at bean.Import_File.<init>(Import_File.java:54)

        at src.RunIt.main(RunIt.java:85)

       

      deploy log

       

      01:20:00,205 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 61) JBAS011403: Stopping Persistence Unit Service 'blackBoxEJBEAR.ear/blackBoxEJB.jar#blackBox'

      01:20:00,217 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment null (runtime-name: blackBoxEJB.jar) in 24ms

      01:20:00,218 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) JBAS015877: Stopped deployment blackBoxEJBEAR.ear (runtime-name: blackBoxEJBEAR.ear) in 25ms

      01:20:00,219 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "blackBoxEJBEAR.ear" (runtime-name: "blackBoxEJBEAR.ear")

      01:20:00,225 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "blackBoxEJB.jar")

      01:20:00,232 INFO  [org.jboss.as.jpa] (MSC service thread 1-1) JBAS011401: Read persistence.xml for blackBox

      01:20:00,246 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 61) JBAS011402: Starting Persistence Unit Service 'blackBoxEJBEAR.ear/blackBoxEJB.jar#blackBox'

      01:20:00,246 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 61) HHH000204: Processing PersistenceUnitInfo [

        name: blackBox

        ...]

      01:20:00,256 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 61) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider

      01:20:00,266 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 61) HHH000400: Using dialect: org.hibernate.dialect.MySQLInnoDBDialect

      01:20:00,267 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 61) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory

      01:20:00,268 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 61) HHH000397: Using ASTQueryTranslatorFactory

      01:20:00,273 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-7) JNDI bindings for session bean named Import_File in deployment unit subdeployment "blackBoxEJB.jar" of deployment "blackBoxEJBEAR.ear" are as follows:

       

       

        java:global/blackBoxEJBEAR/blackBoxEJB/Import_File!bean.Import_File

        java:app/blackBoxEJB/Import_File!bean.Import_File

        java:module/Import_File!bean.Import_File

        java:global/blackBoxEJBEAR/blackBoxEJB/Import_File!interf.Import_FileLocal

        java:app/blackBoxEJB/Import_File!interf.Import_FileLocal

        java:module/Import_File!interf.Import_FileLocal

        java:global/blackBoxEJBEAR/blackBoxEJB/Import_File!interf.Import_FileRemote

        java:app/blackBoxEJB/Import_File!interf.Import_FileRemote

        java:module/Import_File!interf.Import_FileRemote

        java:jboss/exported/blackBoxEJBEAR/blackBoxEJB/Import_File!interf.Import_FileRemote

       

       

      01:20:00,313 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018565: Replaced deployment "blackBoxEJBEAR.ear" with deployment "blackBoxEJBEAR.ear"

        • 1. Re: Exception on execute session bean "No Persistence provider for EntityManager"
          Владимир Козачук Newbie

          I specify java:jboss/blackBoxDS is defined in the jboss and starts. log 10:01:03,340 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data source [java:jboss/blackBoxDS]

          • 3. Re: Exception on execute session bean "No Persistence provider for EntityManager"
            xiang yingbing Master

            Please remove this line in persistence.xml and try again:

            <provider>org.hibernate.ejb.HibernatePersistence</provider>

            • 4. Re: Exception on execute session bean "No Persistence provider for EntityManager"
              xiang yingbing Master

              Moreover, I suggest you use persistence 2.1:

               

              For example:

               

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

              <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence"

                           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                           xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_1.xsd">

                  <persistence-unit name="ybxiang-forum-persistence-unit">

                      <!-- <provider>org.hibernate.ejb.HibernatePersistence</provider> -->

                      <jta-data-source>java:jboss/datasources/ybxiangForumMySqlDataSource</jta-data-source>

                      <properties>

                          <property name="hibernate.dialect" value="org.hibernate.dialect.MySQL5Dialect"/>

                          <property name="hibernate.hbm2ddl.auto" value="update"/>

                          <property name="hibernate.show_sql" value="false"/>

                          <property name="hibernate.format_sql" value="true"/>

                      </properties>

                  </persistence-unit>

              </persistence>

              • 5. Re: Re: Exception on execute session bean "No Persistence provider for EntityManager"
                Владимир Козачук Newbie

                Thank you very much, but it the exact same error em = null

                standalone.xml

                •           <datasource jta="false" jndi-name="java:jboss/datasources/blackBoxDS" pool-name="blackBoxDS" enabled="true" use-java-context="true">         
                •                     <connection-url>jdbc:mysql://localhost:3306/blackbox_ejb</connection-url>
                •                     <driver-class>com.mysql.jdbc.Driver</driver-class>
                •                     <driver>MySqlJDBCDriver</driver>
                •                     <transaction-isolation>TRANSACTION_READ_COMMITTED</transaction-isolation>
                •                     <pool>
                •                         <min-pool-size>4</min-pool-size>
                •                         <max-pool-size>8</max-pool-size>
                •                         <prefill>true</prefill>
                •                     </pool>
                •                     <security>
                •                         <user-name>user</user-name>
                •                         <password>user</password>
                •                     </security>
                •                     <validation>
                •                         <validate-on-match>false</validate-on-match>
                •                         <background-validation>false</background-validation>
                •                     </validation>
                •                     <statement>
                •                         <prepared-statement-cache-size>32</prepared-statement-cache-size>
                •                         <share-prepared-statements>true</share-prepared-statements>
                •                     </statement>
                •                 </datasource>
                •                 <drivers>
                •                     <driver name="h2" module="com.h2database.h2">
                •                         <xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
                •                     </driver>
                •                     <driver name="MySqlJDBCDriver" module="com.mysql">
                •                         <xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
                •                     </driver>
                •                 </drivers>
                •             </datasources>

                module.xml

                • <module xmlns="urn:jboss:module:1.1" name="com.mysql">
                •   <resources> 
                •     <resource-root path="mysql-connector-java-5.1.26-bin.jar"/> 
                •   </resources> 
                •   <dependencies> 
                •     <module name="javax.api"/>
                •   <module name="javax.transaction.api"/>
                •   </dependencies> 
                • </module> 

                persistence.xml

                 

                 

                the jboss sees mysql DB and it active, but EntityManager all the same null

                @PersistenceContext(unitName="blackBox")

                    private EntityManager em;

                • 7. Re: Exception on execute session bean "No Persistence provider for EntityManager"
                  Henrik Hoffmann Newbie

                  are there any ClassNotFound Exceptions during serverstart?

                   

                  do you have defined module dependencies for hibernate and your mySQL-Driver in your jboss-deployment-structure.xml file?

                   

                  here is an example:

                  <?xml version="1.0" encoding="UTF-8"?>
                  <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
                      <deployment>
                          <dependencies>
                              <module name="org.hibernate" slot="main" export="true"/>
                              <module name="com.mysql" slot="main" export="true"/>
                          </dependencies>
                      </deployment>
                  </jboss-deployment-structure>
                  
                  • 8. Re: Re: Exception on execute session bean "No Persistence provider for EntityManager"
                    Владимир Козачук Newbie

                    As I understand it correctly, and libraries in the prescribe myself.

                    1. 16:05:18,321 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.Final-redhat-1
                    2. 16:05:18,989 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA-redhat-1
                    3. 16:05:19,205 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting
                    4. 16:05:21,874 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found blackBoxEJBEAR.ear in deployment directory. To trigger deployment create a file called blackBoxEJBEAR.ear.dodeploy
                    5. 16:05:21,923 INFO  [org.xnio] (MSC service thread 1-4) XNIO Version 3.0.7.GA-redhat-1
                    6. 16:05:21,932 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
                    7. 16:05:21,943 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.0.7.GA-redhat-1
                    8. 16:05:21,968 INFO  [org.jboss.remoting] (MSC service thread 1-4) JBoss Remoting version 3.2.16.GA-redhat-1
                    9. 16:05:22,103 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 29) JBAS010280: Activating Infinispan subsystem.
                    10. 16:05:22,131 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 42) JBAS013171: Activating Security Subsystem
                    11. 16:05:22,239 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 46) JBAS015537: Activating WebServices Extension
                    12. 16:05:22,285 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 37) JBAS011800: Activating Naming Subsystem
                    13. 16:05:22,327 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 35) JBAS012605: Activated the following JSF Implementations: [main, 1.2]
                    14. 16:05:22,351 INFO  [org.jboss.as.security] (MSC service thread 1-7) JBAS013170: Current PicketBox version=4.0.17.Final-redhat-1
                    15. 16:05:22,522 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
                    16. 16:05:22,820 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-6) JBAS015400: Bound mail session [java:jboss/mail/Default]
                    17. 16:05:22,857 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-7) JBAS010408: Starting JCA Subsystem (IronJacamar 1.0.17.Final-redhat-1)
                    18. 16:05:23,387 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
                    19. 16:05:23,571 INFO  [org.jboss.ws.common.management] (MSC service thread 1-1) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final-redhat-3
                    20. 16:05:23,607 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 25) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
                    21. 16:05:24,847 INFO  [org.apache.coyote.http11] (MSC service thread 1-6) JBWEB003001: Coyote HTTP/1.1 initializing on : http-localhost/127.0.0.1:8080
                    22. 16:05:24,869 INFO  [org.apache.coyote.http11] (MSC service thread 1-6) JBWEB003000: Coyote HTTP/1.1 starting on: http-localhost/127.0.0.1:8080
                    23. 16:05:25,121 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeploymentService for directory D:\dvelop\jboss-eap-6.1\standalone\deployments
                    24. 16:05:25,184 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "blackBoxEJBEAR.ear" (runtime-name: "blackBoxEJBEAR.ear")
                    25. 16:05:25,266 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-2) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
                    26. 16:05:25,267 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) JBAS010400: Bound data source [java:jboss/datasources/blackBoxDS]
                    27. 16:05:25,276 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on 127.0.0.1:9999
                    28. 16:05:25,276 INFO  [org.jboss.as.remoting] (MSC service thread 1-8) JBAS017100: Listening on 127.0.0.1:4447
                    29. 16:05:25,398 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "blackBoxEJB.jar")
                    30. 16:05:25,404 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015850: /D:/dvelop/jboss-eap-6.1/standalone/deployments/blackBoxEJBEAR.ear/blackBoxEJB.jar/META-INF/jboss-deployment-structure.xml in subdeployment ignored. jboss-deployment-structure.xml is only parsed for top level deployments.
                    31. 16:05:25,551 INFO  [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence.xml for blackBox
                    32. 16:05:25,799 INFO  [org.jboss.as.ejb3.deployment.processors.EjbJndiBindingsDeploymentUnitProcessor] (MSC service thread 1-1) JNDI bindings for session bean named Import_File in deployment unit subdeployment "blackBoxEJB.jar" of deployment "blackBoxEJBEAR.ear" are as follows:
                    33.   java:global/blackBoxEJBEAR/blackBoxEJB/Import_File!interf.Import_FileLocal
                    34.   java:app/blackBoxEJB/Import_File!interf.Import_FileLocal
                    35.   java:module/Import_File!interf.Import_FileLocal
                    36.   java:global/blackBoxEJBEAR/blackBoxEJB/Import_File!interf.Import_FileRemote
                    37.   java:app/blackBoxEJB/Import_File!interf.Import_FileRemote
                    38.   java:module/Import_File!interf.Import_FileRemote
                    39.   java:jboss/exported/blackBoxEJBEAR/blackBoxEJB/Import_File!interf.Import_FileRemote
                    40. 16:05:26,401 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 48) JBAS011402: Starting Persistence Unit Service 'blackBoxEJBEAR.ear/blackBoxEJB.jar#blackBox'
                    41. 16:05:26,698 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 48) HCANN000001: Hibernate Commons Annotations {4.0.1.Final-redhat-2}
                    42. 16:05:26,708 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 48) HHH000412: Hibernate Core {4.2.0.Final-redhat-1}
                    43. 16:05:26,713 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) HHH000206: hibernate.properties not found
                    44. 16:05:26,717 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 48) HHH000021: Bytecode provider name : javassist
                    45. 16:05:26,757 INFO  [org.hibernate.ejb.Ejb3Configuration] (ServerService Thread Pool -- 48) HHH000204: Processing PersistenceUnitInfo [
                    46.   name: blackBox
                    47.   ...]
                    48. 16:05:26,975 INFO  [org.hibernate.service.jdbc.connections.internal.ConnectionProviderInitiator] (ServerService Thread Pool -- 48) HHH000130: Instantiating explicit connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
                    49. 16:05:27,082 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 48) HHH000400: Using dialect: org.hibernate.dialect.MySQL5Dialect
                    50. 16:05:27,133 INFO  [org.hibernate.engine.transaction.internal.TransactionFactoryInitiator] (ServerService Thread Pool -- 48) HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
                    51. 16:05:27,147 INFO  [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool -- 48) HHH000397: Using ASTQueryTranslatorFactory
                    52. 16:05:27,464 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 48) HHH000228: Running hbm2ddl schema update
                    53. 16:05:27,464 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 48) HHH000102: Fetching database metadata
                    54. 16:05:27,475 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 48) HHH000396: Updating schema
                    55. 16:05:27,475 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 48) HHH000232: Schema update complete
                    56. 16:05:27,638 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 26) JBAS018559: Deployed "blackBoxEJBEAR.ear" (runtime-name : "blackBoxEJBEAR.ear")
                    57. 16:05:27,685 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:9990/management
                    58. 16:05:27,686 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
                    59. 16:05:27,686 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) started in 10564ms - Started 189 of 248 services (57 services are passive or on-demand)
                    • 9. Re: Re: Exception on execute session bean "No Persistence provider for EntityManager"
                      Владимир Козачук Newbie

                      likely in persistence.xml to be javax.persistence.spi.PeristenceProvider , but does not work

                      • 10. Re: Re: Exception on execute session bean "No Persistence provider for EntityManager"
                        Scott Marlow Master

                        I would try enabling TRACE logging for org.jboss.as.jpa as mentioned here JPA Reference Guide - JBoss AS 7.2 - Project Documentation Editor

                         

                        The trace output should show results of trying to resolve the @PersistenceContext to the persistence.xml.

                        • 11. Re: Exception on execute session bean "No Persistence provider for EntityManager"
                          Ron Si Newbie

                          I am having the exact same problem. @PersistenceContext is not injecting an EntityManager which later causes NullPointerException. I'm running a seam application on JBOSS 7.1.1.FINAL. But if I do Persistence.createEntityManagerFactory("nameOfPUnit") it returns a concrete instance. But I don't know why injection via @PersistenceContext won't work.

                          • 12. Re: Exception on execute session bean "No Persistence provider for EntityManager"
                            Scott Marlow Master

                            Ron,

                             

                            See my response above about enabling TRACE logging for org.jboss.as.jpa, you might be hitting a deployment timing issue that was fixed in a later release (EAP 6.x should have the fix if you are hitting that).

                             

                            Also, consider trying to reproduce with the latest version of the application server (Downloads).

                             

                            Scott

                            • 13. Re: Exception on execute session bean "No Persistence provider for EntityManager"
                              xiang yingbing Master
                              1. 16:05:25,398 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "null" (runtime-name: "blackBoxEJB.jar")

                              ~~~~~~~~~~~~~~~~~~~~~~~~~I think this "null" means that there is something wrong with your ejb jar. I think you had better to create a simple ejb project and test it.

                              • 14. Re: Exception on execute session bean "No Persistence provider for EntityManager"
                                xiang yingbing Master

                                Please read my project and configurations:

                                    http://javaarm.com/file/jboss/ApplicationServer/discussion/thread-232784/standalone_ASB-TMS.xml

                                    http://javaarm.com/file/jboss/ApplicationServer/discussion/thread-232784/src.zip

                                 

                                    Deployed ear:

                                    http://javaarm.com/file/jboss/ApplicationServer/discussion/thread-232784/asb-tms.ear__deploy.zip

                                    Its structure:

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

                                [-]asb-tms.ear

                                    [-]META-INF

                                        application.xml

                                        jboss-app.xml

                                    [-]asb-tms-ejb.jar

                                        [-]META-INF

                                            MANIFEST.MF

                                            jboss-ejb3.xml

                                            persistence.xml

                                        [-]com

                                            [-]asb

                                                [-]tms

                                                    [-]common

                                                        DateHelper.class

                                                        FileHelper.class

                                                        HashUtil.class

                                                        JMSHelper.class

                                                        JaasSecurityChecker.class

                                                        KnownJaasRoles.class

                                                        RandomHelper.class

                                                        ServerConstants.class

                                                        ServerNamingContextHelper.class

                                                        TestManager.class

                                                    [-]ejb

                                                        [-]entity

                                                            ActivateCode.class

                                                            Gender$1.class

                                                            Gender.class

                                                            JPATableGeneratorHelper.class

                                                            JaasRole.class

                                                            MonitoringShell.class

                                                            ShellLanguage$1.class

                                                            ShellLanguage.class

                                                            Status$1.class

                                                            Status.class

                                                            TesterMonitoring.class

                                                            TesterProduct.class

                                                            TesterType.class

                                                            User.class

                                                            UserGroup.class

                                                            warning.txt

                                                        [-]interceptor

                                                            LoginStatusCheckingInterceptor.class

                                                        [-]mdb

                                                        [-]session

                                                            IMonitoringShellSession.class

                                                            ITesterMonitoringSession.class

                                                            ITesterProductSession.class

                                                            ITesterTypeSession.class

                                                            IUserSession.class

                                                            MonitoringShellSession$1.class

                                                            MonitoringShellSession.class

                                                            TesterMonitoringSession.class

                                                            TesterProductSession$1.class

                                                            TesterProductSession$2.class

                                                            TesterProductSession$3.class

                                                            TesterProductSession.class

                                                            TesterTypeSession$1.class

                                                            TesterTypeSession.class

                                                            UserSession.class

                                                            readme.txt

                                                            [-]core

                                                                CacheService.class

                                                                CoreService.class

                                                                ICacheService.class

                                                                ICoreService.class

                                                                IJaasCacheManager.class

                                                                JaasCacheManager.class

                                                        [-]ssh2

                                                            ISSH2Executor.class

                                                            SSH2Executor.class

                                                        [-]timer

                                                            ITesterMonitoringTimer.class

                                                            MonitoringTask.class

                                                            TesterMonitoringTimer.class

                                                    [-]query

                                                        ICriteria.class

                                                        PagerHelper$1.class

                                                        PagerHelper$2.class

                                                        PagerHelper.class

                                                        QueryResult.class

                                                        XCompareOperator.class

                                                        XOrder.class

                                                        XPager.class

                                                        XTwoParametersCondition.class

                                    [-]asb-tms-ssh2-ra-app.rar

                                        [-]META-INF

                                            MANIFEST.MF

                                            ra.xml

                                        [-]com

                                            [-]ybxiang

                                                [-]ssh2

                                                    [-]ra

                                                        [-]app

                                                            SSHConnection.class

                                                            SSHConnectionFactory.class

                                                            SSHManagedConnection.class

                                                            SSHManagedConnectionFactory.class

                                                            SSHManagedConnectionMetaData.class

                                                            SSHPhysicalConnectionOperator.class

                                                            SSHResourceAdapter.class

                                    [-]asb-tms-war.war

                                        ...

                                    [-]lib

                                        asb-tms-ssh2-ra-api.jar

                                        ganymed-ssh2-build210.jar

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

                                 

                                 

                                Please feedback here.

                                 

                                http://javaarm.com/ is my personal web site. I had written many articles about jboss as 7 and eclipse RCP in chinese.

                                 

                                1 2 Previous Next