Hi,
what i am doing is that i am showing categories on a page but before it verifies that user is login or not, if not then it is redirected to login screen and asks userlogin and password.
all this is done through JSP. Now login form is submitted and its login name and login password is checked through stateless session bean i.e LoginEJB.if he exists then it sets sessions.
now it is redirected back to category screen where the categories are shown from CategoryEJB bean.
now what i have done is i have made one jar file for login bean and one for category bean through j2ee deploytool.
i also made one war file which contains JSP files,i.e auc_login.jsp,auc_sell_product.jsp,LoginBean.class and Category.class.
LoginBean and CategoryBean are java beans which acts client to their respective ejb's.
i have deployed them through an one application when i run the application, it reflects to login screen,after submitting login form it verifies the user but gives above error in CategoryBean. again if closes this window and open another window then again it asks login screen but this time after submitting the login form it gives above errors in loginBean but categoryBean is working(that i come to know through console where it shows me al the happenings).