Sorry for posting the question to the wrong forum.
New to the community also, learning...:).
I will certainly ensure to post question to the rgith forum next time.
I have identified the cause of the issue I posted and found a solution to it.
Hope this post will close the topic in this forum(I know it is wrong forum for the topic....just try to close it.)
We are facing similar kinda problem. Can you please post your solution?
Basically, the error caused by unsafed java type if both of war and ejb-jar in your application try to access some "shared" java classes/objects, but the "shared" java classes are duplicated in war and ejb-jar.
To fix the problem, you should try to reorganize the application structure and configuration file correctly, so that the shared java classes(by war and ejb-jar) have only one apperance in the application/file structure.
There are two ways to fix the problem.
1) you may put all files shared by war and ejb-jar to a libraby developed and built by yourself, say common.jar, and added the following to your jboss applicaiton.xml.
2) you may put the shared files in ejb-jar only, which can also be accessed by war.
either of the above approach should work(I tested both of them, works well).
Sorry for the late response. Was busy at a project work.
Happy Christmas and New Year !
Sun Certified Enterrpised Architect