19:25:28,635 INFO [TomcatDeployer] deploy, ctxPath=/fibo, warUrl=file:/D:/jboss-4.0.0RC2/server/default/tmp/deploy/tmp12445FiboApp.ear-contents/FiboWeb-exp.war/
19:25:28,735 ERROR [WebModule] Starting failed jboss.web.deployment:id=83395761,war=FiboWeb.war
org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameNotFoundException: comp not bound) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:379)
I am using the Eclipse Tutorial titled: JBoss-IDE 1.3.0 : Tutorial Guide
by Hans Dockter, Laurent Etiemble
Published 2004-07-26 that uses 3.0 with an EJB example for performing a Fibonacci computation. I have worked on this all day and found many mistakes of my own, but finally, this one looks like a deployment/configuration problem.
Anyone have any ideas? I don't have a comp method but comp shows up in the interface files as:
public interface FiboHome
extends javax.ejb.EJBHome
{
public static final String COMP_NAME="java:comp/env/ejb/Fibo";
public static final String JNDI_NAME="ejb/Fibo";
public tutorial.interfaces.Fibo create()
throws javax.ejb.CreateException,java.rmi.RemoteException;
}
It's been a long time since I used an application server, and JBoss looks really good. I just hope the public support is there as in many of the other open source products I use.
Thanks,
Curtis Fisher
This has nothing to do with a comp method.
This link may help you out if you want to learn more about JNDI and the application component environment (ENC namespace).
http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch3.chapter.html