I'm facing a lookup can't find error for about a day....
I have created a EAR file called "Ad.ear". Inside of the EAR file, there is a JAR&WAR files. In Jar file, I have a Remote interface called "ResetObj" and implemented Stateless Session bean called "ResetObjBean".
Here's what I'm tryin to do.
I created another EAR file called Ad2.ear which only contains the Servlet. >From the servlet, I'm tryin to call the Remote Session Bean like this:
| Context ctx = new InitialContext(); | ResetObj rst = (ResetObj )ctx.lookup("Ad/ResetObjBean/remote"); //this part fails | rst.resetObject(); |
I've set ClassPath to both JAVA_HOME and JBOSS_HOME.
PLZ help!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042771#4042771
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042771 _______________________________________________ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user