3 Replies Latest reply on Jan 14, 2003 12:30 AM by juhalindfors

    I'm new to JBoss and I'm trying to do some example

    damencho

      I've just 'installed' jboss-3.0.3_tomcat-4.0.5 and integrated it with JBuilder7 (JBossOpenTool-2.5). I'm tring som example but it says "javax.naming.NameNotFoundException:..."
      I've seen that in Project Properties -> Server when I've selected JBoss x3 only active are Deployement, EJB and JSP is it needed to be active Naming and Directory, because the Exception is javax.naming.NameNotFoundException:...?
      I've tried some example from JBuilder.
      And Can you tell me some working example?

        • 1. Re: I'm new to JBoss and I'm trying to do some example

          Navigate to jmx console at http://localhost:8080/jmx-console and find the entry for JNDIView MBean. Click on it and execute the list operation and make sure you see the name you're trying to look up from your client in the global name space.

          • 2. Re: I'm new to JBoss and I'm trying to do some example
            mnachev

            I have similar problem. This "JNDIView MBean" doesn't works because I am not using Message Beans. My test sample is very simple. Just one EJB and one Servlet from which I try to get some data and to show to the web.
            In the used Server configuration for JBoss with JBossOpenTool the active Services (Project Properties/Server/JBoss 3.x/Services) are:
            - Deployment
            - EJB
            - JSP/Servlet

            Unfortunately Naming/Directory service is not Active.
            Is it possible my problem to because Naming/Directory service is not Active. I try with JBuilder 7 and 8.

            In the source code I see that there are some comments for JB7 and JB7/JB8. Part of the commented code is for Naming/Directory service.
            Do I have to removes the comments in order to use this tool with JBuilder7 and JBuilder8?

            • 3. Re: I'm new to JBoss and I'm trying to do some example

              JNDIView works regardless of any message beans you have in your system (it is in no way related). Try it again.