2 Replies Latest reply on Mar 12, 2008 9:00 AM by gjeudy

    JEMS installer headless install not working ?

    gjeudy

      Hi,

      I tried to do headless install on a solaris box. The process seem to complete normally but when I start jboss I cannot access the JMX console through the HTTP server.

      Installation cmd used:

      java -jar jems -installGroup default installpath=/export/home/jboss/jboss-4.2.2


      izpack log output:

      1205244780753; Tue Mar 11 11:13:00 ADT 2008; automationHelperInstance.runAutomated :com.izforge.izpack.panels.InstallPanelAutomati
      onHelper successfully done.
      1205244780754; Tue Mar 11 11:13:00 ADT 2008; AutomationHelper:com.izforge.izpack.panels.ShortcutPanelAutomationHelper
      1205244780759; Tue Mar 11 11:13:00 ADT 2008; Instantiate :com.izforge.izpack.panels.ShortcutPanelAutomationHelper
      1205244780759; Tue Mar 11 11:13:00 ADT 2008; automationHelperInstance.runAutomated :com.izforge.izpack.panels.ShortcutPanelAutomat
      ionHelper entered.
      1205244780760; Tue Mar 11 11:13:00 ADT 2008; com.izforge.izpack.panels.ShortcutPanelAutomationHelper Entered runAutomated()
      1205244780910; Tue Mar 11 11:13:00 ADT 2008; automationHelperInstance.runAutomated :com.izforge.izpack.panels.ShortcutPanelAutomat
      ionHelper successfully done.
      1205244780910; Tue Mar 11 11:13:00 ADT 2008; AutomationHelper:com.jboss.installer.panels.CreateZIPPanelAutomationHelper
      1205244780911; Tue Mar 11 11:13:00 ADT 2008; ClassNotFoundException-skip :com.jboss.installer.panels.CreateZIPPanelAutomationHelpe
      r


      Empty jems-installer log... Is that normal ?

      I do see all files were unpacked successfully in the installDir. Then I just execute $JBOSS_HOME/bin/run.sh. The server starts normally with no error messages. The HTTP server shows started:

      11:17:12,243 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080


      Any ideas of what could be going on? What could I do to troubleshoot the http server and figure out why jmx-console is not accessible ?

      Accessing the host with IE from another workstation on the LAN doesn't show any results, regular page cannot be displayed IE message.

      URL used: http://hostname:8080

        • 1. Re: JEMS installer headless install not working ?
          peterj

          Hmm, I have no idea where the readme.html file appears when using the jems installer, but it has the solution to your problem. As does the 4.2 faq.

          Note the line you posted:

          11:17:12,243 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

          This means that http is bound to localhost and listens to only that ip address. If you want it to listen to other address, run the app server with the -b option:

          ./run.sh -b 0.0.0.0 (binds to all ip addresses)

          or

          ./run.sh -b nn.nn.nn.nn (when nn.nn.nn.nn is your host's ip address)

          Personally, I never use the jems installer. I have seen too many posts from people who use it and cannot get the app server, or some component thereof, running correctly. It is much better to grab the binary zip and unzip it.

          • 2. Re: JEMS installer headless install not working ?
            gjeudy

            Hi Peter,

            I found out the answer to this problem by finding other posts talking about the same issue. The -b 0.0.0.0 switch works very nice for my dev environment.

            I will keep what you said about JEMS installer in mind. If I do get any issues I will re-install using the zip file.

            Thanks,
            -Guillaume