aspose file tools*
The moose likes JBoss/WildFly and the fly likes please help me... getting error while starting JBoss server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "please help me... getting error while starting JBoss server." Watch "please help me... getting error while starting JBoss server." New topic
Author

please help me... getting error while starting JBoss server.

Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
10:34:19,094 INFO [Server] Starting JBoss (MX MicroKernel)...
10:34:19,094 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)
10:34:19,094 INFO [Server] Home Dir: C:\jboss-4.0.5.GA
10:34:19,109 INFO [Server] Home URL: file:/C:/jboss-4.0.5.GA/
10:34:19,109 INFO [Server] Patch URL: null
10:34:19,109 INFO [Server] Server Name: default
10:34:19,109 INFO [Server] Server Home Dir: C:\jboss-4.0.5.GA\server\default
10:34:19,109 INFO [Server] Server Home URL: file:/C:/jboss-4.0.5.GA/server/default/
10:34:19,141 INFO [Server] Server Log Dir: C:\jboss-4.0.5.GA\server\default\log
10:34:19,141 INFO [Server] Server Temp Dir: C:\jboss-4.0.5.GA\server\default\tmp
10:34:19,141 INFO [Server] Root Deployment Filename: jboss-service.xml
10:34:19,658 INFO [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
10:34:19,658 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.6.0_03-b05,Sun Microsystems Inc.
10:34:19,658 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
10:34:20,143 INFO [Server] Core system initialized
10:34:22,493 INFO [WebService] Using RMI server codebase: http://localhost:8083/
10:34:22,540 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml
10:34:28,852 INFO [SocketServerInvoker] Invoker started for locator: InvokerLocator [socket://127.0.0.1:3873/]
10:34:49,200 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417)
10:34:53,398 ERROR [TrapdService] Cannot instantiate trap session
10:34:53,398 WARN [ServiceController] Problem starting service jboss.jmx:name=SnmpAgent,service=trapd,type=logger
java.net.BindException: Address already in use: Cannot bind
at java.net.PlainDatagramSocketImpl.bind0(Native Method)
at java.net.PlainDatagramSocketImpl.bind(Unknown Source)
at java.net.DatagramSocket.bind(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at java.net.DatagramSocket.<init>(Unknown Source)
at org.opennms.protocols.snmp.SnmpPortal.<init>(SnmpPortal.java:295)
at org.opennms.protocols.snmp.SnmpPortal.<init>(SnmpPortal.java:257)
at org.opennms.protocols.snmp.SnmpTrapSession.<init>(SnmpTrapSession.java:336)
at org.jboss.jmx.adaptor.snmp.trapd.TrapdService.startService(TrapdService.java:131)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy8.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Unknown Source)
10:34:53,507 INFO [SnmpAgentService] SNMP agent going active
10:34:54,463 INFO [CorbaNamingService] Naming: [IOR:000000000000002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3000000000000200000000000000E4000102000000000A3132372E302E302E31000DC8000000114A426F73732F4E616D696E672F726F6F74000000000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D31302E3235352E312E31363600000DC900400000000000000000001004010008060667810201010 100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
10:34:54,604 INFO [CorbaTransactionService] TransactionFactory: [IOR:000000000000003049444C3A6F72672F6A626F73732F746D2F69696F702F5472616E73616374696F6E466163746F72794578743A312E30000000000200000000000000E4000102000000000A3132372E302E302E31000DC8000000144A426F73732F5472616E73616374696F6E732F46000000050000000000000008000000004A414300000000010000001C00000000000100010000000105010001000101090000000105010001000000210000006000000000000000010000000000000024000000200000007E00000000000000010000000D31302E3235352E312E31363600000DC9004000000000000000000010040100080606678 10201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003]
10:34:55,230 INFO [Embedded] Catalina naming disabled
10:34:55,293 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
10:34:55,293 INFO [ClusterRuleSetFactory] Unable to find a cluster rule set in the classpath. Will load the default rule set.
10:34:55,716 INFO [Http11BaseProtocol] Initializing Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
10:34:55,716 INFO [Catalina] Initialization processed in 423 ms
10:34:55,716 INFO [StandardService] Starting service jboss.web
10:34:55,716 INFO [StandardEngine] Starting Servlet Engine: Apache Tomcat/5.5.20
10:34:55,826 INFO [StandardHost] XML validation disabled
10:34:55,841 INFO [Catalina] Server startup in 125 ms
10:34:55,967 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
10:34:56,264 INFO [WebappLoader] Dual registration of jndi stream handler: factory already defined
10:34:56,797 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jbossweb-tomcat55.sar/ROOT.war/
10:34:57,048 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../tmp/deploy/tmp37912jbossws-context-exp.war/
10:34:57,204 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
10:34:57,972 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
10:34:58,645 INFO [MailService] Mail Service bound to java:/Mail
10:34:58,896 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
10:34:59,006 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
10:34:59,115 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
10:34:59,225 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
10:34:59,663 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
10:34:59,773 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
10:34:59,867 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
10:34:59,883 INFO [QuartzResourceAdapter] start quartz!!!
10:34:59,945 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main
10:35:00,196 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
10:35:00,196 INFO [RAMJobStore] RAMJobStore initialized.
10:35:00,196 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
10:35:00,196 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2
10:35:00,196 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
10:35:01,230 INFO [WrapperDataSourceService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java efaultDS'
10:35:01,433 INFO [A] Bound to JNDI name: queue/A
10:35:01,433 INFO [B] Bound to JNDI name: queue/B
10:35:01,433 INFO [C] Bound to JNDI name: queue/C
10:35:01,433 INFO [D] Bound to JNDI name: queue/D
10:35:01,433 INFO [ex] Bound to JNDI name: queue/ex
10:35:01,449 INFO [testTopic] Bound to JNDI name: topic/testTopic
10:35:01,465 INFO [securedTopic] Bound to JNDI name: topic/securedTopic
10:35:01,496 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
10:35:01,496 INFO [testQueue] Bound to JNDI name: queue/testQueue
10:35:01,512 INFO [UILServerILService] JBossMQ UIL service available at : localhost/127.0.0.1:8093
10:35:01,543 INFO [DLQ] Bound to JNDI name: queue/DLQ
10:35:01,700 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
10:35:01,856 INFO [Ejb3Deployment] EJB3 deployment time took: 94
10:35:01,903 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=calculator.jar,name=StatlessCalculatorBean,service=EJB3 with dependencies:
10:35:02,060 INFO [EJBContainer] STARTED EJB: by.iba.ejb.StatlessCalculatorBean ejbName: StatlessCalculatorBean
10:35:02,107 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.0.5.GA/server/default/deploy/calculator.jar
10:35:02,138 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
10:35:02,295 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- MBeans waiting for other MBeans ---
ObjectName: jboss.jmx:name=SnmpAgent,service=trapd,type=logger
State: FAILED
Reason: java.net.BindException: Address already in use: Cannot bind

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.jmx:name=SnmpAgent,service=trapd,type=logger
State: FAILED
Reason: java.net.BindException: Address already in use: Cannot bind


10:35:02,389 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
10:35:02,577 INFO [ChannelSocket] JK: ajp13 listening on localhost/127.0.0.1:8009
10:35:02,655 INFO [JkMain] Jk running ID=0 time=0/156 config=null
10:35:02,734 INFO [Server] JBoss (MX MicroKernel) [4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339)] Started in 43s:578ms


SCJP,<br />SCWCD,<br />SCBCD 1.3,<br />SCBCD 5,<br />SCDJWS(In process....)
vitesse wei
Ranch Hand

Joined: Sep 07, 2007
Posts: 100
jboss is started,sames like port was used by other program,some BMeans is not properly deployed,close other program maybe is using the port,restart jboss.


SCJP 5.0<br />SCWCD1.4<br />SCBCD5
Benoît de Chateauvieux
Ranch Hand

Joined: Aug 10, 2007
Posts: 183
Hi Ashwini Ghamandi,

I used to have this error too.
The port was used by Outlook.
As vitesse wei says, you've got to close your Outlook and restart JBoss.

Hope it helps,

Beno�t


SCJP5 | SCBCD5 | SCEA5 Part 1
Ashwini Ghamandi
Ranch Hand

Joined: Jun 01, 2006
Posts: 74
thank you for reply.
Arun Kumar
Ranch Hand

Joined: May 22, 2006
Posts: 62
You might wanna search all the .xml files containing this port 8083 inside default/subsequent folder and replace it with some other port which you think might be available.

That way you can run both the applications at the same time without conflict. Actually I faced the same problem when 8080 port became bone of contention for both Tomcat and Jboss servers.
Charith De Silva
Greenhorn

Joined: Mar 26, 2009
Posts: 18
its in the jboss-service.xml which resides in jb4x/server/default/conf
<mbean code="org.jboss.web.WebService"
name="jboss:service=WebService">
<attribute name="Port">8083</attribute>

However changing this port wont resolved the issue for you. I tried it in my clustered environment. This error pops up with my 2nd node. first node starts without any issue though.


Charith De Silva
Greenhorn

Joined: Mar 26, 2009
Posts: 18

check this solution
- Go in to snmp-adaptor.sar [jb4x/server/all/deploy/snmp-adaptor.sar]
- Open manager.xml and change default port 1162 to some other.

Example:

- Go in to jb4x/server/all/deploy/snmp-adaptor.sar/META-INF folder and open jboss-service.xml
- Find the bean org.jboss.jmx.adaptor.snmp.trapd.TrapdService and change it's port to the same provided above.
- You are done. Star your nodes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: please help me... getting error while starting JBoss server.