-
1. Re: QueueConnectionFactory not bound
k__p Aug 15, 2002 11:14 AM (in response to garyg)What does your jbossmq-service.xml look like?
The default setting is "ConnectionFactory". -
2. Re: QueueConnectionFactory not bound
schaefera Aug 15, 2002 12:38 PM (in response to garyg)Hi
Use the HTML-Adapter on port 8082, look for JNDIView service, click on link, then hit the "list" button and check in the Global Namespace that you find "QueueConnectionFactory".
I would go and only use "ConnectionFactory" because the ConnectionFactory implementation can be upcasted to Queue- or TopicConnectionFactory.
Have fun - Andy -
3. Re: QueueConnectionFactory not bound
k__p Aug 16, 2002 8:52 AM (in response to garyg)In 3.0.1 you'll have to use
host:8080/jmx-console rather than host:8082
Is there anyway of making changes to JNDI via the HtmlAdaptor? -
4. Re: QueueConnectionFactory not bound
schaefera Aug 16, 2002 1:01 PM (in response to garyg)Hi
No, you cannot make changes to JNDI bindings but you can figure out what names are bound and with what class type.
Andy -
5. Re: QueueConnectionFactory not bound
garyg Aug 17, 2002 8:14 PM (in response to garyg)So how does this work using the host:8080/jmx-console in 3.0.1 ... whereas before I used the following code on host:8082 to do dynamic queue creation remotely.
Here's what I had to do in 2.4.4 ...
--- snip ---
String action = "action=createQueue?action=createQueue"
+ "¶m0%2Bjava.lang.String=myQueue";
String arg = "/InvokeAction//JBossMQ%3Aservice%3DServer"
+ "/" + action;
try {
URL url = new URL("http", "myMachine", 8082, arg);
HttpURLConnection urlConn = (HttpURLConnection)url.openConnection();
urlConn.connect();
...
Any help much appreciated.