i just started using jboss yesterday, so i may very well be doing something 
silly, but when i attempt to deploy a trivial session bean, i get the 
following exception below.  i looked through deja and the faq, but saw 
nothing that looked like this.  it appears as if jboss wants to use port 
4444 and something else is already using it.  i have no idea what that would 
be.  is there a way to find out?  is there a way to change the port that 
jboss wants to use?  am i completely off base?


i included my deployment descriptor after the exception (which is snipped) 
in case i am doing something wrong there.


thanks for any help anyone can provide :)

[J2EE Deployer Default] install module simpletest.jar
[Container factory] 
Deploying:file:/C:/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/simpletest.jar
[Verifier] Verifying 
file:/C:/JBoss-2.2.1_Tomcat-3.2.1/jboss/tmp/deploy/Default/simpletest.jar/ejb1001.jar
[Container factory] Deploying SimpleTest
[Container factory] java.rmi.ServerException: Could not bind either home or 
invoker; nested exception is:
[Container factory]     java.rmi.server.ExportException: Port already in 
use: 4444; nested exception is:
[Container factory]     java.net.BindException: Address in use: JVM_Bind
[Container factory] java.rmi.server.ExportException: Port already in use: 
4444; nested exception is:
[Container factory]     java.net.BindException: Address in use: JVM_Bind
[Container factory] java.net.BindException: Address in use: JVM_Bind
[Container factory]     at java.net.PlainSocketImpl.socketBind(Native 
Method)
[Container factory]     at 
java.net.PlainSocketImpl.bind(PlainSocketImpl.java:397)
[Container factory]     at 
java.net.ServerSocket.<init>(ServerSocket.java:170)
[Container factory]     at 
java.net.ServerSocket.<init>(ServerSocket.java:82) ...

deployment descriptor
---------------------

<?xml version="1.0"?>

<ejb-jar>
    <enterprise-beans>
        <session>
            <ejb-name>SimpleTest</ejb-name>
            <home>testejb.SimpleTestHome</home>
            <remote>testejb.SimpleTest</remote>
            <ejb-class>testejb.SimpleTestEJB</ejb-class>
            <session-type>Stateless</session-type>
            <transaction-type>Container</transaction-type>
        </session>
    </enterprise-beans>

    <assembly-descriptor>
        <container-transaction>
            <method>
                <ejb-name>SimpleTest</ejb-name>
                <method-name>*</method-name>
            </method>
            <trans-attribute>Supports</trans-attribute>
        </container-transaction>
    </assembly-descriptor>
</ejb-jar>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to