Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-8492

Tools claim server to be running when startup failed on remote host

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.CR1
    • 3.2.0.Final
    • server
    • Hide

      1. Have a remote host without java
      2. Add this remote host to tools, connect, browse it with RSE
      3. Add server and refer to this remote host
      4. Start server

      Currently: this is what I get in log/console
      {{
      (28.02 09:51):(jawa23)/)
      lzoubek $ java "-Dprogram.name=JBossTools: EAP-5.1" -Xms256m -Xmx768m -XX:MaxPe rmSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600 000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=/home/brq/lzou bek/jboss-soa-p-5/jboss-as/lib/endorsed" -Djava.library.path="/home/brq/lzoubek /jboss-soa-p-5/jboss-as/bin/native" -classpath /home/brq/lzoubek/jboss-soa-p-5/j boss-as/bin/run.jar org.jboss.Main --configuration=default -b JAWA23.MW.LAB.ENG .BRQ.REDHAT.COM&
      [1] 20821
      -bash: java: command not found
      [1]+ Exit 127 java "-Dprogram.name=JBossTools: EAP-5.1" -Xms256m -Xmx768m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=/home/brq/lzoubek/jboss-soa-p-5/jboss-as/lib/endorsed" -Djava.library.path="/home/brq/lzoubek/jboss-soa-p-5/jboss-as/bin/native" -classpath /home/brq/lzoubek/jboss-soa-p-5/jboss-as/bin/run.jar org.jboss.Main --configuration=default -b JAWA23.MW.LAB.ENG.BRQ.REDHAT.COM
      (28.02 09:51):(jawa23)/)
      lzoubek $
      }}
      this is expected. Server in server view seems like running, but it is not. If I deploy something, it works (tools are OK, app gets copied on server) but no errors are reported. Tools should report about JMX failure.

      My server uses Web Poller as startup poller.

      Such is could be very confusing for users setting up their remote environment.

      Show
      1. Have a remote host without java 2. Add this remote host to tools, connect, browse it with RSE 3. Add server and refer to this remote host 4. Start server Currently: this is what I get in log/console {{ (28.02 09:51):(jawa23) /) lzoubek $ java "-Dprogram.name=JBossTools: EAP-5.1" -Xms256m -Xmx768m -XX:MaxPe rmSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600 000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=/home/brq/lzou bek/jboss-soa-p-5/jboss-as/lib/endorsed" -Djava.library.path="/home/brq/lzoubek /jboss-soa-p-5/jboss-as/bin/native" -classpath /home/brq/lzoubek/jboss-soa-p-5/j boss-as/bin/run.jar org.jboss.Main --configuration=default -b JAWA23.MW.LAB.ENG .BRQ.REDHAT.COM& [1] 20821 -bash: java: command not found [1] + Exit 127 java "-Dprogram.name=JBossTools: EAP-5.1" -Xms256m -Xmx768m -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 "-Djava.endorsed.dirs=/home/brq/lzoubek/jboss-soa-p-5/jboss-as/lib/endorsed" -Djava.library.path="/home/brq/lzoubek/jboss-soa-p-5/jboss-as/bin/native" -classpath /home/brq/lzoubek/jboss-soa-p-5/jboss-as/bin/run.jar org.jboss.Main --configuration=default -b JAWA23.MW.LAB.ENG.BRQ.REDHAT.COM (28.02 09:51):(jawa23) /) lzoubek $ }} this is expected. Server in server view seems like running, but it is not. If I deploy something, it works (tools are OK, app gets copied on server) but no errors are reported. Tools should report about JMX failure. My server uses Web Poller as startup poller. Such is could be very confusing for users setting up their remote environment.

          rob.stryker Rob Stryker (Inactive)
          lzoubek Libor Zoubek (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          3 Start watching this issue

            Created:
            Updated:
            Resolved: