anonymous wrote :  at 
org.wipo.das.message.user.BusinessResponse.init(BusinessResponse.java:126)
  | at javax.servlet.GenericServlet.init(GenericServlet.java:212) 

Are you doing this logic as part of the init method of your servlet? If so, try 
moving it to some other place. Maybe when the servlet is being inited the 
queues are not yet bound.

Also, since you are doing the lookup through a servlet (within the same jvm as 
the server), you dont need a jndi.properties file. Remove that from your 
application package and change the lookup code to:

  | private static InitialContext getInitialContext() throws NamingException {
  | if(iniCtx == null) {
  | try {
  | iniCtx = new InitialContext();
  | return iniCtx;
  | } catch (Exception e) {
  |  //....
  | }
  | } 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114170
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to