1 Reply Latest reply on Apr 21, 2002 5:36 PM by lasterra

    JSP in JBoss/Catalina

    prgoon

      Hi,
      I am a newbie in this forum, probably it is a simple question but I tried a while then waiting for help.

      I can successfully run JBoss examples, I have jarred tomcat example files and put it into jboss/deploy directory, the tomcat examples are running fine. Then I created a HellowWorld.jsp file. Created a jar and put into the deploy directory, but it is giving the following error :
      *****

      [ERROR,AutoDeployer] DeploymentInfo failed:file:/usr/local/JBoss-2.4.4_Tomcat-4.
      0.1/jboss/deploy/rg1.jar
      org.jboss.deployment.J2eeDeploymentException: no deployment descriptor (META-INF
      /ejb-jar.xml, WEB-INF/web.xml, META-INF/application.xml) found
      at org.jboss.deployment.LegacyInstaller.determineType(LegacyInstaller.ja
      va:384)
      at org.jboss.deployment.LegacyInstaller.execute(LegacyInstaller.java:135
      )
      ...
      *****
      Can anyone help me in this regard how to deploy a simple jsp in JBoss/Tomcat bundle. I can run that jsp when Tomcat is running standalone.

      I really would appreciate any pointers even any tutorial which will help me to find out the problem.

      Thanks,
      -Rajat.

        • 1. Re: JSP in JBoss/Catalina
          lasterra

          Hi,

          Generally web applicatians are in war files not in jar files.

          This war files, must have an fixed structure:

          + WEB-INF
          -----+ lib
          -----+ classes
          -----+ web.xml

          In your case,I think you don't hace this structure ok.

          There are good docs in onjava.com about this.

          HTH

          Regards, Enrique.