8 Replies Latest reply on Jan 21, 2015 1:44 AM by div_gcet

    6.0.0.1 EAE unable to start: Username may not be null

    chad.iverson

      I am trying to run EAE from a 6.0.0.1 maven project, but cannot get past this error. The commands and console output are captured below. I removed the .m2/repository/eae folder, yet this error persists. It appears to be a username for the HttpClient, but I have not yet found the source of the username. Any ideas on this error? Is this a known problem with the archetype?

       

      Commands I ran:

       

      mvn archetype:generate -e -DarchetypeGroupId=com.jivesoftware.maven -DarchetypeArtifactId=maven-jive-archetype -DarchetypeVersion=6.0.x-SNAPSHOT -DgroupId=com.intranet7.jive -DartifactId=intranet7

      createdb -U postgres intranet7

      createdb -U postgres eaecore-intranet7

      cd intranet7

      mvn clean install -Djive.setup=false

      cd run-services

      chmod 755 eae-start

      ./eae-start

       

      Generated pom snip:

       

              <jive.version>6.0.0.1</jive.version>

              <eae.version>3.2.0.20</eae.version>

       

      Console output:

       

      [INFO] 2012-12-24 19:51:56,693 [main] ERROR [] com.jivesoftware.eae.activity.ingress.client.BaseActivityIngressClient - unable to start: Username may not be null

      [INFO] 2012-12-24 19:51:56,695 [main] INFO [] org.springframework.beans.factory.support.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@41ccf24c: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,runtimeConfiguration,activityIngressClientContext,recommendationsClientContext,marshallContext,ServiceConfiguration,statsManager,registry,kryo,heartbeat,timeProvider,firehoseMigrationTask,migrateInboxToPipelineParticipantsTask,streamsServiceManager,queryManager,systemIDSelectingRoutingDataSource,nodeIdentificationDAO,configurationPropertiesDAO,connectionProvider,pooledDataSourceProvider,schemaVersionValidator,dataSourceManager,activityContentDAO,activityPipelineDAO,lastSeenDAO,firehoseDAO,userActivityDAO,userContextExclusionsDAO,userObjectExclusionsDAO,userRecommendationsDAO,streamConfigurationDAO,streamsServiceDAO,tracerActivityDAO,userToRecommendationLookupDAO,userObjectUntrackingDAO,recentUserStreamUpdateDAO,rejectedRecommendationDAO,taskElectionDAO,queueStatisticsDAO,shredderManager,serviceMBean,activityMBean,streamsMBean,reshredMBean,rebuildMBean,queuesMBean,recommendationsMBean,jdbcMBean,attributeSource,namingStrategy,assembler,exporter,serviceConnector,overtimeExecutorService,activityManager,activityProvider,rebuildManager,recommendationManager,streamManager,remoteStreamsManager,mattersMostManager,streamProvider,exclusionManager,exclusionProviderImpl,userManagerImpl,userProviderImpl,updateNotificationManager,disinterestManager,connectionRegistrationManager,hintHandler,requestDataHandler,cryptoUtil,jenkinsTokenCache,biGramHopColliderShredder,categoryShredder,searchShredder,feedbackShredder,termFrequencyShredder,hintService,getRequestDataService,defaultBackoffStrategy,progressiveBackoffStrategy,queueManager,commandManager,reshredManager,reshredActivity,stopReshredActivity,clearRecoRequestProcessor,missingFeaturesProcessor,enableRecommenderProcessor,disableRecommenderProcessor,checkRecommenderForCommandThread,pipelineInitializationHandler,loginHandler,newAllStreamHandler,parentContainerHandler,allStreamContainerHandler,newContextHandler,newUserActivityHandler,newProfileStreamHandler,contextFollowsHandler,contentContextFollowsHandler,authorHandler,contentTrackingHandler,userFollowsHandler,broadcastAnnouncementHandler,containerAnnouncementHandler,announcementHandler,sharedContentHandler,exclusionHandler,hiddenHandler,enqueueToUserStreamsHandler,userReadTrackerHandler,disinterestHandler,shredderHandler,upgradeStreamAssociationHandler,userDeletedHandler,traceProcessingHandler,authorsToInboxHandler,sharedInboxHandler,userMentionsInboxHandler,contentFollowsStreamHandler,contentTrackersInboxHandler,contextAnnouncementsStreamInboxHandler,contextFollowsStreamHandler,userFollowsStreamHandler,acclaimStreamHandler,socialNewsContainerEventsStreamHandler,socialNewsStreamHandler,automaticallyTrackDirectMessagesHandler,collaborationHandler,collaborationNotificationHandler,broadcastInboxHandler,preUpgradeActivityHandler,sendToStreamsHandler,sendBranchedToStreamsHandler,forUserRecencyHandler,emailNotificationHandler,streamWritesToRecommenderHandler,mattersMostContextHandler,instancePropertiesDAO,nodePropertiesDAO,cryptoManager,localeManager,clearOldRejectionsTask,removeOldUserActivity,deleteProcessedNotificationsTask,deleteStaleNotificationsTask,streamsMigrationTask,scheduledStreamsMigrationTask,manualSendActivity,eaeActivityMarshaller,serviceResponseEncoder,serviceRequestDecoder,activityMarshaller,remoteIndexableMarshaller,commandMarshaller,recommendationQueryMarshaller,commandQueue,commandsProcessor,commandConsumer,mostlyOrderedActivityHandlerPipelineProcessor,mostlyOrderedActivityQueue,mostlyOrderedActivityService,unorderedActivityHandlerPipelineProcessor,unorderedActivityQueue,unorderedActivityService,upgradeHandlerPipelineProcessor,upgradeQueue,upgradeService,remoteIndexablePipelineProcessor,remoteIndexableQueue,remoteIndexableQueueConsumer,remoteIndexableRetryQueue,remoteIndexableRetryQueueConsumer,reshredHandlerPipelineProcessor,reshredQueue,reshredQueueConsumer,shredActivityProcessor,shredActivityQueue,shredActivityQueueConsumer,recommendationQueueConsumer,inFlightRecommendationQueries,recommendationRequestProcessor,recommendationRequestQueue,recommendationRequestQueueConsumer,recommenderConsumerThrottle,server,activityIngressClient,getConsumeRecommendations,intType,byteArray,intArray,doubleArray,longArray,doubleRankedString,doubleRankedTID,doubleType,longType,booleanType,stringType,tidType,uuidType,getRankAndAccuracy,MarshallerProvider]; root of factory hierarchy

      [INFO] 2012-12-24 19:51:56,696 [main] ERROR [] com.jivesoftware.eae.service.Main - Service startup cannot continue after bean creation failure. Shutting down.

      [INFO] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'runtimeConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.jivesoftware.eae.marshall.api.ActivityIngress com.jivesoftware.eae.service.RuntimeConfiguration.activityIngress; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activityIngressClient' defined in class com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.jivesoftware.eae.marshall.api.ActivityIngress com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext.getActivityIngress(com.jivesoftware.eae.service.ServiceConfiguration,com.jivesoftware.eae.service.impl.RecommendationManagerImpl) throws java.io.IOException,java.security.NoSuchAlgorithmException,java.security.KeyManagementException,java.security.KeyStoreException,java.security.UnrecoverableKeyException] threw exception; nested exception is java.lang.IllegalStateException: unable to start: Username may not be null

      [INFO] at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:286)

      [INFO] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1064)

      [INFO] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

      [INFO] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

      [INFO] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)

      [INFO] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)

      [INFO] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)

      [INFO] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

      [INFO] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:563)

      [INFO] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)

      [INFO] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)

      [INFO] at org.springframework.context.annotation.AnnotationConfigApplicationContext.<init>(AnnotationConfigApplicationContext.java:65)

      [INFO] at com.jivesoftware.eae.common.service.Service.startup(Service.java:164)

      [INFO] at com.jivesoftware.eae.common.service.Service.startup(Service.java:76)

      [INFO] at com.jivesoftware.eae.service.Main.startup(Main.java:81)

      [INFO] at com.jivesoftware.eae.service.Main.main(Main.java:57)

        • Re: 6.0.0.1 EAE unable to start: Username may not be null
          adam.dershewitz

          Todd West, do you have any insight on why this might be happening?

          • Re: 6.0.0.1 EAE unable to start: Username may not be null
            ajay_csv

            Still i am facing same exceptions in MAC for Jive 6. I get the build failure message as soon as i start eae. I don't see any proxy settings enabled and i just access the net. Please some one help me on this.

             

            Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.jivesoftware.eae.marshall.api.ActivityIngress com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext.getActivityIngress(com.jivesoftware.eae.service.ServiceConfiguration,com.jivesoftware.eae.service.impl.RecommendationManagerImpl) throws java.io.IOException,java.security.NoSuchAlgorithmException,java.security.KeyManagementException,java.security.KeyStoreException,java.security.UnrecoverableKeyException] threw exception; nested exception is java.lang.IllegalStateException: unable to start: Username may not be null

            [INFO]     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:158)

            [INFO]     at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:557)

            [INFO]     ... 29 more

            [INFO] Caused by: java.lang.IllegalStateException: unable to start: Username may not be null

            [INFO]     at com.jivesoftware.eae.activity.ingress.client.BaseActivityIngressClient.start(BaseActivityIngressClient.java:102)

            [INFO]     at com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext.getDevelopmentActivityIngressHttpClient(ActivityIngressClientContext.java:70)

            [INFO]     at com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext.getActivityIngress(ActivityIngressClientContext.java:34)

            [INFO]     at com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext$$EnhancerByCGLIB$$52d8a933.CGLIB$getActivityIngress$0(<generated>)

            [INFO]     at com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext$$EnhancerByCGLIB$$52d8a933$$FastClassByCGLIB$$886e7195.invoke(<generated>)

            [INFO]     at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)

            [INFO]     at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210)

            [INFO]     at com.jivesoftware.eae.activity.ingress.client.ActivityIngressClientContext$$EnhancerByCGLIB$$52d8a933.getActivityIngress(<generated>)

            [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            [INFO]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

            [INFO]     at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:146)

            [INFO]     ... 30 more

             

            --

            Ajay