[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-297) An EJB3.0 project created by the IDE didn't allow a JNDI lookup from a remote client to find a Session Bean.
Rob Stryker (JIRA)
jira-events at lists.jboss.org
Fri Oct 12 00:46:09 EDT 2007
[ http://jira.jboss.com/jira/browse/JBIDE-297?page=all ]
Rob Stryker resolved JBIDE-297.
-------------------------------
Resolution: Out of Date
JIRA Cleanup: Outdated
Also not reproduceable in current product versions
> An EJB3.0 project created by the IDE didn't allow a JNDI lookup from a remote client to find a Session Bean.
> ------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-297
> URL: http://jira.jboss.com/jira/browse/JBIDE-297
> Project: JBoss Tools
> Issue Type: Bug
> Components: ejb3
> Affects Versions: 1.5.1
> Environment: Eclipse 3.1.2 running with Sun JRE 1.5 and Windows XP.
> Reporter: Michel Halde
>
> When running the code below, at the lookup call, a ClassNotFoundException occured on the client-side for "org.jboss.proxy.ejb.EJBMetaDataImpl" class.
> package org.jboss.tutorial.stateless.client;
> import javax.naming.InitialContext;
> import org.jboss.tutorial.stateless.bean.Calculator;
> public class Client {
> /**
> * @param args
> */
> public static void main(String[] args) throws Exception {
> // TODO Auto-generated method stub
>
> InitialContext ctx = new InitialContext();
> Calculator calculator = (Calculator) ctx.lookup("CalculatorBean/remote");
>
> System.out.println("1 + 1 = " + calculator.add(1, 1));
> System.out.println("1 - 1 = " + calculator.subtract(1, 1));
> }
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list