facebook

Runnig two JBosses on the same machine. But error.

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #236638 Reply

    kedesol
    Member

    Hi All…
    I am using JBoss 4.0.1
    I have configured the files as following.
    1. conf\jboss-minimial.xml
    <attribute name=”Port”>7099</attribute>
    <attribute name=”RmiPort”>7098</attribute>

    2. conf\jboss-service.xml
    <attribute name=”Port”>7083</attribute>
    <attribute name=”Port”>7099</attribute>
    <attribute name=”RmiPort”>7098</attribute>
    <attribute name=”RMIObjectPort”>7444</attribute>
    <attribute name=”ServerBindPort”>7445</attribute>

    3. deploy\http-invoker.sar\META-INF\jboss-service.xml
    <!– Use a URL of the form http://<hostname&gt;:7080/invoker/EJBInvokerServlet
    <attribute name=”InvokerURLSuffix”>:7080/invoker/EJBInvokerServlet</attribute>
    <!– Use a URL of the form http://<hostname&gt;:7080/invoker/EJBInvokerHAServlet
    <attribute name=”InvokerURLSuffix”>:7080/invoker/EJBInvokerHAServlet</attribute>
    <attribute name=”InvokerURLSuffix”>:7080/invoker/JMXInvokerServlet</attribute>
    <attribute name=”InvokerURLSuffix”>:7080/invoker/readonly/JMXInvokerServlet</attribute>

    4. deploy\jbossweb-tomcat50.sar\server.xml
    <!– A HTTP/1.1 Connector on port 7080 –>
    <Connector port=”7080″ address=”${jboss.bind.address}”
    <!– A AJP 1.3 Connector on port 7009 –>
    enableLookups=”false” redirectPort=”7443″ acceptCount=”100″
    enableLookups=”false” redirectPort=”7443″ debug=”0″

    5. deploy\jms\uil2-service.xml
    <attribute name=”ServerBindPort”>7093</attribute>

    Now I have deployed the session bean…and it is giving me exception like…sessionBean not found. NameNotFoundException. But when I deploy it to the one on 8080 port, then it runs perfectly. Again when I am trying to stop the server on port 9090 from the Stop IDE, it stops the server which is running on 8080.

    So why is this happening. Please tell me something about this. Ok Thanks to all.

    #236658 Reply

    Riyad Kalla
    Member

    Moving to OT > Soft Dev, this is a JBoss/EJB question.

    As far as why stopping the server stops all instances of it, that’s because you are only executing 1 install of it. MyEclipse won’t currently handle mroe than one though.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Runnig two JBosses on the same machine. But error.

You must be logged in to post in the forum log in