7 Replies Latest reply on Jun 9, 2015 12:38 AM by Vishwa

    Issue with UAT server

    anuj.pathak

      Hi Everyone ,

       

      We are facing some issue while deploying our production working custom plugins on jive hosted UAT 6..0.3.0 environment whereas the same plugins works on production and even on my local machine.

       

      After debugging more and more, we nail down to idea plugin which when deployed with other plugin bringing down the system with tomcat 404 error

      I have tried deploying idea OOB 6.0.3.1 version plugin on UAT but it also fails with same error below

       

      Any Help will be much appreciated

       

      These are the errors i see in log with custom or oob idea plug deployment + some other error unrelated to our customization

       

      2015-06-05 16:01:41,996 [main] [::] ERROR com.jivesoftware.community.content.event.rest.impl.EventServiceImpl - EventServiceImpl called!

      2015-06-05 16:01:48,434 [main] [::] ERROR org.springframework.web.context.ContextLoader - Context initialization failed

      java.lang.NoClassDefFoundError: com/jivesoftware/idea/Idea

          at java.lang.Class.getDeclaredMethods0(Native Method)

          at java.lang.Class.privateGetDeclaredMethods(Class.java:2475)

          at java.lang.Class.getDeclaredMethods(Class.java:1818)

          at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:194)

          at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:176)

          at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:122)

          at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:277)

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:493)

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

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

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

          at com.jivesoftware.community.lifecycle.spring.JiveDefaultListableBeanFactory.getSingleton(JiveDefaultListableBeanFactory.java:183)

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

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

          at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:598)

          at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)

          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)

          at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)

          at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)

          at com.jivesoftware.community.lifecycle.JiveApplication.initialize(JiveApplication.java:150)

          at com.jivesoftware.community.Jive.start(Jive.java:141)

          at com.jivesoftware.community.web.JiveApplicationContextLoaderListener.contextInitialized(JiveApplicationContextLoaderListener.java:45)

          at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)

          at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)

          at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

          at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)

          at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

          at org.apache.catalina.core.StandardService.start(StandardService.java:525)

          at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

          at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)

          at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

      Caused by: java.lang.ClassNotFoundException: com.jivesoftware.idea.Idea

          at java.net.URLClassLoader$1.run(URLClassLoader.java:202)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:306)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

          ... 38 more

      Some other error i see in log

       

      java.lang.NullPointerException

          at org.jgroups.util.UUID.get(UUID.java:107)

          at org.jgroups.protocols.TCPPING.sendGetMembersRequest(TCPPING.java:113)

          at org.jgroups.protocols.Discovery$PingSenderTask$1.run(Discovery.java:492)

          at org.jgroups.util.TimeScheduler$RobustRunnable.run(TimeScheduler.java:194)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

          at java.lang.Thread.run(Thread.java:662)

       

      [RMI TCP Connection(60)-10.170.36.10] [::] ERROR com.jivesoftware.community.eae.connection.EAEConfigManager - Failed to query Activity Engine connectivity status

      java.lang.NullPointerException

          at com.jivesoftware.community.eae.connection.EAEServiceConnectionPool.getConnectivityStatus(EAEServiceConnectionPool.java:298)

          at com.jivesoftware.community.eae.connection.EAEConfigManager.getEaeConnectivityStatus(EAEConfigManager.java:428)

          at com.jivesoftware.community.eae.stats.jmx.EAEConnectionStatisticsBean.getEAEConnectionStatus(EAEConnectionStatisticsBean.java:35)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:57)

          at sun.reflect.GeneratedMethodAccessor51.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:260)

          at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1137)

          at java.security.AccessController.doPrivileged(Native Method)

          at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)

          at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1131)

          at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:984)

          at org.springframework.jmx.export.SpringModelMBean.invoke(SpringModelMBean.java:90)

          at javax.management.modelmbean.RequiredModelMBean.getAttribute(RequiredModelMBean.java:1437)

          at org.springframework.jmx.export.SpringModelMBean.getAttribute(SpringModelMBean.java:109)

          at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:665)

          at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:648)

          at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1432)

          at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:75)

          at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1296)

          at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1388)

          at javax.management.remote.rmi.RMIConnectionImpl.getAttribute(RMIConnectionImpl.java:631)

          at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

          at java.lang.reflect.Method.invoke(Method.java:597)

          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:303)

          at sun.rmi.transport.Transport$1.run(Transport.java:159)

          at java.security.AccessController.doPrivileged(Native Method)

          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)

          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)

          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)

          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

          at java.lang.Thread.run(Thread.java:662)

      [Timer-3,c413c1da-586d-48e6-862b-83d51bf4a3c0,servicenow-pub-uat-wa01-8496] [::] ERROR org.jgroups.protocols.TCPPING - failed sending discovery request

      java.lang.NullPointerException

          at org.jgroups.util.UUID.get(UUID.java:107)

          at org.jgroups.protocols.TCPPING.sendGetMembersRequest(TCPPING.java:113)

          at org.jgroups.protocols.Discovery$PingSenderTask$1.run(Discovery.java:492)

          at org.jgroups.util.TimeScheduler$RobustRunnable.run(TimeScheduler.java:194)

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

          at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)

          at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)

          at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

          at java.lang.Thread.run(Thread.java:662)

        • Re: Issue with UAT server
          manish0109

          Hi Anuj,

           

          It looks like you have Idea plugin installed on your local and Prod, But it is not there in UAT.

           

          Can you check if this is the case?

          • Re: Issue with UAT server
            Vishwa

            Is there any Jive Version Difference between the two Environments ? 

             

            Are the Plugins Interdependent on Idea Plugin ?

             

            Regards

            Vishwajeet

              • Re: Issue with UAT server
                anuj.pathak

                yeah, both system have same version and there is no dependency on idea plugin

                  • Re: Issue with UAT server
                    Vishwa

                    Hi ,  If you are still facing the issue, can you confirm, the below ?

                     

                    1) Remove all the Plugins from  UAT environment and  restart the Instance - Just as Vanilla OOB from Jive - Confirm if it works .

                    2) Confirm that EAE server on Your UAT instance is On and is connected to  EAE Database - Test Connection .

                     

                    PART A
                    3) Install  One plugin at a time and Restart the Application Server - to confirm on installation of which Plugin You get an error .

                    4) Install  Jive OOB Idea  plugin - Confirm if it works ?

                    5) Install  Your Customized Idea Plugin - Confirm if it works .

                     

                    PART B

                     

                    6) Remove all other Plugins and  install only OOB IDEA plugin - confirm if works.

                    7) Remove all other Plugins and install only Customized IDEA Plugin - Confirm it works  .

                     

                     

                    Regards

                    Vishwajeet

                      • Re: Issue with UAT server
                        anuj.pathak

                        Thanks for your response , we have been trying different different option and figure out issue is with jive idea plugin

                        for some reason idea plugin does not work on our UAT instance. we had tried both un-customized and customized idea plugin but both failed

                         

                        For the time being , we have removed idea plugin and restarted the server and working in-parallel to find out root cause.

                          • Re: Issue with UAT server
                            Vishwa

                            Cool , If  even the   un-customized  Plugin available from JIve also, fails on your UAT instance, then Suggest you contact Jive Support  for Your community as there is no reason for the plugin to fail , only on a particular Server. .


                            Regards

                            Vishwajeet