SignServer on windows server 2008

E-Sharifi
2012-11-29
2013-02-18
  • E-Sharifi
    E-Sharifi
    2012-11-29

    Hi
    i am new to this forum, my question is about signserver but did not find such forum so i post my question here.
    i want to compile sign server(both 3.2.2 and 3.2.3 tested) on windows server 2008 r2 64 bit, with oracle jdk 1.6.0 , jboss-5.1.0.GA-jdk6, apache-ant-1.8.4 just according to the installation guide in signserver website. but during ant deploy  process, 1 error happens! the entire ant log is as below:

    C:\signserver>ant deploy
    Buildfile: C:\signserver\build.xml

    j2ee:check:
          Using appserver.home : C:\jboss-5.1.0.GA

    init:
        
          --------- SYSTEM PROPERTIES ---------
          ANT version                         = Apache Ant(TM) version 1.8.4 c
    ompiled on May 22 2012
          JRE version                         = 1.6.0
          JRE vendor                          = Sun Microsystems Inc.
          Java home                           = C:\Program Files (x86)\Java\jd
    k1.6.0\jre
          Java extensions dir                 = C:\Program Files (x86)\Java\jd
    k1.6.0\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
          OS name                             = Windows Vista
          OS architecture                     = x86
          OS version                          = 6.1
        

    signserver.init:

    j2ee:check:
          Using appserver.home : C:\jboss-5.1.0.GA
        
          ------- CONFIGURATION PROPERTIES -------
          build.mode                          = SIGNSERVER
          appserver.type                      = jboss
          appserver.home                      = C:\jboss-5.1.0.GA
          web.contentencoding                 = ISO-8859-1
          j2ee.web-nohttps                    = true
          datasource.jndi-name                = SignServerDS
          datasource.jndi-name-prefix         = java:/
          database.name                       = nodb
          database.url                        = jdbc:hsqldb:${jboss.server.dat
    a.dir}${/}hypersonic${/}SignServerLocalDB
          database.driver                     = org.hsqldb.jdbcDriver
          database.username                   = sa
          database.password                   =
          database.nodb.location              = C:signserver
          odb
          healthcheck.maintenancefile         =
          signserverws.enabled                = true
          genericws.enabled                   = true
          validationws.enabled                = false
          adminws.enabled                     = true
          webdoc.enabled                      = true
          timestampclient.enabled             = true
          validationclient.enabled            = true
          pdfperformancetest.enabled          = false
          useclusterclassloader               = false
          clusterclassloader.useclassversions = true
          clusterclassloader.requiresignature = false
          signingandvalidationapi.enabled     = true
          admingui.enabled                    = true
          clientcli.enabled                   = true
          includemodulesinbuild               = true
          module.log4j.include                = false
          module.pdfsigner.enabled            = true
          module.pdfsigner.include            = true
          module.renewal.enabled              = false
          module.renewal.include              = false
          module.xmlsigner.enabled            = true
          module.xmlsigner.include            = true
          module.xmlvalidator.enabled         = true
          module.xmlvalidator.include         = false
          module.cmssigner.enabled            = true
          module.cmssigner.include            = true
          module.odfsigner.enabled            = true
          module.odfsigner.include            = false
          module.tsa.enabled                  = true
          module.tsa.include                  = false
          module.mrtdsodsigner.enabled        = true
          module.mrtdsodsigner.include        = false
          module.mrtdsigner.enabled           = true
          module.mrtdsigner.include           = false
          module.wsra.enabled                 = true
        
         Created dir: C:\signserver\bin\classes
         Created dir: C:\signserver\dist-server\lib
         Created dir: C:\signserver\dist-client\lib

    preprocess-extjava:

    preprocess-extweb:

    -set-ejbjarheader-nodb:

    -set-ejbjarheader:

    preprocess:
          Copying 50 files to C:\signserver\tmp\preprocessed
         Created dir: C:\signserver\bin\classes\org\signserver\common
    Creating new property file: C:\signserver\bin\classes\org\signser
    ver\common\signservercompile.properties
          Copying 1 file to C:\signserver\bin
          Database type:      nodb
          DataSource mapping: java:/SignServerDS
         Created dir: C:\signserver\bin\classes\META-INF
          Copying 1 file to C:\signserver\bin\classes\META-INF
          Copying 1 file to C:\signserver\bin\classes\META-INF

    signserver-common:

    -pre-init:
          var.ANT_HOME = C:\ant

    -init-private:

    -pre-init-libraries:

    -init-private-libraries:

    -init-libraries:

    -init-user:

    -init-project:

    -init-macrodef-property:

    -do-init:

    -post-init:

    -init-check:

    -init-ap-cmdline-properties:

    -init-macrodef-javac-with-processors:

    -init-macrodef-javac-without-processors:

    -init-macrodef-javac:

    -init-macrodef-junit:

    -init-debug-args:

    -init-macrodef-nbjpda:

    -init-macrodef-debug:

    -init-macrodef-java:

    -init-presetdef-jar:

    -init-ap-cmdline-supported:

    -init-ap-cmdline:

    init:

    -deps-jar-init:

    deps-jar:
         Created dir: C:\signserver\modules\SignServer-Common\build

    -warn-already-built-jar:
    Updating property file: C:\signserver\modules\SignServer-Common\b
    uild\built-jar.properties

    -check-automatic-build:

    -clean-after-automatic-build:

    -verify-automatic-build:

    -pre-pre-compile:
         Created dir: C:\signserver\modules\SignServer-Common\build\classes

    -pre-compile:

    -copy-persistence-xml:

    -compile-depend:

    -do-compile:
         Created dir: C:\signserver\modules\SignServer-Common\build\empty
         Compiling 96 source files to C:\signserver\modules\SignServer-Common
    \build\classes
         Note: Some input files use or override a deprecated API.
         Note: Recompile with -Xlint:deprecation for details.
         Note: Some input files use unchecked or unsafe operations.
         Note: Recompile with -Xlint:unchecked for details.
          Copying 1 file to C:\signserver\modules\SignServer-Common\build\clas
    ses

    -post-compile:

    compile:

    -pre-jar:
          Copying 1 file to C:\signserver\modules\SignServer-Common\build\clas
    ses\org\signserver\common

    -pre-pre-jar:
         Created dir: C:\signserver\modules\SignServer-Common\dist

    -do-jar-with-manifest:

    -do-jar-without-manifest:
    Building jar: C:\signserver\modules\SignServer-Common\dist\Si
    gnServer-Common.jar

    -do-jar-with-mainclass:

    -do-jar-with-libraries-create-manifest:

    -do-jar-with-libraries-copy-manifest:

    -do-jar-with-libraries-set-main:

    -do-jar-with-libraries-set-splashscreen:

    -init-macrodef-copylibs:

    -do-jar-with-libraries-pack:

    -do-jar-with-libraries-delete-manifest:

    -do-jar-with-libraries:

    -post-jar:

    jar:
          Copying 1 file to C:\signserver\dist-client\lib
          Copying 1 file to C:\signserver\dist-server\lib

    signserver:compile:
         Compiling 180 source files to C:\signserver\bin\classes
         C:\signserver\modules\SignServer-ejb\src\java\org\signserver\server\
    clusterclassloader\xmlpersistence\XMLCCLResourceManager.java:271: cannot find sy
    mbol
         symbol  : method marshal(org.signserver.server.clusterclassloader.xm
    lpersistence.XMLClusterClassLoaderDataList,java.io.File)
         location: interface javax.xml.bind.Marshaller
                             marshaller.marshal(resources, new File(getXMLFil
    eLocation()));
                                       ^
         Note: C:\signserver\modules\SignServer-ejb\src\java\org\signserver\s
    erver\signers\DummySigner.java uses or overrides a deprecated API.
         Note: Recompile with -Xlint:deprecation for details.
         Note: Some input files use unchecked or unsafe operations.
         Note: Recompile with -Xlint:unchecked for details.
         1 error

    BUILD FAILED
    C:\signserver\signserver.xmli:89: Compile failed; see the compiler error output
    for details.

    Total time: 18 seconds

    C:\signserver>

    any help is appreciated in advance.