0 Replies Latest reply on Feb 3, 2011 1:28 PM by infinity2heaven

    Unable to start admin console on an EC2 instance (linux platform)

    infinity2heaven Novice

      I have a Jboss 6.0.0.Final instance running on my local (mac) and zipped the contents to an EC2 instance for testing. The EC2 instance itself is fine since we've it's been running Tomcat successfully.

       

      When trying to log into the admin console it seems to fail on the discovery scan referenced below. Is this is something we need to tweak to run on linux (or perhaps EC2)?

       

      10:53:43,980 INFO  [org.rhq.core.pc.inventory.InventoryManager] Inventory Manager initialized.

      10:53:43,989 INFO  [org.rhq.core.pc.inventory.ResourceFactoryManager] Initializing

      10:53:43,989 INFO  [org.rhq.core.pc.content.ContentManager] Initializing Content Manager...

      10:53:43,989 INFO  [org.rhq.core.pc.content.ContentManager] Content Manager initialized...

      10:53:43,991 INFO  [org.rhq.core.pc.PluginContainer] Plugin Container initialized.

      10:53:43,994 INFO  [org.jboss.on.embedded.manager.pc.PluginContainerResourceManager] Discovering Resources...

      10:53:43,995 INFO  [org.rhq.core.pc.inventory.AutoDiscoveryExecutor] Executing server discovery scan...

      10:58:44,212 WARN  [org.rhq.core.pc.util.DiscoveryComponentProxyFactory] The discovery component for resource type [ResourceType[id=0, category=Server, name=JBossAS Server, plugin=JBossAS5]] has been blacklisted

      10:58:44,219 WARN  [org.rhq.core.pc.inventory.InventoryManager] Discovery for Resources of [ResourceType[id=0, category=Server, name=JBossAS Server, plugin=JBossAS5]] has been running for more than 300000 milliseconds. This may be a plugin bug.: org.rhq.core.pc.inventory.TimeoutException: Call to [org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent.discoverResources()] with args [[org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext@2c65a608]] timed out. Invocation thread will be interrupted.

              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invokeInNewThread(DiscoveryComponentProxyFactory.java:230) [:3.0.0]

              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ResourceDiscoveryComponentInvocationHandler.invoke(DiscoveryComponentProxyFactory.java:194) [:3.0.0]

              at $Proxy151.discoverResources(Unknown Source)  at org.rhq.core.pc.inventory.InventoryManager.invokeDiscoveryComponent(InventoryManager.java:282) [:3.0.0]

              at org.rhq.core.pc.inventory.InventoryManager.executeComponentDiscovery(InventoryManager.java:1979) [:3.0.0]

              at org.rhq.core.pc.inventory.AutoDiscoveryExecutor.pluginDiscovery(AutoDiscoveryExecutor.java:185) [:3.0.0]

              at org.rhq.core.pc.inventory.AutoDiscoveryExecutor.call(AutoDiscoveryExecutor.java:104) [:3.0.0]

              at org.rhq.core.pc.inventory.AutoDiscoveryExecutor.call(AutoDiscoveryExecutor.java:70) [:3.0.0]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_17]

              at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_17]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) [:1.6.0_17]

              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) [:1.6.0_17]

              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_17]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_17]

              at java.lang.Thread.run(Thread.java:619) [:1.6.0_17]

      Caused by: java.lang.Exception: Thread[ResourceDiscoveryComponent.invoker.daemon-1,5,jboss] with id [64] is hung. This exception contains its stack trace.

              at java.lang.Class.getClassLoader0(Native Method) [:1.6.0_17]

              at java.lang.Class.getClassLoader(Class.java:587) [:1.6.0_17]

              at org.jboss.util.collection.SecurityActions$GetClassLoaderAction$1.getClassLoader(SecurityActions.java:43) [jboss-common-core.jar:2.2.17.GA]

              at org.jboss.util.collection.SecurityActions.getClassLoader(SecurityActions.java:63) [jboss-common-core.jar:2.2.17.GA]

              at org.jboss.util.collection.WeakTypeCache.peek(WeakTypeCache.java:262) [jboss-common-core.jar:2.2.17.GA]

              at org.jboss.util.collection.WeakTypeCache.getClass(WeakTypeCache.java:238) [jboss-common-core.jar:2.2.17.GA]

              at org.jboss.util.collection.WeakTypeCache.get(WeakTypeCache.java:67) [jboss-common-core.jar:2.2.17.GA]

              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:348) [jboss-reflect.jar:2.2.0.GA]

              at org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getConstructors(IntrospectionTypeInfoFactoryImpl.java:174) [jboss-reflect.jar:2.2.0.GA]

              at org.jboss.reflect.plugins.ClassInfoImpl.getDeclaredConstructors(ClassInfoImpl.java:446) [jboss-reflect.jar:2.2.0.GA]

              at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getConstructors(AbstractBeanInfoFactory.java:218) [jboss-reflect.jar:2.2.0.GA]

              at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:163) [jboss-reflect.jar:2.2.0.GA]

              at org.jboss.beans.info.plugins.AbstractBeanInfoFactory.getBeanInfo(AbstractBeanInfoFactory.java:136) [jboss-reflect.jar:2.2.0.GA]

              at org.jboss.config.plugins.AbstractConfiguration.getBeanInfo(AbstractConfiguration.java:81) [jboss-reflect.jar:2.2.0.GA]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generateBean(DefaultMetaTypeFactory.java:359) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generate(DefaultMetaTypeFactory.java:218) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.resolve(DefaultMetaTypeFactory.java:140) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generateArray(DefaultMetaTypeFactory.java:292) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generate(DefaultMetaTypeFactory.java:188) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.resolve(DefaultMetaTypeFactory.java:140) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generateBean(DefaultMetaTypeFactory.java:385) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generate(DefaultMetaTypeFactory.java:218) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.resolve(DefaultMetaTypeFactory.java:140) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generateBean(DefaultMetaTypeFactory.java:385) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.generate(DefaultMetaTypeFactory.java:218) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.metatype.plugins.types.DefaultMetaTypeFactory.resolve(DefaultMetaTypeFactory.java:140) [jboss-metatype.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.getMetaType(AbstractManagedObjectFactory.java:1060) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.getManagedOperation(AbstractManagedObjectFactory.java:967) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.buildManagedObject(AbstractManagedObjectFactory.java:870) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.createSkeletonManagedObject(AbstractManagedObjectFactory.java:481) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:410) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getManagedObjectValue(AbstractInstanceClassFactory.java:315) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getManagedObjectArray(AbstractInstanceClassFactory.java:331) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getValue(AbstractInstanceClassFactory.java:252) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateValues(AbstractManagedObjectPopulator.java:204) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectPopulator.populateManagedObject(AbstractManagedObjectPopulator.java:130) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.managed.plugins.factory.AbstractManagedObjectFactory.initManagedObject(AbstractManagedObjectFactory.java:422) [jboss-managed.jar:2.1.1.SP2]

              at org.jboss.deployers.spi.deployer.helpers.DefaultManagedObjectCreator.build(DefaultManagedObjectCreator.java:81) [:2.2.0.GA]

              at org.jboss.deployers.plugins.deployers.DeployersImpl.getManagedObjects(DeployersImpl.java:561) [:2.2.0.GA]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedObjects(MainDeployerImpl.java:1034) [:2.2.0.GA]

              at org.jboss.deployers.plugins.main.MainDeployerImpl.getManagedDeployment(MainDeployerImpl.java:1004) [:2.2.0.GA]

              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.getManagedDeployment(MainDeployerPlugin.java:96) [:6.0.0.Final]

              at org.jboss.profileservice.dependency.ProfileControllerContext.getManagedDeployment(ProfileControllerContext.java:92) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController$ProfileWrapper.getManagedDeployment(AbstractActionController.java:283) [:0.2.2]

              at org.jboss.profileservice.plugins.management.actions.ProfileViewUpdateAction.complete(ProfileViewUpdateAction.java:92) [:0.2.2]

              at org.jboss.profileservice.management.TwoPCActionWrapper.doComplete(TwoPCActionWrapper.java:57) [:0.2.2]

              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.complete(AbstractTwoPhaseModificationAction.java:74) [:0.2.2]

              at org.jboss.profileservice.management.actions.AbstractTwoPhaseModificationAction.prepare(AbstractTwoPhaseModificationAction.java:95) [:0.2.2]

              at org.jboss.profileservice.management.ModificationSession.prepare(ModificationSession.java:87) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.internalPerfom(AbstractActionController.java:234) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.performRead(AbstractActionController.java:178) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:146) [:0.2.2]

              at org.jboss.profileservice.management.AbstractActionController.perform(AbstractActionController.java:135) [:0.2.2]

              at org.jboss.profileservice.plugins.management.RegisteredProfileViewsWrapper.load(RegisteredProfileViewsWrapper.java:137) [:0.2.2]

              at org.jboss.profileservice.plugins.management.AggregatingLocalManagementView.load(AggregatingLocalManagementView.java:132) [:0.2.2]

              at org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnection.init(AbstractProfileServiceConnection.java:47)

              at org.rhq.plugins.jbossas5.connection.AbstractProfileServiceConnectionProvider.connect(AbstractProfileServiceConnectionProvider.java:43)

              at org.rhq.plugins.jbossas5.InProcessJBossASDiscovery.discoverInProcessJBossAS(InProcessJBossASDiscovery.java:69)

              at org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent.discoverInProcessJBossAS(ApplicationServerDiscoveryComponent.java:282)

              at org.rhq.plugins.jbossas5.ApplicationServerDiscoveryComponent.discoverResources(ApplicationServerDiscoveryComponent.java:122)

              at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) [:1.6.0_17]

              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_17]

              at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_17]

              at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:279) [:3.0.0]

              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [:1.6.0_17]

              at java.util.concurrent.FutureTask.run(FutureTask.java:138) [:1.6.0_17]

              ... 3 more

       

      10:58:44,232 INFO  [org.rhq.core.pc.inventory.InventoryManager] Discovery for [JBossAS Server] resources took [300164] ms

      10:58:44,232 INFO  [org.rhq.core.pc.inventory.AutoDiscoveryExecutor] Found 0 servers.

      10:58:44,233 INFO  [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] Running runtime discovery scan rooted at [platform]

      10:58:45,959 INFO  [org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor] Scanned [0] servers and found [0] total descendant Resources.

      10:58:45,959 ERROR [org.jboss.on.embedded.manager.pc.PluginContainerResourceManager] Service cannot be created since no servers are found in the platform