9 Replies Latest reply on Nov 7, 2007 3:44 PM by Leandro Severino

    NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by any

    Leandro Severino Newbie

      Well,
      I'm sorry by my terrible english, because I'm writing from Brazil.
      I'll try explain my problem.

      My Environment:
      -> NetBeans 5.5.1
      -> JBoss 4.2.1 GA
      -> EJB 3 / JPA.

      I have a Enterprise Application (EAR) with 2 EJB modules + WAR module.

      The projects:
      1) Report.ear (NetBeans EnterpriseApplication project.)
      1.1) Report-Business-ejb (NetBeans EJB Module project.)
      1.1.1) ElementoGerenciadoFacade (@Stateless, SessionBean EJB class.)
      note : in this class I have a @EJB private DAOFactory daoFactory;
      1.1.2) ElementoGerenciadoFacadeLocal (@Local )
      1.2) Report-DAO-ejb (Netbeans EJB Module project)
      1.2.1) persistence.xml
      1.2.2) iDAO
      1.2.3) IElementoGerenciadoDAO
      1.2.4) ElementoGerenciadoDAOImpl
      1.2.5) DAOFactory ( como EJB @Stateless )
      1.3) Report-war.war
      1.3.1) ListElementsServlet.

      The DAOFactory code

      @Stateless
      public class DAOFactory implements DAOFactoryLocal{
      
       /** Creates a new instance of DAOFactory */
       public DAOFactory() {
       }
      
       @PersistenceContext(unitName = "PU")
       private EntityManager entityManager;
      
       public ElementoGerenciadoDAOImpl getElementoGerenciadoDAO(){
       IDAO dao = new ElementoGerenciadoDAOImpl();
       dao.setEntityManager(entityManager);
       return (ElementoGerenciadoDAOImpl) dao;
       }
      
      }
      


      The ElementoGerenciadoFacade code

      @Stateless
      public class ElementoGerenciadoFacade implements ElementoGerenciadoFacadeLocal {
       @EJB
       private DAOFactory daoFactory;
      
       public ElementoGerenciadoFacade() {
       }
       public List findAll() {
       ElementoGerenciadoDAOImpl dao = daoFactory.getElementoGerenciadoDAO();
       return dao.findAll();
       //em.createQuery("select object(o) from ElementoGerenciado as o").getResultList();
       }
      
      }
      


      When I run, I receive this error message:

      Reason: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container ElementoGerenciadoFacade: reference class: com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs


      Well,
      I have a question:
      - I need configure some XML file / descriptor file ?


        • 1. Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by
          wayne baylor Apprentice

          i usually get that exception when i'm using @EJB, but i never invoke any of the injected bean's methods.

          Does the code you posted match the code you deployed?

          • 2. Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by
            Leandro Severino Newbie

            yes, match.
            To test:

            I undeploy the application before and I clean the work and temp folder.

            • 3. Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by
              Leandro Severino Newbie

              =========================================================================

              JBoss Bootstrap Environment

              JBOSS_HOME: /home/leandro/javaapps/jboss-4.2.1.GA

              JAVA: /home/leandro/jdk1.6.0_03/bin/java

              JAVA_OPTS: -Dprogram.name=run.sh -server -Dhttp.proxyHost=10.10.10.126 -Dhttp.proxyPort=3128 -Dhttp.nonProxyHosts="localhost|127.0.0.1|lstecnologia" -Dhttps.proxyHost=10.10.10.126 -Dhttps.proxyPort=3128 -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Djava.net.preferIPv4Stack=true

              CLASSPATH: /home/leandro/javaapps/jboss-4.2.1.GA/bin/run.jar:/home/leandro/jdk1.6.0_03/lib/tools.jar

              =========================================================================

              Listening for transport dt_socket at address: 8787
              11:37:07,766 INFO [Server] Starting JBoss (MX MicroKernel)...
              11:37:07,811 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)
              11:37:07,813 INFO [Server] Home Dir: /home/leandro/javaapps/jboss-4.2.1.GA
              11:37:07,814 INFO [Server] Home URL: file:/home/leandro/javaapps/jboss-4.2.1.GA/
              11:37:07,815 INFO [Server] Patch URL: null
              11:37:07,815 INFO [Server] Server Name: default
              11:37:07,815 INFO [Server] Server Home Dir: /home/leandro/javaapps/jboss-4.2.1.GA/server/default
              11:37:07,816 INFO [Server] Server Home URL: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/
              11:37:07,816 INFO [Server] Server Log Dir: /home/leandro/javaapps/jboss-4.2.1.GA/server/default/log
              11:37:07,816 INFO [Server] Server Temp Dir: /home/leandro/javaapps/jboss-4.2.1.GA/server/default/tmp
              11:37:07,838 INFO [Server] Root Deployment Filename: jboss-service.xml
              11:37:09,089 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
              11:37:09,089 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 1.6.0_03-b05,Sun Microsystems Inc.
              11:37:09,089 INFO [ServerInfo] OS-System: Linux 2.6.20-16-generic,amd64
              11:37:10,287 INFO [Server] Core system initialized
              11:37:14,791 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
              11:37:14,794 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
              11:37:16,014 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
              11:37:16,015 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer
              11:37:16,418 INFO [TransactionManagerService] Starting recovery manager
              11:37:17,016 INFO [TransactionManagerService] Recovery manager started
              11:37:17,017 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference
              11:37:25,076 INFO [EJB3Deployer] Starting java:comp multiplexer
              11:37:29,492 INFO [ServiceEndpointManager] jbossws-1.2.1.GA (build=200704151756)
              11:37:35,528 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /home/leandro/jdk1.6.0_03/jre/lib/amd64/server:/home/leandro/jdk1.6.0_03/jre/lib/amd64:/home/leandro/jdk1.6.0_03/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib
              11:37:35,763 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
              11:37:35,764 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
              11:37:35,766 INFO [Catalina] Initialization processed in 1036 ms
              11:37:35,766 INFO [StandardService] Starting service jboss.web
              11:37:35,769 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.0.GA
              11:37:35,842 INFO [Catalina] Server startup in 76 ms
              11:37:37,048 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
              11:37:42,352 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
              11:37:42,927 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp51jbossws-context-exp.war/
              11:37:43,334 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
              11:37:45,746 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
              11:37:48,680 INFO [MailService] Mail Service bound to java:/Mail
              11:37:49,414 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
              11:37:49,559 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
              11:37:49,703 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
              11:37:49,840 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
              11:37:50,013 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
              11:37:50,109 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
              11:37:50,176 INFO [QuartzResourceAdapter] start quartz!!!
              11:37:50,409 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
              11:37:50,507 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
              11:37:50,510 INFO [RAMJobStore] RAMJobStore initialized.
              11:37:50,510 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
              11:37:50,511 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
              11:37:50,511 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
              11:37:53,852 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
              11:37:55,259 INFO [A] Bound to JNDI name: queue/A
              11:37:55,262 INFO [B] Bound to JNDI name: queue/B
              11:37:55,265 INFO [C] Bound to JNDI name: queue/C
              11:37:55,268 INFO [D] Bound to JNDI name: queue/D
              11:37:55,270 INFO [ex] Bound to JNDI name: queue/ex
              11:37:55,327 INFO [testTopic] Bound to JNDI name: topic/testTopic
              11:37:55,330 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
              11:37:55,333 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
              11:37:55,342 INFO [testQueue] Bound to JNDI name: queue/testQueue
              11:37:55,736 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
              11:37:55,885 INFO [DLQ] Bound to JNDI name: queue/DLQ
              11:37:56,223 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=maragato' to JNDI name 'java:maragato'
              11:37:56,239 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=dtm' to JNDI name 'java:dtm'
              11:37:56,249 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=dms' to JNDI name 'java:dms'
              11:37:56,606 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
              11:37:56,813 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
              11:37:57,876 INFO [EARDeployer] Init J2EE application: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:37:59,846 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
              11:37:59,904 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU with dependencies:
              11:37:59,904 INFO [JmxKernelAbstraction] jboss.jca:name=maragato,service=DataSourceBinding
              11:37:59,917 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:00,036 INFO [Version] Hibernate EntityManager 3.2.1.GA
              11:38:00,158 INFO [Version] Hibernate Annotations 3.2.1.GA
              11:38:00,172 INFO [Environment] Hibernate 3.2.4.sp1
              11:38:00,194 INFO [Environment] hibernate.properties not found
              11:38:00,198 INFO [Environment] Bytecode provider name : javassist
              11:38:00,220 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling
              11:38:00,632 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.ElementoGerenciado
              11:38:00,637 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Imagem
              11:38:00,646 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Mapa
              11:38:00,661 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Usuario
              11:38:00,924 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
              11:38:00,975 INFO [Ejb3Configuration] [PersistenceUnit: PU] no META-INF/orm.xml found
              11:38:01,840 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.ElementoGerenciado
              11:38:01,969 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findById => SELECT e FROM ElementoGerenciado e WHERE e.id = :id
              11:38:01,969 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByIp => SELECT e FROM ElementoGerenciado e WHERE e.ip = :ip
              11:38:01,969 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByComunidadeLeitura => SELECT e FROM ElementoGerenciado e WHERE e.comunidadeLeitura = :comunidadeLeitura
              11:38:01,969 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByComunidadeEscrita => SELECT e FROM ElementoGerenciado e WHERE e.comunidadeEscrita = :comunidadeEscrita
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPorta => SELECT e FROM ElementoGerenciado e WHERE e.porta = :porta
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPosicaox => SELECT e FROM ElementoGerenciado e WHERE e.posicaox = :posicaox
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPosicaoy => SELECT e FROM ElementoGerenciado e WHERE e.posicaoy = :posicaoy
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysObjectid => SELECT e FROM ElementoGerenciado e WHERE e.sysObjectid = :sysObjectid
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByEstacao => SELECT e FROM ElementoGerenciado e WHERE e.estacao = :estacao
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysContact => SELECT e FROM ElementoGerenciado e WHERE e.sysContact = :sysContact
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysDesc => SELECT e FROM ElementoGerenciado e WHERE e.sysDesc = :sysDesc
              11:38:01,970 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysLocation => SELECT e FROM ElementoGerenciado e WHERE e.sysLocation = :sysLocation
              11:38:01,971 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysName => SELECT e FROM ElementoGerenciado e WHERE e.sysName = :sysName
              11:38:01,971 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByTimeout => SELECT e FROM ElementoGerenciado e WHERE e.timeout = :timeout
              11:38:01,971 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByStatus => SELECT e FROM ElementoGerenciado e WHERE e.status = :status
              11:38:02,546 INFO [EntityBinder] Bind entity com.digitel.model.ElementoGerenciado on table elemento_gerenciado
              11:38:03,578 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Imagem
              11:38:03,578 INFO [QueryBinder] Binding Named query: Imagem.findById => SELECT i FROM Imagem i WHERE i.id = :id
              11:38:03,578 INFO [QueryBinder] Binding Named query: Imagem.findByTipo => SELECT i FROM Imagem i WHERE i.tipo = :tipo
              11:38:03,578 INFO [QueryBinder] Binding Named query: Imagem.findByTitulo => SELECT i FROM Imagem i WHERE i.titulo = :titulo
              11:38:03,579 INFO [EntityBinder] Bind entity com.digitel.model.Imagem on table imagem
              11:38:03,735 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Mapa
              11:38:03,735 INFO [QueryBinder] Binding Named query: Mapa.findById => SELECT m FROM Mapa m WHERE m.id = :id
              11:38:03,735 INFO [QueryBinder] Binding Named query: Mapa.findByNome => SELECT m FROM Mapa m WHERE m.nome = :nome
              11:38:03,735 INFO [QueryBinder] Binding Named query: Mapa.findByDescricao => SELECT m FROM Mapa m WHERE m.descricao = :descricao
              11:38:03,735 INFO [QueryBinder] Binding Named query: Mapa.findBySeveridade => SELECT m FROM Mapa m WHERE m.severidade = :severidade
              11:38:03,735 INFO [QueryBinder] Binding Named query: Mapa.findByColorr => SELECT m FROM Mapa m WHERE m.colorr = :colorr
              11:38:03,735 INFO [QueryBinder] Binding Named query: Mapa.findByColorg => SELECT m FROM Mapa m WHERE m.colorg = :colorg
              11:38:03,735 INFO [QueryBinder] Binding Named query: Mapa.findByColorb => SELECT m FROM Mapa m WHERE m.colorb = :colorb
              11:38:03,736 INFO [QueryBinder] Binding Named query: Mapa.findByPosx => SELECT m FROM Mapa m WHERE m.posx = :posx
              11:38:03,736 INFO [QueryBinder] Binding Named query: Mapa.findByPosy => SELECT m FROM Mapa m WHERE m.posy = :posy
              11:38:03,736 INFO [QueryBinder] Binding Named query: Mapa.findByTipoLayout => SELECT m FROM Mapa m WHERE m.tipoLayout = :tipoLayout
              11:38:03,736 INFO [EntityBinder] Bind entity com.digitel.model.Mapa on table mapa
              11:38:03,760 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Usuario
              11:38:03,760 INFO [QueryBinder] Binding Named query: Usuario.findById => SELECT u FROM Usuario u WHERE u.id = :id
              11:38:03,760 INFO [QueryBinder] Binding Named query: Usuario.findByNome => SELECT u FROM Usuario u WHERE u.nome = :nome
              11:38:03,760 INFO [QueryBinder] Binding Named query: Usuario.findByDescricao => SELECT u FROM Usuario u WHERE u.descricao = :descricao
              11:38:03,760 INFO [QueryBinder] Binding Named query: Usuario.findByNomeCompleto => SELECT u FROM Usuario u WHERE u.nomeCompleto = :nomeCompleto
              11:38:03,760 INFO [QueryBinder] Binding Named query: Usuario.findBySenhaDigest => SELECT u FROM Usuario u WHERE u.senhaDigest = :senhaDigest
              11:38:03,761 INFO [EntityBinder] Bind entity com.digitel.model.Usuario on table usuario
              11:38:04,473 INFO [CollectionBinder] Mapping collection: com.digitel.model.ElementoGerenciado.elementoGerenciadoCollection -> elemento_gerenciado
              11:38:04,478 INFO [CollectionBinder] Mapping collection: com.digitel.model.Imagem.mapaCollection -> mapa
              11:38:04,478 INFO [CollectionBinder] Mapping collection: com.digitel.model.Imagem.mapaCollection1 -> mapa
              11:38:04,479 INFO [CollectionBinder] Mapping collection: com.digitel.model.Mapa.elementoGerenciadoCollection -> elemento_gerenciado
              11:38:04,479 INFO [CollectionBinder] Mapping collection: com.digitel.model.Mapa.mapaCollection -> mapa
              11:38:04,480 INFO [CollectionBinder] Mapping collection: com.digitel.model.Usuario.elementoGerenciadoCollection -> elemento_gerenciado
              11:38:04,713 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
              11:38:04,719 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
              11:38:05,394 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.1.4
              11:38:05,396 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.0 JDBC3 with SSL (build 312)
              11:38:05,520 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
              11:38:05,535 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
              11:38:05,539 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
              11:38:05,546 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
              11:38:05,546 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
              11:38:05,546 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
              11:38:05,546 INFO [SettingsFactory] JDBC batch size: 15
              11:38:05,547 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
              11:38:05,548 INFO [SettingsFactory] Scrollable result sets: enabled
              11:38:05,548 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
              11:38:05,548 INFO [SettingsFactory] Connection release mode: auto
              11:38:05,551 INFO [SettingsFactory] Default batch fetch size: 1
              11:38:05,551 INFO [SettingsFactory] Generate SQL with comments: disabled
              11:38:05,551 INFO [SettingsFactory] Order SQL updates by primary key: disabled
              11:38:05,551 INFO [SettingsFactory] Order SQL inserts for batching: disabled
              11:38:05,551 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
              11:38:05,662 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
              11:38:05,662 INFO [SettingsFactory] Query language substitutions: {}
              11:38:05,662 INFO [SettingsFactory] JPA-QL strict compliance: enabled
              11:38:05,662 INFO [SettingsFactory] Second-level cache: enabled
              11:38:05,662 INFO [SettingsFactory] Query cache: disabled
              11:38:05,663 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
              11:38:05,681 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
              11:38:05,681 INFO [SettingsFactory] Cache region prefix: MaragatoWeb_ear,DMS-DAO_jar,PU
              11:38:05,681 INFO [SettingsFactory] Structured second-level cache entries: disabled
              11:38:05,693 INFO [SettingsFactory] Statistics: disabled
              11:38:05,693 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
              11:38:05,695 INFO [SettingsFactory] Default entity-mode: pojo
              11:38:05,695 INFO [SettingsFactory] Named query checking : enabled
              11:38:05,940 INFO [SessionFactoryImpl] building session factory
              11:38:08,556 INFO [SessionFactoryObjectFactory] Factory name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:08,558 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
              11:38:08,561 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:08,708 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
              11:38:08,709 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
              11:38:12,842 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
              11:38:12,921 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,name=DAOFactory,service=EJB3 with dependencies:
              11:38:12,921 INFO [JmxKernelAbstraction] persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:14,465 INFO [EJBContainer] STARTED EJB: com.digitel.ejb.DAOFactory ejbName: DAOFactory
              11:38:14,689 INFO [EJB3Deployer] Deployed: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/tmp/deploy/tmp81MaragatoWeb.ear-contents/DMS-DAO.jar
              11:38:14,695 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.digitel.ejb.DAOFactory in ejb-jar.xml of ElementoGerenciadoFacadenot used by any EJBs
              11:38:14,698 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
              11:38:14,698 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3 with dependencies:
              11:38:14,713 INFO [EJBContainer] STOPPED EJB: com.digitel.facade.ElementoGerenciadoFacade ejbName: ElementoGerenciadoFacade
              11:38:14,719 WARN [ServiceController] Problem starting service jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3
              java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container ElementoGerenciadoFacade: reference class: com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs
              at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:88)
              at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:563)
              at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:125)
              at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:94)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy64.start(Unknown Source)
              at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
              at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)
              at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)
              at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy33.start(Unknown Source)
              at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
              at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
              at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
              at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy34.start(Unknown Source)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy9.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy4.start(Unknown Source)
              at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy5.deploy(Unknown Source)
              at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
              at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
              at org.jboss.Main.boot(Main.java:200)
              at org.jboss.Main$1.run(Main.java:508)
              at java.lang.Thread.run(Thread.java:619)
              11:38:14,723 INFO [EJB3Deployer] Deployed: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/tmp/deploy/tmp81MaragatoWeb.ear-contents/DMS-Facade.jar
              11:38:14,819 INFO [TomcatDeployer] deploy, ctxPath=/DMS-Reports, warUrl=.../tmp/deploy/tmp81MaragatoWeb.ear-contents/DMS-Reports-exp.war/
              11:38:15,570 INFO [EARDeployer] Started J2EE application: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:38:15,573 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

              --- MBeans waiting for other MBeans ---
              ObjectName: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3
              State: FAILED
              Reason: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container ElementoGerenciadoFacade: reference class: com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs

              --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
              ObjectName: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3
              State: FAILED
              Reason: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container ElementoGerenciadoFacade: reference class: com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs


              11:38:16,260 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
              11:38:16,475 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
              11:38:16,500 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 1m:8s:659ms
              11:38:25,831 INFO [TomcatDeployer] undeploy, ctxPath=/DMS-Reports, warUrl=.../tmp/deploy/tmp81MaragatoWeb.ear-contents/DMS-Reports-exp.war/
              11:38:26,109 WARN [JmxKernelAbstraction] jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3 is not registered
              11:38:26,120 INFO [EJBContainer] STOPPED EJB: com.digitel.ejb.DAOFactory ejbName: DAOFactory
              11:38:26,122 WARN [JmxKernelAbstraction] jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,name=DAOFactory,service=EJB3 is not registered
              11:38:26,122 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:26,122 INFO [SessionFactoryImpl] closing
              11:38:26,123 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:26,123 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
              11:38:26,123 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:26,125 WARN [JmxKernelAbstraction] persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU is not registered
              11:38:26,172 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:38:26,174 INFO [EARDeployer] Undeployed J2EE application: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:38:26,211 INFO [EARDeployer] Init J2EE application: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:38:26,646 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
              11:38:26,646 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU with dependencies:
              11:38:26,646 INFO [JmxKernelAbstraction] jboss.jca:name=maragato,service=DataSourceBinding
              11:38:26,649 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:26,668 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.ElementoGerenciado
              11:38:26,672 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Imagem
              11:38:26,679 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Mapa
              11:38:26,683 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Usuario
              11:38:26,689 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
              11:38:26,690 INFO [Ejb3Configuration] [PersistenceUnit: PU] no META-INF/orm.xml found
              11:38:26,697 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.ElementoGerenciado
              11:38:26,697 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findById => SELECT e FROM ElementoGerenciado e WHERE e.id = :id
              11:38:26,697 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByIp => SELECT e FROM ElementoGerenciado e WHERE e.ip = :ip
              11:38:26,697 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByComunidadeLeitura => SELECT e FROM ElementoGerenciado e WHERE e.comunidadeLeitura = :comunidadeLeitura
              11:38:26,697 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByComunidadeEscrita => SELECT e FROM ElementoGerenciado e WHERE e.comunidadeEscrita = :comunidadeEscrita
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPorta => SELECT e FROM ElementoGerenciado e WHERE e.porta = :porta
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPosicaox => SELECT e FROM ElementoGerenciado e WHERE e.posicaox = :posicaox
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPosicaoy => SELECT e FROM ElementoGerenciado e WHERE e.posicaoy = :posicaoy
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysObjectid => SELECT e FROM ElementoGerenciado e WHERE e.sysObjectid = :sysObjectid
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByEstacao => SELECT e FROM ElementoGerenciado e WHERE e.estacao = :estacao
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysContact => SELECT e FROM ElementoGerenciado e WHERE e.sysContact = :sysContact
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysDesc => SELECT e FROM ElementoGerenciado e WHERE e.sysDesc = :sysDesc
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysLocation => SELECT e FROM ElementoGerenciado e WHERE e.sysLocation = :sysLocation
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysName => SELECT e FROM ElementoGerenciado e WHERE e.sysName = :sysName
              11:38:26,698 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByTimeout => SELECT e FROM ElementoGerenciado e WHERE e.timeout = :timeout
              11:38:26,699 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByStatus => SELECT e FROM ElementoGerenciado e WHERE e.status = :status
              11:38:26,699 INFO [EntityBinder] Bind entity com.digitel.model.ElementoGerenciado on table elemento_gerenciado
              11:38:26,714 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Imagem
              11:38:26,715 INFO [QueryBinder] Binding Named query: Imagem.findById => SELECT i FROM Imagem i WHERE i.id = :id
              11:38:26,715 INFO [QueryBinder] Binding Named query: Imagem.findByTipo => SELECT i FROM Imagem i WHERE i.tipo = :tipo
              11:38:26,715 INFO [QueryBinder] Binding Named query: Imagem.findByTitulo => SELECT i FROM Imagem i WHERE i.titulo = :titulo
              11:38:26,715 INFO [EntityBinder] Bind entity com.digitel.model.Imagem on table imagem
              11:38:26,722 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Mapa
              11:38:26,722 INFO [QueryBinder] Binding Named query: Mapa.findById => SELECT m FROM Mapa m WHERE m.id = :id
              11:38:26,722 INFO [QueryBinder] Binding Named query: Mapa.findByNome => SELECT m FROM Mapa m WHERE m.nome = :nome
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findByDescricao => SELECT m FROM Mapa m WHERE m.descricao = :descricao
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findBySeveridade => SELECT m FROM Mapa m WHERE m.severidade = :severidade
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findByColorr => SELECT m FROM Mapa m WHERE m.colorr = :colorr
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findByColorg => SELECT m FROM Mapa m WHERE m.colorg = :colorg
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findByColorb => SELECT m FROM Mapa m WHERE m.colorb = :colorb
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findByPosx => SELECT m FROM Mapa m WHERE m.posx = :posx
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findByPosy => SELECT m FROM Mapa m WHERE m.posy = :posy
              11:38:26,723 INFO [QueryBinder] Binding Named query: Mapa.findByTipoLayout => SELECT m FROM Mapa m WHERE m.tipoLayout = :tipoLayout
              11:38:26,724 INFO [EntityBinder] Bind entity com.digitel.model.Mapa on table mapa
              11:38:26,737 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Usuario
              11:38:26,737 INFO [QueryBinder] Binding Named query: Usuario.findById => SELECT u FROM Usuario u WHERE u.id = :id
              11:38:26,737 INFO [QueryBinder] Binding Named query: Usuario.findByNome => SELECT u FROM Usuario u WHERE u.nome = :nome
              11:38:26,737 INFO [QueryBinder] Binding Named query: Usuario.findByDescricao => SELECT u FROM Usuario u WHERE u.descricao = :descricao
              11:38:26,737 INFO [QueryBinder] Binding Named query: Usuario.findByNomeCompleto => SELECT u FROM Usuario u WHERE u.nomeCompleto = :nomeCompleto
              11:38:26,737 INFO [QueryBinder] Binding Named query: Usuario.findBySenhaDigest => SELECT u FROM Usuario u WHERE u.senhaDigest = :senhaDigest
              11:38:26,738 INFO [EntityBinder] Bind entity com.digitel.model.Usuario on table usuario
              11:38:26,746 INFO [CollectionBinder] Mapping collection: com.digitel.model.ElementoGerenciado.elementoGerenciadoCollection -> elemento_gerenciado
              11:38:26,746 INFO [CollectionBinder] Mapping collection: com.digitel.model.Imagem.mapaCollection -> mapa
              11:38:26,747 INFO [CollectionBinder] Mapping collection: com.digitel.model.Imagem.mapaCollection1 -> mapa
              11:38:26,747 INFO [CollectionBinder] Mapping collection: com.digitel.model.Mapa.elementoGerenciadoCollection -> elemento_gerenciado
              11:38:26,748 INFO [CollectionBinder] Mapping collection: com.digitel.model.Mapa.mapaCollection -> mapa
              11:38:26,748 INFO [CollectionBinder] Mapping collection: com.digitel.model.Usuario.elementoGerenciadoCollection -> elemento_gerenciado
              11:38:26,785 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
              11:38:26,789 INFO [InjectedDataSourceConnectionProvider] Using provided datasource
              11:38:26,790 INFO [SettingsFactory] RDBMS: PostgreSQL, version: 8.1.4
              11:38:26,790 INFO [SettingsFactory] JDBC driver: PostgreSQL Native Driver, version: PostgreSQL 8.0 JDBC3 with SSL (build 312)
              11:38:26,790 INFO [Dialect] Using dialect: org.hibernate.dialect.PostgreSQLDialect
              11:38:26,790 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
              11:38:26,791 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup
              11:38:26,791 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup
              11:38:26,791 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled
              11:38:26,791 INFO [SettingsFactory] Automatic session close at end of transaction: disabled
              11:38:26,791 INFO [SettingsFactory] JDBC batch size: 15
              11:38:26,791 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled
              11:38:26,791 INFO [SettingsFactory] Scrollable result sets: enabled
              11:38:26,791 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): disabled
              11:38:26,791 INFO [SettingsFactory] Connection release mode: auto
              11:38:26,791 INFO [SettingsFactory] Default batch fetch size: 1
              11:38:26,791 INFO [SettingsFactory] Generate SQL with comments: disabled
              11:38:26,791 INFO [SettingsFactory] Order SQL updates by primary key: disabled
              11:38:26,792 INFO [SettingsFactory] Order SQL inserts for batching: disabled
              11:38:26,792 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
              11:38:26,792 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
              11:38:26,792 INFO [SettingsFactory] Query language substitutions: {}
              11:38:26,792 INFO [SettingsFactory] JPA-QL strict compliance: enabled
              11:38:26,792 INFO [SettingsFactory] Second-level cache: enabled
              11:38:26,792 INFO [SettingsFactory] Query cache: disabled
              11:38:26,792 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider
              11:38:26,792 INFO [SettingsFactory] Optimize cache for minimal puts: disabled
              11:38:26,792 INFO [SettingsFactory] Cache region prefix: MaragatoWeb_ear,DMS-DAO_jar,PU
              11:38:26,792 INFO [SettingsFactory] Structured second-level cache entries: disabled
              11:38:26,792 INFO [SettingsFactory] Statistics: disabled
              11:38:26,792 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled
              11:38:26,793 INFO [SettingsFactory] Default entity-mode: pojo
              11:38:26,793 INFO [SettingsFactory] Named query checking : enabled
              11:38:26,809 INFO [SessionFactoryImpl] building session factory
              11:38:26,925 INFO [SessionFactoryObjectFactory] Factory name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:26,926 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
              11:38:26,928 INFO [SessionFactoryObjectFactory] Bound factory to JNDI name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:26,929 WARN [SessionFactoryObjectFactory] InitialContext did not implement EventContext
              11:38:26,929 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
              11:38:27,229 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
              11:38:27,230 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,name=DAOFactory,service=EJB3 with dependencies:
              11:38:27,230 INFO [JmxKernelAbstraction] persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:38:27,429 INFO [EJBContainer] STARTED EJB: com.digitel.ejb.DAOFactory ejbName: DAOFactory
              11:38:27,577 INFO [EJB3Deployer] Deployed: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/tmp/deploy/tmp82MaragatoWeb.ear-contents/DMS-DAO.jar
              11:38:27,580 WARN [EJBHandler] IGNORING DEPENDENCY: unable to find @EJB from interface only com.digitel.ejb.DAOFactory in ejb-jar.xml of ElementoGerenciadoFacadenot used by any EJBs
              11:38:27,581 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer
              11:38:27,581 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3 with dependencies:
              11:38:27,669 INFO [EJBContainer] STOPPED EJB: com.digitel.facade.ElementoGerenciadoFacade ejbName: ElementoGerenciadoFacade
              11:38:27,671 WARN [ServiceController] Problem starting service jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3
              java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container ElementoGerenciadoFacade: reference class: com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs
              at org.jboss.injection.EjbEncInjector.inject(EjbEncInjector.java:88)
              at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:563)
              at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:125)
              at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:94)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.Delegatgoogle.com.br/ig?hl=pt-BRingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy85.start(Unknown Source)
              at org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
              at org.jboss.ejb3.Ejb3Deployment.registerEJBContainer(Ejb3Deployment.java:301)
              at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:362)
              at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
              at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
              at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
              at $Proxy0.start(Unknown Source)
              at org.jboss.system.ServiceController.start(ServiceController.java:417)
              at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy33.start(Unknown Source)
              at org.jboss.ejb3.EJB3Deployer.start(EJB3Deployer.java:512)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
              at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
              at org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:93)
              at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy34.start(Unknown Source)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
              at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
              at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy9.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
              11:38:27,674 INFO [EJB3Deployer] Deployed: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/tmp/deploy/tmp82MaragatoWeb.ear-contents/DMS-Facade.jar
              11:38:27,713 INFO [TomcatDeployer] deploy, ctxPath=/DMS-Reports, warUrl=.../tmp/deploy/tmp82MaragatoWeb.ear-contents/DMS-Reports-exp.war/
              11:38:28,194 INFO [EARDeployer] Started J2EE application: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:38:28,215 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

              --- MBeans waiting for other MBeans ---
              ObjectName: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3
              State: FAILED
              Reason: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container ElementoGerenciadoFacade: reference class: com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs

              --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
              ObjectName: jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3
              State: FAILED
              Reason: java.lang.RuntimeException: could not resolve global JNDI name for @EJB for container ElementoGerenciadoFacade: reference class: com.digitel.ejb.DAOFactory ejbLink: not used by any EJBs

              google.com.br/ig?hl=pt-BR
              11:39:41,941 INFO [TomcatDeployer] undeploy, ctxPath=/DMS-Reports, warUrl=.../tmp/deploy/tmp82MaragatoWeb.ear-contents/DMS-Reports-exp.war/
              11:39:41,982 WARN [JmxKernelAbstraction] jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-Facade.jar,name=ElementoGerenciadoFacade,service=EJB3 is not registered
              11:39:41,989 INFO [EJBContainer] STOPPED EJB: com.digitel.ejb.DAOFactory ejbName: DAOFactory
              11:39:41,991 WARN [JmxKernelAbstraction] jboss.j2ee:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,name=DAOFactory,service=EJB3 is not registered
              11:39:41,991 INFO [PersistenceUnitDeployment] Stopping persistence unit persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:39:41,991 INFO [SessionFactoryImpl] closing
              11:39:41,991 INFO [SessionFactoryObjectFactory] Unbinding factory from JNDI name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:39:41,991 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
              11:39:41,992 INFO [SessionFactoryObjectFactory] Unbound factory from JNDI name: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:39:41,993 WARN [JmxKernelAbstraction] persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU is not registered
              11:39:42,116 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:39:42,117 INFO [EARDeployer] Undeployed J2EE application: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:39:42,158 INFO [EARDeployer] Init J2EE application: file:/home/leandro/javaapps/jboss-4.2.1.GA/server/default/deploy/MaragatoWeb.ear
              11:39:42,661 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.entity.PersistenceUnitDeployment
              11:39:42,662 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU with dependencies:
              11:39:42,662 INFO [JmxKernelAbstraction] jboss.jca:name=maragato,service=DataSourceBinding
              11:39:42,665 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=MaragatoWeb.ear,jar=DMS-DAO.jar,unitName=PU
              11:39:42,685 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.ElementoGerenciado
              11:39:42,689 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Imagem
              11:39:42,695 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Mapa
              11:39:42,699 INFO [Ejb3Configuration] found EJB3 Entity bean: com.digitel.model.Usuario
              11:39:42,705 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml
              11:39:42,706 INFO [Ejb3Configuration] [PersistenceUnit: PU] no META-INF/orm.xml found
              11:39:42,711 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.ElementoGerenciado
              11:39:42,711 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findById => SELECT e FROM ElementoGerenciado e WHERE e.id = :id
              11:39:42,711 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByIp => SELECT e FROM ElementoGerenciado e WHERE e.ip = :ip
              11:39:42,711 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByComunidadeLeitura => SELECT e FROM ElementoGerenciado e WHERE e.comunidadeLeitura = :comunidadeLeitura
              11:39:42,711 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByComunidadeEscrita => SELECT e FROM ElementoGerenciado e WHERE e.comunidadeEscrita = :comunidadeEscrita
              11:39:42,711 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPorta => SELECT e FROM ElementoGerenciado e WHERE e.porta = :porta
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPosicaox => SELECT e FROM ElementoGerenciado e WHERE e.posicaox = :posicaox
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByPosicaoy => SELECT e FROM ElementoGerenciado e WHERE e.posicaoy = :posicaoy
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysObjectid => SELECT e FROM ElementoGerenciado e WHERE e.sysObjectid = :sysObjectid
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByEstacao => SELECT e FROM ElementoGerenciado e WHERE e.estacao = :estacao
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysContact => SELECT e FROM ElementoGerenciado e WHERE e.sysContact = :sysContact
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysDesc => SELECT e FROM ElementoGerenciado e WHERE e.sysDesc = :sysDesc
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysLocation => SELECT e FROM ElementoGerenciado e WHERE e.sysLocation = :sysLocation
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findBySysName => SELECT e FROM ElementoGerenciado e WHERE e.sysName = :sysName
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByTimeout => SELECT e FROM ElementoGerenciado e WHERE e.timeout = :timeout
              11:39:42,712 INFO [QueryBinder] Binding Named query: ElementoGerenciado.findByStatus => SELECT e FROM ElementoGerenciado e WHERE e.status = :status
              11:39:42,713 INFO [EntityBinder] Bind entity com.digitel.model.ElementoGerenciado on table elemento_gerenciado
              11:39:42,728 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Imagem
              11:39:42,728 INFO [QueryBinder] Binding Named query: Imagem.findById => SELECT i FROM Imagem i WHERE i.id = :id
              11:39:42,728 INFO [QueryBinder] Binding Named query: Imagem.findByTipo => SELECT i FROM Imagem i WHERE i.tipo = :tipo
              11:39:42,728 INFO [QueryBinder] Binding Named query: Imagem.findByTitulo => SELECT i FROM Imagem i WHERE i.titulo = :titulo
              11:39:42,728 INFO [EntityBinder] Bind entity com.digitel.model.Imagem on table imagem
              11:39:42,735 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Mapa
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findById => SELECT m FROM Mapa m WHERE m.id = :id
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByNome => SELECT m FROM Mapa m WHERE m.nome = :nome
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByDescricao => SELECT m FROM Mapa m WHERE m.descricao = :descricao
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findBySeveridade => SELECT m FROM Mapa m WHERE m.severidade = :severidade
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByColorr => SELECT m FROM Mapa m WHERE m.colorr = :colorr
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByColorg => SELECT m FROM Mapa m WHERE m.colorg = :colorg
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByColorb => SELECT m FROM Mapa m WHERE m.colorb = :colorb
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByPosx => SELECT m FROM Mapa m WHERE m.posx = :posx
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByPosy => SELECT m FROM Mapa m WHERE m.posy = :posy
              11:39:42,736 INFO [QueryBinder] Binding Named query: Mapa.findByTipoLayout => SELECT m FROM Mapa m WHERE m.tipoLayout = :tipoLayout
              11:39:42,737 INFO [EntityBinder] Bind entity com.digitel.model.Mapa on table mapa
              11:39:42,753 INFO [AnnotationBinder] Binding entity from annotated class: com.digitel.model.Usuario
              11:39:42,753 INFO [QueryBinder] Binding Named query: Usuario.findById => SELECT u FROM Usuario u WHERE u.id = :id
              11:39:42,753 INFO [QueryBinder] Binding Named query: Usuario.findByNome => SELECT u FROM Usuario u WHERE u.nome = :nome
              11:39:42,753 INFO [QueryBinder] Binding Named query: Usuario.findByDescricao => SELECT u FROM Usuario u WHERE u.descricao = :descricao
              11:39:42,753 INFO [QueryBinder] Binding Named query: Usuario.findByNomeCompleto => SELECT u FROM Usuario u WHERE u.nomeCompleto = :nomeCompleto
              11:39:42,753 INFO [QueryBinder] Binding Named query: Usuario.findBySenhaDigest => SELECT u FROM Usuario u WHERE u.senhaDigest = :senhaDigest
              11:39:42,753 INFO [EntityBinder] Bind entity com.digitel.model.Usuario on table usuario
              11:39:42,760 INFO [CollectionBinder]

              • 5. Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by
                Andrew Rubinger Master

                Try injecting the business interface:

                @EJB
                private DAOFactoryLocal;


                S,
                ALR

                • 6. Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by
                  Leandro Severino Newbie

                  ALS,
                  you saved my day, week, month, year.

                  Thank's.

                  • 7. Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by
                    Leandro Severino Newbie

                    Well,
                    Now when I execute the query I receive this error messages:

                    
                    2007-11-05 16:49:33,971 DEBUG [org.hibernate.hql.ast.AST] --- SQL AST ---
                     \-[SELECT] QueryNode: 'SELECT' querySpaces (elemento_gerenciado)
                     +-[SELECT_CLAUSE] SelectClause: '{select clause}'
                     | +-[ALIAS_REF] IdentNode: 'elementoge0_.id as id8_' {alias=o, className=com.digitel.model.ElementoGerenciado, tableAlias=elementoge0_}
                     | \-[SQL_TOKEN] SqlFragment: 'elementoge0_.ip as ip8_, elementoge0_.comunidade_leitura as comunidade3_8_, elementoge0_.comunidade_escrita as comunidade4_8_, elementoge0_.porta as porta8_, elementoge0_.posicaox as posicaox8_, elementoge0_.posicaoy as posicaoy8_, elementoge0_.sys_objectid as sys8_8_, elementoge0_.estacao as estacao8_, elementoge0_.sys_contact as sys10_8_, elementoge0_.sys_desc as sys11_8_, elementoge0_.sys_location as sys12_8_, elementoge0_.sys_name as sys13_8_, elementoge0_.timeout as timeout8_, elementoge0_.status as status8_, elementoge0_.proxy as proxy8_, elementoge0_.mapa_pai as mapa16_8_, elementoge0_.usuario as usuario8_'
                     \-[FROM] FromClause: 'from' FromClause{level=1, fromElementCounter=1, fromElements=1, fromElementByClassAlias=[o], fromElementByTableAlias=[elementoge0_], fromElementsByPath=[], collectionJoinFromElementsByPath=[], impliedElements=[]}
                     \-[FROM_FRAGMENT] FromElement: 'elemento_gerenciado elementoge0_' FromElement{explicit,not a collection join,not a fetch join,fetch non-lazy properties,classAlias=o,role=null,tableName=elemento_gerenciado,tableAlias=elementoge0_,origin=null,colums={,className=com.digitel.model.ElementoGerenciado}}
                    
                    2007-11-05 16:49:33,971 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
                    2007-11-05 16:49:33,971 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] HQL: select object(o) from com.digitel.model.ElementoGerenciado as o
                    2007-11-05 16:49:33,972 DEBUG [org.hibernate.hql.ast.QueryTranslatorImpl] SQL: select elementoge0_.id as id8_, elementoge0_.ip as ip8_, elementoge0_.comunidade_leitura as comunidade3_8_, elementoge0_.comunidade_escrita as comunidade4_8_, elementoge0_.porta as porta8_, elementoge0_.posicaox as posicaox8_, elementoge0_.posicaoy as posicaoy8_, elementoge0_.sys_objectid as sys8_8_, elementoge0_.estacao as estacao8_, elementoge0_.sys_contact as sys10_8_, elementoge0_.sys_desc as sys11_8_, elementoge0_.sys_location as sys12_8_, elementoge0_.sys_name as sys13_8_, elementoge0_.timeout as timeout8_, elementoge0_.status as status8_, elementoge0_.proxy as proxy8_, elementoge0_.mapa_pai as mapa16_8_, elementoge0_.usuario as usuario8_ from elemento_gerenciado elementoge0_
                    2007-11-05 16:49:33,972 DEBUG [org.hibernate.hql.ast.ErrorCounter] throwQueryException() : no errors
                    2007-11-05 16:49:33,997 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to open PreparedStatement (open PreparedStatements: 0, globally: 0)
                    2007-11-05 16:49:33,997 DEBUG [org.hibernate.jdbc.ConnectionManager] opening JDBC connection
                    2007-11-05 16:49:34,003 DEBUG [org.hibernate.SQL] select elementoge0_.id as id8_, elementoge0_.ip as ip8_, elementoge0_.comunidade_leitura as comunidade3_8_, elementoge0_.comunidade_escrita as comunidade4_8_, elementoge0_.porta as porta8_, elementoge0_.posicaox as posicaox8_, elementoge0_.posicaoy as posicaoy8_, elementoge0_.sys_objectid as sys8_8_, elementoge0_.estacao as estacao8_, elementoge0_.sys_contact as sys10_8_, elementoge0_.sys_desc as sys11_8_, elementoge0_.sys_location as sys12_8_, elementoge0_.sys_name as sys13_8_, elementoge0_.timeout as timeout8_, elementoge0_.status as status8_, elementoge0_.proxy as proxy8_, elementoge0_.mapa_pai as mapa16_8_, elementoge0_.usuario as usuario8_ from elemento_gerenciado elementoge0_
                    2007-11-05 16:49:34,006 WARN [org.jboss.resource.connectionmanager.TxConnectionManager] Connection error occured: org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener@366740c9[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection@7af1ea18 handles=1 lastUse=1194288491814 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossManagedConnectionPool$OnePool@20400cb7 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool@4d02d2eb xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource@46329055 txSync=null]
                    java.lang.NullPointerException
                     at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:623)
                     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                     at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:467)
                     at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
                     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                     at org.postgresql.jdbc3.Jdbc3Connection.prepareStatement(Jdbc3Connection.java:37)
                     at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3Connection.java:266)
                     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:349)
                     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:344)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:187)
                     at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)
                     at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)
                     at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
                     at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
                     at org.hibernate.loader.Loader.doQuery(Loader.java:673)
                     at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
                     at org.hibernate.loader.Loader.doList(Loader.java:2220)
                     at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
                     at org.hibernate.loader.Loader.list(Loader.java:2099)
                     at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
                     at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
                     at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
                     at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
                     at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
                     at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
                     at com.digitel.dao.ElementoGerenciadoDAOImpl.findAll(ElementoGerenciadoDAOImpl.java:34)
                     at com.digitel.facade.ElementoGerenciadoFacade.findAll(ElementoGerenciadoFacade.java:51)
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
                     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
                     at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
                     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
                     at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
                     at $Proxy94.findAll(Unknown Source)
                     at com.digitel.web.ListarElementos.processRequest(ListarElementos.java:47)
                     at com.digitel.web.ListarElementos.doGet(ListarElementos.java:68)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                     at java.lang.Thread.run(Thread.java:619)
                    2007-11-05 16:49:34,019 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
                    2007-11-05 16:49:34,019 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
                    2007-11-05 16:49:34,019 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
                    2007-11-05 16:49:34,033 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not execute query [select elementoge0_.id as id8_, elementoge0_.ip as ip8_, elementoge0_.comunidade_leitura as comunidade3_8_, elementoge0_.comunidade_escrita as comunidade4_8_, elementoge0_.porta as porta8_, elementoge0_.posicaox as posicaox8_, elementoge0_.posicaoy as posicaoy8_, elementoge0_.sys_objectid as sys8_8_, elementoge0_.estacao as estacao8_, elementoge0_.sys_contact as sys10_8_, elementoge0_.sys_desc as sys11_8_, elementoge0_.sys_location as sys12_8_, elementoge0_.sys_name as sys13_8_, elementoge0_.timeout as timeout8_, elementoge0_.status as status8_, elementoge0_.proxy as proxy8_, elementoge0_.mapa_pai as mapa16_8_, elementoge0_.usuario as usuario8_ from elemento_gerenciado elementoge0_]
                    org.jboss.util.NestedSQLException: Error; - nested throwable: (java.lang.NullPointerException)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:557)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:191)
                     at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)
                     at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)
                     at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
                     at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
                     at org.hibernate.loader.Loader.doQuery(Loader.java:673)
                     at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
                     at org.hibernate.loader.Loader.doList(Loader.java:2220)
                     at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
                     at org.hibernate.loader.Loader.list(Loader.java:2099)
                     at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
                     at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
                     at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
                     at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
                     at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
                     at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
                     at com.digitel.dao.ElementoGerenciadoDAOImpl.findAll(ElementoGerenciadoDAOImpl.java:34)
                     at com.digitel.facade.ElementoGerenciadoFacade.findAll(ElementoGerenciadoFacade.java:51)
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
                     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
                     at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
                     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
                     at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
                     at $Proxy94.findAll(Unknown Source)
                     at com.digitel.web.ListarElementos.processRequest(ListarElementos.java:47)
                     at com.digitel.web.ListarElementos.doGet(ListarElementos.java:68)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                     at java.lang.Thread.run(Thread.java:619)
                    Caused by: java.lang.NullPointerException
                     at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:623)
                     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                     at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:467)
                     at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
                     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                     at org.postgresql.jdbc3.Jdbc3Connection.prepareStatement(Jdbc3Connection.java:37)
                     at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3Connection.java:266)
                     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:349)
                     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:344)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:187)
                     ... 69 more
                    2007-11-05 16:49:34,037 WARN [org.hibernate.util.JDBCExceptionReporter] SQL Error: 0, SQLState: null
                    2007-11-05 16:49:34,037 ERROR [org.hibernate.util.JDBCExceptionReporter] Error; - nested throwable: (java.lang.NullPointerException)
                    2007-11-05 16:49:34,040 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] mark transaction for rollback
                    2007-11-05 16:49:34,043 DEBUG [org.jboss.ejb3.entity.ManagedEntityManagerFactory] ************** closing entity managersession **************
                    2007-11-05 16:49:34,044 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 1, globally: 1) (open ResultSets: 0, globally: 0)]
                    2007-11-05 16:49:34,045 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not log warnings
                    java.sql.SQLException: Connection handle is not currently associated with a ManagedConnection
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:539)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:524)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.getWarnings(WrappedConnection.java:401)
                     at org.hibernate.util.JDBCExceptionReporter.logAndClearWarnings(JDBCExceptionReporter.java:22)
                     at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:449)
                     at org.hibernate.jdbc.ConnectionManager.cleanup(ConnectionManager.java:385)
                     at org.hibernate.jdbc.ConnectionManager.close(ConnectionManager.java:324)
                     at org.hibernate.impl.SessionImpl.close(SessionImpl.java:298)
                     at org.hibernate.ejb.EntityManagerImpl.close(EntityManagerImpl.java:86)
                     at org.jboss.ejb3.entity.ManagedEntityManagerFactory$SessionSynchronization.afterCompletion(ManagedEntityManagerFactory.java:129)
                     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:136)
                     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:340)
                     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:107)
                     at com.arjuna.ats.arjuna.AtomicAction.abort(AtomicAction.java:201)
                     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.rollbackAndDisassociate(TransactionImple.java:1451)
                     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:163)
                     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:126)
                     at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:167)
                     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
                     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
                     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
                     at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
                     at $Proxy94.findAll(Unknown Source)
                     at com.digitel.web.ListarElementos.processRequest(ListarElementos.java:47)
                     at com.digitel.web.ListarElementos.doGet(ListarElementos.java:68)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                     at java.lang.Thread.run(Thread.java:619)
                    2007-11-05 16:49:34,047 DEBUG [org.hibernate.util.JDBCExceptionReporter] could not clear warnings
                    java.sql.SQLException: Connection handle is not currently associated with a ManagedConnection
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:539)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.checkTransaction(WrappedConnection.java:524)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.clearWarnings(WrappedConnection.java:414)
                     at org.hibernate.util.JDBCExceptionReporter.logAndClearWarnings(JDBCExceptionReporter.java:31)
                     at org.hibernate.jdbc.ConnectionManager.closeConnection(ConnectionManager.java:449)
                     at org.hibernate.jdbc.ConnectionManager.cleanup(ConnectionManager.java:385)
                     at org.hibernate.jdbc.ConnectionManager.close(ConnectionManager.java:324)
                     at org.hibernate.impl.SessionImpl.close(SessionImpl.java:298)
                     at org.hibernate.ejb.EntityManagerImpl.close(EntityManagerImpl.java:86)
                     at org.jboss.ejb3.entity.ManagedEntityManagerFactory$SessionSynchronization.afterCompletion(ManagedEntityManagerFactory.java:129)
                     at com.arjuna.ats.internal.jta.resources.arjunacore.SynchronizationImple.afterCompletion(SynchronizationImple.java:136)
                     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.afterCompletion(TwoPhaseCoordinator.java:340)
                     at com.arjuna.ats.arjuna.coordinator.TwoPhaseCoordinator.cancel(TwoPhaseCoordinator.java:107)
                     at com.arjuna.ats.arjuna.AtomicAction.abort(AtomicAction.java:201)
                     at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.rollbackAndDisassociate(TransactionImple.java:1451)
                     at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.rollback(BaseTransaction.java:163)
                     at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.rollback(BaseTransactionManagerDelegate.java:126)
                     at org.jboss.aspects.tx.TxPolicy.endTransaction(TxPolicy.java:167)
                     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:87)
                     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
                     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
                     at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
                     at $Proxy94.findAll(Unknown Source)
                     at com.digitel.web.ListarElementos.processRequest(ListarElementos.java:47)
                     at com.digitel.web.ListarElementos.doGet(ListarElementos.java:68)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                     at java.lang.Thread.run(Thread.java:619)
                    2007-11-05 16:49:34,062 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/DMS-Reports].[ListarElementos]] Servlet.service() for servlet ListarElementos threw exception
                    javax.ejb.EJBException: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query
                     at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
                     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
                     at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
                     at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:214)
                     at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:184)
                     at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:81)
                     at $Proxy94.findAll(Unknown Source)
                     at com.digitel.web.ListarElementos.processRequest(ListarElementos.java:47)
                     at com.digitel.web.ListarElementos.doGet(ListarElementos.java:68)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
                     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
                     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
                     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
                     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
                     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
                     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
                     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
                     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
                     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                     at java.lang.Thread.run(Thread.java:619)
                    Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute query
                     at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
                     at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:73)
                     at com.digitel.dao.ElementoGerenciadoDAOImpl.findAll(ElementoGerenciadoDAOImpl.java:34)
                     at com.digitel.facade.ElementoGerenciadoFacade.findAll(ElementoGerenciadoFacade.java:51)
                     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                     at java.lang.reflect.Method.invoke(Method.java:597)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
                     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
                     at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
                     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
                     at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
                     ... 39 more
                    Caused by: org.hibernate.exception.GenericJDBCException: could not execute query
                     at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
                     at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
                     at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
                     at org.hibernate.loader.Loader.doList(Loader.java:2223)
                     at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
                     at org.hibernate.loader.Loader.list(Loader.java:2099)
                     at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
                     at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
                     at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
                     at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
                     at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
                     at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:64)
                     ... 54 more
                    Caused by: org.jboss.util.NestedSQLException: Error; - nested throwable: (java.lang.NullPointerException)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.checkException(WrappedConnection.java:557)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:191)
                     at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:505)
                     at org.hibernate.jdbc.AbstractBatcher.getPreparedStatement(AbstractBatcher.java:423)
                     at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
                     at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
                     at org.hibernate.loader.Loader.doQuery(Loader.java:673)
                     at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
                     at org.hibernate.loader.Loader.doList(Loader.java:2220)
                     ... 62 more
                    Caused by: java.lang.NullPointerException
                     at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:623)
                     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
                     at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:467)
                     at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
                     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
                     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
                     at org.postgresql.jdbc3.Jdbc3Connection.prepareStatement(Jdbc3Connection.java:37)
                     at org.postgresql.jdbc3.AbstractJdbc3Connection.prepareStatement(AbstractJdbc3Connection.java:266)
                     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.doPrepareStatement(BaseWrapperManagedConnection.java:349)
                     at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.prepareStatement(BaseWrapperManagedConnection.java:344)
                     at org.jboss.resource.adapter.jdbc.WrappedConnection.prepareStatement(WrappedConnection.java:187)
                     ... 69 more
                    2007-11-05 16:49:36,696 DEBUG [org.jboss.resource.connectionmanager.IdleRemover] run: IdleRemover notifying pools, interval: 150000
                    2007-11-05 16:51:31,158 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Mon, 5 Nov 2007 16:51:31>
                    2007-11-05 16:51:31,159 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
                    
                    


                    • 9. Re: NetBeans 5.5 + EJB3 + JBoss 4.2 == ejbLink: not used by
                      Leandro Severino Newbie

                      [Resolved]
                      The problem was the NetBeans. It don't work's fine in debug mode.