I'm using JBoss- 4.0.3SP1. I have the error when starting JBoss: java.rmi.server.ExportException: Port already in use: 1098; nested exception is:
I want to change rmiPort. I found two xml containing "rmiPort": naming-service.xml in server/default/deploy NamingService-xmbean.xml in server/default/conf/xmdesc Then I change RmiPort in naming-service.xml to a different port other than 1098. But when I start the JBoss, it gives me: 12:58:20,839 INFO [NamingService] Started jndi bootstrap jnpPort=1099, rmiPort=1098, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Ser ver [EMAIL PROTECTED] 12:58:21,026 INFO [WebService] Using RMI server codebase: http://CFEngineer31:8083/ 12:58:22,776 INFO [MailService] Mail Service bound to java:/Mail 12:58:22,839 ERROR [MainDeployer] Could not create deployment: file:/E:/Applications/jboss-4.0.3SP1/server/default/deploy/naming-service.xml org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss:service=Naming As you can see, the rmiPort is set to 1098 before processing naming-service.xml. Where is it set? How can I change the port? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913185#3913185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913185 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user