Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cosmos-dev] Connecting to COSMOS EPRs using MAX


Balan/Hubert
See comments in line <mdw></mdw>

_______________________________________________________________________________________________________________
Mark Weitzel | STSM | IBM Software Group | Tivoli | Autonomic Computing | (919) 543 0625 | weitzelm@xxxxxxxxxx



Re: [cosmos-dev] Connecting to COSMOS EPRs using MAX

Balan Subramanian to: Cosmos Dev
10/02/07 11:54 AM

Sent by: cosmos-dev-bounces@xxxxxxxxxxx

Please respond to Cosmos Dev <cosmos-dev@xxxxxxxxxxx>









I do not know why we need to copy the xsd files over. Joel, can you shed some light on that? All endpoints that we tested the MAX with were standard Muse endpoints - some created with the tooling some created directly in Muse.

<mdw>
Please make sure we open a bug against MAX so we don't loose track of this issue.
</mdw>


The two endpoints problem arises if you are trying to connect to endpoints on the same machine that have the same URI in the EPR - I am not sure if that's your case. This is a restriction of the TPTP Agent Framework - no two agents can have the same name and in our case, the name is the URI in the EPR (since the reference parameters can be of variable number and we don't want to show all that in the Profiling Monitor view).

<mdw>
Are we able to create a name based on the full EPR (WSA) and not just the URL?  It seems like this might be a reasonable way to handle this situation.  In the code, is there a difference b/t display name and the actual id?  If so, we might have a few more options.
</mdw>


Balan Subramanian
Autonomic Computing, IBM, RTP, NC
919.543.0197 | bsubram@xxxxxxxxxx




Hubert H Leung <hkyleung@xxxxxxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

10/02/2007 10:27 AM

Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>

To
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>
cc
Subject
Re: [cosmos-dev] Connecting to COSMOS EPRs using MAX








The problem was solved by copying the WS-Addressing-2005_08.xsd and other standard xsd files to the eclipse root directory as suggested by Joel.  Does MAX expect the xsd files in the eclispe root directory?  


Another problem I have is that I can't attach two endpoints from MAX at the same time.  For example, I attach the the RuntimeHost endpoint, and it worked.  While it's still attached, I try to attach the ManagementDomain endpoint.  The 2nd attach terminates right away.  I didn't get any error message other than the "Cannot get topics" message.  But if I detach the RuntimeHost endpoint and attach to the ManagementDomain endpoint, then the attach to the ManagementDomain endpoint will work.  Is it expected?  



Thanks,
_________________________
Hubert Leung
IBM Toronto Lab
hkyleung@xxxxxxxxxx
905-413-3382

Balan Subramanian <bsubram@xxxxxxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

10/01/2007 11:30 PM

Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>


To
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>
cc
Subject
Re: [cosmos-dev] Connecting to COSMOS EPRs using MAX










The errors you see in the OSGi console are not really errors - it is simply Muse reporting that it has no topics and the endpoint is not a service group. This is because the MAX checks all endpoints that you connect it to to see if they are a SG or if they have topics. You can see similar errors/warnings in the MAX log (MAX reports these as errors - they are warnings and there is a bug open in TPTP to fix that).


It seems to me that metadata exchange is failing. This can be because 1) no WSDL is being returned (but I think you were able to do MEX and get the WSDL - please confirm and post the WSDL if you can) 2) returned WSDM fails validation/has parsing errors. If you post the WSDL, I can take a look and see why MAX can't parse it.



Balan Subramanian
Autonomic Computing, IBM, RTP, NC
919.543.0197 | bsubram@xxxxxxxxxx



Hubert H Leung <hkyleung@xxxxxxxxxx>
Sent by: cosmos-dev-bounces@xxxxxxxxxxx

10/01/2007 03:53 PM

Please respond to
Cosmos Dev <cosmos-dev@xxxxxxxxxxx>


To
Joel.Hawkins@xxxxxxxxxxxxx
cc
cosmos-dev@xxxxxxxxxxx
Subject
[cosmos-dev] Connecting to COSMOS EPRs using MAX












Hi Joel,


I need some help with using MAX to connect to the EPRs of the COSMOS assemblies.  I copied the EPR of COSMOS Runtime to the MAX config dialog box, and started profiling on this endpoint.  The MAX editor does not show up, and I get errors in the OSGi console and the workspace .log file.  I am using TPTP 4.4 MAX.  Can you give me some suggestions on what the problem might be?  Thanks.  



I attached the errors logs with this email.  





Thanks,
_________________________
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
_______________________________________________
cosmos-dev mailing list
cosmos-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cosmos-dev

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:dummy="http://docs.oasis-open.org/wsdm/muws2-2.xsd"; xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2";>dummy:Caption</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"; xmlns:wsrf-sg="http://docs.oasis-open.org/wsrf/sg-2";>wsrf-sg:Entry</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsx:GetMetadata xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex";>
    <wsx:Dialect>http://schemas.xmlsoap.org/wsdl/</wsx:Dialect>
</wsx:GetMetadata>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2"; xmlns:wssg="http://docs.oasis-open.org/wsrf/sg-2";>wssg:MembershipContentRule</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:muws2="http://docs.oasis-open.org/wsdm/muws2-2.xsd"; xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2";>muws2:Relationship</wsrf-rp:GetResourceProperty>

SOAP:<?xml version="1.0" encoding="UTF-8"?>
<wsrf-rp:GetResourceProperty
    xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2"; xmlns:wsrf-rp="http://docs.oasis-open.org/wsrf/rp-2";>wsnt:TopicExpression</wsrf-rp:GetResourceProperty>

Oct 1, 2007 3:17:46 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:

[ID = 'PropertyNotInSchema'] There is no property named '{http://docs.oasis-open.org/wsrf/sg-2}Entry' defined in the schema. A property should not have any operations or metadata applied to it if it is not in the WS-RP document.

	org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.getResourceProperty(SimpleResourcePropertyCollection.java:596)
	org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability.getResourceProperty(SimpleGetCapability.java:92)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
	org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBinding.invoke(WSDMBinding.java:206)
	org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceRouter.java:290)
	org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.invoke(OSGiResourceRouter.java:118)
	org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(MiniIsolationLayer.java:111)
	org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:84)
	org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.doPost(OSGiMinServlet.java:52)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	17 more...
------------------------------------------

Oct 1, 2007 3:17:46 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:

[ID = 'PropertyNotInSchema'] There is no property named '{http://docs.oasis-open.org/wsrf/sg-2}MembershipContentRule' defined in the schema. A property should not have any operations or metadata applied to it if it is not in the WS-RP document.

	org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.getResourceProperty(SimpleResourcePropertyCollection.java:596)
	org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability.getResourceProperty(SimpleGetCapability.java:92)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
	org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBinding.invoke(WSDMBinding.java:206)
	org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceRouter.java:290)
	org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.invoke(OSGiResourceRouter.java:118)
	org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(MiniIsolationLayer.java:111)
	org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:84)
	org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.doPost(OSGiMinServlet.java:52)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	17 more...
------------------------------------------

Oct 1, 2007 3:17:46 PM org.apache.muse.util.LoggingUtils logError
INFO: There was an error while processing a request:

[ID = 'PropertyNotInSchema'] There is no property named '{http://docs.oasis-open.org/wsn/b-2}TopicExpression' defined in the schema. A property should not have any operations or metadata applied to it if it is not in the WS-RP document.

	org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.getResourceProperty(SimpleResourcePropertyCollection.java:596)
	org.apache.muse.ws.resource.properties.get.impl.SimpleGetCapability.getResourceProperty(SimpleGetCapability.java:92)
	sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	java.lang.reflect.Method.invoke(Method.java:585)
	org.apache.muse.core.SimpleResource.invoke(SimpleResource.java:373)
	org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBinding.invoke(WSDMBinding.java:206)
	org.apache.muse.core.routing.SimpleResourceRouter.invoke(SimpleResourceRouter.java:290)
	org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.invoke(OSGiResourceRouter.java:118)
	org.apache.muse.core.platform.mini.MiniIsolationLayer.handleRequest(MiniIsolationLayer.java:111)
	org.apache.muse.core.platform.mini.MiniServlet.doPost(MiniServlet.java:84)
	org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.doPost(OSGiMinServlet.java:52)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
	17 more...
------------------------------------------

Attachment: workspace.log
Description: Binary data


Back to the top