[jboss-user] [JBossWS] - Re: Deployment exception with JbossWs 2.0.0 - Cannot find se

thomas.diesler@jboss.com do-not-reply at jboss.com
Mon Aug 6 05:39:19 EDT 2007


This is the code that is failing


  |    public void init(Endpoint ep)
  |    {
  |       String ejbName = ep.getShortName();
  |       ArchiveDeployment dep = (ArchiveDeployment)ep.getService().getDeployment();
  |       String nameStr = "jboss.j2ee:name=" + ejbName + ",service=EJB3,jar=" + dep.getSimpleName();
  |       if (dep.getParent() != null)
  |       {
  |          nameStr += ",ear=" + dep.getParent().getSimpleName();
  |       }
  | 
  |       objectName = ObjectNameFactory.create(nameStr.toString());
  | 
  |       Dispatcher dispatcher = Dispatcher.singleton;
  |       if (dispatcher.getRegistered(objectName.getCanonicalName()) == null)
  |          throw new WebServiceException("Cannot find service endpoint target: " + objectName);
  |    }
  | 

please have a look at the JMX console and tell us the JMX name for your SLSB

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

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



More information about the jboss-user mailing list