3 Replies Latest reply on Oct 9, 2001 4:02 PM by haytona

    I was frustrated...

    ipozeng

      Hi,friends
      On windows2000 box I have installed jboss at D:\JBoss-2.4.1_Tomcat-3.2.3\jboss tomcat at D:\JBoss-2.4.1_Tomcat-3.2.3\tomcat.
      The jboss can be stared with embedded tomcat successfully.Visiting http://localhost:8080 i am sure the jsp and servlet all work fine.
      However,after copying D:\JBoss-2.4.1_Tomcat-3.2.3\jboss\examples\interest\EJB.class to D:\JBoss-2.4.1_Tomcat-3.2.3\tomcat\webapps\ROOT\WEB-INF\classes
      I visited http://localhost:8080/servlet/EJB and got a message "Could not connect to Interest bean. Is EJB Container running?" :(
      It seems that this servlet cannot find the Interest bean.
      I used the D:\Allen\JBoss-2.4.1_Tomcat-3.2.3\jboss\examples\interest\InterestClient.jave to test the Interest bean and it worked fine.So i am sure the Interest bean has been delpoyed automatically.

      Why cannot the tomcat visit the Interest bean?

      Any suggestion are greatly appreciated!

      BTW,I am a Chinese and I want to know where can i buy any books about JBoss?

        • 1. Re: I was frustrated...
          pfink

          I would be frustrated too if I was using windows 2000.

          • 2. Re: I was frustrated...
            bdturne

            I am alos having trouble with the integrated tomcat / jboss package, trying to get my servlets talking to my beans, even though my stand-alone client is fine and happy with this.

            It seems almost as if it's not talking to the right JNDI server ? Does tomcat run it's own JNDI namespace ? Or should they be sharing the same space ?

            My client does the trick, my servlet complains that "ejb is not bound".

            Is there an "interest.war" example code ? I have haerd metnion of it, but I cannot find it in the on-line documentation ?

            • 3. Re: I was frustrated...
              haytona

              This tutorial is quite good for a full example including ejb-tier, client-tier and even a web-tier. Unfortunately the download links don't work so you've a bit of typing to do. But it was worth it for me. http://www.kevinboone.com/webapptut.pdf

              p.s. I followed it using win2k with jboss 2.4.1