java ee - Maven EAR-project with SLF4J, logback and native hibernate on glassfish -
java ee - Maven EAR-project with SLF4J, logback and native hibernate on glassfish -
my project pretty simple. want standard ear-project supports slf4j logback implementation. main problem is, config file not used , debug info printed out console xerces. there major classpath problem ear files think, because project war runs fine. have set logback.xml every root dir, not work. had had problem hibernate.cfg.xml file not found. give me tip or provide sample ear? using gf 3.1.1
i believe both war , ejb, config files should in meta-inf of respective jar, if don't need easier access them.
if need easier access them, solution app-server-dependent. in case, @ "application" entry in table in glassfish classloader hierarchy doc. i'm not glassfisherman, can point @ docs.
java-ee maven glassfish logback java-ee-5
Comments
Post a Comment