-
1. Re: Problem with destination's name using slash
hendra_netm Aug 29, 2007 8:07 AM (in response to hendra_netm)In linux the exception message is quite different:
Queue name: /var/spool/test
javax.naming.NameNotFoundException: var not bound
Any idea what the cause of this exception?
Best Regards,
Hendra -
2. Re: Problem with destination's name using slash
mskonda Aug 29, 2007 8:39 AM (in response to hendra_netm)I don't think (I may be wrong) that JBM supports subcontext creation during destination deployment (useful feature though).
That is, in your case, for creating /var/spool/test, it first has to create a context called var followed by another subContext call spool and then another subContext called test which, to my knowledge, JBM doens't do.
Thanks
/M -
3. Re: Problem with destination's name using slash
hendra_netm Aug 29, 2007 9:28 AM (in response to hendra_netm)hi /M,
Thanks for your comment.
It seems that JBM trying to do subcontext deployment.
In Windows, somehow, var context is available, so it continues to check spool sub-context, which is not available, then the exception is generated.
I suspect the culprit is not the deployer though, since I can deploy queue with that kind of name using JMX-Console.
The problem may lies somewhere inside the translation of destination's XML file.
In windows, I got another funny behavior.
Somehow, I can deploy queue using this name: /var/usr/test
I change the name into: /var/user/test, and it is failed (get this exception: javax.naming.NameNotFoundException: user not bound)
When I changed the name back to /var/usr/test, it is failed as the queue is still active??
This seems like bug, but I am not sure.
Best Regards,
Hendra -
4. Re: Problem with destination's name using slash
timfox Sep 17, 2007 6:35 AM (in response to hendra_netm)The queue/topic name should not contain a slash.
If you want to deploy the queue/topic at a specific place in the JNDI tree (e.g. /a/b/) then use the JNDIName attribute for this. -
5. Re: Problem with destination's name using slash
hendra_netm Sep 20, 2007 8:20 AM (in response to hendra_netm)Hi Tim,
Is it possible to set the JNDI name differently than the queue name in configuration? Or should I do it only via JMX?
Best Regards,
Hendra -
6. Re: Problem with destination's name using slash
timfox Sep 20, 2007 8:27 AM (in response to hendra_netm)