Thanks. Will try it out and get back on this. On Tue, Apr 12, 2016 at 2:12 PM, amareshwarisr . <[email protected]> wrote:
> You will find that in the source release and you need to follow build from > source instructions : > http://download.nus.edu.sg/mirror/apache/lens/2.5-beta/apache-lens-2.5.0-beta-source-release.zip > > On Tue, Apr 12, 2016 at 2:09 PM, Rashmi Varma <[email protected]> > wrote: > >> Hi, >> There is no lensui folder in the lens distribution that I have. >> Its apache-lens-2.5.0-beta-bin. Where can I get this? >> >> Thanks and Regards, >> >> On Tue, Apr 12, 2016 at 2:06 PM, Rajat Khandelwal <[email protected] >> > wrote: >> >>> I think the lens UI you're trying out is the java UI and it's >>> deprecated. We have a new UI written in nodejs. To access that, >>> >>> * Start the server >>> * Go to lens/lens-ui >>> * run `npm run dev` >>> * Open localhost:8082/ >>> >>> >>> >>> On Tue, Apr 12, 2016 at 1:56 PM Rashmi Varma <[email protected]> >>> wrote: >>> >>>> Hi, >>>> The logs are: >>>> 12 Apr 2016 08:23:27 [ef9bc6f3-2af8-4b10-940d-3a2fdfece056] >>>> [grizzly-http-server-6] ERROR org.apache.lens.server.LensRequestListener - >>>> Encountered HTTP exception >>>> org.glassfish.jersey.media.multipart.internal.FormDataParamValueFactoryProvider$FormDataParamException: >>>> HTTP 400 Bad Request >>>> at >>>> org.glassfish.jersey.media.multipart.internal.FormDataParamValueFactoryProvider$FormDataParamValueFactory.provide(FormDataParamValueFactoryProvider.java:360) >>>> ~[jersey-media-multipart-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.spi.internal.ParamValueFactoryWithSource.provide(ParamValueFactoryWithSource.java:71) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.spi.internal.ParameterValueHelper.getParameterValues(ParameterValueHelper.java:90) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$AbstractMethodParamInvoker.getParamValues(JavaResourceMethodDispatcherProvider.java:127) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) >>>> [jersey-common-2.22.1.jar:na] >>>> at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) >>>> [jersey-common-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.internal.Errors.process(Errors.java:315) >>>> [jersey-common-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.internal.Errors.process(Errors.java:297) >>>> [jersey-common-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.internal.Errors.process(Errors.java:267) >>>> [jersey-common-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) >>>> [jersey-common-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) >>>> [jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) >>>> [jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384) >>>> [jersey-container-grizzly2-http-2.22.1.jar:na] >>>> at >>>> org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224) >>>> [grizzly-http-server-2.3.23.jar:2.3.23] >>>> at >>>> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591) >>>> [grizzly-framework-2.3.23.jar:2.3.23] >>>> at >>>> org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571) >>>> [grizzly-framework-2.3.23.jar:2.3.23] >>>> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_73] >>>> Caused by: org.glassfish.jersey.internal.inject.ExtractorException: >>>> javax.ws.rs.ProcessingException: Error un-marshalling JAXB object of type: >>>> class org.apache.lens.api.LensConf. >>>> at >>>> org.glassfish.jersey.server.internal.inject.AbstractParamValueExtractor.convert(AbstractParamValueExtractor.java:145) >>>> ~[jersey-server-2.22.1.jar:na] >>>> jar:na] >>>> at >>>> org.glassfish.jersey.server.internal.inject.SingleValueExtractor.extract(SingleValueExtractor.java:84) >>>> ~[jersey-server-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.media.multipart.internal.FormDataParamValueFactoryProvider$FormDataParamValueFactory.provide(FormDataParamValueFactoryProvider.java:358) >>>> ~[jersey-media-multipart-2.22.1.jar:na] >>>> ... 22 common frames omitted >>>> Caused by: javax.ws.rs.ProcessingException: Error un-marshalling JAXB >>>> object of type: class org.apache.lens.api.LensConf. >>>> at >>>> org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider$RootElementProvider$1.fromString(JaxbStringReaderProvider.java:199) >>>> ~[jersey-media-jaxb-2.22.1.jar:na] >>>> at >>>> org.glassfish.jersey.server.internal.inject.AbstractParamValueExtractor.convert(AbstractParamValueExtractor.java:139) >>>> ~[jersey-server-2.22.1.jar:na] >>>> ... 25 common frames omitted >>>> Caused by: java.lang.NullPointerException: null >>>> at java.io.StringReader.<init>(StringReader.java:50) ~[na:1.8.0_73] >>>> at >>>> org.glassfish.jersey.jaxb.internal.JaxbStringReaderProvider$RootElementProvider$1.fromString(JaxbStringReaderProvider.java:185) >>>> ~[jersey-media-jaxb-2.22.1.jar:na] >>>> ... 26 common frames omitted >>>> 12 Apr 2016 08:23:27 [ef9bc6f3-2af8-4b10-940d-3a2fdfece056] >>>> [grizzly-http-server-6] INFO org.glassfish.jersey.filter.LoggingFilter - >>>> 36 * Server responded with a response on thread grizzly-http-server-6 >>>> 36 < 400 >>>> >>>> 12 Apr 2016 08:23:27 [4f0e8b53-152e-4ac3-94ce-8e9003661990] >>>> [grizzly-http-server-1] INFO org.glassfish.jersey.filter.LoggingFilter - >>>> 37 * Server has received a request on thread grizzly-http-server-1 >>>> 37 > GET http://127.0.0.1:19999/index.html >>>> 37 > accept: >>>> text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 >>>> 37 > accept-encoding: gzip, deflate, sdch >>>> 37 > accept-language: en-US,en;q=0.8 >>>> 37 > cache-control: max-age=0 >>>> 37 > connection: keep-alive >>>> 37 > host: 127.0.0.1:19999 >>>> 37 > referer: http://127.0.0.1:19999/index.html >>>> 37 > upgrade-insecure-requests: 1 >>>> 37 > user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 >>>> (KHTML, like Gecko) Ubuntu Chromium/49.0.2623.108 Chrome/49.0.2623.108 >>>> Safari/537.36 >>>> >>>> >>>> After this, there is a series of normal logs like the one above without >>>> any exception. >>>> >>>> Thanks and Regards >>>> >>>> On Tue, Apr 12, 2016 at 1:42 PM, amareshwarisr . <[email protected] >>>> > wrote: >>>> >>>>> Can you check lensserver logs and paste whats the error you are seeing? >>>>> >>>>> On Tue, Apr 12, 2016 at 1:34 PM, Rashmi Varma <[email protected]> >>>>> wrote: >>>>> >>>>>> I tried that. Its not working. >>>>>> >>>>>> On Tue, Apr 12, 2016 at 1:18 PM, Rashmi Varma <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi, >>>>>>> I have successfully installed lens and run the example script >>>>>>> run-examples.sh. However, I am not able to use the lens UI. When I >>>>>>> access >>>>>>> the URL, it asks me for login credentials, viz., email id and password >>>>>>> and >>>>>>> there is no option for creating a new user. >>>>>>> >>>>>>> Please help. >>>>>>> >>>>>>> Thanks and Regards, >>>>>>> Rashmi >>>>>>> >>>>>> >>>>>> >>>>> >>>> >> >
