This is a very simple question.
If you use window platform, please set the "Jboss_classpath" in the variable environment.
I think he asked "what to set" and not how to do it.
Anyways, if you've already solved it just ignore this reply.
Pradeep, I'm quite shure that JBoss set this up automatically, but maybe you can set the JBOSS_CLASSPATH to the "lib" directory inside the server dir that you're using. Example using the server "default":
hope it helps...
what do you set JBOSS_CLASSPATH for?
I have never set it.
You won't have to do anything to the JBOSS_CLASSPATH. Make sure you have the JAVA_HOME set though as this will be required.
Sooooorry, I set JBOSS_CLASSPATH.
JBOSS_CLASSPATH = C:\orant\jdbc\classes12.zip
it is to let Jboss find Oracle's JDBC class,because Jboss can not start DataSource of Oracle when application need access Oracle.