poie bem, incrivelmente quando a internet esta legal o jbos sobe na boa e tudo funciona, ja quando a internet cai, o jboss nao sobe e o seguinte erro eh identificado.
11:19:16,246 INFO [org.hibernate.ejb.Ejb3Configuration] (MSC service thread 1-6) HHH000204: Processing PersistenceUnitInfo [
name: gMaxPersistenceUnit
…]
11:19:16,386 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”: org.jboss.msc.service.StartException in service jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.7.0_79]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.7.0_79]
at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_79]
Caused by: org.hibernate.InvalidMappingException: Unable to read XML
at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:106)
at org.hibernate.ejb.Ejb3Configuration.addXMLEntities(Ejb3Configuration.java:734)
at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:603)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:72)
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:162)
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.start(PersistenceUnitServiceImpl.java:85)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
… 3 more
Caused by: org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.hibernate.internal.util.xml.MappingReader.readMappingDocument(MappingReader.java:76)
… 10 more
11:19:16,386 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015951: Admin console listening on http://127.0.0.1:9990
11:19:16,386 ERROR [org.jboss.as] (MSC service thread 1-6) JBAS015875: JBoss AS 7.1.1.Final “Brontes” started (with errors) in 4153ms - Started 736 of 1001 services (188 services failed or missing dependencies, 76 services are passive or on-demand)
11:19:16,606 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS015870: Deploy of deployment “g-Max.war” was rolled back with failure message {“JBAS014671: Failed services” => {“jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”” => “org.jboss.msc.service.StartException in service jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”: Failed to start service”}}
11:19:16,669 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment g-Max.war in 69ms
11:19:16,669 INFO [org.jboss.as.controller] (DeploymentScanner-threads - 2) JBAS014774: Service status report
JBAS014777: Services which failed to start: service jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”: org.jboss.msc.service.StartException in service jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”: Failed to start service
11:19:16,669 ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) {“JBAS014653: Composite operation failed and was rolled back. Steps that failed:” => {“Operation step-2” => {“JBAS014671: Failed services” => {“jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”” => “org.jboss.msc.service.StartException in service jboss.persistenceunit.“g-Max.war#gMaxPersistenceUnit”: Failed to start service”}}}}
<?xml version="1.0" encoding="UTF-8"?>
<entity-mappings version="2.1"
xmlns="http://xmlns.jcp.org/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence/orm http://xmlns.jcp.org/xml/ns/persistence/orm_2_1.xsd">
<!-- Vistoria Detran -->
<named-query name="buscarVistoriaDetranPeloAno">
<query>
select c
from VistoriaDetran c
where c.ano = :pAno
</query>
</named-query>
<named-query name="pesquisaTodasVistoriaDetran">
<query>
select c
from VistoriaDetran c
order by c.ano DESC
</query>
</named-query>
<named-query name="buscarVistoriaCalendarioIPVAPeloAnoEFinalPlaca">
<query>
select c
from VistoriaCalendarioIPVA c
where c.vistoriaDetran.ano = :pAno
and c.finalPlaca = :pFinalPlaca
</query>
</named-query>
<named-query name="buscarVistoriaCalendarioDPVATPeloAnoEFinalPlaca">
<query>
select c
from VistoriaCalendarioDPVAT c
where c.vistoriaDetran.ano = :pAno
and c.finalPlaca = :pFinalPlaca
</query>
</named-query>
<named-query name="buscarVistoriaCalendarioLicenciamentoPeloAnoEFinalPlaca">
<query>
select c
from VistoriaCalendarioLicenciamentoDetran c
where c.vistoriaDetran.ano = :pAno
and c.finalPlaca = :pFinalPlaca
</query>
</named-query>
<!-- Vistoria SMTR -->
<named-query name="buscarVistoriaSMTRPeloAno">
<query>
select v
from VistoriaSMTR v
where v.ano = :pAno
</query>
</named-query>
<named-query name="buscarVistoriaCalendarioDARMPeloAnoEFinalPlaca">
<query>
select c
from VistoriaCalendarioDARM c
where c.vistoriaSMTR.ano = :pAno
and c.finalPlaca = :pFinalPlaca
</query>
</named-query>
<!-- Vistoria tabela de valores -->
<named-query name="pesquisarAnoVeiculoDistintos">
<query>
select distinct v.anoVeiculo
from Veiculo v
order by v.anoVeiculo
</query>
</named-query>
<named-query name="pesquisarChassiModeloDistintos">
<query>
select distinct m
from Veiculo v
join v.chassiModelo m
order by m.descricao
</query>
</named-query>
<named-query name="pesquisarCarroceriaModeloDistintos">
<query>
select distinct m
from Veiculo v
join v.carroceriaModelo m
order by m.descricao
</query>
</named-query>
<named-query name="buscarVistoriaValorPeloAnoEChassiECarroceria">
<query>
select v
from VistoriaValor v
where v.anoVeiculo = :pAnoVeiculo
and v.chassiModelo = :pChassiModelo
and v.carroceriaModelo = :pCarroceriaModelo
</query>
</named-query>
<!-- Vistoria relatórios -->
<named-query name="pesquisarVistoriaPagamentoDTOParaIPVA">
<query>
select new br.com.logic.gmax.model.dto.VistoriaPagamentoDTO(p.veiculo, p.codigoIPVA, 'IPVA', p.dataProgramado, p.dataRealizado, p.valorProgramado, p.valorRealizado)
from VistoriaPagamentoIPVA p
where p.dataRealizado is null
and FUNCTION('YEAR', p.dataProgramado ) = :pAno
and FUNCTION('MONTH', p.dataProgramado ) = :pMes
order by p.dataProgramado DESC
</query>
</named-query>
<named-query name="pesquisarVistoriaPagamentoDTOParaDPVAT">
<query>
select new br.com.logic.gmax.model.dto.VistoriaPagamentoDTO(p.veiculo, p.codigoDPVAT, 'DPVAT', p.dataProgramado, p.dataRealizado, p.valorProgramado, p.valorRealizado)
from VistoriaPagamentoDPVAT p
where p.dataRealizado is null
and FUNCTION('YEAR', p.dataProgramado ) = :pAno
and FUNCTION('MONTH', p.dataProgramado ) = :pMes
order by p.dataProgramado DESC
</query>
</named-query>
<named-query name="pesquisarVistoriaPagamentoDTOParaOutro">
<query>
select new br.com.logic.gmax.model.dto.VistoriaPagamentoDTO(p.veiculo, p.codigo, 'Outros', p.dataProgramado, p.dataRealizado, p.valor, p.valor)
from VistoriaPagamentoOutro p
where p.dataRealizado is null
and FUNCTION('YEAR', p.dataProgramado ) = :pAno
and FUNCTION('MONTH', p.dataProgramado ) = :pMes
order by p.dataProgramado DESC
</query>
</named-query>
<named-query name="pesquisarVistoriaPagamentoDTOParaDARM">
<query>
select new br.com.logic.gmax.model.dto.VistoriaPagamentoDTO(p.veiculo, p.codigoDARM, 'DARM', p.dataProgramado, p.dataRealizado, p.valorProgramado, p.valorRealizado)
from VistoriaPagamentoDARM p
where p.dataRealizado is null
and FUNCTION('YEAR', p.dataProgramado ) = :pAno
and FUNCTION('MONTH', p.dataProgramado ) = :pMes
order by p.dataProgramado DESC
</query>
</named-query>
</entity-mappings>
A Versão dos artefatos do projeto sobre o JPA é 2.1?
caso não saiba me diz qual a versão do Hibernate que você está usando.
Se estiver em uma versão diferente ele busca da internet, caso seja igual ao declarado ele busca no jar.