Hi
I am also facing the same problem and after reading the post I build JBoss from
source and put derby-plugin.jar in the JBOSS_HOME/server/default/lib folder.
Restarted the server and deployed the application, still getting the same error.
Any help is appreciated.
Thanks in Advance,
Anand
V
Hi,
I am trying to run the JBossMQ samples using mySql database.
Everything is alright except whenever I am trying to access the testQueue then
JBoss gives me following exception.
2005-10-02 19:32:35,652 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment
listing:
-
I found the reason for this. It has nothing to do with ClassCastException
actually.
The JMS client was not able to connect to JBoss server hence I was not getting
the Queue type object and thus the ClassCastException.
Putting jbossall-client.jar in the classpath solved the problem.
View the or
Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference
at QClient.main(QClient.java:33)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893172#3893172
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
Hi
I am also facing the same problem.
I am using samples given in the JBoss distribution as per the JBossMQWiki.
However when I use testQueue then I get ClassCastException and if I use queue A
then I get Queue not bound exception.
==
Here is my code: