4 Replies Latest reply on Jan 21, 2003 9:06 PM by setya

    Can't Find SerialContextProvider

    setya

      Hi all,

      I'm trying to run client app on the same VM as JBoss 3.0, but I keep getting the above error message no matter what JBoss configuration I start with (default/all/minimal). Since I run on the same VM I pass null parameter to the new InitialContext() method.

      My computer runs on Windows 2000 Advanced Server, J2EE 1.3 and J2SE 1.4.

      Previously I used J2EE RI and everything run fine and the above message only show up when I run the client app without starting the app server first.

      Any advice would be greatly appreciated.

      Thanks in advanced

      Setya

        • 1. Re: Can't Find SerialContextProvider
          joelvogt

          >when I run the client app without starting the app server first.

          I'm not sure if I follow this. Can you post the stacktrace and code you are using that causes the problem?

          • 2. Re: Can't Find SerialContextProvider
            setya

            Sorry to confuse you,

            I mean when I use J2EE RI I experience "Can't find SerialContextProvider" error only when I did not start the J2EE RI first when I run my app.

            But with JBoss I keep getting the "Can't find SerialContextProvider" error even if I've started the JBoss app server (with any configuration) before I run my app.

            The error happens when I try to lookup the bean deployed.

            Setya

            • 3. Re: Can't Find SerialContextProvider
              setya

              I keep getting the message if I pass null parameter to new InitialContext(), but it works fine if pass the required properties even if I run my app on the same VM as JBoss.

              Any idea ?

              • 4. Re: Can't Find SerialContextProvider
                setya

                Problem is solved. I just have to put the correct JBoss client jars and the problem goes away.

                Setya