4 Replies Latest reply on Feb 3, 2007 3:18 AM by Saeed Iqbal

    Directory structure change in JBoss AS affecting seam

    Saeed Iqbal Novice


      I would like to point out that the directory structure of JBoss AS referenced in this small tutorial http://www.jboss.com/index.html?module=bb&op=viewtopic&t=94738 is this "server/default/deploy/tomcat/jbossweb-tomcat55.sar/jsf-libs "

      in the JBoss AS5.xbeta i downloaded just now, deploy/ folder does not contain any folder called tomcat/ . Thereby we'r facing a few errors while doing a fresh install of JBoss AS with fresh Seam and a sample example application like registration deployed.

      The error is :
      2007-02-02 16:29:24,866 DEBUG [org.jboss.web.WebPermissionMapping] Qualified url patterns: {/=PatternInfo[pattern=/,type=3,isOverriden=false,qualifiers=[]]}
      2007-02-02 16:29:24,866 INFO [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] deploy, ctxPath=/seam-registration, warUrl=.../tmp/deploy/jboss-seam-registration60195-exp.war/
      2007-02-02 16:29:24,882 DEBUG [org.jboss.web.tomcat.tc6.deployers.TomcatDeployment] Using session cookies default setting
      2007-02-02 16:29:24,897 DEBUG [org.jboss.web.tomcat.tc6.WebAppLoader] injectionContainer enabled and processing beginning with Tomcat WebAppLoader
      2007-02-02 16:29:24,960 ERROR [org.apache.tomcat.util.modeler.BaseModelMBean] Exception invoking method addChild
      java.lang.RuntimeException: could not find listener class in classpath
      at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:339)

      at java.lang.Thread.run(Thread.java:595)
      Caused by: java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListener
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1355)
      at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
      at org.jboss.web.tomcat.tc6.TomcatInjectionContainer.processMetadata(TomcatInjectionContainer.java:333)

      I would appreciate any guidance in this matter so that I can learn the exciting stuff Seam has to offer and contribute to it if i can :)