[jboss-user] [JNDI/Naming/Network] - Re: Jndi Datasource

allanrj do-not-reply at jboss.com
Fri Feb 29 12:08:36 EST 2008


Yes, this a client.

About unknow source, the line was at 

  | br.com.gcm.ejb.sb.SitesSBBean.makeConnection(Unknown Source) br.com.gcm.proxy.SitesProxy.selectSite(SitesProxy.java:50)
  | 
public SitesVO selectSite(String siteId) throws br.com.gcm.exceptions.ProxyCallException {
  | 
  | 		br.com.gcm.ejb.sb.SitesSBHome home;
  | 
  | 		br.com.gcm.ejb.sb.SitesSB remote;
  | 
  | 		SitesVO obj = null;
  | 
  | 		try {
  | 
  | 			home = (br.com.gcm.ejb.sb.SitesSBHome)br.com.gcm.servicelocator.ServiceLocator.getInstance().getRemoteHome(br.com.gcm.servicelocator.JndiNames.JNDI_EJB_SB_SITESSB, br.com.gcm.ejb.sb.SitesSBHome.class);
  | 
  | 			remote = home.create(); 
  | 
  | LINE 50 	obj = remote.selectSite(Integer.parseInt(siteId));
  | LINE 51 		}
  | LINE 52		catch ( Exception ex ) { 
  | LINE 53			ex.printStackTrace();
  | LINE 54			throw new br.com.gcm.exceptions.ProxyCallException(ex.getMessage());
  | 		}
  | 
  | 		remote = null;
  | 		home = null;
  | 
  | 		return obj;
  | 	}

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

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



More information about the jboss-user mailing list