GithubHelp home page GithubHelp logo

grep4j's People

Contributors

marcocast avatar nemo83 avatar

grep4j's Issues

grep doesn't work with files having space in their names

Profile profile =  
ProfileBuilder.newBuilder().name("profile").filePath(FILEPATH).onLocalhost().bui
ld();
GrepResults results = Grep4j.grep(regularExpression(searchRegex), on(profile));

If FILEPATH contains spaces then the result will be empty independent from the 
content of the file. No error is raised.

One possible workaround is using apostrophe:
ProfileBuilder.newBuilder().name("profile").filePath("'" + FILEPATH 
"'").onLocalhost().build();

Original issue reported on code.google.com by hullarb on 14 Feb 2014 at 3:01

Iteration not working properly on GrepResults

What steps will reproduce the problem?
1. Search for a constant term like 'copyright' recursively in a directory
2. Try to iterate over the results like
    GrepResults allResults = //query  
    for (GrepResult result: allResults) {
    }


What is the expected output? 
If allResults.totalLines() = 15 then should iterate 15 times/

What do you see instead?
However the results are such that allResults.totalLines() = 15 but 
allResults.size() = 1 . Hence iteration happens only once all the entire 
results are considered to be one match.



What version of the product are you using? On what operating system?


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 Aug 2014 at 7:51

Grep4j.execute run twice execute three times search

What steps will reproduce the problem?
1. Prepare the Grep4j env.
2. Run Grep4j.execute twice


What is the expected output? What do you see instead?
Search should run twice instead is run three times.

What version of the product are you using? On what operating system?
1.0?

Please provide any additional information below.
Cool stuff

Original issue reported on code.google.com by [email protected] on 30 May 2012 at 10:21

GrepResult#linePattern

It should not use System.getProperty("line.separator"), because it is 
impossible to grep unix files from windows, when you cannot override it.

Original issue reported on code.google.com by [email protected] on 10 Jul 2013 at 2:34

Getting this exception when the total time for search is longer . (i.e) grepping through 8 server and 24 files each

java.util.concurrent.ExecutionException: java.lang.RuntimeException: Error when 
executing the GrepTask
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)
    at java.util.concurrent.FutureTask.get(FutureTask.java:91)
    at com.mlbm.logsearcher.GrepSearcher.searchLogFiles(GrepSearcher.java:79)
    at com.mlbm.logsearcher.LogSearchEventHandler.performGrepSearch(LogSearchEventHandler.java:136)
    at com.mlbm.logsearcher.LogSearchEventHandler.actionPerformed(LogSearchEventHandler.java:51)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6267)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6032)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2478)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.RuntimeException: Error when executing the GrepTask
    at org.grep4j.core.executors.GrepExecutor.execute(GrepExecutor.java:59)
    at org.grep4j.core.executors.GrepExecutor.execute(GrepExecutor.java:27)
    at org.grep4j.core.Grep4j.execute(Grep4j.java:239)
    at org.grep4j.core.Grep4j.grep(Grep4j.java:145)
    at org.grep4j.core.Grep4j.grep(Grep4j.java:213)
    at com.mlbm.logsearcher.GrepSearcher$1.call(GrepSearcher.java:71)
    at com.mlbm.logsearcher.GrepSearcher$1.call(GrepSearcher.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
Error when executing the CommandExecutorTasks
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at org.grep4j.core.executors.GrepExecutor.execute(GrepExecutor.java:54)
    ... 11 more
Caused by: java.lang.RuntimeException: Error when executing the 
CommandExecutorTasks
    at org.grep4j.core.executors.GrepTaskExecutor.execute(GrepTaskExecutor.java:51)
    at org.grep4j.core.executors.GrepTaskExecutor.execute(GrepTaskExecutor.java:25)
    at org.grep4j.core.task.GrepTask.call(GrepTask.java:51)
    at org.grep4j.core.task.GrepTask.call(GrepTask.java:31)
    ... 5 more
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
ERROR: Unrecoverable error when performing remote command Pool not open
    at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
    at java.util.concurrent.FutureTask.get(FutureTask.java:83)
    at org.grep4j.core.executors.GrepTaskExecutor.execute(GrepTaskExecutor.java:48)
    ... 8 more
Caused by: java.lang.RuntimeException: ERROR: Unrecoverable error when 
performing remote command Pool not open
    at org.grep4j.core.command.linux.JschCommandExecutor.execute(JschCommandExecutor.java:46)
    at org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:35)
    at org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:19)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    ... 5 more
Caused by: java.lang.IllegalStateException: Pool not open
    at org.apache.commons.pool.BaseKeyedObjectPool.assertOpen(BaseKeyedObjectPool.java:160)
    at org.apache.commons.pool.impl.StackKeyedObjectPool.borrowObject(StackKeyedObjectPool.java:148)
    at org.grep4j.core.command.linux.JschCommandExecutor.execute(JschCommandExecutor.java:37)
    ... 10 more


Original issue reported on code.google.com by [email protected] on 16 May 2014 at 5:55

Grep4j does not find strings which start with "-".

Hello, I am using grep4j-1.8.5 with Java and Linux, and I have a little problem.
That is, Grep4j does not find strings which start with "-".

I want to grep using a string "-encoding=" which starts with "-"
and coded like this:

    Profile profile = ProfileBuilder.newBuilder().name(fileNameWithoutExtension).filePath(filePath).onLocalhost().build();
    GrepResults results = grep(regularExpression("-encoding="), 
                               on(profile),
                               with(options(onlyMatching(),lineNumber(),ignoreCase(),maxMatches(Const.ONE))));

However, Grep4 cannot find anything, even if the string actually exists in the 
specified file.

For your information, the content of the specified file is like this:
    } else if(args[i].startsWith("-encoding=")){ <-- This is the line I want to grep!
        String[] dim = Util.split(args[i],"=");
        encoding = dim[1];

I wondered why and looked for the answer, but I could find nothing. 
Only thing I currently know is, Grep4 works as I expected when I give a string 
"encoding=" which doesn't start with "-".

If you know something, please let me know. Any suggestions will be appreciated. 
Thank you.

Original issue reported on code.google.com by [email protected] on 17 Dec 2013 at 12:46

Port needed to connect to remote server

What steps will reproduce the problem?
1. Try to connect to remote server that listens on a port.

What is the expected output? What do you see instead?
Expected output: Connect.
Actual result:
Cannot connect because there is no way to pass port information with current 
library.

What version of the product are you using? On what operating system?
grep4j-1.6.3

Please provide any additional information below.
I want to connect to my local VM that also requires port info to connect along 
with host, user, password and file-path.

I tried to connect with port info using net.schmizz library (which grep4j uses 
internally). Please attach file.

Original issue reported on code.google.com by [email protected] on 24 Sep 2012 at 5:28

Attachments:

com.jcraft.jsch.JSchException: Auth fail

Hi,

I am trying to use the grep4j to login to remote server and grep for a keyword.

Below is the code snippet . 
String host = "121.10.11.18";
                System.out.println("In  buildEngineRestartcount 2 ..................."+host);
                Profile remoteProfile = ProfileBuilder.newBuilder()
                                .name("Remote server log") 
                                .filePath("/logs/server/server.log")     
                                .onRemotehost(host)       
                                .credentials("id", "pswd") 
                                .build();
                System.out.println("In  buildEngineRestartcount 3 ..................."+remoteProfile);
                GrepExpression exp = new GrepExpression("TaskAccepted", false);

                Option ops = new Option(null, "", "");
               // GrepResults results = grep(exp, remoteProfile, ops);
            GrepResults results = grep(constantExpression("TaskAccepted"), on(remoteProfile));
                System.out.println("Grep results : " + results);
                System.out.println("Total lines found : " + results.totalLines());
                System.out.println("Total Execution Time : " + results.getExecutionTime());

What is the expected output? What do you see instead?
Getting these errors 

RROR   2014-11-17 16:49:00,825 [pool-10-thread-1] 
org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler  - 
Unexpected error occurred in scheduled task.
java.lang.RuntimeException: Error when executing the GrepTask
        at org.grep4j.core.executors.GrepExecutor.execute(GrepExecutor.java:59)
        at org.grep4j.core.executors.GrepExecutor.execute(GrepExecutor.java:27)
        at org.grep4j.core.Grep4j.execute(Grep4j.java:239)
        at org.grep4j.core.Grep4j.grep(Grep4j.java:145)
        at org.grep4j.core.Grep4j.grep(Grep4j.java:213)
        at com.wellsfargo.BO.GridScheduler.buildEngineRestartcount(GridScheduler.java:144)
        at com.wellsfargo.BO.GridScheduler$$FastClassBySpringCGLIB$$fcd0d09b.invoke(<generated>)
        at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:640)
        at com.wellsfargo.BO.GridScheduler$$EnhancerBySpringCGLIB$$3f43cfea.buildEngineRestartcount(<generated>)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65)
        at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54)
        at org.springframework.scheduling.concurrent.ReschedulingRunnable.run(ReschedulingRunnable.java:81)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
Error when executing the CommandExecutorTasks
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at org.grep4j.core.executors.GrepExecutor.execute(GrepExecutor.java:54)
        ... 23 more
Caused by: java.lang.RuntimeException: Error when executing the 
CommandExecutorTasks
        at org.grep4j.core.executors.GrepTaskExecutor.execute(GrepTaskExecutor.java:51)
        at org.grep4j.core.executors.GrepTaskExecutor.execute(GrepTaskExecutor.java:25)
        at org.grep4j.core.task.GrepTask.call(GrepTask.java:51)
        at org.grep4j.core.task.GrepTask.call(GrepTask.java:31)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        ... 3 more
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: 
ERROR: Unrecoverable error when performing remote command ERROR: Unrecoverable 
error when trying to connect to serverDetails :  
ServerDetails(host=wppra00a0177.wellsfargo.com, user=u334635, 
password=Smaran$3, port=22, privateKeyLocation=null, isPasswordRequired=true)
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at org.grep4j.core.executors.GrepTaskExecutor.execute(GrepTaskExecutor.java:48)
        ... 7 more
Caused by: java.lang.RuntimeException: ERROR: Unrecoverable error when 
performing remote command ERROR: Unrecoverable error when trying to connect to 
serverDetails :  ServerDetails(host=wppra00a0177.wellsfargo.com, user=u334635, 
password=Smaran$3, port=22, privateKeyLocation=null, isPasswordRequired=true)
        at org.grep4j.core.command.linux.JschCommandExecutor.execute(JschCommandExecutor.java:46)
        at org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:35)
        at org.grep4j.core.task.CommandExecutorTask.call(CommandExecutorTask.java:19)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        ... 4 more
Caused by: java.lang.RuntimeException: ERROR: Unrecoverable error when trying 
to connect to serverDetails :  ServerDetails(host=wppra00a0177.wellsfargo.com, 
user=u334635, password=Smaran$3, port=22, privateKeyLocation=null, 
isPasswordRequired=true)
        at org.grep4j.core.command.linux.SessionFactory.makeObject(SessionFactory.java:39)
        at org.grep4j.core.command.linux.SessionFactory.makeObject(SessionFactory.java:15)
        at org.apache.commons.pool.impl.StackKeyedObjectPool.borrowObject(StackKeyedObjectPool.java:165)
        at org.grep4j.core.command.linux.JschCommandExecutor.execute(JschCommandExecutor.java:37)
        ... 8 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
        at com.jcraft.jsch.Session.connect(Session.java:491)
        at com.jcraft.jsch.Session.connect(Session.java:162)
        at org.grep4j.core.command.linux.SessionFactory.makeObject(SessionFactory.java:37)
        ... 11 more


What version of the product are you using? On what operating system?
I have this code running from eclipse windows.

Please provide any additional information below.

I have used the dependcies jar supplied. 
It will be great,if you can help me with this.


Original issue reported on code.google.com by [email protected] on 18 Nov 2014 at 3:38

problem with access remote server without password

Hello! I'm using your framework to remote server grep. For example, I'm using 
next code:
             profile = ProfileBuilder.newBuilder()
                    .name("Max")
                    .filePath(serverPath)
                    .onRemotehost(host.getHost())
                    .credentials(login, pass)
                    .build();
             grep(constantExpression(id), on(profile));

and all working good. 
The problem appear, when I need to access the server, which has access through 
login WITHOUT password. I'm using:

            Profile profile = new Profile("Max", serverPath);
            ServerDetails serverDetails = new ServerDetails(host);
            serverDetails.setUser(login);
            serverDetails.setPasswordRequired(false);
            profile.setServerDetails(serverDetails);
         grep(constantExpression(id), on(profile));

But after grep I've got the next error:

ERROR [2013-12-11 10:36:09,902] 
ua.privatbank.eantifraud.client.core.resource.EntryPointResource: 
EntryPointResource::processLogRequest error = Error when executing the GrepTask
WARN  [2013-12-11 10:36:09,919] org.eclipse.jetty.servlet.ServletHandler: 
/api/logs
! java.lang.IllegalStateException: Committed
! at org.eclipse.jetty.server.Response.resetBuffer(Response.java:1144) 
~[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
javax.servlet.ServletResponseWrapper.resetBuffer(ServletResponseWrapper.java:232
) ~[javax.servlet-3.0.0.v201112011016.jar:na]
! at 
org.eclipse.jetty.http.gzip.CompressedResponseWrapper.resetBuffer(CompressedResp
onseWrapper.java:268) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.http.gzip.CompressedResponseWrapper.sendError(CompressedRespon
seWrapper.java:282) ~[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
com.sun.jersey.spi.container.servlet.WebComponent$Writer.finish(WebComponent.jav
a:282) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at 
com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:241)
 ~[jersey-server-1.17.1.jar:1.17.1]
! at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebAppl
icationImpl.java:1479) ~[jersey-server-1.17.1.jar:1.17.1]
! at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebAppli
cationImpl.java:1391) ~[jersey-server-1.17.1.jar:1.17.1]
! at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebAppli
cationImpl.java:1381) ~[jersey-server-1.17.1.jar:1.17.1]
! at 
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
 ~[jersey-servlet-1.17.1.jar:1.17.1]
! at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.j
ava:538) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.j
ava:716) ~[jersey-servlet-1.17.1.jar:1.17.1]
! at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) 
~[javax.servlet-3.0.0.v201112011016.jar:na]
! at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669) 
~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1448) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
com.yammer.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:2
9) ~[dropwizard-core-0.6.2.jar:na]
! at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.jav
a:1419) ~[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455) 
[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:107
5) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384) 
[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009
) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) 
[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 
[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
com.yammer.metrics.jetty.InstrumentedHandler.handle(InstrumentedHandler.java:200
) [metrics-jetty-2.2.0.jar:na]
! at org.eclipse.jetty.server.handler.GzipHandler.handle(GzipHandler.java:264) 
[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
com.yammer.dropwizard.jetty.BiDiGzipHandler.handle(BiDiGzipHandler.java:123) 
[dropwizard-core-0.6.2.jar:na]
! at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java
:154) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) 
[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.server.Server.handle(Server.java:368) 
[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnec
tion.java:489) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.BlockingHttpConnection.handleRequest(BlockingHttpConnec
tion.java:53) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConne
ction.java:942) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(Ab
stractHttpConnection.java:1004) 
[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:640) 
[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) 
[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.ja
va:72) [jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.server.nio.BlockingChannelConnector$BlockingChannelEndPoint.ru
n(BlockingChannelConnector.java:298) 
[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
 [jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
! at 
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) 
[jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
! at java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
127.0.0.1 - - [11/Dec/2013:10:36:09 +0000] "GET 
/api/logs?id=52a8351ce4b0d200a587f1f0&date=11&month=12&year=2013&server=prod 
HTTP/1.1" 200 27 700 700


What am I doing wrong? How rigth to access the server without password?

Original issue reported on code.google.com by [email protected] on 11 Dec 2013 at 11:18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.