[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cosmos-dev] RE: fix for fed. CMDB
|
MDRs and Federating CMDBs are uniquely
identified by URIs. We modeled data managers differently obviously
because that is a COSMOS entity. But in CMDBf, URIs are used as the primary
key of an MDR or fCMDB. So we could strive for internal consistency,
but in reality we still need the URI info for the CMDBf related constructs.
Can you get the URI information we need out of the EPR? Is
this a case where it makes sense to provide two versions of the API?
David
"Muldoon, William
H" <William.Muldoon@xxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx
02/27/2008 03:09 PM
Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx> |
|
To
| "Cosmos Dev" <cosmos-dev@xxxxxxxxxxx>,
"Ali Mehregani" <amehrega@xxxxxxxxxx>
|
cc
|
|
Subject
| RE: [cosmos-dev] RE: fix for fed. CMDB |
|
David
I think we have two issues:
The first is whether to use
URIs or EPRs in our interfaces.
The second is being consistent
in our interfaces across COSMOS. In this case, the register and deregister
interfaces should be consistent within the Federating CMDB client. And
the Federating CMDB client interface should be consistent with the other
COSMOS client interfaces.
Note that the Data Manager
Client and MDRClient interfaces use EPRs.
Regards
Bill
From: cosmos-dev-bounces@xxxxxxxxxxx
[mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of David Whiteman
Sent: Wednesday, February 27, 2008 10:39 AM
To: Ali Mehregani
Cc: cosmos-dev@xxxxxxxxxxx
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
I agree with Ali's suggestion of using URIs in the deregister() signature.
CC'ing cosmos-dev to open up the discussion.
David
Ali Mehregani <amehrega@xxxxxxxxxx>
02/27/2008 10:28 AM
|
To
| "Muldoon, William H"
<William.Muldoon@xxxxxx>
|
cc
| David Whiteman/Raleigh/IBM@IBMUS, Hubert
H Leung <hkyleung@xxxxxxxxxx>, "Devine, John T" <John.Devine@xxxxxx>,
"Saurabh Dravid" <sadravid@xxxxxxxxxx>, Tania N Makins/Durham/IBM@IBMUS,
Mark D Weitzel/Raleigh/IBM@IBMUS
|
Subject
| RE: [cosmos-dev] RE: fix for fed. CMDB |
|
Bill,
An end point reference is used to locate an MDR whereas the ID is a URI
used to uniquely distinguish an MDR in a federating CMDB environment. The
former is defined by COSMOS and the latter is described in the CMDBf specification.
It perhaps makes sense to change the method signature to:
public
Element deregister(URI[] mdrIds) throws
DataManagerException
but I don't agree that the parameter type should be changed to EndpointReference.
Feel free to open a defect against me and I'll have it addressed in i10.
Thanks,
Ali Mehregani
Phone Number: (905) 413-3712
Service Modeling Language - COSMOS
http://www.eclipse.org/cosmos/
"Muldoon, William
H" <William.Muldoon@xxxxxx>
02/26/2008 01:59 PM
|
To
| "David Whiteman"
<David_Whiteman@xxxxxxxxxx>, Hubert H Leung/Toronto/IBM@IBMCA
|
cc
| Ali Mehregani/Toronto/IBM@IBMCA, "Devine,
John T" <John.Devine@xxxxxx>, "Saurabh Dravid" <sadravid@xxxxxxxxxx>,
"Tania N Makins" <tmakins@xxxxxxxxxx>, "Mark D Weitzel"
<weitzelm@xxxxxxxxxx>
|
Subject
| RE: [cosmos-dev] RE: fix for fed. CMDB |
|
Hubert
Yes, that was it. I’ve changed the
outputter to pass the URI of the EPR instead of the EPR. It works and I’ve
checked in the fix.
Can you also check in the extra debug
code in your magic jar?
Ali, I think we should change the FederatingCMDB
client unregister() interface from:
public
Element deregister(String[] mdrIds) throws
DataManagerException
to accept EPRs instead of strings:
public
Element deregister(EndpointReference [] mdrIds) throws
DataManagerException
That would match the register() method.
Thanks
Bill
From: David Whiteman [mailto:David_Whiteman@xxxxxxxxxx]
Sent: Tuesday, February 26, 2008 1:29 PM
To: Hubert H Leung
Cc: Ali Mehregani; Devine, John T; Saurabh Dravid; Tania N Makins;
Mark D Weitzel; Muldoon, William H
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Yes, no spaces are allowed in an mdrId. Per the CMDBf spec, the MDR
id is a URI, which cannot have spaces. When the method that tries
to turn a string into a URI object encounters a problem (such as spaces
in the string), it just returns null.
I think one change we should make to the cmdbf.services code is to throw
an informative COSMOS exception in setMdrId() if the argument is null,
rather than wait until it's discovered as an NPE in the process of converting
the POJO to XML.
David
Hubert H Leung/Toronto/IBM@IBMCA
02/26/2008 01:16 PM
|
To
| "Muldoon, William H"
<William.Muldoon@xxxxxx>
|
cc
| Ali Mehregani/Toronto/IBM@IBMCA, "Devine,
John T" <John.Devine@xxxxxx>, "Saurabh Dravid" <sadravid@xxxxxxxxxx>,
"Mark D Weitzel" <weitzelm@xxxxxxxxxx>, Tania N Makins/Durham/IBM@IBMUS,
David Whiteman/Raleigh/IBM@IBMUS
|
Subject
| RE: [cosmos-dev] RE: fix for fed. CMDBLink |
|
Hi Bill,
Here is the exception I got with the magic jar (See the highlighted exception).
class org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB class
org.eclipse.cosmos.example.mdr.registration.internal.core.SampleFederatingCM
DB
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability.invokeCustomMethod(DynamicCapability.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
at org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invoke(WSDMBinding.java:198)
at org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceRouter.java:290)
at org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(MiniIsolationLayer.java:111)
at org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
at org.eclipse.cosmos.dc.cmdbf.services.internal.registration.transform.input.artifacts.GraphElementCollection.toXML(GraphElementCollection.ja
va:58)
at org.eclipse.cosmos.dc.cmdbf.services.internal.registration.transform.input.artifacts.AbstractRequest.toXML(AbstractRequest.java:42)
at org.eclipse.cosmos.dc.cmdbf.services.common.CMDBfServicesUtil.transformImpl(CMDBfServicesUtil.java:300)
at org.eclipse.cosmos.dc.cmdbf.services.deregistration.transform.DeregistrationInputTransformer.transform(DeregistrationInputTransformer.java:
42)
at org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.deregisterMDREntries(AbstractFederatingCMDB.java:377)
... 30 more
This is the input:
<?xml version="1.0" encoding="UTF-8"?>
<cmdbf:deregisterMDREntries xmlns:cmdbf="http://www.eclipse.org/cosmos/federatingCMDBOperation">
<cmdbf:mdrReferences>
<mdrIDs>
<mdrEntry id="<wsa:EndpointReference
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address xmlns:wsa="htt
p://www.w3.org/2005/08/addressing">http://9.26.185.120:8080/examplemdr/services/org.eclipse.cosmos.example.mdr.ExampleMdr</wsa:Address>
<
;wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/08/addressing">
<muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apa
che.org/muse/addressing">Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters></wsa:EndpointReference>"/>
</mdrIDs>
</cmdbf:mdrReferences>
</cmdbf:deregisterMDREntries>
I see you are using the full EPR as the mdrId. Is that intentional?
It may be a problem there as the id attribute may not allow spaces.
>From the input SOAP message, I don't see the deregisterRequest element,
which is from the standard.
What is the namespace of mdrIDs, and mdrEntry? Are they from the
standard?
Hope this information can give you some hints on the cause of the problem.
Regards,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William
H" <William.Muldoon@xxxxxx>
02/26/2008 11:42 AM
|
To
| Hubert H Leung/Toronto/IBM@IBMCA
|
cc
| Ali Mehregani/Toronto/IBM@IBMCA, "Devine,
John T" <John.Devine@xxxxxx>, "Mark D Weitzel" <weitzelm@xxxxxxxxxx>,
"Saurabh Dravid" <sadravid@xxxxxxxxxx>
|
Subject
| RE: [cosmos-dev] RE: fix for fed. CMDB |
|
Hubert
The steps are: start the
UI, right-click the registration
example, select deregister, choose the example mdr and press deregister.
Thanks
Bill
-----Original Message-----
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Tuesday, February 26, 2008 11:39 AM
To: Muldoon, William H
Cc: Ali Mehregani; Devine, John T; Mark D Weitzel; Muldoon, William H;
Saurabh Dravid
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hi Bill,
I can't tell what the problem is from your error messages. Can you
give
me
the steps to reproduce the problem?
Saurabh, can you publish a build to the download page? You don't
need
to
call it a candidate build. It may be useful because it contains the
latest
changes.
Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William
H"
<William.Muldoon@
To
ca.com>
"Muldoon, William H"
<William.Muldoon@xxxxxx>,
Hubert
H
02/26/2008 11:01
Leung/Toronto/IBM@IBMCA
AM
cc
Ali Mehregani/Toronto/IBM@IBMCA,
"Devine, John
T"
<John.Devine@xxxxxx>,
"Mark D
Weitzel" <weitzelm@xxxxxxxxxx>
Subject
RE: [cosmos-dev]
RE: fix for fed.
CMDB
Hubert
Has there been any progress on this? I had
expected a build
last night.
Thanks
Bill
From: Muldoon, William H
Sent: Monday, February 25, 2008 6:00 PM
To: 'Hubert H Leung'
Cc: 'Ali Mehregani'; Devine, John T; 'Mark D Weitzel'
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
More:
Feb 25, 2008 5:48:27 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet ApacheMuseServlet threw exception
java.lang.NullPointerException
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:87)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:595)
Feb 25, 2008 5:48:27 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet ApacheMuseServlet threw exception
java.lang.NullPointerException
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:87)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:595)
Feb 25, 2008 5:48:27 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet ApacheMuseServlet threw exception
java.lang.NullPointerException
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:87)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:595)
Feb 25, 2008 5:48:27 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet ApacheMuseServlet threw exception
java.lang.NullPointerException
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:87)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:595)
From: Muldoon, William H
Sent: Monday, February 25, 2008 5:59 PM
To: 'Hubert H Leung'
Cc: Ali Mehregani; Devine, John T; Mark D Weitzel
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hubert
Here are the new logs but they don?t look
much different.
Regards
Bill
Muse.log:
Feb 25, 2008 5:49:43 PM org.apache.muse.util.LoggingUtils logCall
FINE: [SERVER TRACE] Mapping SOAP request to Java method
'invokeCustomMethod'.
Parameter types expected by Java method:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Parameter types received by the MessageHandler:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Messages about this call will appear below...
Feb 25, 2008 5:49:43 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
null
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
Feb 25, 2008 5:49:43 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (outgoing):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/fault</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:a822b621-b950-f237-a058-355083b9d2dc</wsa:MessageID>
<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"
RelationshipType="wsa:Reply">uuid:81ea91c7-11d2-4cfd-e940-f913802b8cd7</
wsa:RelatesTo>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://192.168.1.3:8080/testFederatingCMDB/services/org.ecl
ipse.cosmos.example.mdr.registration.internal.core.SampleFederatingCMDB<
/wsa:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
wsa:IsReferenceParameter="true"
xmlns:wsa="
http://www.w3.org/2005/08/addressing">Registration
Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsa:From>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text/>
</soap:Reason>
<soap:Detail>
<wsrf-rw:ResourceUnavailableFault
xmlns:wsrf-rw="
http://docs.oasis-open.org/wsrf/rw-2">
<wsrf-bf:Timestamp
xmlns:wsrf-bf="
http://docs.oasis-open.org/wsrf/bf-2
">2008-02-25T17:49:43-05:00</wsrf-bf:Timestamp>
</wsrf-rw:ResourceUnavailableFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
Tomcat log:
Feb 25, 2008 5:49:43 PM org.apache.muse.util.LoggingUtils logCall
FINE: [SERVER TRACE] Mapping SOAP request to Java method
'invokeCustomMethod'.
Parameter types expected by Java method:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Parameter types received by the MessageHandler:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Messages about this call will appear below...
Feb 25, 2008 5:49:43 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
null
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
Feb 25, 2008 5:49:43 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (outgoing):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/fault</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:a822b621-b950-f237-a058-355083b9d2dc</wsa:MessageID>
<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"
RelationshipType="wsa:Reply">uuid:81ea91c7-11d2-4cfd-e940-f913802b8cd7</
wsa:RelatesTo>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://192.168.1.3:8080/testFederatingCMDB/services/org.ecl
ipse.cosmos.example.mdr.registration.internal.core.SampleFederatingCMDB<
/wsa:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
wsa:IsReferenceParameter="true"
xmlns:wsa="
http://www.w3.org/2005/08/addressing">Registration
Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsa:From>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text/>
</soap:Reason>
<soap:Detail>
<wsrf-rw:ResourceUnavailableFault
xmlns:wsrf-rw="
http://docs.oasis-open.org/wsrf/rw-2">
<wsrf-bf:Timestamp
xmlns:wsrf-bf="
http://docs.oasis-open.org/wsrf/bf-2
">2008-02-25T17:49:43-05:00</wsrf-bf:Timestamp>
</wsrf-rw:ResourceUnavailableFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Monday, February 25, 2008 5:46 PM
To: Muldoon, William H
Cc: Ali Mehregani; Devine, John T; Mark D Weitzel
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hi Bill,
The error below is not specific enough. Replace the
org.eclipse.cosmos.me.management.wsdm_1.0.0.jar jar file with the magic
jar
file I sent you last week, that will print out more useful information.
Regards,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@xxxxx
m>
To
Hubert H Leung/Toronto/IBM@IBMCA
02/25/2008 05:28 PM
cc
Ali Mehregani/Toronto/IBM@IBMCA, "Devine,
John T" <John.Devine@xxxxxx>, "Mark
D
Weitzel" <weitzelm@xxxxxxxxxx>
Subject
RE: [cosmos-dev] RE: fix for fed. CMDB
Hubert
See below.
Regards
Bill
-----------------------------------------------
Tomcat log:
Feb 25, 2008 5:19:14 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (incoming):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://192.168.1.3:8080/testFederatingCMDB/services/org.eclipse.cosmos
.example.mdr.registration.internal.core.SampleFederatingCMDB</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.eclipse.org/cosmos/federatingCMDBOperation/deregisterMDREnt
ries</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:fb61e06c-aa20-73b8-f0da-9a02f126b5c3</wsa:MessageID>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</wsa:Ad
dress>
</wsa:From>
<muse-wsa:ResourceId wsa:IsReferenceParameter="true"
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
xmlns:wsa="http://www.w3.org/2005/08/addressing">Registration
Example</muse-wsa:ResourceId>
</soap:Header>
<soap:Body>
<cmdbf:deregisterMDREntries xmlns:cmdbf="
http://www.eclipse.org/cosmos/federatingCMDBOperation">
<cmdbf:mdrReferences>
<mdrIDs>
<mdrEntry id="<wsa:EndpointReference
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://192.16
8.1.3:8080/examplemdr/services/org.eclipse.cosmos.example.mdr.ExampleMdr
</wsa:Address>
<wsa:ReferenceParameters
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing">Example&
lt;/muse-wsa:ResourceId>
</wsa:ReferenceParameters></wsa:EndpointReference>"/>
</mdrIDs>
</cmdbf:mdrReferences>
</cmdbf:deregisterMDREntries>
</soap:Body>
</soap:Envelope>
Feb 25, 2008 5:19:15 PM org.apache.muse.util.LoggingUtils logCall
FINE: [SERVER TRACE] Mapping SOAP request to Java method
'invokeCustomMethod'.
Parameter types expected by Java method:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Parameter types received by the MessageHandler:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Messages about this call will appear below...
Feb 25, 2008 5:19:15 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
null
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:164)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
Feb 25, 2008 5:19:15 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (outgoing):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/fault</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:0b281bc4-9332-9446-bda7-e84542b0ed48</wsa:MessageID>
<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"
RelationshipType="wsa:Reply">uuid:fb61e06c-aa20-73b8-f0da-9a02f126b5c3</
wsa:RelatesTo>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://192.168.1.3:8080/testFederatingCMDB/services/org.ecl
ipse.cosmos.example.mdr.registration.internal.core.SampleFederatingCMDB<
/wsa:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
wsa:IsReferenceParameter="true"
xmlns:wsa="
http://www.w3.org/2005/08/addressing">Registration
Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsa:From>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text/>
</soap:Reason>
<soap:Detail>
<wsrf-rw:ResourceUnavailableFault
xmlns:wsrf-rw="
http://docs.oasis-open.org/wsrf/rw-2">
<wsrf-bf:Timestamp
xmlns:wsrf-bf="
http://docs.oasis-open.org/wsrf/bf-2
">2008-02-25T17:19:15-05:00</wsrf-bf:Timestamp>
</wsrf-rw:ResourceUnavailableFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
---------------------------------------------------------
Muse.log:
Messages about this call will appear below...
Feb 25, 2008 5:19:15 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
null
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:164)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
Feb 25, 2008 5:19:15 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (outgoing):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/role/anonymous</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.org/2005/08/addressing/fault</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:0b281bc4-9332-9446-bda7-e84542b0ed48</wsa:MessageID>
<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"
RelationshipType="wsa:Reply">uuid:fb61e06c-aa20-73b8-f0da-9a02f126b5c3</
wsa:RelatesTo>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://192.168.1.3:8080/testFederatingCMDB/services/org.ecl
ipse.cosmos.example.mdr.registration.internal.core.SampleFederatingCMDB<
/wsa:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
wsa:IsReferenceParameter="true"
xmlns:wsa="
http://www.w3.org/2005/08/addressing">Registration
Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsa:From>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text/>
</soap:Reason>
<soap:Detail>
<wsrf-rw:ResourceUnavailableFault
xmlns:wsrf-rw="
http://docs.oasis-open.org/wsrf/rw-2">
<wsrf-bf:Timestamp
xmlns:wsrf-bf="
http://docs.oasis-open.org/wsrf/bf-2
">2008-02-25T17:19:15-05:00</wsrf-bf:Timestamp>
</wsrf-rw:ResourceUnavailableFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Monday, February 25, 2008 5:25 PM
To: Muldoon, William H
Cc: Ali Mehregani; Devine, John T; Mark D Weitzel; Muldoon, William H
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hi Bill,
What is the exact exception being thrown? Both register and deregister
operations are from the same web app, so I expect them to share the same
classpath. If package is not found, we need to find where the package
is,
and add the jar that contatins it.
Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@ca.c
om>
02/25/2008 05:04 PM
To
"Muldoon, William H"
<William.Muldoon@xxxxxx>, Ali
Mehregani/Toronto/IBM@IBMCA
cc
"Devine, John T" <John.Devine@xxxxxx>,
"Mark
D Weitzel" <weitzelm@xxxxxxxxxx>, Hubert
H
Leung/Toronto/IBM@IBMCA
Subject
RE: [cosmos-dev] RE: fix for fed. CMDB
Hubert
When I tried to Deregister, I?m seeing an error
similar to
when
the register was missing a jar.
Ali, does deregister require any additional
jars (beyond the
requirements for register)?
Regards
Bill
From: Muldoon, William H
Sent: Monday, February 25, 2008 4:20 PM
To: 'Ali Mehregani'
Cc: Devine, John T; 'Mark D Weitzel'; 'Hubert H Leung'
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hi
Ok, I have a fix for the outputter. Has 220016
been approved
(so
I can submit it)?
Regards
Bill
From: Muldoon, William H
Sent: Monday, February 25, 2008 3:20 PM
To: 'Ali Mehregani'
Cc: Devine, John T; Mark D Weitzel; Hubert H Leung
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Ali
Yes you are correct. The status response outputter
couldn?t
parse the result. I?ll take a look further.
Thanks
Bill
From: Ali Mehregani [mailto:amehrega@xxxxxxxxxx]
Sent: Monday, February 25, 2008 3:05 PM
To: Muldoon, William H
Cc: Devine, John T; Mark D Weitzel; Hubert H Leung
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Just to expand a little:
>Ali suggested that it may be a problem with the parsing of the
registerMDREntriesResponseType
The response received as part of a SOAP body uses a different root
element
than what is expected from the specification:
<dyn:registerMDREntriesResponseType xmln
You'll need to cleanse the output a little before passing it to
RegistrationOutputTransformer. There is a separate defect open against
data collection in regards to this issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=217141
My environment produced the same result as what Hubert observed. I
also
verified that the sample's JUnits all pass. If you're interested
to run
the JUnits, see:
tests/data-collection/org.eclipse.cosmos.example.mdr.registration.tests/
src/org.eclipse.cosmos.example.mdr.registration.internal.core/TestSample
FederatingCMDB.java
You will need to modify
org.eclipse.cosmos.example.mdr.registration.tests/src/org.eclipse.cosmos
.example.mdr.registration.internal.core/testMessages.properties
before running the test.
Feel free to contact me at my office number (see below) if you like to
speak over the phone.
Thanks,
Ali Mehregani
Phone Number: (905) 413-3712
Service Modeling Language - COSMOS
http://www.eclipse.org/cosmos/
Hubert H
Leung/Toronto/IBM
02/25/2008 02:34
PM
To
"Muldoon, William H"
<William.Muldoon@xxxxxx>
cc
Ali Mehregani/Toronto/IBM@IBMCA, Mark D
Weitzel/Raleigh/IBM@IBMUS,
John.Devine@xxxxxx
Subject
RE: [cosmos-dev] RE: fix for fed. CMDBLink
Hi Bill,
I tried running the registration with the 3 additional jar files added
to
the lib directory. I chose example MDR, and clicked register. In
the
tomcat console, I see registerMDREntriesResponseType element that
contains
a list of instance response elements. However, the UI returns an
empty
list. If I choose the SML MDR, the registerMDREntriesResponseType
element
is empty, but I don't see exceptions. (the empty query response from
the
SML repository may be another problem.)
Can you check if it's an UI problem? Ali suggested that it may be
a
problem with the parsing of the registerMDREntriesResponseType. Can
you
compare the response on the tomcat console with what you expect to
receive
from the federating CMDB? If you are getting exceptions, your set
up
may
have some problems. Try to reinstall the i9 candidate build again.
I
did
a clean install, then added three jar files:
org.eclipse.cosmos.dc.mdr.client_1.0.0.jar,
org.eclipse.cosmos.dc.dataManager.client_1.0.0.jar, org.eclipse.osgi.
Please keep us updated on the progress. We would like to have another
build by end of day today.
Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@xxxxxx>
02/25/2008 11:12 AM
To
Hubert H
Leung/Toronto/IBM@IBMCA,
Ali Mehregani/Toronto/IBM@IBMCA
cc
Subject
RE: [cosmos-dev]
RE: fix for
fed.
CMDB
Hubert
I can?t run it in eclipse. The
cosmos.example.mdr.registration.web bundle has compile errors because of
the missing dependencies. I will try to resolve them and try it.
Regards
Bill
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Monday, February 25, 2008 9:48 AM
To: Muldoon, William H; Ali Mehregani
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hi Bill,
Does the federating CMDB work in eclipse? If so, it's a matter of
packaging the right jars in the web app. Ali, can you help determining
how
to run the federating CMDB as a web application?
Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@xxxxxx>
02/25/2008 08:49 AM
To
Hubert H
Leung/Toronto/IBM@IBMC
A
cc
Subject
RE: [cosmos-dev] RE:
fix for fed. CMDB
Hubert
That didn?t work. It looks like a null pointer exception
in
muse.
I?ve attached the logs. See highlights below.
Thanks
Bill
Tomcat log:
Feb 25, 2008 8:40:12 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet ApacheMuseServlet threw exception
java.lang.NullPointerException
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:87)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
4)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:689)
at java.lang.Thread.run(Thread.java:595)
testFederatingCMDB muse.log:
Feb 25, 2008 8:42:07 AM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
There was an error handling the registration request
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Saturday, February 23, 2008 1:49 PM
To: Muldoon, William H
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hi Bill,
Please try to add the org.eclipse.osgi_3.4.0.v20071207.jar to the lib
directory of the federating CMDB web app. You can get this jar file
from
the eclipse/plugins directory of eclipse 3.4. (The timestamp part
of
the
filename does not need to be exact. )
Regards,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@xxxxxx>
02/22/2008 09:25 PM
To
Hubert H
Leung/Toronto/IBM@IBMC
A
cc
Subject
RE: [cosmos-dev] RE:
fix for fed. CMDB
Hubert
It?s getting closer, but still has an error.
Regards
Bill
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (incoming):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://192.168.
1.3:8080/testFederatingCMDB/services/org.eclipse.cosmos.example.mdr.regi
stration
.internal.core.SampleFederatingCMDB</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.
eclipse.org/cosmos/federatingCMDBOperation/registerMDREntries</wsa:Actio
n>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:e23
8ac88-3a18-6230-57f9-3b8d35d54d29</wsa:MessageID>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</ws
a:Address>
</wsa:From>
<muse-wsa:ResourceId wsa:IsReferenceParameter="true"
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
xmlns:wsa="htt
p://www.w3.org/2005/08/addressing">Registration
Example</muse-wsa:ResourceId>
</soap:Header>
<soap:Body>
<cmdbf:registerMDREntries xmlns:cmdbf="
http://www.eclipse.org/cosmos/fed
eratingCMDBOperation">
<cmdbf:mdrReferences>
<mdrAddresses>
<addressEntry defaultResourceId="Example"
endPointReference=
"
http://192.168.1.3:8080/examplemdr/services/org.eclipse.cosmos.example.m
dr.Exam
pleMdr"/>
</mdrAddresses>
</cmdbf:mdrReferences>
</cmdbf:registerMDREntries>
</soap:Body>
</soap:Envelope>
Input: <?xml version="1.0" encoding="UTF-8"?>
<cmdbf:registerMDREntries xmlns:cmdbf="
http://www.eclipse.org/cosmos/federatingC
MDBOperation">
<cmdbf:mdrReferences>
<mdrAddresses>
<addressEntry defaultResourceId="Example"
endPointReference="http://
192.168.1.3:8080/examplemdr/services/org.eclipse.cosmos.example.mdr.Exam
pleMdr"/
>
</mdrAddresses>
</cmdbf:mdrReferences>
</cmdbf:registerMDREntries>
class org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB
class
org.ec
lipse.cosmos.example.mdr.registration.internal.core.SampleFederatingCMDB
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (incoming):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://192.168.
1.3:8080/examplemdr/services/org.eclipse.cosmos.example.mdr.ExampleMdr</
wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.
eclipse.org/cosmos/mdrquery/graphQuery</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:a3e
b0e18-f66d-f10f-0ac0-86fd20850b68</wsa:MessageID>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</ws
a:Address>
</wsa:From>
<muse-wsa:ResourceId wsa:IsReferenceParameter="true"
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
xmlns:wsa="htt
p://www.w3.org/2005/08/addressing">Example</muse-wsa:ResourceId>
</soap:Header>
<soap:Body>
<mdr:graphQuery xmlns:mdr="http://www.eclipse.org/cosmos/mdrquery">
<mdr:queryRequest>
<s:query xmlns:s="http://cmdbf.org/schema/1-0-0/datamodel">
<s:itemTemplate id="all-items"/>
<s:relationshipTemplate id="all-relationships">
<s:sourceTemplate
ref="all-items"/>
<s:targetTemplate
ref="all-items"/>
</s:relationshipTemplate>
</s:query>
</mdr:queryRequest>
</mdr:graphQuery>
</soap:Body>
</soap:Envelope>
Input: <?xml version="1.0" encoding="UTF-8"?>
<mdr:graphQuery xmlns:mdr="http://www.eclipse.org/cosmos/mdrquery">
<mdr:queryRequest>
<s:query xmlns:s="http://cmdbf.org/schema/1-0-0/datamodel">
<s:itemTemplate id="all-items"/>
<s:relationshipTemplate id="all-relationships">
<s:sourceTemplate ref="all-items"/>
<s:targetTemplate ref="all-items"/>
</s:relationshipTemplate>
</s:query>
</mdr:queryRequest>
</mdr:graphQuery>
class org.eclipse.cosmos.dc.mdr.impl.AbstractMdr class
org.eclipse.cosmos.exampl
e.mdr.ExampleMdr
#### Executing MDR query ####
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logCall
FINE: [SERVER TRACE] Mapping SOAP request to Java method
'invokeCustomMethod'.
Parameter types expected by Java method:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Parameter types received by the MessageHandler:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Messages about this call will appear below...
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
org/eclipse/osgi/util/NLS
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:164)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (outgoing):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.o
rg/2005/08/addressing/role/anonymous</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.
w3.org/2005/08/addressing/fault</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:4d2
5709b-324a-f47e-035d-90ee7e81db44</wsa:MessageID>
<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"
Relation
shipType="wsa:Reply">uuid:a3eb0e18-f66d-f10f-0ac0-86fd20850b68</wsa:Rela
tesTo>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://192.168.1.3:8080/examplemdr/services/org.eclipse
.cosmos.example.mdr.ExampleMdr</wsa:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
wsa:IsReferenceParameter="true"
xmlns:wsa="
http://www.w3.org
/2005/08/addressing">Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsa:From>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text>org/eclipse/osgi/util/NLS</soap:Text>
</soap:Reason>
<soap:Detail>
<wsrf-rw:ResourceUnavailableFault xmlns:wsrf-rw="
http://docs.oas
is-open.org/wsrf/rw-2">
<wsrf-bf:Timestamp xmlns:wsrf-bf="
http://docs.oasis-open.org
/wsrf/bf-2">2008-02-22T21:14:36-05:00</wsrf-bf:Timestamp>
</wsrf-rw:ResourceUnavailableFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
There was an error handling the registration for MDR: null
org.eclipse.cosmos.dc.dataManager.exception.DataManagerException:
org.apache.mus
e.ws.addressing.soap.SoapFault: org/eclipse/osgi/util/NLS
at
org.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation(MdrC
lient.java:77)
at
org.eclipse.cosmos.dc.mdr.client.MdrClient.query(MdrClient.java:51)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rSelectiveMDREntries(AbstractFederatingCMDB.java:198)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rMDREntries(AbstractFederatingCMDB.java:157)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rMDREntries(AbstractFederatingCMDB.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapabil
ity.invokeCustomMethod(DynamicCapability.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
at
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.in
voke(WSDMBinding.java:198)
at
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResour
ceRouter.java:290)
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(M
iniIsolationLayer.java:111)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.jav
a:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.muse.ws.addressing.soap.SoapFault:
org/eclipse/osgi/util/N
LS
at
org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceCl
ient.java:298)
at
org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceCl
ient.java:254)
at
org.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation(MdrC
lient.java:72)
... 34 more
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapabil
ity.invokeCustomMethod(DynamicCapability.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
at
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.in
voke(WSDMBinding.java:198)
at
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResour
ceRouter.java:290)
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(M
iniIsolationLayer.java:111)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.jav
a:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.eclipse.cosmos.dc.mdr.exception.CMDBfException: There was
an
erro
r handling the registration request
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rSelectiveMDREntries(AbstractFederatingCMDB.java:219)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rMDREntries(AbstractFederatingCMDB.java:157)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rMDREntries(AbstractFederatingCMDB.java:146)
... 30 more
Caused by:
org.eclipse.cosmos.dc.dataManager.exception.DataManagerException: org
.apache.muse.ws.addressing.soap.SoapFault: org/eclipse/osgi/util/NLS
at
org.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation(MdrC
lient.java:77)
at
org.eclipse.cosmos.dc.mdr.client.MdrClient.query(MdrClient.java:51)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rSelectiveMDREntries(AbstractFederatingCMDB.java:198)
... 32 more
Caused by: org.apache.muse.ws.addressing.soap.SoapFault:
org/eclipse/osgi/util/N
LS
at
org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceCl
ient.java:298)
at
org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceCl
ient.java:254)
at
org.eclipse.cosmos.dc.mdr.client.MdrClient.invokeRemoteOperation(MdrC
lient.java:72)
... 34 more
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logCall
FINE: [SERVER TRACE] Mapping SOAP request to Java method
'invokeCustomMethod'.
Parameter types expected by Java method:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Parameter types received by the MessageHandler:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Messages about this call will appear below...
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
There was an error handling the registration request
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
Feb 22, 2008 9:14:36 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (outgoing):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.w3.o
rg/2005/08/addressing/role/anonymous</wsa:To>
<wsa:Action xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://www.
w3.org/2005/08/addressing/fault</wsa:Action>
<wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing
">uuid:274
b6212-c510-9b7d-3e94-1b4a3f67340f</wsa:MessageID>
<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"
Relation
shipType="wsa:Reply">uuid:e238ac88-3a18-6230-57f9-3b8d35d54d29</wsa:Rela
tesTo>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://192.168.1.3:8080/testFederatingCMDB/services/org
.eclipse.cosmos.example.mdr.registration.internal.core.SampleFederatingC
MDB</wsa
:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
wsa:IsReferenceParameter="true"
xmlns:wsa="
http://www.w3.org
/2005/08/addressing">Registration Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsa:From>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text>There was an error handling
the registration
request<
/soap:Text>
</soap:Reason>
<soap:Detail>
<wsrf-rw:ResourceUnavailableFault xmlns:wsrf-rw="
http://docs.oas
is-open.org/wsrf/rw-2">
<wsrf-bf:Timestamp xmlns:wsrf-bf="
http://docs.oasis-open.org
/wsrf/bf-2">2008-02-22T21:14:36-05:00</wsrf-bf:Timestamp>
</wsrf-rw:ResourceUnavailableFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Friday, February 22, 2008 5:31 PM
To: Muldoon, William H
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
Hi Bill,
Here is the root cause:
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/cosmos/dc/mdr/client/MdrC
lient
Add the following two jar files in
webapps\testFederatingCMDB\WEB-INF\lib
org.eclipse.cosmos.dc.mdr.client_1.0.0.jar
org.eclipse.cosmos.dc.dataManager.client_1.0.0.jar
Get them from cosmos-demo\cosmos-client\lib.
Regards,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@xxxxxx>
02/22/2008 05:06 PM
To
Hubert H
Leung/Toronto/IBM@IBMC
A
cc
Subject
RE: [cosmos-dev] RE:
fix for fed. CMDB
Hubert
See below for the console results.
Thanks
Bill
Feb 22, 2008 5:00:02 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (incoming):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://130.200.
149.222:8080/testFederatingCMDB/services/org.eclipse.cosmos.example.mdr.
registra
tion.internal.core.SampleFederatingCMDB</wsa:To>
<wsa:Action
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.
eclipse.org/cosmos/federatingCMDBOperation/registerMDREntries</wsa:Actio
n>
<wsa:MessageID
xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:2fd
bf268-2f61-916f-191f-cd6ecced8cbd</wsa:MessageID>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://www.w3.org/2005/08/addressing/role/anonymous</ws
a:Address>
</wsa:From>
<muse-wsa:ResourceId wsa:IsReferenceParameter="true"
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
xmlns:wsa="htt
p://www.w3.org/2005/08/addressing">Registration
Example</muse-wsa:ResourceId>
</soap:Header>
<soap:Body>
<cmdbf:registerMDREntries
xmlns:cmdbf="http://www.eclipse.org/cosmos/fed
eratingCMDBOperation">
<cmdbf:mdrReferences>
<mdrAddresses>
<addressEntry defaultResourceId="Example"
endPointReference=
"
http://130.200.149.222:8080/examplemdr/services/org.eclipse.cosmos.examp
le.mdr
.
ExampleMdr"/>
</mdrAddresses>
</cmdbf:mdrReferences>
</cmdbf:registerMDREntries>
</soap:Body>
</soap:Envelope>
Input: <?xml version="1.0" encoding="UTF-8"?>
<cmdbf:registerMDREntries xmlns:cmdbf="
http://www.eclipse.org/cosmos/federatingC
MDBOperation">
<cmdbf:mdrReferences>
<mdrAddresses>
<addressEntry defaultResourceId="Example"
endPointReference="http://
130.200.149.222:8080/examplemdr/services/org.eclipse.cosmos.example.mdr.
ExampleM
dr"/>
</mdrAddresses>
</cmdbf:mdrReferences>
</cmdbf:registerMDREntries>
class org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB
class
org.ec
lipse.cosmos.example.mdr.registration.internal.core.SampleFederatingCMDB
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapabil
ity.invokeCustomMethod(DynamicCapability.java:155)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
at
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.in
voke(WSDMBinding.java:198)
at
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResour
ceRouter.java:290)
at
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(M
iniIsolationLayer.java:111)
at
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.jav
a:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:874)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
rocessConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:689)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/cosmos/dc/mdr/client/MdrC
lient
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rSelectiveMDREntries(AbstractFederatingCMDB.java:195)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rMDREntries(AbstractFederatingCMDB.java:157)
at
org.eclipse.cosmos.dc.mdr.registration.AbstractFederatingCMDB.registe
rMDREntries(AbstractFederatingCMDB.java:146)
... 30 more
Feb 22, 2008 5:00:02 PM org.apache.muse.util.LoggingUtils logCall
FINE: [SERVER TRACE] Mapping SOAP request to Java method
'invokeCustomMethod'.
Parameter types expected by Java method:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Parameter types received by the MessageHandler:
[java.lang.reflect.Method, [Ljava.lang.Object;]
Messages about this call will appear below...
Feb 22, 2008 5:00:02 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:
org/eclipse/cosmos/dc/mdr/client/MdrClient
org.apache.muse.ws.resource.basefaults.WsbfUtils.convertToFault(WsbfUtil
s.java:49)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.DynamicCapability
.invokeCustomMethod(DynamicCapability.java:165)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
org.eclipse.cosmos.me.management.provisional.wsdm.impl.WSDMBinding.invok
e(WSDMBinding.java:198)
org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceR
outer.java:290)
org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(Mini
IsolationLayer.java:111)
org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:8
4)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
12 more...
------------------------------------------
Feb 22, 2008 5:00:02 PM org.apache.muse.util.LoggingUtils logMessage
FINE: [SERVER TRACE] SOAP envelope contents (outgoing):
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<wsa:To
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.o
rg/2005/08/addressing/role/anonymous</wsa:To>
<wsa:Action
xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.
w3.org/2005/08/addressing/fault</wsa:Action>
<wsa:MessageID
xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:977
0813e-3333-11a4-bd58-8e95d0c5da79</wsa:MessageID>
<wsa:RelatesTo xmlns:wsa="http://www.w3.org/2005/08/addressing"
Relation
shipType="wsa:Reply">uuid:2fdbf268-2f61-916f-191f-cd6ecced8cbd</wsa:Rela
tesTo>
<wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:Address>http://130.200.149.222:8080/testFederatingCMDB/services
/org.eclipse.cosmos.example.mdr.registration.internal.core.SampleFederat
ingCMDB<
/wsa:Address>
<wsa:ReferenceParameters>
<muse-wsa:ResourceId
xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
wsa:IsReferenceParameter="true"
xmlns:wsa="http://www.w3.org
/2005/08/addressing">Registration Example</muse-wsa:ResourceId>
</wsa:ReferenceParameters>
</wsa:From>
</soap:Header>
<soap:Body>
<soap:Fault>
<soap:Code>
<soap:Value>soap:Receiver</soap:Value>
</soap:Code>
<soap:Reason>
<soap:Text>org/eclipse/cosmos/dc/mdr/client/MdrClient</soap:Text
>
</soap:Reason>
<soap:Detail>
<wsrf-rw:ResourceUnavailableFault
xmlns:wsrf-rw="http://docs.oas
is-open.org/wsrf/rw-2">
<wsrf-bf:Timestamp
xmlns:wsrf-bf="http://docs.oasis-open.org
/wsrf/bf-2">2008-02-22T17:00:02-05:00</wsrf-bf:Timestamp>
</wsrf-rw:ResourceUnavailableFault>
</soap:Detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Friday, February 22, 2008 4:48 PM
To: Muldoon, William H
Subject: RE: [cosmos-dev] RE: fix for fed. CMDB
***********************
Warning: Your file, org.eclipse.cosmos.me.management.wsdm_1.0.0.jar,
contains more than 32 files after decompression and cannot be scanned.
***********************
Hi Bill,
Can you try to replace org.eclipse.cosmos.me.management.wsdm_1.0.0.jar
in
the federating CMDB with the attached jar file? This jar file will
print
out more exception messages. Watch the errors on the Tomcat console.
The exceptions in the bug description is not very useful.
Regards,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@xxxxxx>
Sent by:
cosmos-dev-bounces@xxxxxxxxxxx
02/22/2008 02:43 PM
To
"Cosmos Dev"
<cosmos-dev@xxxxxxxxxxx
>
cc
Subject
RE: [cosmos-dev] RE:
fix for fed. CMDB
Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>
Hubert
I?ve opened a blocker for the testFederatingCMDB problem. It?s
https://bugs.eclipse.org/bugs/show_bug.cgi?id=220016
Regards
Bill
From: cosmos-dev-bounces@xxxxxxxxxxx
[mailto:cosmos-dev-bounces@xxxxxxxxxxx] On Behalf Of David Whiteman
Sent: Friday, February 22, 2008 1:19 PM
To: Cosmos Dev
Subject: Re: [cosmos-dev] RE: fix for fed. CMDB
That's my understanding as well.
Sheldon Lee-Loy
<sleeloy@xxxxxxxxxx
>
Sent by:
cosmos-dev-bounces@
eclipse.org
02/22/2008 01:07 PM
To
Hubert H Leung <hkyleung@xxxxxxxxxx>
cc
"Devine, John T" <John.Devine@xxxxxx>,
"Muldoon, William H"
<William.Muldoon@xxxxxx>,
cosmos-dev@xxxxxxxxxxx
Subject
[cosmos-dev] RE: fix for fed. CMDB
Please respond to
Cosmos Dev
<cosmos-dev@eclips
e.org>
I thought we had until 2PM EST. Did I misunderstand?
Thanks,
Sheldon
______________________________________
Sheldon Lee-Loy
Hubert H
Leung/Toronto/IBM
To
02/22/2008 12:52 "Muldoon,
William H"
PM
<William.Muldoon@xxxxxx>,
cosmos-dev@xxxxxxxxxxx
cc
"Devine, John T"
<John.Devine@xxxxxx>, Sheldon
Lee-Loy/Toronto/IBM@IBMCA
Subject
RE: fix for fed. CMDB(Document
link: Sheldon Lee-Loy)
I 'm copying the mailing list to make it more visible.
Bill found another blocking problem. A jar file is missing in the
UI
package. This work requires a change in the build script. It's
now
close
to the 1pm build time. Can we get approval for this bug and delay
the
build a little to get it in?
Bill, can you confirm that adding the
org.eclipse.cosmos.dc.mdr.registration.common jar file to the
COSMOSUI\WEB-INF\lib fixed the problem?
Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William
H"
<William.Muldoon@
To
ca.com>
Hubert H Leung/Toronto/IBM@IBMCA
cc
02/22/2008 12:38 "Devine,
John T"
PM
<John.Devine@xxxxxx>, Sheldon
Lee-Loy/Toronto/IBM@IBMCA
Subject
RE: fix for fed. CMDB
Bug number is 219997 at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=219997.
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Friday, February 22, 2008 12:36 PM
To: Muldoon, William H
Cc: Devine, John T; Sheldon Lee-Loy
Subject: RE: fix for fed. CMDB
This seems to be a UI packaging problem. You need
org.eclipse.cosmos.dc.mdr.registration.common in COSMOSUI\WEB-INF\lib.
Please open a blocker bug to get it fixed.
Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
"Muldoon, William H"
<William.Muldoon@xxxxxx>
To
02/22/2008 12:21 PM
Hubert
H
Leung/Toronto/IBM
@IBMCA
cc
"Devine, John T"
<John.Devine@ca.c
om>
Subject
RE: fix for fed.
CMDB
Hubert
Your fix worked, thanks!
But going further, I found another problem with a missing
class. See below. I will open another issue.
Regards
Bill
html><head><title>Apache Tomcat/5.5.25 - Error
report</title><style><!--H1{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}H2{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}H3{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}BODY{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}B{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}P{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 500 - </h1><HR
size="1" noshade="noshade"><p><b>type</b>
Exception
report</p><p><b>message</b> <u></u></p><p><b>description
</b> <u>The server encountered an internal error () that prevented
it
from
fulfilling this request.<
/u></p><p><b>exception</b> <pre>javax.servlet.ServletException:
Servlet
execution threw an exception
</pre></p><p><b>root cause</b> <pre>java.lang.NoClassDefFoundError:
org/eclipse/cosmos/dc/mdr/registration
/common/internal/EndPointReferenceSerializer
org.eclipse.cosmos.dc.mdr.registration.client.FederatingCMDBClient.regis
ter(FederatingCMDBClient.java
:88)
org.eclipse.cosmos.internal.dr.drs.service.outputter.StatusResponseOutpu
tter.render(StatusResponseOutputter
.java:63)
org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDeleg
ator.delegateRequest(OutputterDelegator
.java:67)
org.eclipse.cosmos.internal.dr.drs.service.handler.common.OutputterDeleg
ator.doPost(OutputterDelegator
.java:53)
org.eclipse.cosmos.internal.dr.drs.service.handler.common.URLDelegator.d
oPost(URLDelegator.java:86)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
</pre></p><p><b>note</b> <u>The full
stack trace of the root cause is
available in the Apache Tomcat
/5.5.25 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/5.5.25</h3></body></html>
From: Hubert H Leung [mailto:hkyleung@xxxxxxxxxx]
Sent: Friday, February 22, 2008 10:47 AM
To: Muldoon, William H
Subject: fix for fed. CMDB
Hi Bill,
Please try to change the web.xml at
org.eclipse.cosmos.example.mdr.registration.web\WebContent\WEB-INF\web.x
ml
to the following:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="
http://java.sun.com/xml/ns/j2ee" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<display-name>testFederatingCMDB</display-name>
<context-param>
<param-name>CosmosWebPort</param-name>
<param-value>8080</param-value>
</context-param>
<listener>
<listener-class>
org.eclipse.cosmos.example.mdr.registration.internal.SampleFederatingCMD
BInitializer
</listener-class>
</listener>
<servlet>
<display-name>Apache Muse Servlet</display-name>
<servlet-name>ApacheMuseServlet</servlet-name>
<servlet-class>
org.apache.muse.core.platform.mini.MiniServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ApacheMuseServlet</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
</web-app>
This should fix the registration problem.
Regards,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev_____________________
__________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev