From: SourceForge.net <no...@so...> - 2003-05-13 21:58:44
|
Bugs item #737037, was opened at 2003-05-13 13:09 Message generated for change (Comment added) made by tanderson You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=737037&group_id=54559 Category: transport Group: None Status: Open Resolution: None Priority: 5 Submitted By: John Evans (lgas) Assigned to: Jim Alateras (jalateras) Summary: http transport ignores servlet path Initial Comment: I was trying to use the http_jms.xml config example, but with a few changes, specifically like so: <HttpConfiguration host="www.jpevans.com" port="8282" clientPingInterval="20" jndiServlet="/openjms- 0.7.5/OpenJMSJndi" adminServlet="/openjms- 0.7.5/OpenJMSServer" /> And it seems to have been ignoring my adminServlet setting, and trying to access "/openjms/OpenJMSServer" instead. It looks like perhaps this is hardcoded in the code. I am able to workaround this by symlinking the openjms- 0.7.5 directory as openjms... but it would be nice if it paid attention to those settings.... ---------------------------------------------------------------------- >Comment By: Tim Anderson (tanderson) Date: 2003-05-13 21:58 Message: Logged In: YES user_id=557161 The problem is that despite the configuration option, the URLs are hardcoded. To fix it: . the configured URLs need to be added to the environment properties bound with the ConnectionFactory in JNDI. . the client needs to be modified to use the bound properties. Currently it expects the org.exolab.jms.http.server.url property to be the web server address, minus the servlet path At the very least, the following need to be modified: src/main/org/exolab/jms/client/http/HttpJmsServerStu b.java src/main/org/exolab/jms/client/http/HttpJmsSessionSt ub src/main/org/exolab/jms/administration/http/HttpJms AdminConnection.java src/main/org/exolab/jms/server/http/HttpJmsServer.jav a ---------------------------------------------------------------------- Comment By: John Evans (lgas) Date: 2003-05-13 13:14 Message: Logged In: YES user_id=137603 I just updated the e-mail address that my sourceforge e-mail goes to, but it said it make take up to 24 hours. In case you need to contact me, my current e-mail is jo...@jp.... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=474136&aid=737037&group_id=54559 |