Re: create admin by http connector
Tim Anderson <[email protected]> Tue, 04 Jul 2006 21:23:31 +1000
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
杜娟 wrote:
> hi all
>
> i want create admin by http connector like this:
> String url ="http://127.0.0.1:8080";
> String user = "admin";
> String password = "openjms";
> try{
> admin = AdminConnectionFactory.create(url,user,password);
> }catch(Exception e){
> logger.error("create admin error",e);
> }
>
> but i got the exception as following:
>
> javax.jms.JMSException: Failed to get registry service for URL: http://127.0.0.1:8080
>
> at org.exolab.jms.administration.net.JmsAdminConnectionImpl.<init>(JmsAdminConnectionImpl.java:110)
>
> at org.exolab.jms.administration.AdminConnectionFactory.create(AdminConnectionFactory.java:107)
>
> but i can send and recieve message well using http connector , any body can give me advices? thank you!
>
>
Try specifying the full URL: http://127.0.0.1:8080/openjms-tunnel/tunnel
-Tim
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user