ERROR while Building DFS Custom Services in composer

edited June 3, 2011 in Documentum

hi ,

          When i am building DFS Custom Services in composer i am getting the error:

I checked my java version, it is 1.5 . I think i am missing some files while building the services.

please give any suggestion to solve this error.

The ERROR i am getting is as follows :

Buildfile: C:\composerworkspace\DocumentumCoreProject\dfs6.5\dfs-build.xml
     [echo] defaultclasspath is C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\FastInfoset.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\activation.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\http.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jaxb-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jaxb-impl.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jaxb-xjc.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jaxws-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jaxws-rt.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jaxws-tools.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jsr173_api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jsr181-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\jsr250-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\resolver.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\saaj-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\saaj-impl.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\sjsxp.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\stax-ex.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\jaxws\streambuffer.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\dfc\certjFIPS.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\dfc\dfc.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\dfc\dms-client-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\dfc\jsafeFIPS.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\All-MB.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\utils\aspectjrt.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\utils\log4j.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\server\ucf-server-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\server\ucf-server-impl.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\server\xml-ca.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\MacOSXForker.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\jacob.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\mac_utilities.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\ucf-ca-office-auto.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\ucf-client-api.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\ucf-client-impl.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\ucf-connection.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\ucf\client\ucf-installer.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\commons\commons-cli-1.0.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\commons\commons-codec-1.3.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\commons\commons-io-1.2.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\commons\commons-jxpath-1.2.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\commons\commons-lang-2.4.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\utils\javassist.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\utils\servlet.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\utils\tools.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\utils\xmlsec.jar;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\lib\java\utils\xws-security.jar;C:\composerworkspace\DocumentumCustomServices\Web Services\bin\gen-rsc;C:\composerworkspace\DocumentumCoreProject\dfs6.5\emc-dfs-sdk-6.5\etc
     [echo] projectclasspath is emc-dfs-sdk-6.5/lib/java/emc-dfs-services.jar;emc-dfs-sdk-6.5/lib/java/emc-dfs-rt.jar;emc-dfs-sdk-6.5/lib/java/jaxws/activation.jar;emc-dfs-sdk-6.5/lib/java/jaxws/FastInfoset.jar;emc-dfs-sdk-6.5/lib/java/jaxws/http.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jaxb-api.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jaxb-impl.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jaxb-xjc.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jaxws-api.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jaxws-rt.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jsr173_api.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jsr181-api.jar;emc-dfs-sdk-6.5/lib/java/jaxws/jsr250-api.jar;emc-dfs-sdk-6.5/lib/java/jaxws/resolver.jar;emc-dfs-sdk-6.5/lib/java/jaxws/saaj-api.jar;emc-dfs-sdk-6.5/lib/java/jaxws/saaj-impl.jar;emc-dfs-sdk-6.5/lib/java/jaxws/sjsxp.jar;emc-dfs-sdk-6.5/lib/java/jaxws/stax-ex.jar;emc-dfs-sdk-6.5/lib/java/jaxws/streambuffer.jar;emc-dfs-sdk-6.5/lib/java/dfc/dfc.jar;emc-dfs-sdk-6.5/lib/java/utils/aspectjrt.jar;emc-dfs-sdk-6.5/lib/java/dfc/certjFIPS.jar;emc-dfs-sdk-6.5/lib/java/dfc/dms-client-api.jar;emc-dfs-sdk-6.5/lib/java/dfc/jsafeFIPS.jar;emc-dfs-sdk-6.5/lib/java/dfc/xtrim-api.jar;emc-dfs-sdk-6.5/lib/java/dfc/xtrim-server.jar;emc-dfs-sdk-6.5/lib/java/bof/bpm_infra.jar;emc-dfs-sdk-6.5/lib/java/bof/workflow.jar;emc-dfs-sdk-6.5/lib/java/commons/commons-codec-1.3.jar;emc-dfs-sdk-6.5/lib/java/commons/commons-io-1.2.jar;emc-dfs-sdk-6.5/lib/java/commons/commons-lang-2.4.jar;emc-dfs-sdk-6.5/lib/java/ucf/client/ucf-installer.jar;emc-dfs-sdk-6.5/lib/java/ucf/server/ucf-server-api.jar;emc-dfs-sdk-6.5/lib/java/ucf/server/ucf-server-impl.jar;emc-dfs-sdk-6.5/lib/java/ucf/server/xml-ca.jar;emc-dfs-sdk-6.5/lib/java/utils/log4j.jar;emc-dfs-sdk-6.5/lib/java/utils/servlet.jar;
     [echo] default_project_libraries is C:\composerworkspace\DocumentumCoreProject\dfs6.5
     [echo] project_libraries.path is C:\composerworkspace\DocumentumCoreProject\dfs6.5
     [echo] default_project_resources is C:\composerworkspace\DocumentumCoreProject\dfs6.5
     [echo] project_resources.path is C:\composerworkspace\DocumentumCoreProject\dfs6.5
generate:
[generateModel] Creating 'custom-collection-service-model.xml'
[generateArtifacts] Log4j not found. In order to avoid error messages during build process, please include log4j.jar into your classpath or copy it into $ANT_HOME/lib folder
[generateArtifacts] Generating DFS artifacts
[generateArtifacts] Generating JAXWS artifacts (wsgen & wsimport)
[generateArtifacts] Note: C:\DOCUME~1\seenu.nr\LOCALS~1\Temp\dfs-sdk-65431-server-artifacts-generator\wsimport\wsgen\generated\src\com\documentum\verinon\ws\CustomDFSWebService.java uses unchecked or unsafe operations.
[generateArtifacts] Note: Recompile with -Xlint:unchecked for details.
[generateArtifacts] || Task execution failed. Please add "-verbose" to your Ant command line for additional details
[generateArtifacts] || Message: Failed generating a full set of DFS service artifacts for model file: "C:\composerworkspace\DocumentumCustomServices\Web Services\bin\gen-src\custom-collection-service-model.xml"
[generateArtifacts] || Caused by: Failed generating a full set of DFS service artifacts for model file: "C:\composerworkspace\DocumentumCustomServices\Web Services\bin\gen-src\custom-collection-service-model.xml"
[generateArtifacts] || Caused by: Failed generating server side JAXWS artifacts for service: "com.documentum.verinon.ws.CustomDFSWebService (C:\Documents and Settings\seenu.nr\Local Settings\Temp\dfs-sdk-65431-server-artifacts-generator\wsimport\wsgen\generated\classes\com\documentum\verinon\ws\CustomDFSWebService.class)"
[generateArtifacts] || Caused by: Error starting wsgen:
[generateArtifacts] || Caused by: Unable to create JAXBContext
[generateArtifacts] || Caused by: null
[generateArtifacts] || Caused by: 2 counts of IllegalAnnotationExceptions


BUILD FAILED
C:\composerworkspace\DocumentumCoreProject\dfs6.5\dfs-build.xml:191: Failed generating a full set of DFS service artifacts for model file: "C:\composerworkspace\DocumentumCustomServices\Web Services\bin\gen-src\custom-collection-service-model.xml"


Total time: 20 seconds

thanks in advance,

Srini

Comments

  • edited June 3, 2011

    Hi,

    There is probably an error in your code as highlighted by [generateArtifacts] || Caused by: 2 counts of IllegalAnnotationExceptions.

    Check the code and see if there are any odd or poor annotations in your code.

    Also take a look at the composer logs to see if you get more information in there [the manual details what they are and where to find them].

  • edited June 3, 2011

    hi andy,

                   Thanks for your reply. I will go through my custom service code. I will check.

    Thanks,

    Srini

  • satyamvinodhsatyamvinodh Satyam Vinodh
    Hi Ramachandran,

    I am facing the same issue for my custom webservice.
    Any suggestion on what could be the issue? or where to look for troubleshooting??

    Thank you in advance.

    Regards,
    Vinodh
Sign In or Register to comment.