Hi,
    Thanks for the early response.
    I am giving part of my code where the error is coming. Could you suggest me 
where may be error.


Method in the Bean:


public TabFactory getTabList(String corporateId) throws EccException {
            Connection conn = null; 
            TabFactory tabFactory = null;
            logger = EkaLogger.getLogger(this.getClass().getName());
            try {
                logger.debug("came to tab list");
                conn = DbConnection.getConnection(true);
                tabFactory = new TabFactory(conn);
                tabFactory.initialize(corporateId);
                logger.debug("Successfully complted tablist initialization");
            }catch(Exception ex) {
                logger.debug("Exception in EccLoginBean - getTabList");
                throw new EccException(ex.getMessage(),2,ex);
            }finally{
                        try {
                            if(conn != null) {
                                        if(rs != null) 
                                                rs.close();
                                        conn.close();
                                        logger.debug("Closed connection in 
EccLoginBean TabList");
                                }
                        } catch (Exception e) {
                                logger.debug("Exception in EccLoginBean - 
getTabList-2");
                                throw new EccException(e.getMessage(),2,e);
                        }
                }
            logger.debug("Tabfactory is "+tabFactory);
            return tabFactory;
        }



Calling part from servlet:

TabFactory tabFactory = eccLogin.getTabList(strCorporateId);




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

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

Reply via email to