0

Error starting JBoss 5.1.0 GA from within Eclipse Java EE

asked 2010-02-16 00:19:54 +0800

estaylorco gravatar image estaylorco
3 1 1 1

Hello Forum,

I'm completely new to ZK, but I have a pretty solid JBoss 5.1.0 GA setup on Win7.

I downloaded and installed ZK Studio through Eclipse's feature for installing new software. I'm having trouble starting JBoss from within Eclipse. It starts just fine when I run run.bat out in the file system. But from within Eclipse, no luck. Here's the error message:

Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed:

DEPLOYMENTS IN ERROR:
Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]

DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "ProfileServiceDeployer" is missing the following dependencies:
Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")
Deployment "ProfileService" is missing the following dependencies:
Dependency "jboss.kernel:service=KernelController" (should be in state "Installed", but is actually in state "**ERROR**")
Dependency "ProfileServiceDeployer" (should be in state "Installed", but is actually in state "Instantiated")
Deployment "ProfileServiceBootstrap" is missing the following dependencies:
Dependency "ProfileService" (should be in state "Installed", but is actually in state "Instantiated")
Dependency "jboss.kernel:service=Kernel" (should be in state "Installed", but is actually in state "**ERROR**")
Deployment "ProfileServicePersistenceDeployer" is missing the following dependencies:
Dependency "AttachmentStore" (should be in state "Installed", but is actually in state "**ERROR**")

at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.internalValidate(AbstractKernelDeployer.java:278)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.validate(AbstractKernelDeployer.java:174)
at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:142)
at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:450)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Unknown Source)
23:10:46,714 INFO Runtime shutdown hook called, forceHalt: true
23:10:46,717 INFO Shutdown complete
Shutdown complete
Halting VM

Any ideas?

Thank you.

Eric

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-02-21 19:43:05 +0800

jumperchen gravatar image jumperchen
3909 2 8
http://jumperchen.blogspo... ZK Team

This seems to be an issue of JBoss, please see its forum.

link publish delete flag offensive edit

answered 2010-05-25 20:26:34 +0800

jiggs gravatar image jiggs
3

Thank you jumperchen.

It was helpful

link publish delete flag offensive edit

answered 2012-02-15 19:24:24 +0800

dileep22 gravatar image dileep22
3

Yeah,

Its a JBoss issue. The resolution is, in the jboss-5.1.0.GA\server\default\conf\bootstrap, you will find profile.xml. Please edit, and include java.io.File

<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
<constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
<property name="mainDeployer"><inject bean="MainDeployer" /></property>
<property name="serializer"><inject bean="AttachmentsSerializer" /></property>
<property name="persistenceFactory"><inject bean="PersistenceFactory" /></property>
</bean>

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2010-02-16 00:19:54 +0800

Seen: 14,562 times

Last updated: Feb 15 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More