[jboss-dev-forums] [jBPM Development] - Re: http://localhost:8080/jbpm-console problem

Feki Ahmed do-not-reply at jboss.com
Thu May 10 07:28:40 EDT 2012


Feki Ahmed [https://community.jboss.org/people/bardelman] created the discussion

"Re: http://localhost:8080/jbpm-console problem"

To view the discussion, visit: https://community.jboss.org/message/734734#734734

--------------------------------------------------------------
i had two jboss server starting in the same time... i found the same issue in this link  https://community.jboss.org/message/649881#649881 https://community.jboss.org/message/649881
even if i didn t have the same exeption ("java.net.BindException: Address already in use: JVM_Bind localhost/127.0.0.1:8080) i actually
 had both jboss versions 5 and 7 starting in the same time(it is mentionned in the command prompt when i type ant start.demo)
and had the jboss AS 7 welcome page displaying in my localhost:8080. so i changed the build.xml like this (i ve commented the <antcall target="start.jboss5" /> and its "implementation" ):

<!-- Start JBoss AS -->
  <target name="start.jboss">
    <!--<antcall target="start.jboss5" />-->
    <antcall target="start.jboss7" />
  </target>
  <target name="start.jboss7" depends="check.jboss.version" if="jboss.version.is.7">
    <property name="jboss.full.path.win" location="${jboss.home}/bin/standalone.bat" />
    <exec executable="${jboss.full.path.win}" spawn="yes"
          osfamily="windows">
      <env key="JAVA_OPTS" value="-XX:MaxPermSize=256m -Xms256m -Xmx512m" />
      <arg value="-b" />
      <arg value="${jboss.bind.address}" />
      <arg value="-Djbpm.console.directory=${install.home}/sample/evaluation/src/main/resources" />
      <arg value="-Dreporting.needcontext=true" />
    </exec>
    <property name="jboss.full.path.linux" location="${jboss.home}/bin/standalone.sh" />
    <exec executable="${jboss.full.path.linux}" spawn="yes" osfamily="unix">
      <env key="JAVA_OPTS" value="-XX:MaxPermSize=256m -Xms256m -Xmx512m" />
      <arg value="-b" />
      <arg value="${jboss.bind.address}" />
      <arg value="-Djbpm.console.directory=${install.home}/sample/evaluation/src/main/resources" />
      <arg value="-Dreporting.needcontext=true" />
    </exec>
    <waitfor maxwait="5" maxwaitunit="minute" checkevery="10"
             checkeveryunit="second" timeoutproperty="jboss.timeout">
      <socket server="${jboss.bind.address}" port="8080" />
    </waitfor>
    <fail if="jboss.timeout" message="JBoss AS7 did not start within 5 minutes"/>
  </target>
  <!--<target name="start.jboss5" depends="check.jboss.version" unless="jboss.version.is.7">
    <property name="jboss.full.path.win" location="${jboss.home}/bin/run.bat" />
    <exec executable="${jboss.full.path.win}" spawn="yes"
          osfamily="windows">
      <env key="JAVA_OPTS" value="-XX:MaxPermSize=256m -Xms256m -Xmx512m" />
      <arg value="-b" />
      <arg value="${jboss.bind.address}" />
      <arg value="-Djbpm.console.directory=${install.home}/sample/evaluation/src/main/resources" />
    </exec>
    <property name="jboss.full.path.linux" location="${jboss.home}/bin/run.sh" />
    <exec executable="${jboss.full.path.linux}" spawn="yes" osfamily="unix">
      <env key="JAVA_OPTS" value="-XX:MaxPermSize=256m -Xms256m -Xmx512m" />
      <arg value="-b" />
      <arg value="${jboss.bind.address}" />
      <arg value="-Djbpm.console.directory=${install.home}/sample/evaluation/src/main/resources" />
    </exec>
    <waitfor maxwait="10" maxwaitunit="minute" checkevery="30"
             checkeveryunit="second" timeoutproperty="jboss.timeout">
      <socket server="${jboss.bind.address}" port="8080" />
    </waitfor>
    <fail if="jboss.timeout" message="JBoss AS5 did not start within 10 minutes"/>
  </target>-->


But still cant access to the  http://localhost:8080/jbpm-console http://localhost:8080/jbpm-console !!

help please !!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/734734#734734]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120510/e22b89cd/attachment.html 


More information about the jboss-dev-forums mailing list