How to enable DEBUG level logging with Jetty embedded?

My question was answered on the Jetty mailing list by Joakim Erdfelt: You are looking at the old Jetty 6.x docs at docs.codehaus.org. DEBUG logging is just a logging level determined by the logging implementation you choose to use. If you use slf4j, then use slf4j’s docs for configuring logging level. http://slf4j.org/manual.html If you use … Read more

How does jetty handle multiple requests

This can be answered at so many levels I have been staring at it for two days trying to figure out how answer it…so I’ll take a kinda high level shot at it. There is this server port that jetty listens on and some number of acceptor threads whose job it is to get connection … Read more

Jetty Run War Using only command line

Use the jetty runner. java -jar jetty-runner.jar my.war With Maven, you can install by adding to your pom.xml: <build> … <plugins> … <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>2.3</version> <executions> <execution> <phase>package</phase> <goals><goal>copy</goal></goals> <configuration> <artifactItems> <artifactItem> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-runner</artifactId> <version>7.5.4.v20111024</version> <destFileName>jetty-runner.jar</destFileName> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> </plugins> </build> Run: mvn package And use as: java -jar target/dependency/jetty-runner.jar target/*.war … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)