<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Custom DFS service development. Java client. Part 2.</title>
	<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/</link>
	<description>Documentum Foundation Services</description>
	<pubDate>Fri, 21 Nov 2008 17:39:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: polekt</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-60</link>
		<dc:creator>polekt</dc:creator>
		<pubDate>Thu, 06 Mar 2008 19:14:20 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-60</guid>
		<description>What should CLASSPATH be to run HelloWorldClient once compiled? I want to run it from a command prompt on my local PC to access the remote service on a Windows 2003 server.

I'm getting the following when I try to run it:
Exception in thread "main" java.lang.NoClassDefFoundError: org/aspectj/lang/Signature
        at HelloWorldClient.main(HelloWorldClient.java:15)

Thanks, Tom
polekt@wyeth.com
484-865-5696</description>
		<content:encoded><![CDATA[<p>What should CLASSPATH be to run HelloWorldClient once compiled? I want to run it from a command prompt on my local PC to access the remote service on a Windows 2003 server.</p>
<p>I&#8217;m getting the following when I try to run it:<br />
Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: org/aspectj/lang/Signature<br />
        at HelloWorldClient.main(HelloWorldClient.java:15)</p>
<p>Thanks, Tom<br />
<a href="mailto:polekt@wyeth.com">polekt@wyeth.com</a><br />
484-865-5696</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mthx</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-50</link>
		<dc:creator>mthx</dc:creator>
		<pubDate>Tue, 19 Feb 2008 08:10:03 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-50</guid>
		<description>Hi again
I think I have tracked down the problem to be something in the build.xml - file around the 'compile' - target, as running 'ant compile' yields same error-message.
I then tracked down the javac.exe functionality, and this seems to works, as I can 'compile' the client-program by hand, if I add the needed classes to ClassPath.

Any hints ??</description>
		<content:encoded><![CDATA[<p>Hi again<br />
I think I have tracked down the problem to be something in the build.xml - file around the &#8216;compile&#8217; - target, as running &#8216;ant compile&#8217; yields same error-message.<br />
I then tracked down the javac.exe functionality, and this seems to works, as I can &#8216;compile&#8217; the client-program by hand, if I add the needed classes to ClassPath.</p>
<p>Any hints ??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: karthick</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-46</link>
		<dc:creator>karthick</dc:creator>
		<pubDate>Mon, 18 Feb 2008 05:55:37 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-46</guid>
		<description>Hi craig,
  I have deployed helloworld dfs service in weblogic server.i could successfully execute it from eclipse environment.when i tried to invoke from jsp page it throws a 
server side exception as
----------------------------
Failed to read a response: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.datamodel.
core.context.Identity
 - with linked exception:
[java.lang.InstantiationException]]
        at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:241)
        at com.sun.xml.ws.server.sei.SEIInvokerPipe.process(SEIInvokerPipe.java:97)
        at com.sun.xml.ws.protocol.soap.ServerMUPipe.process(ServerMUPipe.java:62)
        at com.sun.xml.ws.server.WSEndpointImpl$1.process(WSEndpointImpl.java:139)
        at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:151)
        at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:223)
        at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:97)
        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:161
)
        at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:49)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.
java:225)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
ontext.java:3214)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1
983)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.datamodel.
core.context.Identity
 - with linked exception:
[java.lang.InstantiationException]]
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(Unmarshal
lerImpl.java:396)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.jav
a:335)
        at com.sun.xml.bind.v2.runtime.BridgeImpl.unmarshal(BridgeImpl.java:84)
        at com.sun.xml.bind.api.Bridge.unmarshal(Bridge.java:197)
        at com.sun.xml.bind.api.Bridge.unmarshal(Bridge.java:189)
        at com.sun.xml.ws.server.sei.EndpointArgumentsBuilder$DocLit.readRequest(EndpointArgumentsBu
ilder.java:462)
        at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:239)
        ... 22 more
Caused by: javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.
datamodel.core.context.Identity
 - with linked exception:
[java.lang.InstantiationException]
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingCo
ntext.java:556)
        at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:199)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(Unmarshallin
gContext.java:523)
        at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.jav
a:145)
        at com.sun.xml.bind.v2.runtime.unmarshaller.XsiTypeLoader.startElement(XsiTypeLoader.java:37
)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(Unmarshalling
Context.java:402)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingC
ontext.java:380)
        at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStrea
mConnector.java:208)
        at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.j
ava:142)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.jav
a:333)
        ... 27 more
Caused by: javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.
datamodel.core.context.Identity
 - with linked exception:
[java.lang.InstantiationException]
        ... 37 more
Caused by: java.lang.InstantiationException
        at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExcept
ionConstructorAccessorImpl.java:30)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at com.sun.xml.bind.v2.ClassFactory.create0(ClassFactory.java:83)
        at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.createInstance(ClassBeanInfoImpl.java:221)
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(Unmarshallin
gContext.java:517)
        ... 34 more

and client side exception as:
--------------------------------
com.emc.documentum.fs.rt.ServiceRegistrationException: Failed registering servic
e context to: "http://192.168.1.76:7001/services/example/".
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(
RemoteContextRegistry.java:58)
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto
ry.java:106)
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto
ry.java:95)
        at com.client.example.HelloWorldClient.hello(HelloWorldClient.java:29)
        at jsp_servlet.__index._jspService(__index.java:101)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:226)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:124)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:283)
        at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet
StubImpl.java:391)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:309)
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
        at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlow
PageFilter.java:385)
        at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlo
wPageFilter.java:284)
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja
va:42)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3368)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2117)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2023)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: javax.xml.ws.soap.SOAPFaultException: Failed to read a response: java
x.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.docu
mentum.fs.datamodel.core.context.Identity
 - with linked exception:
[java.lang.InstantiationException]]
        at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.jav
a:160)
        at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilde
r.java:83)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:248)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:212)
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:105)
        at $Proxy74.register(Unknown Source)
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(
RemoteContextRegistry.java:50)
        ... 23 more

i need ur help

thanks
karthick s</description>
		<content:encoded><![CDATA[<p>Hi craig,<br />
  I have deployed helloworld dfs service in weblogic server.i could successfully execute it from eclipse environment.when i tried to invoke from jsp page it throws a<br />
server side exception as<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
Failed to read a response: javax.xml.bind.UnmarshalException<br />
 - with linked exception:<br />
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.datamodel.<br />
core.context.Identity<br />
 - with linked exception:<br />
[java.lang.InstantiationException]]<br />
        at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:241)<br />
        at com.sun.xml.ws.server.sei.SEIInvokerPipe.process(SEIInvokerPipe.java:97)<br />
        at com.sun.xml.ws.protocol.soap.ServerMUPipe.process(ServerMUPipe.java:62)<br />
        at com.sun.xml.ws.server.WSEndpointImpl$1.process(WSEndpointImpl.java:139)<br />
        at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:151)<br />
        at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:223)<br />
        at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:97)<br />
        at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:161<br />
)<br />
        at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:49)<br />
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)<br />
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br />
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.<br />
java:225)<br />
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)<br />
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)<br />
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)<br />
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC<br />
ontext.java:3214)<br />
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)<br />
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)<br />
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1<br />
983)<br />
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)<br />
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)<br />
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)<br />
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)<br />
Caused by: javax.xml.bind.UnmarshalException<br />
 - with linked exception:<br />
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.datamodel.<br />
core.context.Identity<br />
 - with linked exception:<br />
[java.lang.InstantiationException]]<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(Unmarshal<br />
lerImpl.java:396)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.jav<br />
a:335)<br />
        at com.sun.xml.bind.v2.runtime.BridgeImpl.unmarshal(BridgeImpl.java:84)<br />
        at com.sun.xml.bind.api.Bridge.unmarshal(Bridge.java:197)<br />
        at com.sun.xml.bind.api.Bridge.unmarshal(Bridge.java:189)<br />
        at com.sun.xml.ws.server.sei.EndpointArgumentsBuilder$DocLit.readRequest(EndpointArgumentsBu<br />
ilder.java:462)<br />
        at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:239)<br />
        &#8230; 22 more<br />
Caused by: javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.<br />
datamodel.core.context.Identity<br />
 - with linked exception:<br />
[java.lang.InstantiationException]<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingCo<br />
ntext.java:556)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:199)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(Unmarshallin<br />
gContext.java:523)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.startElement(StructureLoader.jav<br />
a:145)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.XsiTypeLoader.startElement(XsiTypeLoader.java:37<br />
)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(Unmarshalling<br />
Context.java:402)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingC<br />
ontext.java:380)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.handleStartElement(StAXStrea<br />
mConnector.java:208)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.j<br />
ava:142)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.jav<br />
a:333)<br />
        &#8230; 27 more<br />
Caused by: javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.documentum.fs.<br />
datamodel.core.context.Identity<br />
 - with linked exception:<br />
[java.lang.InstantiationException]<br />
        &#8230; 37 more<br />
Caused by: java.lang.InstantiationException<br />
        at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExcept<br />
ionConstructorAccessorImpl.java:30)<br />
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)<br />
        at com.sun.xml.bind.v2.ClassFactory.create0(ClassFactory.java:83)<br />
        at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.createInstance(ClassBeanInfoImpl.java:221)<br />
        at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.createInstance(Unmarshallin<br />
gContext.java:517)<br />
        &#8230; 34 more</p>
<p>and client side exception as:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
com.emc.documentum.fs.rt.ServiceRegistrationException: Failed registering servic<br />
e context to: &#8220;http://192.168.1.76:7001/services/example/&#8221;.<br />
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(<br />
RemoteContextRegistry.java:58)<br />
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto<br />
ry.java:106)<br />
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto<br />
ry.java:95)<br />
        at com.client.example.HelloWorldClient.hello(HelloWorldClient.java:29)<br />
        at jsp_servlet.__index._jspService(__index.java:101)<br />
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)<br />
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run<br />
(StubSecurityHelper.java:226)<br />
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri<br />
tyHelper.java:124)<br />
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav<br />
a:283)<br />
        at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet<br />
StubImpl.java:391)<br />
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav<br />
a:309)<br />
        at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)<br />
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja<br />
va:42)<br />
        at org.apache.beehive.netui.pageflow.PageFlowPageFilter.runPage(PageFlow<br />
PageFilter.java:385)<br />
        at org.apache.beehive.netui.pageflow.PageFlowPageFilter.doFilter(PageFlo<br />
wPageFilter.java:284)<br />
        at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.ja<br />
va:42)<br />
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio<br />
n.run(WebAppServletContext.java:3368)<br />
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate<br />
dSubject.java:321)<br />
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)<br />
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS<br />
ervletContext.java:2117)<br />
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC<br />
ontext.java:2023)<br />
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j<br />
ava:1359)<br />
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)<br />
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)<br />
Caused by: javax.xml.ws.soap.SOAPFaultException: Failed to read a response: java<br />
x.xml.bind.UnmarshalException<br />
 - with linked exception:<br />
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.docu<br />
mentum.fs.datamodel.core.context.Identity<br />
 - with linked exception:<br />
[java.lang.InstantiationException]]<br />
        at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.jav<br />
a:160)<br />
        at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilde<br />
r.java:83)<br />
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.<br />
java:248)<br />
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.<br />
java:212)<br />
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:105)<br />
        at $Proxy74.register(Unknown Source)<br />
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(<br />
RemoteContextRegistry.java:50)<br />
        &#8230; 23 more</p>
<p>i need ur help</p>
<p>thanks<br />
karthick s</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mthx</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-37</link>
		<dc:creator>mthx</dc:creator>
		<pubDate>Thu, 14 Feb 2008 22:26:52 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-37</guid>
		<description>hi,

I have succeeded to deploy the example, but running the client generatess an exception:

C:\Download\DFS\6.0\emc-dfs-sdk-6.0\samples\HelloWorldService&#62;ant run.client
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_13\lib\tools.jar
Buildfile: build.xml
     [echo] EMC DFS SDK 6.0 home is '../..'
     [echo] This project home is 'C:\Download\DFS\6.0\emc-dfs-sdk-6.0\samples\HelloWorldService'--beware spaces in this path (JDK issues).

run.client:
     [echo] Run the Test Solution (Service + Remote Client) remote client
     [java] java.lang.NoClassDefFoundError: com/client/example/HelloWorldClient
     [java] Exception in thread "main"
     [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 1 second
C:\Download\DFS\6.0\emc-dfs-sdk-6.0\samples\HelloWorldService&#62;

I can't spot the problem.

Do you have any suggestions ??


best regards

Martin</description>
		<content:encoded><![CDATA[<p>hi,</p>
<p>I have succeeded to deploy the example, but running the client generatess an exception:</p>
<p>C:\Download\DFS\6.0\emc-dfs-sdk-6.0\samples\HelloWorldService&gt;ant run.client<br />
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_13\lib\tools.jar<br />
Buildfile: build.xml<br />
     [echo] EMC DFS SDK 6.0 home is &#8216;../..&#8217;<br />
     [echo] This project home is &#8216;C:\Download\DFS\6.0\emc-dfs-sdk-6.0\samples\HelloWorldService&#8217;&#8211;beware spaces in this path (JDK issues).</p>
<p>run.client:<br />
     [echo] Run the Test Solution (Service + Remote Client) remote client<br />
     [java] java.lang.NoClassDefFoundError: com/client/example/HelloWorldClient<br />
     [java] Exception in thread &#8220;main&#8221;<br />
     [java] Java Result: 1</p>
<p>BUILD SUCCESSFUL<br />
Total time: 1 second<br />
C:\Download\DFS\6.0\emc-dfs-sdk-6.0\samples\HelloWorldService&gt;</p>
<p>I can&#8217;t spot the problem.</p>
<p>Do you have any suggestions ??</p>
<p>best regards</p>
<p>Martin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sakthidassan</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-33</link>
		<dc:creator>sakthidassan</dc:creator>
		<pubDate>Mon, 11 Feb 2008 11:35:30 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-33</guid>
		<description>craig

Having the above code as a model i created a custom model. I was able to generare the ear file for deploying in the server.  When I ran the client in Weblogic portal server 10. i got the following exception in the client side.
com.emc.documentum.fs.rt.ServiceRegistrationException: Failed registering servic
e context to: "http://192.168.1.81:7001/services/fff/".
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(
RemoteContextRegistry.java:58)
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto
ry.java:106)
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto
ry.java:95)
        at com.emc.documentum.fs.doc.samples.client.testmyportfolio.testmyportfo
li(testmyportfolio.java:60)
        at jsp_servlet.__index._jspService(__index.java:99)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:226)
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:124)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:283)
        at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet
StubImpl.java:391)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:309)
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:175)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:3370)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS
ervletContext.java:2117)
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC
ontext.java:2023)
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j
ava:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Caused by: javax.xml.ws.soap.SOAPFaultException: Failed to read a response: java
x.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.docu
mentum.fs.datamodel.core.context.Identity
 - with linked exception:
[java.lang.InstantiationException]]
        at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.jav
a:160)
        at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilde
r.java:83)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:248)
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
java:212)
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:105)
        at $Proxy113.register(Unknown Source)
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(
RemoteContextRegistry.java:50)
        ... 19 more
===============================================

In the server side It threw the Following exception

Failed to read a response: javax.xml.bind.UnmarshalException
 - with linked exception:
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.docu
mentum.fs.datamodel.core.context.Identity
 - with linked exception:
[java.lang.InstantiationException]]

Any Suggestion</description>
		<content:encoded><![CDATA[<p>craig</p>
<p>Having the above code as a model i created a custom model. I was able to generare the ear file for deploying in the server.  When I ran the client in Weblogic portal server 10. i got the following exception in the client side.<br />
com.emc.documentum.fs.rt.ServiceRegistrationException: Failed registering servic<br />
e context to: &#8220;http://192.168.1.81:7001/services/fff/&#8221;.<br />
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(<br />
RemoteContextRegistry.java:58)<br />
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto<br />
ry.java:106)<br />
        at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFacto<br />
ry.java:95)<br />
        at com.emc.documentum.fs.doc.samples.client.testmyportfolio.testmyportfo<br />
li(testmyportfolio.java:60)<br />
        at jsp_servlet.__index._jspService(__index.java:99)<br />
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)<br />
        at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run<br />
(StubSecurityHelper.java:226)<br />
        at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri<br />
tyHelper.java:124)<br />
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav<br />
a:283)<br />
        at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(Servlet<br />
StubImpl.java:391)<br />
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav<br />
a:309)<br />
        at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav<br />
a:175)<br />
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio<br />
n.run(WebAppServletContext.java:3370)<br />
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate<br />
dSubject.java:321)<br />
        at weblogic.security.service.SecurityManager.runAs(Unknown Source)<br />
        at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppS<br />
ervletContext.java:2117)<br />
        at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletC<br />
ontext.java:2023)<br />
        at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.j<br />
ava:1359)<br />
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)<br />
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)<br />
Caused by: javax.xml.ws.soap.SOAPFaultException: Failed to read a response: java<br />
x.xml.bind.UnmarshalException<br />
 - with linked exception:<br />
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.docu<br />
mentum.fs.datamodel.core.context.Identity<br />
 - with linked exception:<br />
[java.lang.InstantiationException]]<br />
        at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.jav<br />
a:160)<br />
        at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilde<br />
r.java:83)<br />
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.<br />
java:248)<br />
        at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.<br />
java:212)<br />
        at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:105)<br />
        at $Proxy113.register(Unknown Source)<br />
        at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(<br />
RemoteContextRegistry.java:50)<br />
        &#8230; 19 more<br />
===============================================</p>
<p>In the server side It threw the Following exception</p>
<p>Failed to read a response: javax.xml.bind.UnmarshalException<br />
 - with linked exception:<br />
[javax.xml.bind.UnmarshalException: Unable to create an instance of com.emc.docu<br />
mentum.fs.datamodel.core.context.Identity<br />
 - with linked exception:<br />
[java.lang.InstantiationException]]</p>
<p>Any Suggestion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sylvia</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-30</link>
		<dc:creator>sylvia</dc:creator>
		<pubDate>Wed, 23 Jan 2008 19:18:01 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-30</guid>
		<description>craig,
good point! for some reason I got a different error today (authentication failed)．So I checked the server side exception, and found it was looking for docbroker on 192.168.0.100:1489. After some search, it was hard coded somewhere in weblogic's dfc.properties... I probably had missed something during installation. but anyway. thank you, it's working now! yay!</description>
		<content:encoded><![CDATA[<p>craig,<br />
good point! for some reason I got a different error today (authentication failed)．So I checked the server side exception, and found it was looking for docbroker on 192.168.0.100:1489. After some search, it was hard coded somewhere in weblogic&#8217;s dfc.properties&#8230; I probably had missed something during installation. but anyway. thank you, it&#8217;s working now! yay!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-28</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 23 Jan 2008 14:50:24 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-28</guid>
		<description>Sylvia,

Can you see if there are any server side exceptions in the time of registering service context ? In other words do you get client side or server side exception ?</description>
		<content:encoded><![CDATA[<p>Sylvia,</p>
<p>Can you see if there are any server side exceptions in the time of registering service context ? In other words do you get client side or server side exception ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sylvia</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-25</link>
		<dc:creator>sylvia</dc:creator>
		<pubDate>Wed, 23 Jan 2008 05:33:09 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-25</guid>
		<description>hi me again.. 
I deployed example.ear to weblogic/DM6 server and I am able to see 
three web services HelloWorldService, AgentService, ContextRegistryService active in
http://10.200.65.193:7001/services/example/HelloWorldService

however when I run the client application 
I got

[javac] Compiling 1 source file to C:\emc-dfs-sdk-6.0\samples\HelloWorldService\build\classes
run.client:
     [echo] Run the Test Solution (Service + Remote Client) remote client
     [java] com.emc.documentum.fs.rt.ServiceRegistrationException: Failed registering service context to: "http://10.200.65.193:7001/services/example/".
     [java] at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(RemoteContextRegistry.java:58)
     [java] at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFactory.java:106)
     [java] at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFactory.java:95)
     [java] at com.client.example.HelloWorldClient.main(HelloWorldClient.java:32)
     [java] Caused by: javax.xml.ws.soap.SOAPFaultException: java.lang.NoClassDefFoundError
     [java] at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:160)
     [java] at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:83)
     [java] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:248)
     [java] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:212)
     [java] at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:105)
     [java] at $Proxy26.register(Unknown Source)
     [java] at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(RemoteContextRegistry.java:50)
     [java] ... 3 more
run:
BUILD SUCCESSFUL
Total time: 4 seconds

Please help..</description>
		<content:encoded><![CDATA[<p>hi me again..<br />
I deployed example.ear to weblogic/DM6 server and I am able to see<br />
three web services HelloWorldService, AgentService, ContextRegistryService active in<br />
<a href="http://10.200.65.193:7001/services/example/HelloWorldService" rel="nofollow">http://10.200.65.193:7001/services/example/HelloWorldService</a></p>
<p>however when I run the client application<br />
I got</p>
<p>[javac] Compiling 1 source file to C:\emc-dfs-sdk-6.0\samples\HelloWorldService\build\classes<br />
run.client:<br />
     [echo] Run the Test Solution (Service + Remote Client) remote client<br />
     [java] com.emc.documentum.fs.rt.ServiceRegistrationException: Failed registering service context to: &#8220;http://10.200.65.193:7001/services/example/&#8221;.<br />
     [java] at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(RemoteContextRegistry.java:58)<br />
     [java] at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFactory.java:106)<br />
     [java] at com.emc.documentum.fs.rt.context.ContextFactory.register(ContextFactory.java:95)<br />
     [java] at com.client.example.HelloWorldClient.main(HelloWorldClient.java:32)<br />
     [java] Caused by: javax.xml.ws.soap.SOAPFaultException: java.lang.NoClassDefFoundError<br />
     [java] at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:160)<br />
     [java] at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:83)<br />
     [java] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:248)<br />
     [java] at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:212)<br />
     [java] at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:105)<br />
     [java] at $Proxy26.register(Unknown Source)<br />
     [java] at com.emc.documentum.fs.rt.context.impl.RemoteContextRegistry.register(RemoteContextRegistry.java:50)<br />
     [java] &#8230; 3 more<br />
run:<br />
BUILD SUCCESSFUL<br />
Total time: 4 seconds</p>
<p>Please help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DFS tutorial</title>
		<link>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-10</link>
		<dc:creator>DFS tutorial</dc:creator>
		<pubDate>Thu, 17 Jan 2008 06:14:14 +0000</pubDate>
		<guid>http://www.dfsnotes.com/2007/11/20/custom-dfs-service-development-java-client-part-2/#comment-10</guid>
		<description>[...] Part 2 - Java client creation [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Part 2 - Java client creation [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
