[JBoss JIRA] Closed: (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.
by Max Andersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-297?page=all ]
Max Andersen closed 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.
> ------------------------------------------------------------------------------------------------------------
>
> 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
16 years, 11 months
[JBoss JIRA] Closed: (JBIDE-295) Ecllpse 3.2M6 breaks JBossAS adapters...
by Max Andersen (JIRA)
[ http://jira.jboss.com/jira/browse/JBIDE-295?page=all ]
Max Andersen closed JBIDE-295.
------------------------------
> Ecllpse 3.2M6 breaks JBossAS adapters...
> ----------------------------------------
>
> Key: JBIDE-295
> URL: http://jira.jboss.com/jira/browse/JBIDE-295
> Project: JBoss Tools
> Issue Type: Bug
> Affects Versions: 1.5.1
> Reporter: Marshall Culpepper
> Assigned To: Marshall Culpepper
> Fix For: 2.0.0.GA
>
> Attachments: org-jboss-ide-eclipse-launcher-ui.jar
>
>
> The relevant parts of the stack trace:
> java.lang.NoClassDefFoundError:
> org/eclipse/jdt/internal/debug/ui/launcher/JavaLaunchConfigurationTab
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
> ..............
> at
> org.jboss.ide.eclipse.launcher.ui.configuration.jboss.JBoss40xTabGroup.creat
> eTabs(JBoss40xTabGroup.java:60)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.CreateLaunchConfiguration
> Action.performAction(CreateLaunchConfigurationAction.java:70)
> at
> org.eclipse.debug.internal.ui.launchConfigurations.AbstractLaunchConfigurati
> onAction$1.run(AbstractLaunchConfigurationAction.java:103)
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
> .....
--
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
16 years, 11 months