I am using JBoss 4.0.1sp1 on SuSE Linux 9.0 System. I have a simplest WEB APPLICATION and access it using http://localhost:8080/mhin/admin.html and here is my Directory structure...
/jboss/server/default/deploy/mhin.war --> this is a directory. /jboss/server/default/deploy/mhin.war/admin.html /jboss/server/default/deploy/mhin.war/WEB-INF/web.xml /jboss/server/default/deploy/mhin.war/WEB-INF/classes/util/t1.class /jboss/server/default/deploy/mhin.war/WEB-INF/classes/util/t2.class /jboss/server/default/deploy/mhin.war/WEB-INF/classes/util/p6.class /jboss/server/default/deploy/mhin.war/WEB-INF/classes/util/p9.class When I click on http://localhost:8080/mhin/admin.html I get following ERROR wonder why... (this HTML calls t2.java file) ------------------------------------------------------------------- javax.servlet.ServletException: Wrapper cannot find servlet class util.t2 or a class it depends on org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:66) org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:150) org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:54) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300) org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374) org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743) org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675) org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866) org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) java.lang.Thread.run(Thread.java:534) root cause java.lang.ClassNotFoundException util.t2 java.net.URLClassLoader$1.run(URLClassLoader.java:199) java.security.AccessController.doPrivileged(Native Method) ------------------------------------------------------------------- My WEB.XML file is: ------------------------------------------------------------------- <web-app> <servlet> <servlet-name>t1</servlet-name> <servlet-class>util.t1</servlet-class> </servlet> <servlet> <servlet-name>t2</servlet-name> <servlet-class>util.t2</servlet-class> </servlet> <servlet> <servlet-name>p6</servlet-name> <servlet-class>util.p6</servlet-class> </servlet> <servlet> <servlet-name>p9</servlet-name> <servlet-class>util.p9</servlet-class> </servlet> <servlet-mapping> <servlet-name>t1</servlet-name> <url-pattern>/t1/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>t2</servlet-name> <url-pattern>/t2/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>p6</servlet-name> <url-pattern>/p6/*</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>p9</servlet-name> <url-pattern>/p9/*</url-pattern> </servlet-mapping> ------------------------------------------------------------------- NOTE: t1.java, t2.java, p6.java and p9.java have "package util" in their declarations... Questions: Are all the classes in the right directory? Am I using the right FQDN? Fully Qualified Domain Name? in my WEB.XML? Any other hints/ relevant informaiton would be appreciated... Sincerely, HARI __________________________________ Yahoo! Mail Mobile Take Yahoo! Mail with you! Check email on your mobile phone. http://mobile.yahoo.com/learn/mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]