aspose file tools*
The moose likes JBoss/WildFly and the fly likes Error starting up JBossv5.0 in Eclipse 3.3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Error starting up JBossv5.0 in Eclipse 3.3.1" Watch "Error starting up JBossv5.0 in Eclipse 3.3.1" New topic
Author

Error starting up JBossv5.0 in Eclipse 3.3.1

Cloey Tan
Ranch Hand

Joined: Feb 03, 2009
Posts: 60
I have created a new JBoss5.0 inside my eclipse. However, when i tried to start-up the jboss server created, i get the following error log, which i think i need some guidelines on how to analyse/troubleshoot the problem: the error log as stated below:

15:15:20,000 INFO [ServerImpl] Starting JBoss (Microcontainer)...
15:15:20,000 INFO [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812041714)
15:15:20,000 INFO [ServerImpl] Bootstrap URL: null
15:15:20,000 INFO [ServerImpl] Home Dir: C:\applications\jboss-5.0.0.GA
15:15:20,000 INFO [ServerImpl] Home URL: file:/C:/applications/jboss-5.0.0.GA/
15:15:20,000 INFO [ServerImpl] Library URL: file:/C:/applications/jboss-5.0.0.GA/lib/
15:15:20,000 INFO [ServerImpl] Patch URL: null
15:15:20,000 INFO [ServerImpl] Common Base URL: file:/C:/applications/jboss-5.0.0.GA/common/
15:15:20,000 INFO [ServerImpl] Common Library URL: file:/C:/applications/jboss-5.0.0.GA/common/lib/
15:15:20,000 INFO [ServerImpl] Server Name: default
15:15:20,000 INFO [ServerImpl] Server Base Dir: C:\applications\jboss-5.0.0.GA\server
15:15:20,000 INFO [ServerImpl] Server Base URL: file:/C:/applications/jboss-5.0.0.GA/server/
15:15:20,000 INFO [ServerImpl] Server Config URL: file:/C:/applications/jboss-5.0.0.GA/server/default/conf/
15:15:20,000 INFO [ServerImpl] Server Home Dir: C:\applications\jboss-5.0.0.GA\server\default
15:15:20,000 INFO [ServerImpl] Server Home URL: file:/C:/applications/jboss-5.0.0.GA/server/default/
15:15:20,000 INFO [ServerImpl] Server Data Dir: C:\applications\jboss-5.0.0.GA\server\default\data
15:15:20,000 INFO [ServerImpl] Server Library URL: file:/C:/applications/jboss-5.0.0.GA/server/default/lib/
15:15:20,000 INFO [ServerImpl] Server Log Dir: C:\applications\jboss-5.0.0.GA\server\default\log
15:15:20,000 INFO [ServerImpl] Server Native Dir: C:\applications\jboss-5.0.0.GA\server\default\tmp\native
15:15:20,000 INFO [ServerImpl] Server Temp Dir: C:\applications\jboss-5.0.0.GA\server\default\tmp
15:15:20,000 INFO [ServerImpl] Server Temp Deploy Dir: C:\applications\jboss-5.0.0.GA\server\default\tmp\deploy
15:15:20,578 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/applications/jboss-5.0.0.GA/server/default/conf/bootstrap.xml
15:15:21,156 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.IterableTimedVFSCache]
15:15:21,156 INFO [VFSCacheFactory] Using VFSCache [IterableTimedVFSCache{lifetime=1800, resolution=60}]
15:15:21,437 INFO [CopyMechanism] VFS temp dir: C:\applications\jboss-5.0.0.GA\server\default\tmp
15:15:21,437 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled.
15:15:22,484 INFO [ServerInfo] Java version: 1.5.0_14,Sun Microsystems Inc.
15:15:22,484 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_14-b03,Sun Microsystems Inc.
15:15:22,484 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
15:15:22,515 INFO [JMXKernel] Legacy JMX core initialized
15:15:23,906 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(Thread.java:595)
15:15:24,187 INFO [ProfileServiceImpl] Loading profile: default from: org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1f6ef01(root=C:\applications\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
15:15:24,187 INFO [ProfileImpl] Using repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository@1f6ef01(root=C:\applications\jboss-5.0.0.GA\server, key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default])
15:15:24,187 INFO [ProfileServiceImpl] Loaded profile: ProfileImpl@2c7ac5{key=org.jboss.profileservice.spi.ProfileKey@143b82c3[domain=default,server=default,name=default]}
Failed to boot JBoss:
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}
SystemPropertyBinder#1 -> ServiceBindingManager{Installed:Described}
ServiceBindingStore -> StandardBindings{Installed:**ERROR**}
ServiceBindingManager -> ServiceBindingStore{Installed:Instantiated}

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(Thread.java:595)
15:15:24,828 INFO [ServerImpl] Runtime shutdown hook called, forceHalt: true
15:15:24,828 INFO [ServerImpl] Shutdown complete
Shutdown complete
Halting VM
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Cloey, welcome to Java Ranch!

First, can you start JBoss AS from the command line (without Eclipse)?

Second, what did you do to Eclipse to get it to recognize JBoss AS 5.0.0.GA? Did you follow these instructions?


JBoss In Action
Cloey Tan
Ranch Hand

Joined: Feb 03, 2009
Posts: 60
Hi Peter, thanks for your reply.

Well, i previously start my jboss5 server without eclipse come into picture, by running the run.bat, and its working fine. Next i tried to replace my C:\applications\eclipse3.3\plugins\org.eclipse.jst.server.generic.jboss_1.5.105.v200709061325\servers\jboss5.serverdef with https://bugs.eclipse.org/bugs/attachment.cgi?id=120132 , but the same problem still persists. Basically from what i see in the forums with the similiar problems, they change the path in the jboss5 setting file, some replace the whole file. Im still getting the same error log as the one i posted in this forum.
Cloey Tan
Ranch Hand

Joined: Feb 03, 2009
Posts: 60
Oh, and now it seems like the server seems to run fine without the error log, without deploying any project to the server of course. I go Edit Server Runtime > JRE > select jre1.5.0_14 instead of default JRE. What difference does it make actually? Any explanation for this to occur? this is never expected.

Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

What version is the "default JRE"?

This conversion is giving me deja-vu...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error starting up JBossv5.0 in Eclipse 3.3.1