Pages

[Solved] JBossAS-5.0.0.GA Server Startup Error

Eclipse : Server JBoss v5.0 at localhost failed to start. Many of the programmer facing this error in server console when start up the JBoss 5.0 GA.This error also throwing in console startup.

Following below is a console error
14:22:36,933 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
14:22:36,934 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
14:22:36,934 INFO  [ServerImpl] Bootstrap URL: null
14:22:36,934 INFO  [ServerImpl] Home Dir: D:\jboss5
14:22:36,934 INFO  [ServerImpl] Home URL: file:/D:/jboss5/
14:22:36,934 INFO  [ServerImpl] Library URL: file:/D:/jboss5/lib/
14:22:36,935 INFO  [ServerImpl] Patch URL: null
14:22:36,935 INFO  [ServerImpl] Common Base URL: file:/D:/jboss5/common/
14:22:36,935 INFO  [ServerImpl] Common Library URL: file:/D:/jboss5/common/lib/
14:22:36,935 INFO  [ServerImpl] Server Name: default
14:22:36,935 INFO  [ServerImpl] Server Base Dir: D:\jboss5\server
14:22:36,935 INFO  [ServerImpl] Server Base URL: file:/D:/jboss5/server/
14:22:36,936 INFO  [ServerImpl] Server Config URL: file:/D:/jboss5/server/default/conf/
14:22:36,936 INFO  [ServerImpl] Server Home Dir: D:\jboss5\server\default
14:22:36,936 INFO  [ServerImpl] Server Home URL: file:/D:/jboss5/server/default/
14:22:36,936 INFO  [ServerImpl] Server Data Dir: D:\jboss5\server\default\data
14:22:36,936 INFO  [ServerImpl] Server Library URL: file:/D:/jboss5/server/default/lib/
14:22:36,936 INFO  [ServerImpl] Server Log Dir: D:\jboss5\server\default\log
14:22:36,936 INFO  [ServerImpl] Server Native Dir: D:\jboss5\server\default\tmp\native
14:22:36,936 INFO  [ServerImpl] Server Temp Dir: D:\jboss5\server\default\tmp
14:22:36,936 INFO  [ServerImpl] Server Temp Deploy Dir: D:\jboss5\server\default\tmp\deploy
14:22:37,387 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jboss5/server/default/conf/bootstrap.xml
14:22:37,811 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
14:22:37,817 INFO  [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
14:22:38,002 INFO  [CopyMechanism] VFS temp dir: D:\jboss5\server\default\tmp
14:22:38,003 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
14:22:38,619 INFO  [ServerInfo] Java version: 1.7.0_07,Oracle Corporation
14:22:38,620 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 23.3-b01,Oracle Corporation
14:22:38,620 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
14:22:38,644 INFO  [JMXKernel] Legacy JMX core initialized
14:22:39,509 ERROR [AbstractKernelController] Error installing to Instantiated: name=StandardBindings state=Described
java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]
 at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395)
 at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:153)
 at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:106)
 at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:80)
 at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.createTarget(AOPConstructorJoinpoint.java:276)
 at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:97)
 at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
 at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
 at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
 at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
 at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:66)
 at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
 at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
 at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
 at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
 at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
 at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598)
 at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062)
 at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
 at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
 at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:331)
 at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:309)
 at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
 at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
 at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:91)
 at org.jboss.bootstrap.microcontainer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:161)
 at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:144)
 at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
 at org.jboss.Main.boot(Main.java:209)
 at org.jboss.Main$1.run(Main.java:547)
 at java.lang.Thread.run(Unknown Source)
14:22:39,682 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@dcfce0(root=D:\jboss5\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
14:22:39,683 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@dcfce0(root=D:\jboss5\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
14:22:39,683 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@1d7d5ee{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
Failed to boot JBoss:
14:22:40,068 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: true
java.lang.IllegalStateException: Incompletely deployed:

*** DEPLOYMENTS IN ERROR: Name -> Error
StandardBindings -> java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[int] actual=[java.util.HashSet]

*** DEPLOYMENTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
SystemPropertyBinder -> SystemPropertyBinder#1{Installed:Described}
ServiceBindingManager -> ServiceBindingStore{Installed:Instantiated}
SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Described}
ServiceBindingStore -> StandardBindings{Installed:**ERROR**}

 at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:290)
 at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
 at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:148)
 at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:394)
 at org.jboss.Main.boot(Main.java:209)
 at org.jboss.Main$1.run(Main.java:547)
 at java.lang.Thread.run(Unknown Source)
14:22:40,071 INFO  [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
Solution :

Goto JBoss directory like below
D:\jboss5\server\default\conf\bootstrap
        Open Binding.xml in bootstrap folder.

BEFORE
<bean class="java.util.HashSet" elementclass="org.jboss.services.binding.ServiceBindingMetadata" name="StandardBindings">
<constructor />
<parameter>
        <set></set>
</parameter>
</bean>

AFTER
<bean class="java.util.HashSet" name="StandardBindings">
<constructor />
<parameter class="java.util.Collection">
    <set elementclass="org.jboss.services.binding.ServiceBindingMetadata"></set>
</parameter>
</bean>

Make the changes and start the server. Below is startup log
 
14:42:54,320 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
14:42:54,321 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
14:42:54,321 INFO  [ServerImpl] Bootstrap URL: null
14:42:54,321 INFO  [ServerImpl] Home Dir: D:\jboss5
14:42:54,321 INFO  [ServerImpl] Home URL: file:/D:/jboss5/
14:42:54,322 INFO  [ServerImpl] Library URL: file:/D:/jboss5/lib/
14:42:54,322 INFO  [ServerImpl] Patch URL: null
14:42:54,322 INFO  [ServerImpl] Common Base URL: file:/D:/jboss5/common/
14:42:54,323 INFO  [ServerImpl] Common Library URL: file:/D:/jboss5/common/lib/
14:42:54,323 INFO  [ServerImpl] Server Name: default
14:42:54,325 INFO  [ServerImpl] Server Base Dir: D:\jboss5\server
14:42:54,325 INFO  [ServerImpl] Server Base URL: file:/D:/jboss5/server/
14:42:54,325 INFO  [ServerImpl] Server Config URL: file:/D:/jboss5/server/default/conf/
14:42:54,325 INFO  [ServerImpl] Server Home Dir: D:\jboss5\server\default
14:42:54,325 INFO  [ServerImpl] Server Home URL: file:/D:/jboss5/server/default/
14:42:54,325 INFO  [ServerImpl] Server Data Dir: D:\jboss5\server\default\data
14:42:54,325 INFO  [ServerImpl] Server Library URL: file:/D:/jboss5/server/default/lib/
14:42:54,326 INFO  [ServerImpl] Server Log Dir: D:\jboss5\server\default\log
14:42:54,326 INFO  [ServerImpl] Server Native Dir: D:\jboss5\server\default\tmp\native
14:42:54,327 INFO  [ServerImpl] Server Temp Dir: D:\jboss5\server\default\tmp
14:42:54,327 INFO  [ServerImpl] Server Temp Deploy Dir: D:\jboss5\server\default\tmp\deploy
14:42:54,843 INFO  [ServerImpl] Starting Microcontainer, bootstrapURL=file:/D:/jboss5/server/default/conf/bootstrap.xml
14:42:55,259 INFO  [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
14:42:55,265 INFO  [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
14:42:55,480 INFO  [CopyMechanism] VFS temp dir: D:\jboss5\server\default\tmp
14:42:55,485 INFO  [ZipEntryContext] VFS force nested jars copy-mode is enabled.
14:42:56,164 INFO  [ServerInfo] Java version: 1.7.0_07,Oracle Corporation
14:42:56,164 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 23.3-b01,Oracle Corporation
14:42:56,164 INFO  [ServerInfo] OS-System: Windows 7 6.1,x86
14:42:56,190 INFO  [JMXKernel] Legacy JMX core initialized
14:42:57,300 INFO  [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@17d7a20(root=D:\jboss5\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
14:42:57,305 INFO  [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@17d7a20(root=D:\jboss5\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
14:42:57,305 INFO  [ProfileServiceImpl] Loaded profile: ProfileImpl@16c5f1a{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
14:42:59,453 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
14:43:03,510 INFO  [NativeServerConfig] JBoss Web Services - Stack Native Core
14:43:03,511 INFO  [NativeServerConfig] 3.0.4.SP1
14:43:11,300 INFO  [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://127.0.0.1/jndi/rmi://127.0.0.1:1090/jmxconnector
14:43:11,410 INFO  [MailService] Mail Service bound to java:/Mail
14:43:12,642 WARN  [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this.
14:43:12,659 WARN  [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent
14:43:12,785 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
14:43:12,785 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
14:43:12,979 INFO  [TransactionManagerService] Initializing recovery manager
14:43:13,073 INFO  [TransactionManagerService] Recovery manager configured
14:43:13,073 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
14:43:13,094 INFO  [TransactionManagerService] Starting transaction recovery manager
14:43:13,526 INFO  [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
14:43:13,528 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:43:13,529 INFO  [StandardService] Starting service jboss.web
14:43:13,531 INFO  [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.1.GA
14:43:13,567 INFO  [Catalina] Server startup in 86 ms
14:43:13,583 INFO  [TomcatDeployment] deploy, ctxPath=/jbossws, vfsUrl=jbossws.sar/jbossws-management.war
14:43:14,503 INFO  [TomcatDeployment] deploy, ctxPath=/web-console, vfsUrl=management/console-mgr.sar/web-console.war
14:43:14,717 INFO  [TomcatDeployment] deploy, ctxPath=/invoker, vfsUrl=http-invoker.sar/invoker.war
14:43:14,832 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/jboss5/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml
14:43:14,851 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/jboss5/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml
14:43:14,871 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/jboss5/server/default/deploy/jms-ra.rar/META-INF/ra.xml
14:43:14,889 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/jboss5/server/default/deploy/mail-ra.rar/META-INF/ra.xml
14:43:14,912 INFO  [RARDeployment] Required license terms exist, view vfszip:/D:/jboss5/server/default/deploy/quartz-ra.rar/META-INF/ra.xml
14:43:14,985 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
14:43:15,009 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
14:43:15,011 INFO  [RAMJobStore] RAMJobStore initialized.
14:43:15,012 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
14:43:15,012 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
14:43:15,012 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
14:43:15,514 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
14:43:15,707 WARN  [QuartzTimerServiceFactory] sql failed: CREATE TABLE QRTZ_JOB_DETAILS(JOB_NAME VARCHAR(80) NOT NULL, JOB_GROUP VARCHAR(80) NOT NULL, DESCRIPTION VARCHAR(120) NULL, JOB_CLASS_NAME VARCHAR(128) NOT NULL, IS_DURABLE VARCHAR(1) NOT NULL, IS_VOLATILE VARCHAR(1) NOT NULL, IS_STATEFUL VARCHAR(1) NOT NULL, REQUESTS_RECOVERY VARCHAR(1) NOT NULL, JOB_DATA BINARY NULL, PRIMARY KEY (JOB_NAME,JOB_GROUP))
14:43:15,744 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
14:43:15,746 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
14:43:15,746 INFO  [JobStoreCMT] Using db table-based data access locking (synchronization).
14:43:15,754 INFO  [JobStoreCMT] Removed 0 Volatile Trigger(s).
14:43:15,755 INFO  [JobStoreCMT] Removed 0 Volatile Job(s).
14:43:15,755 INFO  [JobStoreCMT] JobStoreCMT initialized.
14:43:15,755 INFO  [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance.
14:43:15,755 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
14:43:15,757 INFO  [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state.
14:43:15,761 INFO  [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down.
14:43:15,761 INFO  [JobStoreCMT] Recovery complete.
14:43:15,761 INFO  [JobStoreCMT] Removed 0 'complete' triggers.
14:43:15,761 INFO  [JobStoreCMT] Removed 0 stale fired job entries.
14:43:15,763 INFO  [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started.
14:43:16,346 INFO  [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started
14:43:16,434 INFO  [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000
14:43:16,488 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
14:43:16,488 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1383834 started
14:43:16,488 WARN  [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover
14:43:16,488 WARN  [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing
14:43:16,489 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
14:43:16,489 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1e1cb7d started
14:43:16,491 INFO  [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000
14:43:16,491 INFO  [ConnectionFactory] Connector bisocket://127.0.0.1:4457 has leasing enabled, lease period 10000 milliseconds
14:43:16,491 INFO  [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory@1659b3a started
14:43:16,588 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
14:43:16,603 INFO  [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war
14:43:16,646 INFO  [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war
14:43:17,300 INFO  [TomcatDeployment] deploy, ctxPath=/struts-cookbook-1.3.10, vfsUrl=struts-cookbook-1.3.10.war
14:43:17,430 INFO  [ActionServlet] Loading chain catalog from vfszip:/D:/jboss5/server/default/deploy/struts-cookbook-1.3.10.war/WEB-INF/lib/struts-core-1.3.10.jar/org/apache/struts/chain/chain-config.xml
14:43:17,644 INFO  [ValidatorPlugIn] Loading validation rules file from '/org/apache/struts/validator/validator-rules.xml'
14:43:17,645 INFO  [ValidatorPlugIn] Loading validation rules file from '/WEB-INF/validation.xml'
14:43:17,762 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080
14:43:17,789 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009
14:43:17,826 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)] Started in 23s:497ms

Successfully JBoss Server was started. Check out in Browser.