|
I have this error en WF 10: 18:35:13,984 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool – 60) HHH000397: Using ASTQueryTranslatorFactory 18:35:13,986 INFO [org.hibernate.hql.internal.QueryTranslatorFactoryInitiator] (ServerService Thread Pool – 59) HHH000397: Using ASTQueryTranslatorFactory 18:35:14,827 ERROR [org.hibernate.internal.SessionFactoryImpl] (ServerService Thread Pool – 59) HHH000177: Error in named query: Usuario.buscarUsuarioPorId: org.hibernate.QueryException: query specified join fetching, but the owner of the fetched association was not present in the select list [FromElement{explicit,not a collection join,fetch join,fetch non-lazy properties,classAlias=null,role=com.hdso.gtm.domain.general.Persona.genero,tableName=CATN_GENERO,tableAlias=genero3_,origin=TBL_PERSONA persona2_,columns={persona2_.SEC_GENERO ,className=com.hdso.gtm.domain.parametros.Genero}}] [select u from com.hdso.gtm.domain.seguridad.Usuario u JOIN FETCH u.persona LEFT JOIN FETCH u.persona.genero LEFT JOIN FETCH u.usuarioConfigurador LEFT JOIN FETCH u.usuarioConfigurador.persona LEFT JOIN FETCH u.usuarioJefe LEFT JOIN FETCH u.usuarioJefe.persona INNER JOIN u.perfil per LEFT JOIN FETCH u.telefono LEFT JOIN FETCH u.telefono.tipoTelefono LEFT JOIN FETCH u.cargo LEFT JOIN FETCH u.cargo.area LEFT JOIN FETCH u.cargo.area.direccion where u.id=:idUsuario] at org.hibernate.QueryException.generateQueryException(QueryException.java:120)
But the same project in WF 9 works fine
[org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool – 58) HHH000397: Using ASTQueryTranslatorFactory 18:48:11,103 INFO [org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory] (ServerService Thread Pool – 59) HHH000397: Using ASTQueryTranslatorFactory 18:48:14,335 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.buscador.BuscadorAseguradoVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,339 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.seguridad.ConfigurarUsuarioExrternoVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,340 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.buscador.BuscarMipsMedicamentoVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,341 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.seguridad.ConfigurarRecursosVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,343 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.buscador.BuscarPerfilActorUsuarioVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,344 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.buscador.BuscadorProveedorVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,344 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.buscador.BuscadorDiagnosticoVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,345 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.seguridad.GestionRecursoVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,360 WARN [org.jboss.weld.Validator] (MSC service thread 1-7)
WELD-001471
: Interceptor method init defined on class com.hdso.gtm.web.view.controller.mallas.costosdiagnostico.CostoDiagnosticoVC is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,403 WARN [org.jboss.weld.Validator] (MSC service thread 1-6)
WELD-001471
: Interceptor method inicializar defined on class com.hdso.gtm.negocio.seguridad.impl.SeguridadSessionFacadeImpl is not defined according to the specification. It should not throw com.hdso.gtm.comun.excepcion.NegocioException, which is a checked exception. 18:48:14,709 INFO [stdout] (ServerService Thread Pool – 58) Hibernate: select mensajeerr0_.sec_mensaje_error as sec_mensaje_error1_208_, mensajeerr0_.cod_mensaje_error as cod_mensaje_error2_208_, mensajeerr0_.des_mensaje_error as des_mensaje_error3_208_, mensajeerr0_.sec_tipo_error_masiva as sec_tipo_error_mas4_208_ from catn_mensaje_error mensajeerr0_ 18:48:14,777 INFO [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) Inicializando Mojarra 2.2.11-jbossorg-1 20150505-1501 para el contexto '/gtm' 18:48:14,870 INFO [stdout] (ServerService Thread Pool – 58) Hibernate: select tipoerrorm0_.sec_tipo_error_masiva as sec_tipo_error_mas1_210_0_, tipoerrorm0_.ACTIVO as ACTIVO2_210_0_, tipoerrorm0_.FECHA_CREACION_REGISTRO as FECHA_CREACION_REG3_210_0_, tipoerrorm0_.cod_tipo_error_masiva as cod_tipo_error_mas4_210_0_, tipoerrorm0_.des_tipo_error_masiva as des_tipo_error_mas5_210_0_ from catn_tipo_error_masiva tipoerrorm0_ where tipoerrorm0_.sec_tipo_error_masiva=? 18:48:14,917 INFO [stdout] (ServerService Thread Pool – 58) Hibernate: select tipoerrorm0_.sec_tipo_error_masiva as sec_tipo_error_mas1_210_0_, tipoerrorm0_.ACTIVO as ACTIVO2_210_0_, tipoerrorm0_.FECHA_CREACION_REGISTRO as FECHA_CREACION_REG3_210_0_, tipoerrorm0_.cod_tipo_error_masiva as cod_tipo_error_mas4_210_0_, tipoerrorm0_.des_tipo_error_masiva as des_tipo_error_mas5_210_0_ from catn_tipo_error_masiva tipoerrorm0_ where tipoerrorm0_.sec_tipo_error_masiva=? 18:48:14,921 INFO [stdout] (ServerService Thread Pool – 58) Hibernate: select tipoerrorm0_.sec_tipo_error_masiva as sec_tipo_error_mas1_210_0_, tipoerrorm0_.ACTIVO as ACTIVO2_210_0_, tipoerrorm0_.FECHA_CREACION_REGISTRO as FECHA_CREACION_REG3_210_0_, tipoerrorm0_.cod_tipo_error_masiva as cod_tipo_error_mas4_210_0_, tipoerrorm0_.des_tipo_error_masiva as des_tipo_error_mas5_210_0_ from catn_tipo_error_masiva tipoerrorm0_ where tipoerrorm0_.sec_tipo_error_masiva=? 18:48:15,010 INFO [stdout] (ServerService Thread Pool – 58) Hibernate: select parametrog0_.SEC_PARAMETRO_GTM as SEC_PARAMETRO_GTM1_115_, parametrog0_.ACTIVO as ACTIVO2_115_, parametrog0_.FECHA_CREACION_REGISTRO as FECHA_CREACION_REG3_115_, parametrog0_.COD_PARAMETRO_GTM as COD_PARAMETRO_GTM4_115_, parametrog0_.COD_GRUPO_PARAMETRO_GTM as COD_GRUPO_PARAMETR5_115_, parametrog0_.DES_PARAMETRO_GTM as DES_PARAMETRO_GTM6_115_, parametrog0_.VALOR_PARAMETRO_GTM as VALOR_PARAMETRO_GT7_115_ from CATS_PARAMETRO_GTM parametrog0_ where parametrog0_.COD_PARAMETRO_GTM=? and parametrog0_.ACTIVO=1 18:48:15,046 INFO [stdout] (ServerService Thread Pool – 58) Hibernate: select genero0_.SEC_GENERO as SEC_GENERO1_25_, genero0_.ACTIVO as ACTIVO2_25_, genero0_.FECHA_CREACION_REGISTRO as FECHA_CREACION_REG3_25_, genero0_.COD_GENERO as COD_GENERO4_25_, genero0_.CODH_GENERO as CODH_GENERO5_25_, genero0_.DES_GENERO as DES_GENERO6_25_, genero0_.DESH_GENERO as DESH_GENERO7_25_ from CATN_GENERO genero0_ where genero0_.ACTIVO in  18:48:15,451 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/usuario/incluirUsuario.xhtml', para navegación desde '/ui/usuario/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,453 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/usuario/editarUsuario.xhtml', para navegación desde '/ui/usuario/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,453 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/usuario/configurar.xhtml', para navegación desde '/ui/usuario/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,453 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/usuario/configurar.xhtml', para navegación desde '/ui/usuario/editarUsuario.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,453 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/mallas/metodoPago/baseQuirurgica/incluirBaseQuirurgica.xhtml', para navegación desde '/ui/mallas/metodoPago/baseQuirurgica/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/mallas/metodoPago/baseQuirurgica/editarBaseQuirurgica.xhtml', para navegación desde '/ui/mallas/metodoPago/baseQuirurgica/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/mallas/metodoPago/baseQuirurgica/configurar.xhtml', para navegación desde '/ui/mallas/metodoPago/baseQuirurgica/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/mallas/metodoPago/incluirMetodoPago.xhtml', para navegación desde '/ui/mallas/metodoPago/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/mallas/metodoPago/editarMetodoPago.xhtml', para navegación desde '/ui/mallas/metodoPago/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/mallas/metodoPago/configurar.xhtml', para navegación desde '/ui/mallas/metodoPago/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/perfil/incluirPerfil.xhtml', para navegación desde '/ui/perfil/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/perfil/editarPerfil.xhtml', para navegación desde '/ui/perfil/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/perfil/configurar.xhtml', para navegación desde '/ui/perfil/configurar.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,454 WARNING [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool – 63) JSF1058: el recurso al que hace referencia to-view-id, 'ui/cargamasiva/confCargaMasiva/adminCargaMasiva.xhtml', para navegación desde '/ui/cargamasiva/cargaMasiva/cargaMasiva.xhtml', no empieza por '/'. Se añadirá por usted, pero se debe corregir. 18:48:15,742 INFO [org.primefaces.webapp.PostConstructApplicationEventListener] (ServerService Thread Pool – 63) Running on PrimeFaces 5.3 18:48:15,760 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool – 63) WFLYUT0021: Registered web context: /gtm 18:48:15,795 INFO [org.jboss.as.server] (ServerService Thread Pool – 34) WFLYSRV0010: Deployed "gtm-web.war" (runtime-name : "gtm-web.war") 18:48:15,795 INFO [org.jboss.as.server] (ServerService Thread Pool – 34) WFLYSRV0010: Deployed "gtm-ear.ear" (runtime-name : "gtm-ear.ear") 18:48:15,942 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:10090/management 18:48:15,942 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:10090 18:48:15,942 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 9.0.1.Final (WildFly Core 1.0.1.Final) started in 9768ms - Started 1298 of 1524 services (293 services are lazy, passive or on-demand)
|