ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Error starting JBoss 5.1.0 GA from within Eclipse Java EE

estaylorco
16 Feb 2010 00:19:54 GMT
16 Feb 2010 00:19:54 GMT

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

jumperchen
21 Feb 2010 19:43:05 GMT
21 Feb 2010 19:43:05 GMT

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

jiggs
25 May 2010 20:26:34 GMT
25 May 2010 20:26:34 GMT

Thank you jumperchen.

It was helpful

dileep22
15 Feb 2012 19:24:24 GMT
15 Feb 2012 19:24:24 GMT

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>