Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cosmos-dev] Problems for running COSMOS end-to-end sample

Hi all,
 
Thank you for your replies, you all accelerate my process to learn COSMOS. As Sheldon said, I changed the derby.system.home entry in catalina.properties from D:\tony\doc\COSMOS\End2End\apache-tomcat-5.5.23\webapps\database\cosmosdb
to
D:\tony\doc\COSMOS\End2End\apache-tomcat-5.5.23\webapps\database.
Although I still got the following exceptions when I select report for first time, it seems work now. I can see all the reports.
 
Thank you again.
 
**************************************************************************

java.io.FileNotFoundException: D:\tony\doc\COSMOS\End2End\apache-tomcat-5.5.23\b
in\file:D:\tony\doc\COSMOS\End2End\apache-tomcat-5.5.23\webapps\COSMOSReportView
er\WEB-INF\platform\plugins\org.eclipse.cosmos.dc.mgmt.wsdm_1.0.0.v200707100500.
jar!\log\muse.log 
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java :70)
        at java.io.FileWriter.<init>(FileWriter.java:46)
        at org.apache.muse.core.platform.osgi.OSGiLogListener.<init>(OSGiLogList
ener.java:43)
        at org.apache.muse.core.platform.osgi.OSGiLogHandler .<init>(OSGiLogHandl
er.java:45)
        at org.apache.muse.core.platform.osgi.descriptor.OSGiLoggingConfig.creat
eLogHandler(OSGiLoggingConfig.java:47)
        at org.apache.muse.core.descriptor.LoggingConfig.newInstance (LoggingConf
ig.java:89)
        at org.apache.muse.core.descriptor.RouterDefinition.newInstance(RouterDe
finition.java:84)
        at org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.addReso
urceDefinitions( OSGiResourceRouter.java:359)
        at org.apache.muse.core.platform.osgi.routing.OSGiResourceRouter.setEnvi
ronment(OSGiResourceRouter.java:140)
        at org.apache.muse.core.descriptor.RouterDefinition.newInstance (RouterDe
finition.java:81)
        at org.apache.muse.core.platform.AbstractIsolationLayer.initialize(Abstr
actIsolationLayer.java:178)
        at org.apache.muse.core.platform.osgi.mini.internal.OSGiMiniIsolationLay
er.initialize(OSGiMiniIsolationLayer.java:65)
        at org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.creat
eIsolationLayer(OSGiMinServlet.java:37)
        at org.apache.muse.core.platform.mini.MiniServlet.doPost (MiniServlet.jav
a:69)
        at org.apache.muse.core.platform.osgi.mini.internal.OSGiMinServlet.doPos
t(OSGiMinServlet.java:52)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleR
equest(ServletRegistration.java:90)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias (P
roxyServlet.java:109)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHtt
pServiceServlet.service(HttpServerManager.java:280)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
        at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java
:677)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
        at org.mortbay.http.HttpContext.handle (HttpContext.java:1482)
        at org.mortbay.http.HttpServer.service(HttpServer.java:909)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
        at org.mortbay.http.HttpConnection.handleNext (HttpConnection.java:986)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
245)
        at org.mortbay.util.ThreadedServer.handle (ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
2007-7-17 14:52:18 org.apache.muse.core.routing.SimpleResourceRouter initialize
info: [ID = 'RouterIsInitialized'] The resource router has been initialized.
Entry bundleentry://14/OSGI-INF/Advertisement/Dispatch-Consumer.xml
Ref is <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://127.0.0.1:1080/wsn-consumer/services/consumer</wsa:Addre
ss>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/addressin
g">MuseResource-1</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Entry bundleentry://14/OSGI-INF/Advertisement/advertisement-consumer.xml
Ref is <wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address>http://localhost:1080/wsn-consumer/services/consumer</wsa:Addre
ss>
    <wsa:ReferenceParameters xmlns:wsa=" http://www.w3.org/2005/08/addressing">
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">RuntimeIdentifierValue</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

2007-7-17 14:52:19 org.apache.muse.core.routing.SimpleResourceRouter initialize
info: [ID = 'RouterIsInitialized'] The resource router has been initialized.
org.apache.muse.ws.addressing.soap.SoapFault: [ID = 'DestinationUnreachable'] Th
ere is no resource available at the given EPR:

<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/Relationships</wsa:Addres
s>
</wsa:EndpointReference>

The existing EPRs hosted by this endpoint are:
        at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceCl
ient.java:298)
        at org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceCl
ient.java:254)
        at org.apache.muse.ws.resource.remote.WsResourceClient.getResourceProper
tyDocument(WsResourceClient.java:146)
        at org.eclipse.cosmos.dc.mgmt.wsdm.osgi.WSDMBindingService.warmUpMuse (WS
DMBindingService.java:147)
        at org.eclipse.cosmos.dc.mgmt.wsdm.osgi.WSDMBindingService.access$0(WSDM
BindingService.java:106)
        at org.eclipse.cosmos.dc.mgmt.wsdm.osgi.WSDMBindingService$1.run (WSDMBin
dingService.java:76)
        at java.lang.Thread.run(Thread.java:595)
2007-7-17 14:52:20 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.local
.domain.OSGiDomainHost' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.loc
al.domain.OSGiDomainHost</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_0</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

2007-7-17 14:52:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.local
.registry.SQLProviderRegistry' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.loc
al.registry.SQLProviderRegistry</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/addressin
g">Resource_1</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

2007-7-17 14:52:26 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.runti
me.osgi.OSGiRuntimeHost' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.run
time.osgi.OSGiRuntimeHost</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/addressin
g">RuntimeIdentifierValue</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

2007-7-17 14:53:09 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r setSubscriptionPolicy
warning: [ID = 'PolicyNotSupported'] WS-N SubscriptionPolicy is not supported. The
policy value was: null
2007-7-17 14:53:09 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'SubscriptionManager' has bee
n initialized.
2007-7-17 14:53:09 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r setSubscriptionPolicy
warning: [ID = 'PolicyNotSupported'] WS-N SubscriptionPolicy is not supported. The
policy value was: null
2007-7-17 14:53:09 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'SubscriptionManager' has bee
n initialized.
2007-7-17 14:53:09 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.commo
n.spi.impl.OutboundDataContext' has been initialized.
[CLIENT 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://127.0.0.
1:1080/wsn-consumer/services/consumer</wsa:To>
        <wsa:Action xmlns:wsa=" http://www.w3.org/2005/08/addressing">http://docs
.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest</wsa:Action>
        <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:808
5ca6f-b27a-47d5-d234-ed334c82df0a</wsa:MessageID>
        <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
            <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmo
s.dc.common.spi.impl.OutboundDataContext</wsa:Address>
            <wsa:ReferenceParameters>
                <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/a
ddressing">Resource_2</muse-wsa:ResourceId>
            </wsa:ReferenceParameters>
        </wsa:From>
        <muse-wsa:ResourceId
            xmlns:wsa="http://www.w3.org/2005/08/addressing"
            wsa:IsReferenceParameter="true" xmlns:muse-wsa=" http://ws.apache.org
/muse/addressing">MuseResource-1</muse-wsa:ResourceId>
    </soap:Header>
    <soap:Body>
        <wsnt:Notify xmlns:wsnt=" http://docs.oasis-open.org/wsn/b-2">
            <wsnt:NotificationMessage
                xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
                xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
                xmlns:muws2=" http://docs.oasis-open.org/wsdm/muws2-2.xsd"
                xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsnt="htt
p://docs.oasis- open.org/wsn/b-2">
                <wsnt:SubscriptionReference>
                    <wsa:Address xmlns:wsa=" http://www.w3.org/2005/08/addressing
">http://9.186.52.62/cosmos/services/SubscriptionManager</wsa:Address>
                    <wsa:ReferenceParameters xmlns:wsa=" http://www.w3.org/2005/0
8/addressing">
                        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.or
g/muse/addressing">MuseResource-1</muse-wsa:ResourceId>
                    </wsa:ReferenceParameters>
                </wsnt:SubscriptionReference>
                <wsnt:Topic
                    Dialect=" http://docs.oasis-open.org/wsn/t-1/TopicExpression/
Concrete" xmlns:muws-events="http://docs.oasis-open.org/wsdm/muwse-2.xml">muws-e
vents:ManageabilityEndpointCreation</wsnt:Topic>
                <wsnt:ProducerReference>
                    <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.common.spi.impl.Ou
tboundDataContext</wsa:Address>
                    <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/0
8/addressing">
                        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.or
g/muse/addressing">Resource_2</muse-wsa:ResourceId>
                    </wsa:ReferenceParameters>
                </wsnt:ProducerReference>
                <wsnt:Message>
                    <muws1:ManagementEvent
                        xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd
" ReportTime="2007-07-17T14:53:09+08:00">
                        <muws1:EventId>uuid:e4c7d641-d131-4f33-09af-29e591052b25
</muws1:EventId>
                        <muws1:SourceComponent>
                            <muws1:ComponentAddress>
                                <wsa:EndpointReference xmlns:wsa="http://www.w3.
org/2005/08/addressing">
                                    <wsa:Address>http://9.186.52.62:80/cosmos/se
rvices/org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext</wsa:Address>
                                    <wsa:ReferenceParameters>
                                    <muse-wsa:ResourceId xmlns:muse-wsa="http://
ws.apache.org/muse/addressing ">Resource_2</muse-wsa:ResourceId>
                                    </wsa:ReferenceParameters>
                                </wsa:EndpointReference>
                            </muws1:ComponentAddress>
                        </muws1:SourceComponent>
                        <muws1:ReporterComponent>
                            <muws1:ComponentAddress>
                                <wsa:EndpointReference xmlns:wsa=" http://www.w3.
org/2005/08/addressing">
                                    <wsa:Address>http://9.186.52.62:80/cosmos/se
rvices/org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext</wsa:Address>
                                    <wsa:ReferenceParameters>
                                    <muse-wsa:ResourceId xmlns:muse-wsa="http://
ws.apache.org/muse/addressing ">Resource_2</muse-wsa:ResourceId>
                                    </wsa:ReferenceParameters>
                                </wsa:EndpointReference>
                            </muws1:ComponentAddress>
                        </muws1:ReporterComponent>
                        <muws2:Situation xmlns:muws2="http://docs.oasis-open.org
/wsdm/muws2-2.xsd">
                            <muws2:SituationCategory>
                                <muws2:CreateSituation/>
                            </muws2:SituationCategory>
                            <muws2:SituationTime>2007-07-17T14:53:09+08:00</muws
2:SituationTime>
                        </muws2:Situation>
                        <muws1:ManageabilityEndpointReference>
                            <wsa:Address xmlns:wsa=" http://www.w3.org/2005/08/ad
dressing">http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.common.spi
.impl.OutboundDataContext</wsa:Address>
                            <wsa:ReferenceParameters xmlns:wsa="http://www.w3.or
g/2005/08/addressing">
                                <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.a
pache.org/muse/addressing">Resource_2</muse-wsa:ResourceId>
                            </wsa:ReferenceParameters>
                        </muws1:ManageabilityEndpointReference>
                    </muws1:ManagementEvent>
                </wsnt:Message>
            </wsnt:NotificationMessage>
        </wsnt:Notify>
    </soap:Body>
</soap:Envelope>

2007-7-17 14:53:10 org.apache.muse.util.LoggingUtils logError
info: There was an error while processing a request:

Connection refused: connect

        org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:298)
        org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:254)
        org.apache.muse.ws.notification.remote.NotificationConsumerClient.notify
(NotificationConsumerClient.java:99)
        org.apache.muse.ws.notification.impl.SimpleSubscriptionManager.publish(S
impleSubscriptionManager.java:267)
        org.apache.muse.ws.notification.impl.SimpleNotificationProducer.publish (
SimpleNotificationProducer.java:445)
        org.apache.muse.ws.notification.impl.SimpleNotificationProducer.publish(
SimpleNotificationProducer.java:420)
        org.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement.sendMessage (Ab
stractAdvertisement.java:156)
        org.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement.resourceAdded(
AbstractAdvertisement.java:104)
        org.apache.muse.core.SimpleResourceManager.addResource (SimpleResourceMan
ager.java:112)
        org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBindingFactory.regi
ster(WSDMBindingFactory.java:266)
        org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBindingFactory.bind
Contribution(WSDMBindingFactory.java:458)
        org.eclipse.cosmos.dc.mgmt.osgi.ContributionManagerImpl.manage(Contribut
ionManagerImpl.java:64)
        org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext .<init>(Outboun
dDataContext.java:56)
        org.eclipse.cosmos.dc.runtime.Runtime.loadContextFromStream(Runtime.java
:148)
        org.eclipse.cosmos.dc.runtime.osgi.OSGiRuntimeHost.loadContext(OSGiRunti
meHost.java:95)
        105 more...
------------------------------------------

2007-7-17 14:53:10 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r publish
info: [ID = 'LastPublishFailed'] The last notification published via wsnt:Notify
 failed to reach its destination. The consumer may be unavailable. The original
error was: Connection refused: connect
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.com
mon.spi.impl.OutboundDataContext</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/addressin
g">Resource_2</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Target has annotation org.eclipse.cosmos.dc.mgmt.annotations.CreateManagedRelati
on method addWireTarget
2007-7-17 14:53:13 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.sampl
e.components.query.CBEQuery' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.sam
ple.components.query.CBEQuery</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_3</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Some kind of event or relationship processing goes here
Adding relationship
2007-7-17 14:53:13 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'Relationships' has been init
ialized.
Target has annotation org.eclipse.cosmos.dc.mgmt.annotations.CreateManagedRelati
on method addWireTarget
2007-7-17 14:53:13 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.sampl
e.components.query.CBEQuery' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.sam
ple.components.query.CBEQuery</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_4</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Some kind of event or relationship processing goes here
Adding relationship
2007-7-17 14:53:13 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'Relationships' has been init
ialized.
Target has annotation org.eclipse.cosmos.dc.mgmt.annotations.CreateManagedRelati
on method addWireTarget
2007-7-17 14:53:18 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.sampl
e.components.query.CBEQuery' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.sam
ple.components.query.CBEQuery</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_5</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Some kind of event or relationship processing goes here
Adding relationship
2007-7-17 14:53:18 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'Relationships' has been init
ialized.
Target has annotation org.eclipse.cosmos.dc.mgmt.annotations.CreateManagedRelati
on method addWireTarget
2007-7-17 14:53:18 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.sampl
e.components.query.CBEQuery' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.sam
ple.components.query.CBEQuery</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_6</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Some kind of event or relationship processing goes here
Adding relationship
2007-7-17 14:53:18 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'Relationships' has been init
ialized.
Target has annotation org.eclipse.cosmos.dc.mgmt.annotations.CreateManagedRelati
on method addWireTarget
2007-7-17 14:53:18 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.sampl
e.components.query.CBEQuery' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.sam
ple.components.query.CBEQuery</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_7</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Some kind of event or relationship processing goes here
Adding relationship
2007-7-17 14:53:18 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'Relationships' has been init
ialized.
2007-7-17 14:53:19 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r setSubscriptionPolicy
warning: [ID = 'PolicyNotSupported'] WS-N SubscriptionPolicy is not supported. The
policy value was: null
2007-7-17 14:53:19 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'SubscriptionManager' has bee
n initialized.
2007-7-17 14:53:19 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r setSubscriptionPolicy
warning: [ID = 'PolicyNotSupported'] WS-N SubscriptionPolicy is not supported. The
policy value was: null
2007-7-17 14:53:19 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'SubscriptionManager' has bee
n initialized.
2007-7-17 14:53:19 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.commo
n.spi.impl.OutboundDataContext' has been initialized.
[CLIENT 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://127.0.0.
1:1080/wsn-consumer/services/consumer</wsa:To>
        <wsa:Action xmlns:wsa=" http://www.w3.org/2005/08/addressing">http://docs
.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest</wsa:Action>
        <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:d9b
1bed5-5b06-3ad6-2065-5697f0e8400a</wsa:MessageID>
        <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
            <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmo
s.dc.common.spi.impl.OutboundDataContext</wsa:Address>
            <wsa:ReferenceParameters>
                <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/a
ddressing">Resource_8</muse-wsa:ResourceId>
            </wsa:ReferenceParameters>
        </wsa:From>
        <muse-wsa:ResourceId
            xmlns:wsa="http://www.w3.org/2005/08/addressing"
            wsa:IsReferenceParameter="true" xmlns:muse-wsa=" http://ws.apache.org
/muse/addressing">MuseResource-1</muse-wsa:ResourceId>
    </soap:Header>
    <soap:Body>
        <wsnt:Notify xmlns:wsnt=" http://docs.oasis-open.org/wsn/b-2">
            <wsnt:NotificationMessage
                xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
                xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
                xmlns:muws2=" http://docs.oasis-open.org/wsdm/muws2-2.xsd"
                xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsnt="htt
p://docs.oasis- open.org/wsn/b-2">
                <wsnt:SubscriptionReference>
                    <wsa:Address xmlns:wsa=" http://www.w3.org/2005/08/addressing
">http://9.186.52.62/cosmos/services/SubscriptionManager</wsa:Address>
                    <wsa:ReferenceParameters xmlns:wsa=" http://www.w3.org/2005/0
8/addressing">
                        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.or
g/muse/addressing">MuseResource-3</muse-wsa:ResourceId>
                    </wsa:ReferenceParameters>
                </wsnt:SubscriptionReference>
                <wsnt:Topic
                    Dialect=" http://docs.oasis-open.org/wsn/t-1/TopicExpression/
Concrete" xmlns:muws-events="http://docs.oasis-open.org/wsdm/muwse-2.xml">muws-e
vents:ManageabilityEndpointCreation</wsnt:Topic>
                <wsnt:ProducerReference>
                    <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.common.spi.impl.Ou
tboundDataContext</wsa:Address>
                    <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/0
8/addressing">
                        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.or
g/muse/addressing">Resource_8</muse-wsa:ResourceId>
                    </wsa:ReferenceParameters>
                </wsnt:ProducerReference>
                <wsnt:Message>
                    <muws1:ManagementEvent
                        xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd
" ReportTime="2007-07-17T14:53:19+08:00">
                        <muws1:EventId>uuid:4216cc7d-178e-0ccc-84ed-5f03fc78c612
</muws1:EventId>
                        <muws1:SourceComponent>
                            <muws1:ComponentAddress>
                                <wsa:EndpointReference xmlns:wsa="http://www.w3.
org/2005/08/addressing">
                                    <wsa:Address>http://9.186.52.62:80/cosmos/se
rvices/org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext</wsa:Address>
                                    <wsa:ReferenceParameters>
                                    <muse-wsa:ResourceId xmlns:muse-wsa="http://
ws.apache.org/muse/addressing ">Resource_8</muse-wsa:ResourceId>
                                    </wsa:ReferenceParameters>
                                </wsa:EndpointReference>
                            </muws1:ComponentAddress>
                        </muws1:SourceComponent>
                        <muws1:ReporterComponent>
                            <muws1:ComponentAddress>
                                <wsa:EndpointReference xmlns:wsa=" http://www.w3.
org/2005/08/addressing">
                                    <wsa:Address>http://9.186.52.62:80/cosmos/se
rvices/org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext</wsa:Address>
                                    <wsa:ReferenceParameters>
                                    <muse-wsa:ResourceId xmlns:muse-wsa="http://
ws.apache.org/muse/addressing ">Resource_8</muse-wsa:ResourceId>
                                    </wsa:ReferenceParameters>
                                </wsa:EndpointReference>
                            </muws1:ComponentAddress>
                        </muws1:ReporterComponent>
                        <muws2:Situation xmlns:muws2="http://docs.oasis-open.org
/wsdm/muws2-2.xsd">
                            <muws2:SituationCategory>
                                <muws2:CreateSituation/>
                            </muws2:SituationCategory>
                            <muws2:SituationTime>2007-07-17T14:53:19+08:00</muws
2:SituationTime>
                        </muws2:Situation>
                        <muws1:ManageabilityEndpointReference>
                            <wsa:Address xmlns:wsa=" http://www.w3.org/2005/08/ad
dressing">http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.common.spi
.impl.OutboundDataContext</wsa:Address>
                            <wsa:ReferenceParameters xmlns:wsa="http://www.w3.or
g/2005/08/addressing">
                                <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.a
pache.org/muse/addressing">Resource_8</muse-wsa:ResourceId>
                            </wsa:ReferenceParameters>
                        </muws1:ManageabilityEndpointReference>
                    </muws1:ManagementEvent>
                </wsnt:Message>
            </wsnt:NotificationMessage>
        </wsnt:Notify>
    </soap:Body>
</soap:Envelope>

2007-7-17 14:53:20 org.apache.muse.util.LoggingUtils logError
info: There was an error while processing a request:

Connection refused: connect

        org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:298)
        org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:254)
        org.apache.muse.ws.notification.remote.NotificationConsumerClient.notify
(NotificationConsumerClient.java:99)
        org.apache.muse.ws.notification.impl.SimpleSubscriptionManager.publish(S
impleSubscriptionManager.java:267)
        org.apache.muse.ws.notification.impl.SimpleNotificationProducer.publish (
SimpleNotificationProducer.java:445)
        org.apache.muse.ws.notification.impl.SimpleNotificationProducer.publish(
SimpleNotificationProducer.java:420)
        org.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement.sendMessage (Ab
stractAdvertisement.java:156)
        org.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement.resourceAdded(
AbstractAdvertisement.java:104)
        org.apache.muse.core.SimpleResourceManager.addResource (SimpleResourceMan
ager.java:112)
        org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBindingFactory.regi
ster(WSDMBindingFactory.java:266)
        org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBindingFactory.bind
Contribution(WSDMBindingFactory.java:458)
        org.eclipse.cosmos.dc.mgmt.osgi.ContributionManagerImpl.manage(Contribut
ionManagerImpl.java:64)
        org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext .<init>(Outboun
dDataContext.java:56)
        org.eclipse.cosmos.dc.runtime.Runtime.loadContextFromStream(Runtime.java
:148)
        org.eclipse.cosmos.dc.runtime.osgi.OSGiRuntimeHost.loadContext(OSGiRunti
meHost.java:95)
        105 more...
------------------------------------------

2007-7-17 14:53:20 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r publish
info:  [ID = 'LastPublishFailed'] The last notification published via wsnt:Notify failed to reach its destination. The consumer may be unavailable. The original
error was: Connection refused: connect
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.com
mon.spi.impl.OutboundDataContext</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/addressin
g">Resource_8</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Target has annotation org.eclipse.cosmos.dc.mgmt.annotations.CreateManagedRelati
on method addWireTarget
2007-7-17 14:53:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.sampl
e.components.query.CBEQuery' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.sam
ple.components.query.CBEQuery</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_9</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Some kind of event or relationship processing goes here
Adding relationship
2007-7-17 14:53:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'Relationships' has been init
ialized.
Target has annotation org.eclipse.cosmos.dc.mgmt.annotations.CreateManagedRelati
on method addWireTarget
2007-7-17 14:53:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.sampl
e.components.query.CBEQuery' has been initialized.
Bound<wsa:EndpointReference xmlns:wsa="http://www.w3.org/2005/08/addressing">
    <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.sam
ple.components.query.CBEQuery</wsa:Address>
    <wsa:ReferenceParameters>
        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.org/muse/addressin
g">Resource_10</muse-wsa:ResourceId>
    </wsa:ReferenceParameters>
</wsa:EndpointReference>

Some kind of event or relationship processing goes here
Adding relationship
2007-7-17 14:53:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'Relationships' has been init
ialized.
2007-7-17 14:56:21 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r setSubscriptionPolicy
warning: [ID = 'PolicyNotSupported'] WS-N SubscriptionPolicy is not supported. The
policy value was: null
2007-7-17 14:56:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'SubscriptionManager' has bee
n initialized.
2007-7-17 14:56:21 org.apache.muse.ws.notification.impl.SimpleSubscriptionManage
r setSubscriptionPolicy
warning: [ID = 'PolicyNotSupported'] WS-N SubscriptionPolicy is not supported. The
policy value was: null
2007-7-17 14:56:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at 'SubscriptionManager' has bee
n initialized.
2007-7-17 14:56:21 org.apache.muse.core.SimpleResource initialize
info: [ID = 'ResourceInitialized'] The resource at '/org.eclipse.cosmos.dc.commo
n.spi.impl.OutboundDataContext' has been initialized.
[CLIENT 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://127.0.0.
1:1080/wsn-consumer/services/consumer</wsa:To>
        <wsa:Action xmlns:wsa=" http://www.w3.org/2005/08/addressing">http://docs
.oasis-open.org/wsn/bw-2/NotificationConsumer/NotifyRequest</wsa:Action>
        <wsa:MessageID xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:2d3
c66fb-1dc2-6598-2349-80d11ee8e54e</wsa:MessageID>
        <wsa:From xmlns:wsa="http://www.w3.org/2005/08/addressing">
            <wsa:Address> http://9.186.52.62:80/cosmos/services/org.eclipse.cosmo
s.dc.common.spi.impl.OutboundDataContext</wsa:Address>
            <wsa:ReferenceParameters>
                <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.org/muse/a
ddressing">Resource_11</muse-wsa:ResourceId>
            </wsa:ReferenceParameters>
        </wsa:From>
        <muse-wsa:ResourceId
            xmlns:wsa="http://www.w3.org/2005/08/addressing"
            wsa:IsReferenceParameter="true" xmlns:muse-wsa=" http://ws.apache.org
/muse/addressing">MuseResource-1</muse-wsa:ResourceId>
    </soap:Header>
    <soap:Body>
        <wsnt:Notify xmlns:wsnt=" http://docs.oasis-open.org/wsn/b-2">
            <wsnt:NotificationMessage
                xmlns:muse-wsa="http://ws.apache.org/muse/addressing"
                xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd"
                xmlns:muws2=" http://docs.oasis-open.org/wsdm/muws2-2.xsd"
                xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsnt="htt
p://docs.oasis- open.org/wsn/b-2">
                <wsnt:SubscriptionReference>
                    <wsa:Address xmlns:wsa=" http://www.w3.org/2005/08/addressing
">http://9.186.52.62/cosmos/services/SubscriptionManager</wsa:Address>
                    <wsa:ReferenceParameters xmlns:wsa=" http://www.w3.org/2005/0
8/addressing">
                        <muse-wsa:ResourceId xmlns:muse-wsa="http://ws.apache.or
g/muse/addressing">MuseResource-5</muse-wsa:ResourceId>
                    </wsa:ReferenceParameters>
                </wsnt:SubscriptionReference>
                <wsnt:Topic
                    Dialect=" http://docs.oasis-open.org/wsn/t-1/TopicExpression/
Concrete" xmlns:muws-events="http://docs.oasis-open.org/wsdm/muwse-2.xml">muws-e
vents:ManageabilityEndpointCreation</wsnt:Topic>
                <wsnt:ProducerReference>
                    <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing
">http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.common.spi.impl.Ou
tboundDataContext</wsa:Address>
                    <wsa:ReferenceParameters xmlns:wsa="http://www.w3.org/2005/0
8/addressing">
                        <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.apache.or
g/muse/addressing">Resource_11</muse-wsa:ResourceId>
                    </wsa:ReferenceParameters>
                </wsnt:ProducerReference>
                <wsnt:Message>
                    <muws1:ManagementEvent
                        xmlns:muws1="http://docs.oasis-open.org/wsdm/muws1-2.xsd
" ReportTime="2007-07-17T14:56:21+08:00">
                        <muws1:EventId>uuid:f11221ff-1dcf-2124-bc29-7d9d508e85ab
</muws1:EventId>
                        <muws1:SourceComponent>
                            <muws1:ComponentAddress>
                                <wsa:EndpointReference xmlns:wsa="http://www.w3.
org/2005/08/addressing">
                                    <wsa:Address>http://9.186.52.62:80/cosmos/se
rvices/org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext</wsa:Address>
                                    <wsa:ReferenceParameters>
                                    <muse-wsa:ResourceId xmlns:muse-wsa="http://
ws.apache.org/muse/addressing ">Resource_11</muse-wsa:ResourceId>
                                    </wsa:ReferenceParameters>
                                </wsa:EndpointReference>
                            </muws1:ComponentAddress>
                        </muws1:SourceComponent>
                        <muws1:ReporterComponent>
                            <muws1:ComponentAddress>
                                <wsa:EndpointReference xmlns:wsa=" http://www.w3.
org/2005/08/addressing">
                                    <wsa:Address>http://9.186.52.62:80/cosmos/se
rvices/org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext</wsa:Address>
                                    <wsa:ReferenceParameters>
                                    <muse-wsa:ResourceId xmlns:muse-wsa="http://
ws.apache.org/muse/addressing ">Resource_11</muse-wsa:ResourceId>
                                    </wsa:ReferenceParameters>
                                </wsa:EndpointReference>
                            </muws1:ComponentAddress>
                        </muws1:ReporterComponent>
                        <muws2:Situation xmlns:muws2="http://docs.oasis-open.org
/wsdm/muws2-2.xsd">
                            <muws2:SituationCategory>
                                <muws2:CreateSituation/>
                            </muws2:SituationCategory>
                            <muws2:SituationTime>2007-07-17T14:56:21+08:00</muws
2:SituationTime>
                        </muws2:Situation>
                        <muws1:ManageabilityEndpointReference>
                            <wsa:Address xmlns:wsa=" http://www.w3.org/2005/08/ad
dressing">http://9.186.52.62:80/cosmos/services/org.eclipse.cosmos.dc.common.spi
.impl.OutboundDataContext</wsa:Address>
                            <wsa:ReferenceParameters xmlns:wsa="http://www.w3.or
g/2005/08/addressing">
                                <muse-wsa:ResourceId xmlns:muse-wsa=" http://ws.a
pache.org/muse/addressing">Resource_11</muse-wsa:ResourceId>
                            </wsa:ReferenceParameters>
                        </muws1:ManageabilityEndpointReference>
                    </muws1:ManagementEvent>
                </wsnt:Message>
            </wsnt:NotificationMessage>
        </wsnt:Notify>
    </soap:Body>
</soap:Envelope>

2007-7-17 14:56:22 org.apache.muse.util.LoggingUtils logError
info: There was an error while processing a request:

Connection refused: connect

        org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:298)
        org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClien
t.java:254)
        org.apache.muse.ws.notification.remote.NotificationConsumerClient.notify
(NotificationConsumerClient.java:99)
        org.apache.muse.ws.notification.impl.SimpleSubscriptionManager.publish(S
impleSubscriptionManager.java:267)
        org.apache.muse.ws.notification.impl.SimpleNotificationProducer.publish (
SimpleNotificationProducer.java:445)
        org.apache.muse.ws.notification.impl.SimpleNotificationProducer.publish(
SimpleNotificationProducer.java:420)
        org.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement.sendMessage (Ab
stractAdvertisement.java:156)
        org.apache.muse.ws.dm.muws.adv.impl.AbstractAdvertisement.resourceAdded(
AbstractAdvertisement.java:104)
        org.apache.muse.core.SimpleResourceManager.addResource (SimpleResourceMan
ager.java:112)
        org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBindingFactory.regi
ster(WSDMBindingFactory.java:266)
        org.eclipse.cosmos.dc.mgmt.provisional.wsdm.impl.WSDMBindingFactory.bind
Contribution(WSDMBindingFactory.java:458)
        org.eclipse.cosmos.dc.mgmt.osgi.ContributionManagerImpl.manage(Contribut
ionManagerImpl.java:64)
        org.eclipse.cosmos.dc.common.spi.impl.OutboundDataContext .<init>(Outboun
dDataContext.java:56)
        org.eclipse.cosmos.dc.runtime.Runtime.loadContextFromStream(Runtime.java
:148)
        org.eclipse.cosmos.dc.runtime.osgi.OSGiRuntimeHost.loadContext(OSGiRunti
meHost.java:95)
        105 more...
------------------------------------------

===================
No one knows life was gonna be this way.

Yang, Dejun
Department of Computer Science, PKU

Addr: Room 629 Bldg 36 Peking University, Bejing, P.R.China 100871
Phone: 86-10-52766240
Email: tony000@xxxxxxxxx

Back to the top