Build Failed error in Composer
Hi,
We are getting build failed error in Composer. Kindly help to resolve the issue.
Buildfile: C:\DFS_Workspace\DocumentumCoreProject\dfs7.1\dfs-build.xml |
---|
[echo] defaultclasspath is C:\DFS_Workspace\DocumentumCoreProject\dfs7.1\emc-dfs-sdk-7.1\lib\java\jaxws\FastInfoset.jar |
[echo] projectclasspath is emc-dfs-sdk-7.1/lib/java/emc-dfs-services.jar |
[echo] default_project_libraries is C:\DFS_Workspace\DocumentumCoreProject\dfs7.1 |
[echo] project_libraries.path is C:\DFS_Workspace\DocumentumCoreProject\dfs7.1 |
[echo] default_project_resources is C:\DFS_Workspace\DocumentumCoreProject\dfs7.1 |
[echo] project_resources.path is C:\DFS_Workspace\DocumentumCoreProject\dfs7.1 |
generate: |
[generateModel] Creating 'services-TCLDMSSFDCService-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] C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\src\com\tcl\webservices\ConnectionHelper.java:13: error: package oracle.sql does not exist |
[generateArtifacts] import oracle.sql.CLOB |
[generateArtifacts] ^ |
[generateArtifacts] C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\src\com\tcl\webservices\ConnectionHelper.java:186: error: cannot find symbol |
[generateArtifacts] public CLOB getCLOB(String clobData, Connection conn) throws Exception { |
[generateArtifacts] ^ |
[generateArtifacts] symbol: class CLOB |
[generateArtifacts] location: class ConnectionHelper |
[generateArtifacts] C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\src\com\tcl\webservices\ConnectionHelper.java:142: error: cannot find symbol |
[generateArtifacts] CLOB clobData = getCLOB(request_recived, con) |
[generateArtifacts] ^ |
[generateArtifacts] symbol: class CLOB |
[generateArtifacts] location: class ConnectionHelper |
[generateArtifacts] C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\src\com\tcl\webservices\ConnectionHelper.java:187: error: cannot find symbol |
[generateArtifacts] CLOB tempClob = null |
[generateArtifacts] ^ |
[generateArtifacts] symbol: class CLOB |
[generateArtifacts] location: class ConnectionHelper |
[generateArtifacts] C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\src\com\tcl\webservices\ConnectionHelper.java:190: error: cannot find symbol |
[generateArtifacts] tempClob = CLOB.createTemporary(conn, true, 10) |
[generateArtifacts] ^ |
[generateArtifacts] symbol: variable CLOB |
[generateArtifacts] location: class ConnectionHelper |
[generateArtifacts] Note: C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\src\com\tcl\webservices\SchemaService.java uses or overrides a deprecated API. |
[generateArtifacts] Note: Recompile with -Xlint:deprecation for details. |
[generateArtifacts] 5 errors |
[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:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\bin\gen-src\services-TCLDMSSFDCService-service-model.xml" |
[generateArtifacts] || Caused by: Failed generating a full set of DFS service artifacts for model file: "C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\bin\gen-src\services-TCLDMSSFDCService-service-model.xml" |
[generateArtifacts] || Caused by: Compile failed |
BUILD FAILED |
C:\DFS_Workspace\DocumentumCoreProject\dfs7.1\dfs-build.xml:190: Failed generating a full set of DFS service artifacts for model file: "C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\bin\gen-src\services-TCLDMSSFDCService-service-model.xml" |
Total time: 2 seconds |
Comments
-
First error is failure to create java code from your services definition file (WSDL) "services-TCLDMSSFDCService-service-model.xml"
generate:
[generateModel] Creating 'services-TCLDMSSFDCService-service-model.xml'
[generateArtifacts] Generating DFS artifacts
[generateArtifacts] Generating JAXWS artifacts (wsgen & wsimport)
[generateArtifacts] C:\DFS_Workspace\TCLDMSSFDCServiceProject_72\Web Services\src\com\tcl\webservices\ConnectionHelper.java:13: error: package oracle.sql does not exist
At a guess you are using a modern Java (Java 11, 17, 21) where this package is not included.
For DFS 7.1, you need Java 6 JDK, to generate the java code from WSDL file.
After the web service code has been generated, THEN you can compile it with Java 8, or modern Java (Java 11, 17, 21) in Java 8 compatibility mode.
Regards
Brian
Brian Dinneen
Documentum Designated Support EngineerIt is at least 15 years since I did Webtop development, but as there are still development requests ...
When developing something new, I searched for something similar in webtop, to see how that was put together.
When I was a Webtop developer I created a source code reference from:
- unzip webtop.war
- decompile the java in from webtop war
unzip the unstripped.jar from webtop war
- It is easier to read and use well formatted and commented code
unzip wdk.war over above
- again It is easier to read and use well formatted and commented code
unzip any source code from wdk.war
There are development and reference guides, but nothing beats source code.
Documentation and software (wars files and patches) can be downloaded from product pages in support portal
Documentum Web Development Kit
Documentum Webtop
0 -
Hi Brian,
Ok, I will install the JDK 6 and check.
0
Categories
- All Categories
- 122 Developer Announcements
- 52 Articles
- 148 General Questions
- 146 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 83 Digital Asset Management
- 9.4K Documentum
- 30 eDOCS
- 178 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories