Menu

Building from sources under NetBeans 7.2

2013-08-29
2013-08-29
  • Marco Arigoni

    Marco Arigoni - 2013-08-29

    Building the project from source under NetBeans 7.2 and deploying on GlassFish Server 3.1.2 faces several problems.
    First of all a dependency is missing inside subproject "tinydms services webdav", you need to add

    <dependency>
          <groupId>org.apache.ftpserver</groupId>
          <artifactId>ftpserver-core</artifactId>
          <version>1.0.6</version>
          <type>jar</type>
    </dependency>
    

    or else it will not compile, then it will compile without errors and pass all tests but opon deployment you will get a:

    SEVERE: WS00026: SEI net.sf.tinydms.ws.TinyDmsService cannot have @BindingType
    SEVERE: Annotations processing failed for file:/home/mainuser/code/tinydms-server/tinydms-services-web/target/tinydms/
    SEVERE: SLF4J: Class path contains multiple SLF4J bindings.
    SEVERE: SLF4J: Found binding in [jar:file:/home/mainuser/code/tinydms-server/tinydms-services-web/target/tinydms/WEB-INF/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SEVERE: SLF4J: Found binding in [jar:file:/home/mainuser/code/tinydms-server/tinydms-services-web/target/tinydms/WEB-INF/lib/logback-classic-0.9.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SEVERE: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
    SEVERE: log4j:WARN No appenders could be found for logger (org.apache.cxf.common.logging.LogUtils).
    SEVERE: log4j:WARN Please initialize the log4j system properly.
    SEVERE: SLF4J: Class path contains multiple SLF4J bindings.
    SEVERE: SLF4J: Found binding in [jar:file:/home/mainuser/code/tinydms-server/tinydms-services-web/target/tinydms/WEB-INF/lib/slf4j-log4j12-1.5.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SEVERE: SLF4J: Found binding in [jar:file:/home/mainuser/code/tinydms-server/tinydms-services-web/target/tinydms/WEB-INF/lib/logback-classic-0.9.18.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SEVERE: SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
    INFO: Mojarra 2.1.6 (SNAPSHOT 20111206) für Kontext '/tinydms-services-web' wird initialisiert.
    INFO: Running on PrimeFaces 3.0.1
    INFO: PWC1412: WebModule[null] ServletContext.log():Initializing Spring root WebApplicationContext
    SEVERE: log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
    SEVERE: log4j:WARN Please initialize the log4j system properly.
    INFO: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!    Constructor called 
    SEVERE: PWC1306: Startup of context /tinydms-services-web failed due to previous errors
    SEVERE: PWC1305: Exception during cleanup after start failed
    

    Has anyone managed to compile it from source?

     

    Last edit: Marco Arigoni 2013-08-29
  • Mohamed BOULEKBOUD

    Hello Marco,
    I had some issues with the library managing webdav and ftp access: Their repository keeps changing and the new versions of the library are not easily backward compatibe which may explain the need to the dependency you mentionned.

    And as far as glashfish is concerned, I honestly did not test it yet since the main server I use is Tomcat.

    I will try to test the compilation on the environment you mentionned (as soon as I can) and I will keep you informed.

     
  • Mohamed BOULEKBOUD

    Mean while, can you please try to test it with Tomcat ?

    Thanks

     

Log in to post a comment.

MongoDB Logo MongoDB