Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5132

Deploy Hotel Booking Seam Demo Shortcut doesn't work after install (windows)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: EAP_EWP 5.1.0_CR3
    • Fix Version/s: EAP_EWP 5.1.1
    • Component/s: Installer
    • Labels:
      None
    • Environment:

      Microsoft Windows Server 2003 Enterprise Edition x64 Service Pack 2

      java version "1.6.0_15"
      Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)

    • Release Notes Text:
      Hide
      In Microsoft Windows installations of the Seam examples, the <guilabel>Deploy Hotel Booking Seam
      Demo</guilabel> shortcut in the Start Menu pointed to a directory one level above the JBoss Enterprise
      Application Platform installation. This caused an error of type <code>NoClassDefFoundError</code> to appear in
      the log, and the example not to deploy. The path has been corrected, and the example now deploys from the
      shortcut
      Show
      In Microsoft Windows installations of the Seam examples, the <guilabel>Deploy Hotel Booking Seam Demo</guilabel> shortcut in the Start Menu pointed to a directory one level above the JBoss Enterprise Application Platform installation. This caused an error of type <code>NoClassDefFoundError</code> to appear in the log, and the example not to deploy. The path has been corrected, and the example now deploys from the shortcut
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Description

      this issue is actually for CR3.5 (tested with http://download.devel.redhat.com/devel/candidates/JBEAP5.0.0/JBEAP-5.1.0-CR3.5/jboss-eap-installer-5.1.0-CR3.5.jar)

      the shortcut Start Menu > Deploy Hotel Booking Seam Demo doesn't work after install
      it's target is
      C:\mlinhard\installed-jboss\jboss-eap-5.1\jboss-as\scripts\launch-deploy.bat "C:\mlinhard\installed-jboss" Booking
      where as in "Deploy DVD Store Seam Demo" shortcut it's
      C:\mlinhard\installed-jboss\jboss-eap-5.1\jboss-as\scripts\launch-deploy.bat "C:\mlinhard\installed-jboss\jboss-eap-5.1" DVD-Store
      (the DVD-Store demo works well)

      the error you see then is:
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Lau
      Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
      at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
      Could not find the main class: org.apache.tools.ant.launch.Launcher. Program will exit.

      because of the wrong ant classpath.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                jlanik Jan Lanik
                Reporter:
                mlinhard Michal Linhard
                Writer:
                Laura Bailey
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: