Details

      Description

      cargo:stop doesn't work on JOnAS 5. Instead, it prints out:

      [INFO] [cargo:stop

      {execution: stop-jonas}

      ]
      [INFO] [talledLocalContainer] JOnAS 5.x is stopping...
      [INFO] [talledLocalContainer] Bad option: -halt
      [INFO] [talledLocalContainer] usage : jonas admin <options>
      [INFO] [talledLocalContainer] if no option(except -n), mode is interactive.
      [INFO] [talledLocalContainer] list of available options:
      [INFO] [talledLocalContainer] -n name : to identify an JOnAS Server
      [INFO] [talledLocalContainer] -username username : user name to use when connecting
      [INFO] [talledLocalContainer] -password password : password to use when connecting
      [INFO] [talledLocalContainer] -registry : to define registry address
      [INFO] [talledLocalContainer] -protocol : to define protocol
      [INFO] [talledLocalContainer] -s : stops the EJB server.
      [INFO] [talledLocalContainer] -l : lists beans currently in the JOnAS Server.
      [INFO] [talledLocalContainer] -lmodules : lists J2EEModules currently in the JOnAS Server.
      [INFO] [talledLocalContainer] -lapps : lists J2EEApplications currently in the JOnAS Server.
      [INFO] [talledLocalContainer] -j : lists registered JNDI names.
      [INFO] [talledLocalContainer] -e : lists JOnAS properties currently used by the JOnAS Server.
      [INFO] [talledLocalContainer] -a fileName : dynamically adds : - beans from fileName in a new container
      [INFO] [talledLocalContainer] : - servlets from a WAR file
      [INFO] [talledLocalContainer] : - j2ee application from an EAR file
      [INFO] [talledLocalContainer] : - resource adapter from a RAR file
      [INFO] [talledLocalContainer] -r fileName : dynamically remove : - beans from container fileName
      [INFO] [talledLocalContainer] : - servlets of a WAR file
      [INFO] [talledLocalContainer] : - j2ee application of an EAR file
      [INFO] [talledLocalContainer] : - resource adapter from a RAR file
      [INFO] [talledLocalContainer] -sync: synchronize all entities
      [INFO] [talledLocalContainer] -passivate: passivate all entities
      [INFO] [talledLocalContainer] -gc: run the garbage collector
      [INFO] [talledLocalContainer] -tt timeout: set default transaction timeout
      [INFO] [talledLocalContainer] -start: Start servers designed by '-target' arg
      [INFO] [talledLocalContainer] -target target: set target for commands (default is local server)
      [INFO] [talledLocalContainer] -ping [-timeout <val (sec)>]: ping server for a given time.(default=100s)
      [INFO] [talledLocalContainer] -t list monolog topics
      [INFO] [talledLocalContainer] --debug-level topic : set DEBUG for a monolog topic
      [INFO] [talledLocalContainer] -q : quiet mode, no processing header information.
      [INFO] [talledLocalContainer] -h : help message.
      [INFO] [talledLocalContainer] -? : help message.
      [WARNING] [talledLocalContainer] Java Result: 2

        Attachments

          Activity

            People

            • Assignee:
              savasalitokmen Savas Ali Tokmen
              Reporter:
              savasalitokmen Savas Ali Tokmen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: