Binod wrote:
> Are you trying to integrate JBoss MQ with Sun
> appserver?
>
> Or Are you just trying to access SunMQ in one
> Sun appserver from another Sun appserver instance?
>
> - Binod.
>
>> I'm working on migrating our application from
>> Weblogic/JBoss to Sun Application Server. There is a
>> Message Bean to subscribe a durable topic on external
>> JMS server(locates in another Sun Application Server).
>>
>>
>> I follow the sample tibco server, but failed. I have
>> two questions.
>> 1. How do I set JndiProperties? It always returns
>> NameNotfound? I'm sure that the ConnectionFactory JNDI
>> exists, since it works if I use a standalone
>> application. I traced the source and found the
>> exception was thrown by calling
>> "lookup(this.jndiName)". I set the JndiProperties as
>> "java.naming.provider.url=iiop://localhost:36613".
>> =======ObjectBuilderFactory.java===========
>> public Object createObject() throws
>> ResourceException {
>> try {
>> Hashtable props =
>> parseToProperties(this.jndiProps);
>> debug("Properties passed to
>> InitialContext :: " + props);
>> InitialContext ic = new
>> InitialContext(props);
>> debug("Looking the JNDI name :" +
>> this.jndiName);
>> return ic.lookup(this.jndiName);
>> }
>>
>> 2. I see message-destination-link in the sample
>> ejb-jar.xml. But I could not find it on
>> http://java.sun.com/dtd/ejb-jar_2_0.dtd.
>> Does anyone have sample code to connect another Sun
>> Application Server?
>
http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd
Please see the above file.
- Binod.
>>
>> Thanks in advance.
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_genericjmsra.dev.java.net
>> For additional commands, e-mail: users-help_at_genericjmsra.dev.java.net
>>
>>
>>
>
>