-
1. Re: HornetQ client prog
ataylor Jul 16, 2013 11:17 AM (in response to rharkar)with such little informatuion its difficult for us to help you.
-
2. Re: HornetQ client prog
rharkar Jul 16, 2013 11:28 AM (in response to rharkar)Thanks for the reply Andy .. I need one for suggestion from you .. I just checked I missed jndi configuration .
<bean name="JNDIServer" class="org.jnp.server.Main">
<property name="namingInfo">
<inject bean="Naming"/>
</property>
<property name="port">1099</property>
<property name="bindAddress">localhost</property>
<property name="rmiPort">1098</property>
<property name="rmiBindAddress">localhost</property>
</bean>
But when I start the server I am getting 1099 port is already in use. Can I use any other number or is it must to pass port number for EVERY NODE .
my jndi.propertis:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
under /Javahome/server/node00/conf/
Thanks,
RJ
-
3. Re: HornetQ client prog
ataylor Jul 16, 2013 11:38 AM (in response to rharkar)1 of 1 people found this helpfulBut when I start the server I am getting 1099 port is already in use. Can I use any other number or is it must to pass port number for EVERY NODE .
that just means another process is using that port, you should just change the port you want or stop the other process using the same port number
-
4. Re: HornetQ client prog
rharkar Jul 16, 2013 12:31 PM (in response to ataylor)Andy,
One last question ..
I am able to to send the message .. I am seeing in the LOGs .. But not receiving the message ..
Should the Debug the code or is there any better way to activate the listener (make the listener up -- if it is default in hornertq)
Thanks,
RJ
-
5. Re: HornetQ client prog
ataylor Jul 16, 2013 12:37 PM (in response to rharkar)I have no way of knowing, you havent really told me anything apart ffrom 'it doesnt work'
-
6. Re: HornetQ client prog
rharkar Jul 16, 2013 3:00 PM (in response to ataylor)Andy,
The Issue is solved .. It was MDB .. we kept hornet-ra.rar. where as it was referring to jms-ra.rar from the code . We renamed and changed some config files .
Its working!!
Thanks,
RJ