"http" vs. "http-server" in new connectors
Daniel Otero <[email protected]>
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
I am just starting with OpenJMS trying to use the new http (tunnel) connector. I am using cvs head for this so I realize that it might not be fully functional yet (I also noticed that Tim even checked some stuff in today). It seems that the 'http' scheme never gets accepted because there is no factory for it (the only http-related is what I assume is the new one 'http-server'). I get the following: > org.exolab.jms.net.connector.ResourceException: No connector for > URI=http://figaro.local:5079/openjms-tunnel/TunnelServlet > at > org.exolab.jms.net.connector.AbstractConnectionManager.accept(AbstractC > onnectionManager.java:241) > at > org.exolab.jms.net.orb.DefaultORB.accept(DefaultORB.java:326) In case I am doing something really stupid, here is the relevant section of my config/openjms.xml (I tried using the none-managed versions of the factories, but I get the same result) > <Connectors> > <Connector scheme="tcp"> > <ConnectionFactories> > <QueueConnectionFactory name="TCPManagedConnectionFactory" /> > <TopicConnectionFactory name="TCPManagedConnectionFactory" /> > </ConnectionFactories> > </Connector> > <Connector scheme="http"> > <ConnectionFactories> > <QueueConnectionFactory name="HTTPManagedConnectionFactory" /> > <TopicConnectionFactory name="HTTPManagedConnectionFactory" /> > </ConnectionFactories> > </Connector> > </Connectors> > > <HttpConfiguration host="figaro.local" > port="5079" > clientPingInterval="20" > serverServlet="/openjms-tunnel/TunnelServlet" > jndiServlet="/openjms/OpenJMSJndi" > adminServlet="/openjms-tunnel/TunnelServlet" /> Any insights? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click