I met a strange problem . I find every first time I start my jboss3.08 in the eclipse , it seems that everything is fine except the two exception information below: 20:48:29,265 INFO [jbossweb] Starting Jetty/4.2.10pre1 20:48:29,281 INFO [jbossweb] Started [EMAIL PROTECTED] 20:48:29,296 WARN [jbossweb] WARNING: Failed to start: [EMAIL PROTECTED]:8080 20:48:29,312 INFO [jbossweb] Started AJP13Listener on 0.0.0.0:8009 20:48:29,312 INFO [jbossweb] NOTICE: AJP13 is not a secure protocol. Please protect the port 0.0.0.0:8009 20:48:29,328 ERROR [JettyService] multiple exceptions... 20:48:29,328 ERROR [JettyService] exception java.net.BindException: Address already in use: JVM_Bind //NOTE at java.net.PlainSocketImpl.socketBind(Native Method) .........
20:48:34,656 INFO [HANamingService] Starting 20:48:34,750 INFO [HANamingService] Listening on 0.0.0.0/0.0.0.0:1100 20:48:34,750 WARN [HANamingService] Failed to start AutomaticDiscovery java.net.SocketException: error setting options at java.net.PlainDatagramSocketImpl.join(Native Method) .......... Maybe the error information above can be explained that ports used by Jboss have already been used by other software. That is to say, port confliction. But I find that if I close the jboss server and start it again immediately, a lot of error information will emerged. I briefly list the most important part t of them below: 23:58:41,156 INFO [JVMServerILService] Starting 23:58:41,203 INFO [JVMServerILService] Started 23:58:41,203 INFO [RMIServerILService] Starting 23:58:41,375 INFO [RMIServerILService] Started 23:58:41,375 INFO [OILServerILService] Starting 23:58:41,390 ERROR [OILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) ........... 23:58:41,406 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=OIL java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) ............. 23:58:41,406 INFO [UILServerILService] Starting 23:58:41,406 ERROR [UILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) .................... 23:58:41,421 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) ..................... 23:58:41,421 INFO [UILServerILService] Starting 23:58:41,437 ERROR [UILServerILService] Starting failed java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) ........................ 23:58:41,437 WARN [ServiceController] Problem starting service jboss.mq:service=InvocationLayer,type=UIL2 java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) ...................... 23:58:56,984 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] at org.jboss.proxy.ejb.ProxyFactory.bindProxy(ProxyFactory.java:343) .................... Caused by: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:415) .................... Caused by: java.rmi.NoSuchObjectException: object not exported ....................... 23:58:57,687 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=jetty/CMPState,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] ............................. 23:58:58,140 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/jmx/ejb/Adaptor,service=EJB java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] ....................... 23:59:00,359 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=Webserver state: FAILED I Depend On: Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp state: FAILED I Depend On: Depends On Me: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession java.rmi.ServerException: Could not bind JRMP invoker; nested exception is: java.rmi.server.ExportException: Port already in use: 4444; nested exception is: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=ClusteredHttpSession state: CONFIGURED I Depend On: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession Depends On Me: , ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory state: CONFIGURED I Depend On: jboss:service=invoker,type=jrmp Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=OIL state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession state: NOTYETINSTALLED I Depend On: jboss:service=DefaultPartition jboss:service=invoker,type=jrmp Depends On Me: jboss:service=ClusteredHttpSession , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=jetty/CMPState,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb/Adaptor,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=AccountBean,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]] 23:59:00,375 INFO [URLDeploymentScanner] Started 23:59:00,375 INFO [MainDeployer] Deployed package: file:/D:/jboss-3.0.8/server/all/conf/jboss-service.xml 23:59:00,375 ERROR [Server] start failed Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=Webserver state: FAILED I Depend On: Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp state: FAILED I Depend On: Depends On Me: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession java.rmi.ServerException: Could not bind JRMP invoker; nested exception is: java.rmi.server.ExportException: Port already in use: 4444; nested exception is: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=ClusteredHttpSession state: CONFIGURED I Depend On: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession Depends On Me: , ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory state: CONFIGURED I Depend On: jboss:service=invoker,type=jrmp Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=OIL state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession state: NOTYETINSTALLED I Depend On: jboss:service=DefaultPartition jboss:service=invoker,type=jrmp Depends On Me: jboss:service=ClusteredHttpSession , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=jetty/CMPState,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb/Adaptor,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=AccountBean,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]] at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1134) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221) at org.jboss.Main.boot(Main.java:148) at org.jboss.Main$1.run(Main.java:381) at java.lang.Thread.run(Thread.java:534) 23:59:00,390 ERROR [STDERR] Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=Webserver state: FAILED I Depend On: Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=invoker,type=jrmp state: FAILED I Depend On: Depends On Me: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession java.rmi.ServerException: Could not bind JRMP invoker; nested exception is: java.rmi.server.ExportException: Port already in use: 4444; nested exception is: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss:service=ClusteredHttpSession state: CONFIGURED I Depend On: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession Depends On Me: , ObjectName: jboss.jmx:type=adaptor,name=Invoker,protocol=jrmp,service=proxyFactory state: CONFIGURED I Depend On: jboss:service=invoker,type=jrmp Depends On Me: , ObjectName: jboss.mq:service=InvocationLayer,type=OIL state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.mq:service=InvocationLayer,type=UIL2 state: FAILED I Depend On: jboss.mq:service=Invoker Depends On Me: java.net.BindException: Address already in use: JVM_Bind, ObjectName: jboss.j2ee:service=EJB,jndiName=clustering/HTTPSession state: NOTYETINSTALLED I Depend On: jboss:service=DefaultPartition jboss:service=invoker,type=jrmp Depends On Me: jboss:service=ClusteredHttpSession , ObjectName: jboss.j2ee:jndiName=ejb/mgmt/MEJB,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=jetty/CMPState,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=ejb/jmx/ejb/Adaptor,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported], ObjectName: jboss.j2ee:jndiName=AccountBean,service=EJB state: FAILED I Depend On: Depends On Me: java.rmi.ServerException: Could not bind home; nested exception is: javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported]] 23:59:00,390 ERROR [STDERR] at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1134) 23:59:00,390 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:594) 23:59:00,390 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:575) 23:59:00,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 23:59:00,390 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 23:59:00,390 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 23:59:00,390 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324) 23:59:00,390 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) 23:59:00,390 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) 23:59:00,390 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324) 23:59:00,406 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221) 23:59:00,406 ERROR [STDERR] at org.jboss.Main.boot(Main.java:148) 23:59:00,406 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:381) 23:59:00,406 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534) 00:00:00,015 INFO [jbossweb] Log age 2003_06_05.request.log It seems that the error "java.net.BindException: Address already in use: JVM_Bind" and anonymous wrote : " Problem starting servicejboss.j2ee:jndiName=ejb/jmx/ejb/Adaptor,service=EJB | java.rmi.ServerException: Could not bind home; nested exception is: | javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: object not exported] " emerge most frequently . I use jdk1.4 and j2ee1.4, use lomboz.211 for eclipse2.x to deveplop CMPbean. It must be something wrong with my jboss but I don't know where it is . Why it can't be activated more than two times? Can anybody help me ? Any idea or suggestion is highly appreciated. Thank you! Best regards! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829829#3829829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3829829 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user