|
From: Antoine L. <ant...@yo...> - 2014-04-14 18:14:14
|
Hi Markus !! You were right... There were additional libraries in glassfish_home/lib/endorsed/ After deploying in a new glassfish 2 server, I compare the directories and I see that jul-to-slf4j-1.7.0.jar, log4j-over-slf4j-1.7.0.jar, logback-classic-1.0.7.jar, logback-core-1.0.7.jar, slf4j-api-1.7.0.jar were present. If I delete them, the problem does not appear anymore on the deployment. Unfortanately, I need these libraries to activate the log in ejbca. I'll ask to the community of ejbca. Thanks for your help ! Antoine Le 14/04/2014 17:35, Markus Kilås a écrit : > On 2014-04-14 15:15, Antoine Louiset wrote: >> Hi, >> >> Le 14/04/2014 13:16, Markus Kilås a écrit : >>> On 2014-04-14 10:42, Antoine Louiset wrote: >>>> Hi Markus, >>>> >>>> Thanks for your answer. >>>> >>>> >>>> Le 14/04/2014 10:13, Markus Kilås a écrit : >>>>> On 2014-04-12 00:45, Antoine Louiset wrote: >>>>>> Hi, >>>>> Hi Antoine, >>>>> >>>>>> I continue my tests. It seems to be broken since signerver-3.4.0. It >>>>>> works with signerver-3.3.0. >>>>>> >>>>>> Here is the log for signserver 3.4.0 : http://justpaste.it/f2fh >>>>>> >>>>>> It seems to be linked with org.signserver.server.log.SignServerLog4jDevice >>>>>> >>>>>> Did you change something for the log system between these versions ? Is >>>>>> there a new library to add in glassfish ? >>>>> Yes, the log system was changed in 3.4. That version introduced logging >>>>> using the CESeCore project. >>>>> >>>>> No, new libraries should be needed in GlassFish as all dependencies are >>>>> available in the EAR file. >>>>> >>>>> It should be working using GlassFish 2 as well and in fact we have >>>>> testing on that platform so there must be some difference between our >>>>> set up and yours. >>>> Ok, but it works with a new install of glassfish 3. I'll try to check >>>> the dependencies of Log project. >>>>> Could you give some details about your setup: >>>>> - JDK, JDK version >>>> java version "1.6.0_26" >>>> Java(TM) SE Runtime Environment (build 1.6.0_26-b03) >>>> Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing) >>> That looks like Oracle JDK, right? It should work however we are testing >>> using OpenJDK so maybe that could be the issue. >>> Could you test with OpenJDK? >> No changes with OpenJDK. >>>>> - What configurations do you have under SIGNSERVER_HOME/conf ? >>>> http://justpaste.it/f39t >>>>> - Have you moved any JARs manually to GlassFish ? >>>> mysql-connector-java-5.1.26.jar >>> That should be fine. >>> >>>>> - If you have done any modifications to SignServer, have you tested with >>>>> an unmodified version as well? >>>> My tests are done with clean signserver versions, for the moment. >>> And you don't have deployed any other applications in GlassFish? >> There was ejbca and another application but I undeploy them to be sure >> there is no conflict with signserver. Maybe I can update ehcache ? How >> can I do this ? I found a message in the log : >> "[net.sf.ehcache.CacheManager@1d3a00] DEBUG >> net.sf.ehcache.util.UpdateChecker - Update check failed: >> java.lang.RuntimeException: Can't find resource: >> /ehcache-version.properties" >> > Other applications deployed has been known to cause issues in some > application servers. I have mostly seen this with JBoss 5 though. > >> Do you think it could be a problem ? > No, I don't think the ehcache thing has anything to do with it. > > The only things that comes to mind now is if there are some incompatible > log4j or maybe hibernate jars put in GlassFish. Maybe start with a > freshly unzipped GlassFish just to be sure none of the other > applications put in any jars. > > > Regards, > Markus > >> Cheers, >> >> >> Antoine >>> >>> Cheers, >>> Markus >>> >>>>> Regards, >>>>> Markus >>>>> >>>>> PrimeKey Solutions offers a commercial EJBCA & SignServer support >>>>> subscription and training. Please see www.primekey.se or contact >>>>> in...@pr... for more information. >>>>> http://www.primekey.se/Services/Support/ >>>>> http://www.primekey.se/Services/Training/ >>>>> >>>>> >>>>>> Thanks for your answer, >>>>>> >>>>>> >>>>>> Antoine >>>>>> >>>>>> >>>>>> >>>>>> Le 08/04/2014 19:17, Antoine Louiset a écrit : >>>>>>> Hi, >>>>>>> >>>>>>> I do not succeed to the deployment. Very strange, I try to disable >>>>>>> this parameter : |disable-nonportable-jndi-names >>>>>>> >>>>>>> But it does not work. >>>>>>> >>>>>>> Have you got other ideas ? >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> >>>>>>> Antoine >>>>>>> | >>>>>>> >>>>>>> Le 08/04/2014 10:23, Antoine Louiset a écrit : >>>>>>>> I try to restart glassfish, server, delete every temporary folder. >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Put Bad Developers to Shame >>>>>>> Dominate Development with Jenkins Continuous Integration >>>>>>> Continuously Automate Build, Test & Deployment >>>>>>> Start a new project now. Try Jenkins in the cloud. >>>>>>> http://p.sf.net/sfu/13600_Cloudbees >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> SignServer-develop mailing list >>>>>>> Sig...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/signserver-develop >>>> ------------------------------------------------------------------------------ >>>> Learn Graph Databases - Download FREE O'Reilly Book >>>> "Graph Databases" is the definitive new guide to graph databases and their >>>> applications. Written by three acclaimed leaders in the field, >>>> this first edition is now available. Download your free book today! >>>> http://p.sf.net/sfu/NeoTech >>>> _______________________________________________ >>>> SignServer-develop mailing list >>>> Sig...@li... >>>> https://lists.sourceforge.net/lists/listinfo/signserver-develop >>>> >>> > > |