glassfish
  1. glassfish
  2. GLASSFISH-11595

must kill -9 to exit after getting usage info

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: 3.1_ms07
    • Component/s: verifier
    • Labels:
      None
    • Environment:

      Operating System: Solaris
      Platform: Sun

    • Issuezilla Id:
      11,595

      Description

      I installed the GlassFish Verifier Tool, using the update center.

      I did not remember the options, so I entered

      /export/home/vkraemer/GlassFish_v3/glassfish/bin/verifier

      to get the usage info.

      Here is what I saw:

      Felix cache dir located at /tmp/verifier-cache/

      Welcome to Felix
      ================

      Feb 19, 2010 10:38:19 AM org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl <init>
      WARNING: Cannot save metadata to cache
      java.io.IOException: No such file or directory
      at java.io.UnixFileSystem.createFileExclusively(Native Method)
      at java.io.File.createNewFile(File.java:883)
      at
      org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.saveCache(OSGiModulesRegistryImpl.java:218)
      at
      org.jvnet.hk2.osgiadapter.OSGiModulesRegistryImpl.<init>(OSGiModulesRegistryImpl.java:116)
      at
      org.jvnet.hk2.osgiadapter.OSGiFactoryImpl.createModulesRegistry(OSGiFactoryImpl.java:70)
      at
      org.jvnet.hk2.osgiadapter.OSGiFactoryImpl.createModulesRegistry(OSGiFactoryImpl.java:52)
      at org.jvnet.hk2.osgiadapter.HK2Main.createModulesRegistry(HK2Main.java:133)
      at org.jvnet.hk2.osgiadapter.HK2Main.start(HK2Main.java:121)
      at
      org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:915)
      at org.jvnet.hk2.osgimain.Main.start(Main.java:140)
      at
      org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:640)
      at org.apache.felix.framework.Felix.activateBundle(Felix.java:1700)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1622)
      at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)
      at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
      at java.lang.Thread.run(Thread.java:619)
      Feb 19, 2010 10:38:21 AM com.sun.enterprise.tools.verifier.Initializer usage
      INFO:
      usage: verifier [optional_params] <jarFile>

      where :

      [optional_params] : Must be:

      d|-destdir <destination directory> : Verifier results are put in the
      specified existing directory
      D|-domain : Absolute path of the domain directory. Domain directory
      will be ignored if verifier is run with -p option. The default domain directory
      is <AS_INSTALL_DIR>/domains/domain1
      p|-portability : Verifier will be run in portability mode with this option.
      Verifier runs in appserver mode by default. In the default mode verifier
      additionally checks correct usage of Sun application server features.
      h|help|? : Display verifier help
      t|-timestamp : verifier results are generated with timestamp appended to it

      u|-gui : Use Verifier GUI

      v|-verbose : Display more execution information
      V|-version : Display verifier tool version
      (Note: Overrides default behavior,
      required jarFile not needed)

      r|-reportlevel <level> : Result reporting level
      level= a|all : Set output report level to display all results
      f|failures : Set output report level to display only failure
      results
      w|warnings : Set output report level to display only warning and
      failure results
      a|-app : Run only the Application tests
      A|-appclient : Run only the Application Client tests
      c|-connector : Run only the Connector tests
      e|-ejb : Run only the EJB tests
      w|-web : Run only the Web tests
      s|-webservices : Run only the WebServices tests
      l|-webservicesclient : Run only the WebServicesClient tests
      P|-persistence : Run only the EJB 3.0 persistence tests

      Note: The default mode is non-verbose mode and the default reportlevel is to
      display only warning and failure results.

      <jarFile>: EAR/WAR/JAR/RAR file to perform static verification on

      An example that runs verifier in verbose mode
      and writes all the results of static verification of
      file sample.ear to the destination directory /verifierresults:

      verifier -v -ra -d /verifierresults sample.ear

      Results are generated in both text and XML format.
      Two result files, sample.ear.txt and sample.ear.xml, will be created.

      ^C^C^C^C
      Killed
      bash-3.2$

        Activity

        Hide
        Sanjeeb Sahoo added a comment -

        All verifier bugs will be addressed by 3.1_ms7

        Show
        Sanjeeb Sahoo added a comment - All verifier bugs will be addressed by 3.1_ms7
        Hide
        Sanjeeb Sahoo added a comment -

        All verifier bugs will be addressed by 3.1_ms7

        Show
        Sanjeeb Sahoo added a comment - All verifier bugs will be addressed by 3.1_ms7
        Hide
        Sanjeeb Sahoo added a comment -

        svn -m "Verifier is now working on both Windows and Unix after switching to
        using new embedded api. These are the issues fixed:
        11394, 11572, 11573, 11595, 11596, 13568, 13569." commit

        Sending deployment/dol/osgi.bundle
        Sending persistence/cmp/support-ejb/osgi.bundle
        Sending verifier/verifier-impl/pom.xml
        Adding
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierMain.java
        Sending
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierModuleStartup.java
        Deleting
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierOSGiMain.java
        Sending
        verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/webservices/WSSchemaLocation.java
        Sending verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier
        Sending
        verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier.bat
        Transmitting file data ........
        Committed revision 42661.

        Show
        Sanjeeb Sahoo added a comment - svn -m "Verifier is now working on both Windows and Unix after switching to using new embedded api. These are the issues fixed: 11394, 11572, 11573, 11595, 11596, 13568, 13569." commit Sending deployment/dol/osgi.bundle Sending persistence/cmp/support-ejb/osgi.bundle Sending verifier/verifier-impl/pom.xml Adding verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierMain.java Sending verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierModuleStartup.java Deleting verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/VerifierOSGiMain.java Sending verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/webservices/WSSchemaLocation.java Sending verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier Sending verifier/verifier-scripts/src/main/resources/glassfish/bin/verifier.bat Transmitting file data ........ Committed revision 42661.

          People

          • Assignee:
            Sanjeeb Sahoo
            Reporter:
            vince kraemer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: