[jboss-dev] configs are broken

Ales Justin ales.justin at gmail.com
Tue Nov 4 20:30:08 EST 2008


I'm just about to update to VFS 2.0.0.CR3, which should fix this.

Scott Stark wrote:
> Yes, I cannot start the profileservice config with the current trunk 
> version of vfs.
> 
> 17:22:32,389 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
> 17:22:32,390 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA 
> (build: SVNTag=JBoss_5_0_0_GA date=200811041713)
> 17:22:32,396 INFO  [ServerImpl] Home Dir: 
> /Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA
> 17:22:32,396 INFO  [ServerImpl] Home URL: 
> file:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/
> 17:22:32,396 INFO  [ServerImpl] Library URL: 
> file:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/lib/
> 17:22:32,397 INFO  [ServerImpl] Patch URL: null
> 17:22:32,397 INFO  [ServerImpl] Server Name: profileservice
> 17:22:32,397 INFO  [ServerImpl] Server Home Dir: 
> /Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice 
> 
> 17:22:32,397 INFO  [ServerImpl] Server Home URL: 
> file:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice/ 
> 
> 17:22:32,397 INFO  [ServerImpl] Server Data Dir: 
> /Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice/data 
> 
> 17:22:32,398 INFO  [ServerImpl] Server Temp Dir: 
> /Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice/tmp 
> 
> 17:22:32,398 INFO  [ServerImpl] Server Config URL: 
> file:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice/conf/ 
> 
> 17:22:32,398 INFO  [ServerImpl] Server Library URL: 
> file:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice/lib/ 
> 
> 17:22:32,398 INFO  [ServerImpl] Shared Library URL: 
> file:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/lib/ 
> 
> 17:22:32,399 INFO  [ServerImpl] Root Deployment Filename: jboss-service.xml
> 17:22:32,839 INFO  [ServerImpl] Starting Microcontainer, 
> bootstrapURL=file:/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice/conf/bootstrap.xml 
> 
> 17:22:33,257 ERROR [AbstractKernelController] Error installing to Start: 
> name=VFSCache state=Create
> java.lang.IllegalAccessException: Class 
> org.jboss.reflect.plugins.introspection.ReflectionUtils can not access a 
> member of class org.jboss.virtual.spi.cache.VFSCacheFactory$NoopVFSCache 
> with modifiers "public"
>    at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
>    at java.lang.reflect.Method.invoke(Method.java:578)
>    at 
> org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) 
> 
>    at 
> org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) 
> 
>    at 
> org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) 
> 
>    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.LifecycleAction.installActionInternal(LifecycleAction.java:221) 
> 
>    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.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:88) 
> 
>    at 
> org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.deploy(BasicXMLDeployer.java:158) 
> 
>    at 
> org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java:115)
>    at 
> org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:399)
>    at org.jboss.Main.boot(Main.java:209)
>    at org.jboss.Main$1.run(Main.java:544)
>    at java.lang.Thread.run(Thread.java:613)
> 17:22:33,494 INFO  [CopyMechanism] VFS temp dir: 
> /Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server/profileservice/tmp 
> 
> 17:22:33,494 INFO  [ZipEntryContext] VFS force nested jars copy-mode is 
> enabled.
> 17:22:34,414 INFO  [ServerInfo] Java version: 1.5.0_16,Apple Inc.
> 17:22:34,414 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Client VM 
> 1.5.0_16-133,Apple Inc.
> 17:22:34,414 INFO  [ServerInfo] OS-System: Mac OS X 10.5.5,i386
> 17:22:34,440 INFO  [JMXKernel] Legacy JMX core initialized
> 17:22:35,619 INFO  [ProfileServiceImpl] Loading profile: profileservice 
> from: 
> org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at f1977(root=/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server, 
> key=org.jboss.profileservice.spi.ProfileKey at 99c7696e[domain=default,server=default,name=profileservice]) 
> 
> 17:22:35,621 INFO  [ProfileImpl] Using 
> repository:org.jboss.system.server.profileservice.repository.SerializableDeploymentRepository at f1977(root=/Users/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/server, 
> key=org.jboss.profileservice.spi.ProfileKey at 99c7696e[domain=default,server=default,name=profileservice]) 
> 
> 17:22:35,621 INFO  [ProfileServiceImpl] Loaded profile: 
> ProfileImpl at 26c554{key=org.jboss.profileservice.spi.ProfileKey at 99c7696e[domain=default,server=default,name=profileservice]} 
> 
> Failed to boot JBoss:
> java.lang.IllegalStateException: Incompletely deployed:
> 
> *** DEPLOYMENTS IN ERROR: Name -> Error
> VFSCache -> java.lang.IllegalAccessException: Class 
> org.jboss.reflect.plugins.introspection.ReflectionUtils can not access a 
> member of class org.jboss.virtual.spi.cache.VFSCacheFactory$NoopVFSCache 
> with modifiers "public"
> 
>    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:119)
>    at 
> org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:399)
>    at org.jboss.Main.boot(Main.java:209)
>    at org.jboss.Main$1.run(Main.java:544)
>    at java.lang.Thread.run(Thread.java:613)
> 17:22:36,110 INFO  [ServerImpl] Runtime shutdown hook called, forceHalt: 
> true
> 17:22:36,116 INFO  [ServerImpl] Shutdown complete
> Shutdown complete
> Halting VM
> 
> Ales Justin wrote:
>> What exactly was/is broken?
>> Is it this?
>>  - 
>> http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186769#4186769
>>
>> Dimitris Andreadis wrote:
>>> With the latest Ales' changes the minimal doesn't boot, and you need 
>>> to manually specify 
>>> -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.WeakRefVFSCache on 
>>> every other config.
>>>
>>> The VFS needs to have settings that works out of the box.
>>> _______________________________________________
>>> jboss-development mailing list
>>> jboss-development at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>>
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
> 



More information about the jboss-development mailing list