JBoss fail to startup after formatting
$JBOSS_HOME/server/$PROFILE/conf/bootstrap/profile.xml
---------------------------------------------------------------------------------------------
Key: JBAS-9387
URL:
https://issues.jboss.org/browse/JBAS-9387
Project: Legacy JBoss Application Server 6
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 6.0.0.Final, JBossAS-5.1.0.GA, JBossAS-5.0.0.GA
Environment: Fedora 14 32-bits, kernel 2.6.35.13-91.fc14.i686.PAE, Oracle Java
build 1.6.0_24-b07
Reporter: Marcelo Guimarães
If I edit the $JBOSS_HOME/server/$PROFILE/conf/bootstrap/profile.xml and format this part
<classloader name="profile-classloader"
xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY"
import-all="true">
<root>${jboss.lib.url}jboss-profileservice-spi.jar</root>
...
to this one
<classloader name="profile-classloader"
xmlns="urn:jboss:classloader:1.0" export-all="NON_EMPTY"
import-all="true">
<root>
${jboss.lib.url}jboss-profileservice-spi.jar
</root>
I get an error in JBoss startup:
09:37:14,763 ERROR [AbstractKernelController] Error installing to Create:
name=profile-classloader:0.0.0$MODULE state=Configured: java.lang.RuntimeException: Error
creating VFS file for
file:/home/ataxexe/jboss/org/jboss-6.0.0.Final/lib/jboss-profileservice-spi.jar
at
org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determineVFSRoots(VFSClassLoaderPolicyModule.java:219)
[jboss-classloading-vfs.jar:2.2.0.GA]
at
org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.create(VFSClassLoaderPolicyModule.java:266)
[jboss-classloading-vfs.jar:2.2.0.GA]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_24]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[:1.6.0_24]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[:1.6.0_24]
at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_24]
at
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:60)
[jboss-reflect.jar:2.2.0.GA]
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:168)
[jboss-reflect.jar:2.2.0.GA]
at
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
[jboss-reflect.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257)
[jboss-kernel.jar:2.2.0.GA]
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:202)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379)
[jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139)
[jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894)
[jboss-dependency.jar:2.2.0.GA]
at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641)
[jboss-dependency.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBean(AbstractKernelDeployer.java:319)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deployBeans(AbstractKernelDeployer.java:297)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.deploy(AbstractKernelDeployer.java:130)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.kernel.plugins.deployment.BasicKernelDeployer.deploy(BasicKernelDeployer.java:76)
[jboss-kernel.jar:2.2.0.GA]
at
org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:92)
[jboss-bootstrap-impl-mc.jar:2.1.0-alpha-5]
at
org.jboss.bootstrap.impl.mc.deployer.TempBasicXMLDeployer.deploy(TempBasicXMLDeployer.java:193)
[jboss-bootstrap-impl-mc.jar:2.1.0-alpha-5]
at
org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:310)
[jboss-bootstrap-impl-mc.jar:2.1.0-alpha-5]
at
org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)
[jboss-bootstrap-impl-mc.jar:2.1.0-alpha-5]
at
org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)
[jboss-bootstrap-impl-as.jar:2.1.0-alpha-5]
at
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)
[jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
at java.lang.Thread.run(Thread.java:662) [:1.6.0_24]
Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0:
file:/home/ataxexe/jboss/org/jboss-6.0.0.Final/lib/jboss-profileservice-spi.jar
at java.net.URI$Parser.fail(URI.java:2809) [:1.6.0_24]
at java.net.URI$Parser.checkChars(URI.java:2982) [:1.6.0_24]
at java.net.URI$Parser.checkChar(URI.java:2992) [:1.6.0_24]
at java.net.URI$Parser.parse(URI.java:3008) [:1.6.0_24]
at java.net.URI.<init>(URI.java:578) [:1.6.0_24]
at
org.jboss.classloading.spi.vfs.dependency.VFSClassLoaderPolicyModule.determineVFSRoots(VFSClassLoaderPolicyModule.java:214)
[jboss-classloading-vfs.jar:2.2.0.GA]
... 37 more
Failed to boot JBoss:
java.lang.Exception: Encountered exception in server startup
at
org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:325)
at
org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doStart(AbstractMCServerBase.java:257)
at
org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doStart(AbstractJBossASServerBase.java:381)
at
org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:413)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.IllegalStateException: Incompletely deployed:
DEPLOYMENTS IN ERROR:
Deployment "profile-classloader:0.0.0$MODULE" is in error due to:
java.lang.RuntimeException: Error creating VFS file for
file:/home/ataxexe/jboss/org/jboss-6.0.0.Final/lib/jboss-profileservice-spi.jar
DEPLOYMENTS MISSING DEPENDENCIES:
Deployment "ScanningProfileFactory" is missing the following dependencies:
Dependency "DelegateModificationChecker" (should be in state
"Installed", but is actually in state "Real")
Dependency "ProfileServiceConfig" (should be in state "Installed",
but is actually in state "Real")
Dependency "ArtifactRepositoryManager" (should be in state
"Installed", but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "WebVisitorAttributes" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "BasicProfileFactory" is missing the following dependencies:
Dependency "ProfileServiceConfig" (should be in state "Installed",
but is actually in state "Real")
Dependency "ArtifactRepositoryManager" (should be in state
"Installed", but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ArtifactRepositoryManager" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "MavenArtifactMetaData" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ProfileLifeCycleCallbackActions" is missing the following
dependencies:
Dependency "ActionController" (should be in state "Installed", but
is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "MainDeployerPlugin" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Dependency "ProfileDeployerPluginRegistry" (should be in state
"Installed", but is actually in state "Real")
Deployment "TypedProfileFactory" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "KernelDeploymentComponentMapper" is missing the following
dependencies:
Dependency "PersistenceFactory" (should be in state "Installed",
but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "PersistenceFactory" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ProfileRepositoryFactory" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ProfileServiceConfig" is missing the following dependencies:
Dependency "ProfileLifeCycleCallbackActions" (should be in state
"Installed", but is actually in state "Real")
Dependency "ProfileDeployerPluginRegistry" (should be in state
"Installed", but is actually in state "Real")
Dependency "TypedProfileFactory" (should be in state "Installed",
but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "StructureModCache" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "DelegateModificationChecker" is missing the following
dependencies:
Dependency "StructureModificationChecker" (should be in state
"Installed", but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ProfileDeployerPluginRegistry" is missing the following
dependencies:
Dependency "jboss.kernel:service=Kernel" (should be in state
"Installed", but is actually in state "**ERROR**")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "MavenArtifactRepository" is missing the following dependencies:
Dependency "MavenArtifactMetaData" (should be in state
"Installed", but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "UserProfileFactory" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "AttachmentsSerializer" is missing the following dependencies:
Dependency "UserProfileFactory" (should be in state "Installed",
but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ServiceDeploymentComponentMapper" is missing the following
dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Dependency "PersistenceFactory" (should be in state "Installed",
but is actually in state "Real")
Deployment "PersistenceRepository" is missing the following dependencies:
Dependency "AttachmentsSerializer" (should be in state
"Installed", but is actually in state "Real")
Dependency "UserProfileFactory" (should be in state "Installed",
but is actually in state "Real")
Dependency "PersistenceFactory" (should be in state "Installed",
but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ActionController" is missing the following dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "StructureModificationChecker" is missing the following
dependencies:
Dependency "StructureModCache" (should be in state "Installed",
but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "profile-classloader:0.0.0" is missing the following dependencies:
Dependency "profile-classloader:0.0.0$MODULE" (should be in state
"Installed", but is actually in state "**ERROR**")
Deployment "BootstrapProfileFactory" is missing the following dependencies:
Dependency "ArtifactRepositoryManager" (should be in state
"Installed", but is actually in state "Real")
Dependency "ProfileServiceConfig" (should be in state "Installed",
but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "HDScannerFactory" is missing the following dependencies:
Dependency "ActionController" (should be in state "Installed", but
is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "FileArtifactRepositoryFactory" is missing the following
dependencies:
Dependency "ProfileServiceConfig" (should be in state "Installed",
but is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "ProfileServicePersistenceDeployer" is missing the following
dependencies:
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Dependency "PersistenceRepository" (should be in state
"Installed", but is actually in state "Real")
Deployment "ProfileServiceBootstrap" is missing the following dependencies:
Dependency "UserProfileFactory" (should be in state "Installed",
but is actually in state "Real")
Dependency "HDScannerFactory" (should be in state "Installed", but
is actually in state "Real")
Dependency "ProfileServiceConfig" (should be in state "Installed",
but is actually in state "Real")
Dependency "jboss.kernel:service=Kernel" (should be in state
"Installed", but is actually in state "**ERROR**")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
Deployment "HDScannerCallbackAction" is missing the following dependencies:
Dependency "HDScannerFactory" (should be in state "Installed", but
is actually in state "Real")
Dependency "profile-classloader:0.0.0" (should be in state
"Installed", but is actually in state "Described")
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.impl.mc.server.AbstractMCServerBase.bootstrapMcAndDescriptors(AbstractMCServerBase.java:314)
... 4 more
I also tested it in EAP 5.1, EAP 5.0, SOA-P 5.1, SOA-P 5.0 and EPP 5.1 (all fresh
installs, no patches) and I got the same error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira