0 Replies Latest reply on Dec 1, 2017 2:12 AM by Russo Turisto

    How to configure Jboss 5.1 through a company proxy server

    Russo Turisto Newbie

      Is it possible to configure Jboss 5.1 work through a file run.bat? I am amended in this way,but when trying to access the Internet site, an error occurs: org.apache.http.conn.HttpHostConnectException connection refused

      My run.bat:

       

      @echo on

      ChCp 65001

      rem # JVM memory allocation pool parameters - modify as appropriate.

      rem set JAVA_OPTS=-ea -Xms256m -Xmx1152m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseParallelGC -Xrs -Duser.timezone=GB

      set JAVA_OPTS=-ea -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseParallelGC -Xrs

      rem set JAVA_OPTS=-ea -Xms1024m -Xmx3072m -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+UseParallelGC -Xrs

      rem set "JAVA_OPTS=%JAVA_OPTS% -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\heapdumps"

      set "JAVA_OPTS="%JAVA_OPTS% -Dhttps.proxyHost=10.209.32.88 -Dhttps.proxyPort=3128" -Dhttps.proxyUser=3128" -Dhttps.proxyPassword=3128"

      set "JAVA_OPTS=-Dfile.encoding=UTF-8"

      rem # Reduce the RMI GCs to once per hour for Sun JVMs.

      set "JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

      rem # Warn when resolving remote XML DTDs or schemas.

      rem set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"

      rem set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote"

      rem set "JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver"

      rem set "JAVA_OPTS=%JAVA_OPTS% -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"

      rem set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=9008"

      rem set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.authenticate=false"

      rem set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.ssl=false"

      rem runJBoss.bat -b 10.11.12.183 -g CorePartitionSA1 --udp 233.255.13.198 -Djboss.messaging.ServerPeerID=1

      rem runJBoss.bat -b 10.11.12.196 -g CorePartitionSA1 --udp 233.255.13.198 -Djboss.messaging.ServerPeerID=1

      rem runJBoss.bat -b xxx -g CorePartitionSA1 --udp 233.255.13.198 -Djboss.messaging.ServerPeerID=1

      runJBoss.bat -b NOM-30000032-72