2 Replies Latest reply on Dec 20, 2011 4:15 AM by Nicklas Karlsson

    Error building GateIn on Win

    Nicklas Karlsson Master

      Hi, I'm trying to build gatein-portal for the AS7 integration and end up with a

       

      [15:36:52-186][INFO] TestSpliterator Running unit test:testNormal

      Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec

      [15:36:52-191][INFO] TestSpliterator Unit test testNormal completed

      Running org.exoplatform.commons.utils.TestTextEncoder

      Can't load log handler "java.util.logging.FileHandler"

      java.io.IOException: Couldn't get lock for C:Tempgatein-portalcomponentcommon/ta

      rget/gateintest-%u.log

      java.io.IOException: Couldn't get lock for C:Tempgatein-portalcomponentcommon/ta

      rget/gateintest-%u.log

              at java.util.logging.FileHandler.openFiles(FileHandler.java:389)

              at java.util.logging.FileHandler.<init>(FileHandler.java:225)

              at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

       

       

              at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct

      orAccessorImpl.java:57)

              at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC

      onstructorAccessorImpl.java:45)

              at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

              at java.lang.Class.newInstance0(Class.java:372)

              at java.lang.Class.newInstance(Class.java:325)

              at java.util.logging.LogManager$3.run(LogManager.java:419)

              at java.security.AccessController.doPrivileged(Native Method)

              at java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:405)

              at java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java

      :1076)

              at java.util.logging.LogManager.access$1100(LogManager.java:148)

              at java.util.logging.LogManager$RootLogger.getHandlers(LogManager.java:1

      157)

              at java.util.logging.Logger.log(Logger.java:521)

              at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:587)

              at org.slf4j.impl.JDK14LoggerAdapter.log(JDK14LoggerAdapter.java:659)

              at org.gatein.common.logging.SLF4JLocationAwareLogger.doLog(SLF4JLocatio

      nAwareLogger.java:44)

              at org.gatein.common.logging.Logger.log(Logger.java:51)

              at org.gatein.common.logging.Logger.info(Logger.java:115)

              at org.exoplatform.component.test.AbstractGateInTest.runBare(AbstractGat

      eInTest.java:71)

       

      Probably some file-separator issue in a log statement?