>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?
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.
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 ?
Problem is solved. I just have to put the correct JBoss client jars and the problem goes away.