Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-5408

Expected BEGIN_OBJECT but was STRING at line 1 column 11 apache zeppelin

    XMLWordPrintableJSON

Details

    Description

      I was in the process of configuring AD over ssl on zeppelin 0.8.1 via the shiro.ini config file. However on url activeDirectoryRealm.url = ldaps: // hostname: 636 I made an error instead of the character ":" I put ";" and after restarting the service I have the following error. Even after a rollback the error persists and I can no longer access zeppelin.

      Thank you in advance for your help.

       

       

       WARN [2021-06-08 22:25:05,390] ({main} WebAppContext.java[doStart]:554) - Failed startup of context o.e.j.w.WebAppContext@6293abcc{zeppelin-web,/,file:///opt/zeppelin-0.8.1/webapps/webapp/,UNAVAILABLE}

      {/opt/zeppelin/zeppelin-web-0.8.1.war} WARN [2021-06-08 22:25:05,390] ({main} WebAppContext.java[doStart]:554) - Failed startup of context o.e.j.w.WebAppContext@6293abcc{zeppelin-web,/,file:///opt/zeppelin-0.8.1/webapps/webapp/,UNAVAILABLE}{/opt/zeppelin/zeppelin-web-0.8.1.war}

      javax.servlet.ServletException: rest@355bd4==org.eclipse.jetty.servlet.NoJspServlet,jsp=rest,order=-1,inst=false,async=true at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:693) at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:429) at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750) at java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:352) at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) at java.util.stream.StreamSpliterators$WrappingSpliterator.forEachRemaining(StreamSpliterators.java:312) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:743) at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742) at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:368) at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852) at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:168) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138) at org.eclipse.jetty.server.Server.start(Server.java:415) at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113) at org.eclipse.jetty.server.Server.doStart(Server.java:382) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68) at org.apache.zeppelin.server.ZeppelinServer.main(ZeppelinServer.java:241)Caused by: A MultiException has 1 exceptions.  They are:1. com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 11
      at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1085) at org.jvnet.hk2.internal.ServiceLocatorImpl.create(ServiceLocatorImpl.java:978) at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1082) at org.jvnet.hk2.internal.ServiceLocatorImpl.createAndInitialize(ServiceLocatorImpl.java:1074) at org.glassfish.jersey.inject.hk2.AbstractHk2InjectionManager.createAndInitialize(AbstractHk2InjectionManager.java:213) at org.glassfish.jersey.inject.hk2.ImmediateHk2InjectionManager.createAndInitialize(ImmediateHk2InjectionManager.java:54) at org.glassfish.jersey.server.ApplicationConfigurator.createApplication(ApplicationConfigurator.java:138) at org.glassfish.jersey.server.ApplicationConfigurator.init(ApplicationConfigurator.java:96) at org.glassfish.jersey.server.ApplicationHandler.lambda$initialize$0(ApplicationHandler.java:313) at java.util.Arrays$ArrayList.forEach(Arrays.java:3880) at org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:313) at org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:282) at org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:335) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:178) at org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:370) at javax.servlet.GenericServlet.init(GenericServlet.java:244) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:672) ... 29 moreCaused by: com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 11 at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:176) at com.google.gson.Gson.fromJson(Gson.java:791) at org.apache.zeppelin.helium.HeliumLocalRegistry.readPackageInfo(HeliumLocalRegistry.java:73) at org.apache.zeppelin.helium.HeliumLocalRegistry.getAll(HeliumLocalRegistry.java:60) at org.apache.zeppelin.helium.Helium.getAllPackageInfo(Helium.java:170) at org.apache.zeppelin.helium.Helium.getAllPackageInfo(Helium.java:155) at org.apache.zeppelin.helium.Helium.<init>(Helium.java:70) at org.apache.zeppelin.server.ZeppelinServer.<init>(ZeppelinServer.java:176) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.glassfish.hk2.utilities.reflection.ReflectionHelper.makeMe(ReflectionHelper.java:1375) at org.jvnet.hk2.internal.Utilities.justCreate(Utilities.java:1083) ... 45 moreCaused by: java.lang.IllegalStateException: Expected BEGIN_OBJECT but was STRING at line 1 column 11 at com.google.gson.stream.JsonReader.expect(JsonReader.java:339) at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:322) at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:165) ... 58 more INFO [2021-06-08 22:25:05,494] ({main} AbstractConnector.java[doStart]:292) - Started ServerConnector@5981f4a6{HTTP/1.1,[http/1.1]}

      {0.0.0.0:8090}

       INFO [2021-06-08 22:25:05,494] ({main} Server.java[doStart]:407) - Started @51224ms INFO [2021-06-08 22:25:05,495] ({main} ZeppelinServer.java[main]:249) - Done, zeppelin server started

       

      AND

      HTTP ERROR 503

      Problem accessing /. Reason:

      Service Unavailable

      Attachments

        Activity

          People

            Unassigned Unassigned
            lahad Abdou Lahad SYLLA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: