Using Hermes JMS to watch JBOSS JMS

Using Hermes JMS to watch JBOSS JMS

1.install SOAP-UI in my ubuntu system first.
http://hi.baidu.com/luohuazju/blog/item/e3b95f1bb3e468efae51333a.html

2. click [Tools] ---->[HermesJMS] to open the HermesJMS tool

>vi /home/luohua/tools/soapUI-3.6.1/bin/soapUI-3.6.1
add this line to the content:
export GDK_NATIVE_WINDOWS=true

3. configure the JBOSS JMS
click a yellow round button[Configure]
enter the name as JBOSS5.1

click the tab [Providers], right click the mouse and get the menu, choose [Add group]
add JBOSS5.1 to the groups

right click the [Library] and choose [Add jars]. select these jar packages:
JBOSS_HOME/client/jboss-client.jar
JBOSS_HOME/client/jbossall-client.jar
JBOSS_HOME/client/jmx-invoker-adaptor-client.jar
JBOSS_HOME/client/jnp-client.jar
JBOSS_HOME/lib/jboss-jmx.jar
JBOSS_HOME/lib/concurrent.jar

click [create JNDI initialcontext] to add 'JBOSS_CLEAN', enter these informations:
loader : JBOSS5.1
securityCredentials: admin
securityPrincipal: admin
initialContextFactory: org.jnp.interfaces.NamingContextFactory
providerURL: jnp://localhost:1099

double click our [JBOSS_CLEAN], which we just create it.
select [XAConnectionFactory] and click button [Create a session with this connection factory ]
enter name JBOSS

click [search the queue/topic], we can see:
queue/IUserQueue1
queue/IUserQueue2
topic/IUserTopic

There are all my configured queues and topics in JBOSS.

we can double click them or select them and click [browse the queue, topic, context]

But I can not see my queue object, I put my customized objects in queue,
so I got these error messages:
unable to display message
java.lang.RuntimeException: com.sillycat.core.webservice.model.IUser

how to solve this problem. I need to add my API packages which contains IUser class to JBOSS.
Just use the [Add jars] button to do that.

references:
http://www.hermesjms.com/demos/jboss_config.html
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值