ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saurabh Dravid (JIRA)" <j...@apache.org>
Subject [jira] Created: (MUSE-228) Topics provided in RMD file leads to failure of initialization of resource
Date Tue, 24 Apr 2007 15:02:15 GMT
Topics provided in RMD file leads to failure of initialization of resource
--------------------------------------------------------------------------

                 Key: MUSE-228
                 URL: https://issues.apache.org/jira/browse/MUSE-228
             Project: Muse
          Issue Type: Bug
          Components: WSN NotificationProducer
    Affects Versions: 2.2.0
            Reporter: Saurabh Dravid
         Assigned To: Dan Jemiolo
             Fix For: 2.3.0


If I define the topics in RMD file like this

<wsrmd:Property modifiability="read-only" mutability="mutable"
            name="wsnt:TopicExpression" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2">
            <wsrmd:InitialValues>
                <wsnt:TopicExpression
                    xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:pfx="http://www.eclipse.org/TP/capability/Topics">pfx:MemoryLowTopic</wsnt:TopicExpression>
            </wsrmd:InitialValues>
        </wsrmd:Property>


and then try to initialize the resource. I am getting the following error.




java.lang.RuntimeException: [ID = 'NoSetter'] The capability class class org.apache.muse.ws.notification.impl.SimpleNotificationProducer
does not have a setter method for property '{http://docs.oasis-open.org/wsn/b-2}TopicExpression',
so it cannot perform WSRP 'set' operations (delete, insert, update) on it.
	at org.apache.muse.ws.resource.impl.AbstractWsResourceCapability.updateProperty(AbstractWsResourceCapability.java:386)
	at org.apache.muse.ws.resource.impl.AbstractWsResourceCapability.insertProperty(AbstractWsResourceCapability.java:319)
	at org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.insertResourceProperty(SimpleResourcePropertyCollection.java:703)
	at org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.insertResourceProperty(SimpleResourcePropertyCollection.java:669)
	at org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.addInitialValues(SimpleResourcePropertyCollection.java:175)
	at org.apache.muse.ws.resource.properties.impl.SimpleResourcePropertyCollection.applyMetadata(SimpleResourcePropertyCollection.java:303)
	at org.apache.muse.ws.resource.impl.SimpleWsResource.initialize(SimpleWsResource.java:219)
	at org.apache.muse.core.routing.RouterFilePersistence.reloadResource(RouterFilePersistence.java:143)
	at org.apache.muse.core.AbstractFilePersistence.reloadResources(AbstractFilePersistence.java:414)
	at org.apache.muse.core.AbstractFilePersistence.reload(AbstractFilePersistence.java:355)
	at org.apache.muse.core.routing.SimpleResourceRouter.initialize(SimpleResourceRouter.java:260)
	at org.apache.muse.core.platform.AbstractIsolationLayer.initialize(AbstractIsolationLayer.java:180)
	at org.apache.muse.core.platform.axis2.AxisIsolationLayer.handleRequest(AxisIsolationLayer.java:76)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

This leads to the failure of initialization of complete resource.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org


Mime
View raw message