Ha, I just finished rebuilding using 'bash build.sh' as I read your note
and it now appears to boot beyond the missing file point. In fact my
sevrver lib dirs appear to have a whole load more stuff in them.
Looking at the build.xml targets I'm not exactly sure why it didn't work
before? That will teach me to specify fancy stuff like build targets.
Thanks for the advice, anyway.
regards,
Andrew Dinn
-----------
Dimitris Andreadis wrote:
Have you tried a simple 'cd build; ./build.sh' ? (or just use
'./build.sh clean most'
I don't think the 'all' & 'install' targets are needed for
creating the
binaries.
Andrew Dinn wrote:
> Hi Foax,
>
> I've got a bit of a weirdy with AS5.0.Beta3 and wondered if anyone has
> any idea what is going on. Here's the problem.
>
> I checked out a completely fresh build of the 5.0.0.Beta3 tag
> yesterday (i.e. no previous source tree, no old files hanging around
> to screw up the mix, etc). I built a release by cding to the build dir
> and executing 'bash build.sh all install'. The build appeared to
> complete ok (no error messages) but when I run the server I get an
> error during deployment because of a failure to load
>
> org.jboss.remoting.ServerInvocationHandler
>
> (n.b. snippet from log containing full error included at end of this
> note).
>
> It appears that this class only exists in jboss-remoting.jar and
> jboss-clientall.jar and that these only exist in the _client_ dir of
> the installed tree.
>
> I tried to patch things by copying the remoting jar into lib/endorsed
> and this resolved the missing symbol cited above but the server then
> failed to boot because it could not find
>
> org.jboss.logger.Logger
>
> Anyone have any idea why my bootstrap is failing to find the required
> libs? Or, rather, any idea why the required code is not being
> installed in a place where server can find it at runtime?
>
> regards,
>
>
> Andrew Dinn
> -----------
>
> Here's the snippet:
>
> 19:23:49,555 ERROR [AbstractKernelController] Error installing to
> Instantiated: name=jboss:service=invoker,type=unified state=Described
> mode=Manual requiredState=Configured
> org.jboss.deployment.DeploymentException: Unable to createMBean for
> jboss:service=invoker,type=unified
> at
>
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
>
> at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
> at
>
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45)
>
> at
>
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:37)
>
> 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:327)
>
> at
>
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
>
> at
>
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
>
> at
> org.jboss.system.ServiceController.doChange(ServiceController.java:659)
> at
> org.jboss.system.ServiceController.install(ServiceController.java:272)
> at
> org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:98)
>
> at
> org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
>
> at
>
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
>
> at
>
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
>
> at
>
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
>
> at
>
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
>
> at
> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
>
> at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:215)
>
> at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
>
> at
> org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
> at org.jboss.Main.boot(Main.java:208)
> at org.jboss.Main$1.run(Main.java:534)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NoClassDefFoundError:
> org/jboss/remoting/ServerInvocationHandler
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at
>
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:608)
>
> at
> org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:588)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at
>
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:225)
>
> at
> org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
>
> at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
> at
> org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:296)
>
> at
> org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:441)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213)
>
> at
> org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
> at
> org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
> at
> org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197)
>
> at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115)
> ... 38 more
> 19:23:49,578 INFO [TransactionManagerService] Stopping recovery manager
> 19:23:49,598 WARN [JaasSecurityManagerService] Stopping failed
> jboss.security:service=JaasSecurityManager
> javax.naming.NameNotFoundException: jaas not bound
> at org.jnp.server.NamingServer.getBinding(NamingServer.java:542)
> at org.jnp.server.NamingServer.getBinding(NamingServer.java:550)
> at org.jnp.server.NamingServer.unbind(NamingServer.java:242)
> at org.jnp.interfaces.NamingContext.unbind(NamingContext.java:814)
> at org.jnp.interfaces.NamingContext.unbind(NamingContext.java:797)
> at javax.naming.InitialContext.unbind(InitialContext.java:375)
> at
>
org.jboss.security.plugins.JaasSecurityManagerService.stopService(JaasSecurityManagerService.java:492)
>
> at
> org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:328)
>
> at
>
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
>
> at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
>
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at
> org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
>
> at
> org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
> at
> org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:167)
>
> at $Proxy5.stop(Unknown Source)
> at
>
org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:56)
>
> at
>
org.jboss.system.microcontainer.StartStopLifecycleAction.uninstallAction(StartStopLifecycleAction.java:37)
>
> at
>
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79)
>
> at
>
org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131)
>
> at
>
org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
>
> at
>
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:333)
>
> at
>
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1323)
>
> at
>
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1009)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:627)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
>
> at
> org.jboss.system.ServiceController.doChange(ServiceController.java:659)
> at
> org.jboss.system.ServiceController.stop(ServiceController.java:481)
> at
> org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:156)
> at
> org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:136)
>
> at
> org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:46)
>
> at
>
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:73)
>
> at
>
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:187)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1072)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:882)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
>
> at
>
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
>
> at
>
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
>
> at
> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
>
> at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:215)
>
> at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
>
> at
> org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
> at org.jboss.Main.boot(Main.java:208)
> at org.jboss.Main$1.run(Main.java:534)
> at java.lang.Thread.run(Thread.java:595)
> 19:23:49,695 ERROR [AbstractKernelController] Error installing to
> Real:
>
name=vfsfile:/home/adinn/jboss/jbossas/JBoss_5_0_0_Beta3/build/output/jboss-5.0.0.Beta3/server/default/conf/jboss-service.xml
> state=PostClassLoader mode=Manual requiredState=Real
> org.jboss.deployment.DeploymentException: Unable to createMBean for
> jboss:service=invoker,type=unified
> at
>
org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52)
>
> at org.jboss.system.ServiceCreator.install(ServiceCreator.java:141)
> at
>
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:45)
>
> at
>
org.jboss.system.microcontainer.InstantiateAction.installAction(InstantiateAction.java:37)
>
> 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:327)
>
> at
>
org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:255)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
>
> at
>
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
>
> at
> org.jboss.system.ServiceController.doChange(ServiceController.java:659)
> at
> org.jboss.system.ServiceController.install(ServiceController.java:272)
> at
> org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:98)
>
> at
> org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
>
> at
>
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
>
> at
>
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
>
> at
>
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
>
> at
>
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
>
> at
> org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
>
> at
>
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
>
> at
>
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
>
> at
> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
>
> at
> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
>
> at
> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
>
> at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:215)
>
> at
>
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:131)
>
> at
> org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:408)
> at org.jboss.Main.boot(Main.java:208)
> at org.jboss.Main$1.run(Main.java:534)
> at java.lang.Thread.run(Thread.java:595)
> Caused by: java.lang.NoClassDefFoundError:
> org/jboss/remoting/ServerInvocationHandler
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at
>
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:608)
>
> at
> org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:588)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at
>
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:225)
>
> at
> org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
>
> at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
> at
> org.jboss.mx.loading.UnifiedClassLoader.loadClassImpl(UnifiedClassLoader.java:296)
>
> at
> org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:441)
>
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at
> org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:1213)
>
> at
> org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:286)
> at
> org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:344)
> at
> org.jboss.system.ServiceCreator.installPlainMBean(ServiceCreator.java:197)
>
> at org.jboss.system.ServiceCreator.install(ServiceCreator.java:115)
> ... 38 more
> 19:23:49,733 ERROR [ProfileServiceBootstrap] Failed to load profile:
> Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
>
> *** CONTEXTS IN ERROR: Name -> Error
>
>
vfsfile:/home/adinn/jboss/jbossas/JBoss_5_0_0_Beta3/build/output/jboss-5.0.0.Beta3/server/default/conf/jboss-service.xml
> -> java.lang.NoClassDefFoundError:
> org/jboss/remoting/ServerInvocationHandler
>
>
> _______________________________________________
> jboss-development mailing list
> jboss-development(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-development
_______________________________________________
jboss-development mailing list
jboss-development(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-development
--
JBoss, a Division of Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire,
SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt Parsons
(USA) and Brendan Lane (Ireland)