Can you get your application to run using the servlet container embeded into JBoss?
When you have added the jars to the classpath are you sure that it is being exported correctly to the session that you are using to run Tomcat?
Thank you. The servlet worked when i tried it in JBoss. The problem was that Tomcat could'nt find j2ee.jar