5 Replies Latest reply on Apr 1, 2004 6:25 PM by r_rangana

    How to pass env variables to jboss-service.xml



      I'm new to JBoss, I would like to know is it possible to pass the port numbers as env variables or JVM args (-DrmiPort...something like that)
      to the conf/jboss-service.xml file? I don't want to hard code the port numbers in the file, but instead pass them as shell variable or as JVM args to run.sh? Is this possible with JBOSS? We are using 3.2.3 on Solaris 8.
      I appreciate your comments.


      <!-- The listening port for the bootstrap JNP service. Set this to -1
      to run the NamingService without the JNP invoker listening port.
      <!-- The bootstrap JNP server bind address. This also sets the default
      RMI service bind address. Empty == all addresses
      <!-- The port of the RMI naming service, 0 == anonymous -->
      <!-- The RMI service bind address. Empty == all addresses