0 Replies Latest reply on Aug 5, 2002 9:10 AM by Ranbir Singh

    Unable to Access servlet from Jboss

    Ranbir Singh Newbie

      I try to access HelloServlet.class from jBoss application server. But it rather than displaying response opens the File Download window asking whether to save the file or open it in current location. I have made a war file and deployed it in deploy dir of jboss. But it's not working.
      Please Help . Thanks in advance........
      The hierarchy of my JBoss is :
      D:\home\devcatgen
      catalina
      (contains Tomcat folders)
      jboss
      deploy folder
      Also when i am starting the jboos server ,it generates foll. log =>

      JAVA_HOME:--[ [D:\Jdk1.3]
      TOMCAT_HOME:--[ [D:\home\devcatgen\catalina]
      SERVLETAPI_HOME:--[ [D:\home\devcatgen\catalina\common]
      JBOSS_CLASSPATH=.;///D:\jdk1.3\jre\lib\ext/TaveConn25C.jar;D:\Jdk1.3/lib/
      ar;;run.jar;../lib/crimson.jar
      jboss.home = D:\home\devcatgen\jboss
      Using JAAS LoginConfig: file:/D:/home/devcatgen/jboss/conf/catalina/auth.
      JBoss release: JBoss-2.4.4 CVSTag=JBoss_2_4_4
      JBoss version: 2.4.4.2001-12-29 02:04:40 PST
      Using configuration "catalina"
      [INFO,root] Started Log4jService, config=file:/D:/home/devcatgen/jboss/co
      lina/log4j.properties
      [INFO,Info] Java version: 1.3.0,Sun Microsystems Inc.
      [INFO,Info] Java VM: Java HotSpot(TM) Client VM 1.3.0-C,Sun Microsystems
      [INFO,Info] System: Windows 2000 5.0,x86
      [INFO,Shutdown] Shutdown hook added
      java.lang.ClassNotFoundException: org.jboss.tomcat.TomcatService
      at javax.management.loading.MLet.findClass(MLet.java:800)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

      it is unable to look the org.jboss.tomcat.TomcatService
      file.