3 Replies Latest reply on Aug 7, 2008 9:02 PM by aprobe

    newbie: sample app to test

    aprobe

      I am new to JBoss. I have installed the 4.2.3GA version and it runs.

      I am looking for a sample web app that I can run on JBoss to test some other tools.
      I have been trying to get the JBoss examples working, but there is some disconnect with
      the avaialble examples in the "Getting Started" area.

      I tried the 4.2 examples but they don't seem to build properly with JBoss because the
      /build/output/seam directory is missing. Do I have to install SEAM on top of
      JBoss? (I tried installing SEAM but its documentation doesn't appear to say how to
      actually deploy it in JBoss because their examples fail.)

      Or do I have to use the 4.3 examples?

      I'm really lost here, and it seems like it should be pretty simple to run an example.

      Thanks in advance.

        • 1. Re: newbie: sample app to test
          jaikiran

           

          I am looking for a sample web app that I can run on JBoss to test some other tools.


          What type of sample web app are you looking for? JBoss already has the ROOT.war in the deploy folder (it doesn't have much in terms of content, but if you want to test something you could probably use that).

          • 2. Re: newbie: sample app to test
            peterj

            How simple of an app are you looking for? Hello world? Or something a little more functional? You could download and install JBoss Portal - it has a lot of built-in functionality (there is even a Portal + AS bundle that is ready to run).

            To install Seam, just unzip the zip file into any directory (not within JBOSS_HOME.). The readme.txt file (in the base Seam directory) should be able to get you started. Yes the readme mentions JBossAS 4.2.2, but 4.2.3 is just a patch release any and will also work - I just now verified that with Seam 2.0.2. By the way, step #2 in the "Get Up And Running Quick" instructions is a little confusing - you need to add a "jboss.home=xxx" property to the build.properties file located in the base directory. If you run into problems building or deploying the Seam app, please post the ant console output, including the command you entered. (When I built the booking example, no build/seam/output directory was required or created.))

            By the way, did you install the regular or jdk6 variation of JBossAS 4.2.3? And what JDK are you using? (I am using the regular variation of JBossAS and JDK 1.5.0_16)

            • 3. Re: newbie: sample app to test
              aprobe

              Peter,

              Thanks for your post.

              I was able to get the seam booking example running by following your
              instructions. I think I was just running "ant" instead of "ant deploy"
              before, and maybe from the seam base directory, so it was trying to
              build seam or something.

              To answer your questions (thought they are moot) I am running on the
              regular JBoss 4.2.3 version built locally (by someone else here). I think
              the seam examples will be a good starting point for my investigations.
              I think I can modify the code to do some more if I need to.

              Thanks again for your help. Sometime you just need a little hand-holding. ;-)