I am trying to configure zipservice () from the Component Exchange. I completed all the steps listed in the document and tested the service using the text utility provided in the program. It works fine and the zip file is getting created.
But when I try to launch it using WDK. I get the following error.
Unresolved compilation problems:
The import com.documentum.devprog.common.zip cannot be resolved
The import com.documentum.devprog.autonaming cannot be resolved
IDpAutoNamingService cannot be resolved to a type
IDpAutoNamingService cannot be resolved to a type
IDpAutoNamingService cannot be resolved to a type
IDpZipService cannot be resolved to a type
IDpZipService cannot be resolved to a type
IDpZipService cannot be resolved to a type
DpAutoNamingServiceException cannot be resolved to a type
dapnse cannot be resolved
After closing this window, press the Refresh or Reload button on your browser to continue.
Hide Details
Stack Trace:
java.lang.Error: Unresolved compilation problems:
The import com.documentum.devprog.common.zip cannot be resolved
The import com.documentum.devprog.autonaming cannot be resolved
IDpAutoNamingService cannot be resolved to a type
IDpAutoNamingService cannot be resolved to a type
IDpAutoNamingService cannot be resolved to a type
IDpZipService cannot be resolved to a type
IDpZipService cannot be resolved to a type
IDpZipService cannot be resolved to a type
DpAutoNamingServiceException cannot be resolved to a type
dapnse cannot be resolved
at com.basf.action.AddToZip.<init>(AddToZip.java:21)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessor
Impl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor
AccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.documentum.web.formext.action.ActionService.newInstance(ActionService.java:
421)
at com.documentum.web.formext.action.ActionService.access$000(ActionService.java:4
8)
at com.documentum.web.formext.action.ActionService$ActionDef.<init>(ActionSe
rvice.java:664)
at com.documentum.web.formext.action.ActionService.getActionDef(ActionService.java
:176)
at com.documentum.web.formext.control.action.ActionMultiselect.getMultiselectActio
nExecuteTable(ActionMultiselect.java:429)
at com.documentum.web.formext.control.action.ActionMultiselectTag.renderEnd(Action
MultiselectTag.java:184)
at com.documentum.web.form.ControlTag.doEndTag(ControlTag.java:792)
at org.apache.jsp.custom.basfobjectlist.objectlist_jsp._jspService(objectlist_jsp.
java:738)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
terChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav
a:704)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.
java:590)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.ja
va:510)
at com.documentum.web.form.FormProcessor.dispatchURL(FormProcessor.java:2040)
at com.documentum.web.formext.component.URLDispatchBridge.dispatch(URLDispatchBrid
ge.java:107)
at com.documentum.web.formext.component.ComponentDispatcher.mapRequestToComponent(
ComponentDispatcher.java:475)
at com.documentum.web.formext.component.ComponentDispatcher.doGet(ComponentDispatc
her.java:329)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at com.documentum.web.formext.component.ComponentDispatcher.doService(ComponentDis
patcher.java:303)
at com.documentum.web.formext.component.ComponentDispatcher.serviceAsNonController
(ComponentDispatcher.java:141)
at com.documentum.web.formext.component.ComponentDispatcher.service(ComponentDispa
tcher.java:122)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
terChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
.java:157)
at com.documentum.web.servlet.CompressionFilter.doFilter(CompressionFilter.java:89
)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
terChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
.java:157)
at com.documentum.web.env.WDKController.processRequest(WDKController.java:95)
at com.documentum.web.env.WDKController.doFilter(WDKController.java:83)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil
terChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain
.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j
ava:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextVal
ve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j
ava:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j
ava:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j
ava:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:10
9)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.j
ava:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnecti
on(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:6
83)
at java.lang.Thread.run(Thread.java:595)
I think the application server is not able to find the following jar file and thus the error. I put the jar file path in the Class path (System>>Advanced >> Environment Variable >> Claspath) and tried to run it but it was not working. I get the same error.
I found this thread () and tried by keeping all the jar files under my "C:\jars\" and edited "C:\tomcat\bin\catalina.bat"
<![CDATA[rem ----- The next two lines were added by a Documentum installer - please do not remove this comment ----- \\ set CATALINA_OPTS=%CATALINA_OPTS% -Djava.library.path="C:\Program Files\Documentum\shared" -Xms256m -Xmx256m -verbose:gc \\ set CLASSPATH=*C:\jars\deepExportservice.jar;C:\jars\autoNamingService.jar;C:\jars\z \\ ipService.jar;*C:\Program Files\Documentum\shared\DmcRecords.jar;C:\Program Files\Documentum\shared\messageArchive.jar;C:\Program Files\Documentum\shared\messageService.jar;C:\Program Files\Documentum\shared\bpmutil.jar;C:\Program Files\Documentum\shared\ctsTransformImpl.jar;C:\Program Files\Documentum\shared\ctsTransform.jar;C:\Program Files\Documentum\shared\collaboration.jar;C:\Program Files\Documentum\shared\ci.jar;C:\Program Files\Documentum\shared\castor-0.9.5.2.jar;C:\Program Files\Documentum\shared\commons-jxpath-1.1.jar;C:\Program Files\Documentum\shared\XformsCommon.jar;C:\Program Files\Documentum\shared\xforms.jar;C:\Program Files\Documentum\shared\subscription.jar;C:\Program Files\Documentum\shared\workflow.jar;C:\Program Files\Documentum\shared\xml-apis.jar;C:\Program Files\Documentum\shared\xalan.jar;C:\Program Files\Documentum\shared\log4j.jar;C:\Program Files\Documentum\shared\bsf.jar;C:\Program Files\Documentum\shared\All-MB.jar;C:\Program Files\Documentum\shared\xtrim-api.jar;C:\Program Files\Documentum\shared\dfcbase.jar;C:\Program Files\Documentum\shared\dfc.jar;C:\Documentum\config;%CLASSPATH% \\ rem ----- Execute The Requested Command --------------------------------------- \\ ]]>
Still it is not working, I get the same error. What am I doing wrong? Am I missing something?I put the jar file under C:\tomcat\webapps\webtop\WEB-INF\lib, C:\tomcat\common\lib and C:\tomcat\shared\lib also.