Hi,
when the "CLASSPATH" is specified for a directory, it will only inlcude "*.class" files, but not "*.jar" files.
But it might work, if you add a wildcard to thee end:
export CLASSPATH=$CLASSPATH:/opt/jboss/client/*
See here:
http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html
I am not sure whether this feature was added in Java 1.5 or 1.6, so depending on your version it might not work. In this case, you have to add every single jar to the Classpath.
Hope this helps
Wolfgang