工作流方法中的D2FS

时间:2014-07-01 13:17:20

标签: jboss documentum emc

我正在尝试在工作流方法中使用D2FS服务,但我收到以下错误:

Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
    Two classes have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them.
        this problem is related to the following location:
            at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address
            at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr
            at com.sun.xml.ws.developer.MemberSubmissionEndpointReference
        this problem is related to the following location:
            at javax.xml.ws.wsaddressing.W3CEndpointReference$Address
            at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address
            at javax.xml.ws.wsaddressing.W3CEndpointReference
    Two classes have the same XML type name "elements". Use @XmlType.name and @XmlType.namespace to assign different names to them.
        this problem is related to the following location:
            at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements
            at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties
            at com.sun.xml.ws.developer.MemberSubmissionEndpointReference
        this problem is related to the following location:
            at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements
            at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParameters
            at javax.xml.ws.wsaddressing.W3CEndpointReference

我尝试更新jaxws-rt库并开始收到新错误:

java.lang.LinkageError: ClassException: attempting to castjar:file:/C:/Documentum/jboss4.3.0/server/DctmServer_MethodServer/deploy/bpm.ear/APP-INF/lib/jaxws-api.jar!/javax/xml/ws/spi/Provider.classtojar:file:/C:/Documentum/jboss4.3.0/jdk/jre/lib/rt.jar!/javax/xml/ws/spi/Provider.class
    at javax.xml.ws.spi.Provider.provider(Provider.java:94)
    at javax.xml.ws.Service.<init>(Service.java:56)
    at com.emc.d2fs.schemas.models.ModelPortService.<init>(ModelPortService.java:46)
    at com.emc.cgd.methodsWorkflow.DispatchExtStorageUpdateData.doTask(DispatchExtStorageUpdateData.java:45)
    at com.documentum.bpm.rtutil.WorkflowMethod.execute(WorkflowMethod.java:214)
    at com.documentum.bpm.rtutil.AbstractWorkflowMethod.executeMethod(AbstractWorkflowMethod.java:27)
    at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:124)
    at com.documentum.bpm.rtutil.GenericWorkflowMethod.execute(GenericWorkflowMethod.java:65)
    at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
    at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)

知道怎么解决吗?

我正在使用:

  • JBoss 4.3
  • JAX-WS Implementation 2.2

由于

1 个答案:

答案 0 :(得分:1)

在tomcat上我必须将以下jar添加到tomcat lib:

  • JAXWS-api.jar文件
  • jaxws-rt.jar
  • STAX-ex.jar
  • streambuffer.jar

也许这会解决jBoss上的问题。