HTTP Admin Connection

"Mamatha balguri" <[email protected]> Wed, 7 Nov 2007 22:49:15 -0700
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
Hi,
I am trying to connect to the OpenJMS server, which is running on my
localhost, using HTTP connector and admin API. The Tomcat server is
also running on localhost. the openjms-tunnel.war is deployed on the
tomcat. I am using openjms-0.7.7-alpha-3 and tomcat version 5.5.23.
But I am getting the following exception.

javax.jms.JMSException: Failed to get registry service for URL:
http://localhost:8080/at
org.exolab.jms.administration.net.JmsAdminConnectionImpl.<init>(JmsAdminConnectionImpl.java:107)
at org.exolab.jms.administration.AdminConnectionFactory.create(AdminConnectionFactory.java:107)
at org.exolab.jms.administration.AdminConnectionFactory.create(AdminConnectionFactory.java:91)


The configuration for HTTP is:
<Configuration>
    <!-- Optional. This represents the default configuration  -->
    <ServerConfiguration embeddedJNDI="true" host="localhost"/>
    <Connectors>
        <Connector scheme="http">
            <ConnectionFactories>
                <TopicConnectionFactory name="JmsTopicConnectionFactory2"/>
                <QueueConnectionFactory name="JmsQueueConnectionFactory2"/>
            </ConnectionFactories>
        </Connector>
    </Connectors>
    <HttpConfiguration adminPort="3030" bindAll="true" jndiPort="3030"
        port="3030" servlet="/openjms-tunnel/tunnel"
        webServerHost="localhost" webServerPort="8080"/>

    <Users>
        <User name="admin" password="openjms"/>
    </Users>
</Configuration>


And in admin connection code :

String url = "http://localhost:8080/";
JmsAdminServerIfc admin = AdminConnectionFactory.create(url);

also I tried, String url =
"http://localhost:8080/openjms-tunnel/tunnel";  but no luck.


Any help would be appreciated. Thanks in advance.

Mamatha.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/