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>:7080/invoker/EJBInvokerServlet
<attribute name=”InvokerURLSuffix”>:7080/invoker/EJBInvokerServlet</attribute>
<!– Use a URL of the form http://<hostname>: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.