Absolutely:

<?xml version="1.0" encoding="UTF-8"?>
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"; name="jms">
        <component name="JMSClient">
                <implementation.java class="com.example.JMSClientImpl"/>
                <reference name="service" />
        </component>

        <reference name="JMSService" promote="JMSClient/service">
                <interface.java interface="com.example.JMSService"/>
                <binding.jms 
initialContextFactory="weblogic.jndi.WLInitialContextFactory"
jndiURL="t3://localhost:7001">
                        <destination name="jms/TestRequest" />
                        <connectionFactory 
name="jms/TestRequestConnectionFactory" />
                </binding.jms>
        </reference>
</composite>

Dave.

On Jan 18, 2008 11:22 AM, ant elder <[EMAIL PROTECTED]> wrote:
> Could you post the complete SCDL for the composite?
>
>    ..ant
>
>
> On Jan 18, 2008 11:18 AM, Dave Sowerby <[EMAIL PROTECTED]> wrote:
>
> > Hey Ant,
> >
> > Thanks for your reply :)
> >
> > Even with the create attribute removed from the destination attribute
> > it fails with the same JMSBindingException that I posted earlier.
> >
> > Cheers,
> >
> > Dave.
> >
> > On Jan 18, 2008 10:02 AM, ant elder <[EMAIL PROTECTED]> wrote:
> > > Could you try removing the create= attribute from the <destination>
> > element
> > > in your scdl?
> > >
> > >    ...ant
> > >
> > >
> > > On Jan 17, 2008 4:44 PM, Dave Sowerby <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hi guys,
> > > >
> > > > Now that I've recovered from my earlier insanity, I'm getting the
> > > > following exception when attempting to start this binding.jms
> > > > reference client:
> > > >
> > > >     [java] org.apache.tuscany.sca.binding.jms.impl.JMSBindingException
> > :
> > > > JMS Response Destination NORESPONSEDESTINATION not found with create
> > > > modeof "ifnotexist" while registering binding JMSService invoker
> > > >     [java]     at
> > > >
> > > >
> > org.apache.tuscany.sca.binding.jms.provider.JMSBindingInvoker.lookupDestinationQueue
> > > > (JMSBindingInvoker.java:165)
> > > >     [java]     at
> > > >
> > > >
> > org.apache.tuscany.sca.binding.jms.provider.JMSBindingInvoker.lookupResponseDestination
> > > > (JMSBindingInvoker.java:94)
> > > >     [java]     at
> > > > org.apache.tuscany.sca.binding.jms.provider.JMSBindingInvoker.<init>(
> > > > JMSBindingInvoker.java:66)
> > > >     [java]     at
> > > >
> > > >
> > org.apache.tuscany.sca.binding.jms.provider.JMSBindingReferenceBindingProvider.createInvoker
> > > > (JMSBindingReferenceBindingProvider.java:117)
> > > >
> > > > I have no response defined as this operation makes no return.
> > > >
> > > > Does anyone have any ideas on this one?
> > > >
> > > > Cheers,
> > > >
> > > > Dave.
> > > >
> > > >
> > > > On Jan 17, 2008 1:46 PM, Dave Sowerby <[EMAIL PROTECTED]> wrote:
> > > > > Hi Simon,
> > > > >
> > > > > Please disregard that last mail, I think I may have been building
> > > > > against an earlier RC.
> > > > >
> > > > > I'll retest against RC2 and let you know if it still occurs.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Dave.
> > > > >
> > > > >
> > > > > On Jan 17, 2008 1:44 PM, Dave Sowerby <[EMAIL PROTECTED]>
> > wrote:
> > > > > > Hey Simon,
> > > > > >
> > > > > > Apologises I should have mentioned platfom etc earlier,
> > > > > >
> > > > > > I'm on Windows XP, using Sun SDK 1.5.0_10
> > > > > >
> > > > > > Looking into the tuscany-sca-all-1.1-incubating.jar from the RC2
> > > > > > distribution I can only see the binding.jms classes, but nothing
> > from
> > > > > > org/apache/tuscany/sca/host/jms/activemq.
> > > > > >
> > > > > > This mirrors the content of the modules directory from the
> > > > > > distribution, which contains the following jms related jars:
> > > > > >
> > > > > > tuscany-binding-jms-1.1-incubating.jar
> > > > > > tuscany-host-jms-1.1-incubating.jar
> > > > > >
> > > > > > But not tuscany-host-jms-activemq-1.1-incubating.jar as I would
> > have
> > > > expected.
> > > > > >
> > > > > > Dave.
> > > > > >
> > > > > >
> > > > > > On Jan 17, 2008 1:25 PM, Simon Laws <[EMAIL PROTECTED]>
> > wrote:
> > > > > > > snip..
> > > > > > >
> > > > > > > On Jan 17, 2008 1:10 PM, Dave Sowerby <[EMAIL PROTECTED]>
> > > > wrote:
> > > > > > >
> > > > > > > > Hey Simon,
> > > > > > > >
> > > > > > > > Thanks for the reply.
> > > > > > > >
> > > > > > > > Updating the composite as you suggested removes the reference
> > > > target
> > > > > > > > warning, however the "No JMSHost extension point registered"
> > > > exception
> > > > > > > > is still thrown.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > >
> > > > > > > What platform and JDK are you running on Dave?
> > > > > > >
> > > > > > > The error is saying to me that it can't find
> > > > tuscany-host-jms-activemq on
> > > > > > > the classpath. Can you check that the
> > > > > > > tuscany-sca-all-1.1-incubating.jarthat's in the same directory
> > as
> > > > the
> > > > > > > manifest jar you reference has the path
> > > > > > > org/apache/tuscany/sca/host/jms/activemq in it with 4 classes.
> > > > > > >
> > > > > > > Simon
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Dave Sowerby MEng MBCS
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Dave Sowerby MEng MBCS
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Dave Sowerby MEng MBCS
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Dave Sowerby MEng MBCS
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>



-- 
Dave Sowerby MEng MBCS

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to