2 Replies Latest reply on May 10, 2003 9:58 AM by wlasiukk

    ORACLE sample ToyStore deploy to Jboss jndi problem

    wlasiukk

      Hi

      Using JDev 9.0.3.1 and Jboss 3.0.7 I'm trying to deploy ToyStore sample application (some simple BC4J works ok!).

      The error is :
      15:46:19,749 ERROR [STDERR] [INFO] RequestProcessor - -Processing a 'GET' for path '/showcategory'
      15:46:19,759 WARN [jbossweb] WARNING: Exception for /BC4JToyStore/showcategory.do?id=A
      JBO-30003: The application pool (ToyStoreServiceLocal) failed to checkout an application module due to the following exception:
      oracle.jbo.JboException: JBO-27200: JNDI failure. Unable to lookup Data Source at context jdbc/toystoreDS

      I'm new to Jboss and don't know how to get it work :(

      If any one know what to do, please help newbe ...

        • 1. Re: ORACLE sample ToyStore deploy to Jboss jndi problem
          davidjencks

          What is JDev and BC4J?

          Datasources in jboss are always bound in the java: context, so you need to look them up like java:/DefaultDS. You can also make local names for them for each ejb like java:/comp/env/MyLocalNameForMyDS, and map these local names to global names (such as java:/DefaultDS) in jboss.xml.

          I'd guess you need to find where "jdbc/toystoreDS" is being specified and try to change it to one of the forms I mentioned.

          • 2. Re: ORACLE sample ToyStore deploy to Jboss jndi problem
            wlasiukk

            JDev = ORACLE JDeveloper 9.0.3.1
            BC4J = ORACLE framwork for building J2EE applications using database (quite powerfull, free, easy, working with struts !).

            I'm lerning that all stuff , and there is a lot of questions in my head ...