你这个问题应该发到java板块!!

解决方案 »

  1.   

    至楼上:
          先前也有人告诉我改掉端口,我将所有端口都改过了,却出现了JVM_BIND错误,还请赐教!JBOSS双实例启动,恐怕没这么简单吧?不然帖子挂了这么久怎么还是没人会?
      

  2.   

    到java版的j2ee去问吧,在这里很少有人用这种服务器。
    没遇到也帮不了你。
      

  3.   

    JBOSS是什么东西?
    哈哈,别笑我无知!
      

  4.   

    好像没听说过同时启动两个JBoss的。不如考虑再用一台电脑。或者部署在同一个JBOss
      

  5.   

    只知道DIABLO想双开必须有两个IP
      

  6.   

    ConfiguringMultipleJBossInstancesOnOneMachineMultiple instances of JBoss can run on a single machine, assuming you have enough memory and CPU and your application is well behaved. Typically, you would only do this if your application required a specific JBoss configuration or version. One possible reason would be run versions of your application for QA or demo purposes. Otherwise, it is probably wise to put multiple (different) applications on a single JBoss. I know 3 or 4 instances of JBoss can run fine single machine. Performance depends more on your application performance profile. Is it CPU or I/O-bound? Java also uses a lot of memory, each JBoss can use about 100-300MB. 
    Remove all unnecessary JBoss components. If you are not using web applications, JMS, SNMP, etc. remove these components. This will save you memory. 
    Create a master copy of JBoss someplace. I would suggest using CVS. This is so you can easily track changes. 
    Identify all the ports on the machine and the corresponding configuration files. (There is a page on this) 
    For each file, replace the port with a ${variable} expression. 
    Create an environment variable JAVA_OPTS which. This is used by run.sh or run.bat. It should look something like this: 
    export JAVA_OPTS="-server -Xmx100M -Dhttp.port=8080 -Djndi.port=1700 -Duil2.port=1000"Export (if you're using CVS) or untar/zip your master copy of JBoss into its own directory. 
    Setup the environment and start the server using the run script. 
      

  7.   

    同一台机器上,不用开两遍吧?
    只要部署到同一个JBoss就可以了吧?
    否则,想你用了2G内存,可能也会不够用哦。
      

  8.   

    只需要该掉Jboss内各种服务的端口即可,曾经在Jboss3.2.1上试过,没有问题的