let's go :

I made a MBean that listen to a queue.

but if the service is deployed and that I restart the server,
the service can't be loaded because of the following error :


  | javax.naming.NameNotFoundException: ConnectionFactory not bound
  |     at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
  |     at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
  |     at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
  |     at org.jnp.server.NamingServer.lookup(NamingServer.java:281)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
  |     at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
  |     at javax.naming.InitialContext.lookup(InitialContext.java:347)
  | 

what is the depencies for this error.

it is provocated by the follwing code :


  | InitialContext iniCtx = new InitialContext();
  | Object tmp = iniCtx.lookup("ConnectionFactory");
  | QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
  | conn = qcf.createQueueConnection();
  | conn.setExceptionListener(this);
  | session = conn.createQueueSession(false,
  | QueueSession.AUTO_ACKNOWLEDGE);
  | conn.start();
  | ...
  | 

thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918427#3918427

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918427


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to