7 Replies Latest reply on Oct 7, 2002 10:59 AM by jkatilie

    TESTING SAP JCA

    purohitn

      I have Successfully deployed sap adapter on JBOSS3.0 and JBOSS3.0.2. But whenever I try to call it with my jsp page using the jndi name of adapter. It gives me an error.
      "name not bound". please help me
      Naresh

        • 1. Re: TESTING SAP JCA
          jkatilie

          What is the exact JNDI name that the application is doing a lookup for? JBoss prefixes the Name with java:/ to indicate this object is only usable with the same JVM.

          jfk.

          • 2. Re: TESTING SAP JCA
            purohitn

            Thanks,
            The jndi name is sapconn. I tried it with java:/sapconn also but giving me the same error. i.e "NamingException sapconn not bound." does it mean that adapter is not properly deployed? Or there is some seperate process to call the adapter. As i am able to call the deployed ejbs.
            Naresh

            • 3. Re: TESTING SAP JCA
              jkatilie

              Its sounds like your adapter is not fully/Correctly deployed. You should get a message like:

              08:30:30,504 INFO [adapterentirex] Bound connection factory for resource adapter 'adapterentirex' t
              o JNDI name 'java:/adapterentirex'

              Indicating that it is. The jmx-console should also show it..

              • 4. Re: TESTING SAP JCA
                jkatilie

                It sounds like the Resource Adapter is not fully/Correctly deployed. You should get a message like:

                08:30:30,504 INFO [adapterentirex] Bound connection factory for resource adapter 'adapterentirex' t
                o JNDI name 'java:/adapterentirex'

                To indicate that fact. You can also use jmx-console to look around.

                • 5. Re: TESTING SAP JCA
                  jkatilie

                  It sounds like the Resource Adapter is not fully/Correctly deployed. You should get a message like:

                  08:30:30,504 INFO [adapterentirex] Bound connection factory for resource adapter 'adapterentirex' t
                  o JNDI name 'java:/adapterentirex'

                  To indicate that fact. You can also use jmx-console to look around.

                  • 6. Re: TESTING SAP JCA
                    purohitn

                    It is showing on log that adapter is bound to jndi name and also in jmx-console. But still the problem remain same
                    Naresh

                    • 7. Re: TESTING SAP JCA
                      jkatilie

                      When your application gets the JNDI Context using IntialContext are you passing any properties or using the System defaults? We use the System defaults.

                      jfk.