Questions tagged [jetty-8]

Version 8 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

Version 8 of Jetty, a widely used async java based http server and servlet engine supporting WebSockets and SPDY protocols.

122 questions
1
vote
1 answer

Disable adminconnectors in Dropwizard config.yml

I do not need the adminConnectors. Is there a way I can turn it off in my config file? If I comment out the lines, it uses a default port number and fails (because something else is using the default port: 8081), I do not want that to happen.
spark_user
  • 97
  • 2
  • 10
1
vote
2 answers

How to add a request logging filter in Jetty 8?

Here is how I setup my Jetty server: Server server = new Server(80); server.setStopAtShutdown(true); ServletHandler servletHandler = new ServletHandler(); servletHandler.addServletWithMapping(Erreur500Servlet.class,…
Stephan
  • 41,764
  • 65
  • 238
  • 329
1
vote
0 answers

While upgrading the axis2, i got the foolowing java.lang.RuntimeException: Undefined 'Security policy namespace cannot be null.' resource property

I am getting the following exception while upgrading the axis2 version from 1.5.4 to 1.6.1.Note i am using OSGi 3.8.2,jetty server version 8.1.3 2015-09-04…
1
vote
1 answer

How to log exception stack traces in Jetty?

When a servlet throws a NullPointerException, only the name of the exception is logged on the stderr. (When it's a ServerletException, the stacktrace is logged). How to enable logging the stacktrace of all exceptions in Jetty 8 ? I'm using Debian's…
Arnaud Le Blanc
  • 98,321
  • 23
  • 206
  • 194
1
vote
0 answers

eclipse - Java Remote debugging does not hit the breakpoint

I am using Jetty 8 and trying to connect from Eclipse(Remote Debugging). I am using Java 1.6. I have the latest code in eclipse. The port is not blocked in firewall. Jetty is running on port 8080. I opened the debug port on 5999 using the below…
1
vote
1 answer

Cannot access neo4j web interface when using Jetty 8

Everything works fine when I deployed using Tomcat 7. http://localhost:7474/browser can be showed successfully(also webadmin). Using Neo4j 2.1.7 But when changed to deploy my application into Jetty 8 (actually in solr's Jetty 8.1.10), everything…
kennyworld
  • 72
  • 7
1
vote
0 answers

CXF WS, Jetty, SSL: server side delay on second request causing CXF timeout

There's a CXF (2.7.11) webservice published via JaxWsServerFactoryBean to an embedded Jetty (8.1.15.v20140411) in a standalone application on Linux with JDK 8, 64 bit. I set SSL parameters via JettyHTTPServerEngineFactory's…
mdo
  • 6,961
  • 3
  • 24
  • 26
1
vote
1 answer

NullPointer exception In jetty 8 Cookie

My Application uses cookie to do some operation. Previously my Application was deployed on Jboss and it was working fine. Now we need to migrate the application to jetty-8 Server.and i am getting this exception at run-time. I am pretty Sure it is…
Pawan Kumar
  • 522
  • 4
  • 9
  • 29
1
vote
1 answer

How to have websockets with multiple context using same port (using jetty 8)

I trying to implement websocket server, requirement is to have multiple context on same port i.e. ws://ip:8989/provider1 ws://ip:8989/provider2 should provide two different connection but on same port. I had followed old article How do I create…
1
vote
1 answer

Jetty-ssl.xml password hiding

I was configuring my Jetty ssl using this link. I was configuring it for my tomcat keystore and tomcat trust-store so that instead of jetty default certificates, my tomcat certificates are used for ssl connections. While configuring i found we need…
gusainhimanshu
  • 157
  • 1
  • 11
1
vote
1 answer

starting jetty8 ClassNotFoundException: HttpServletResponse

Why is my Jetty 8 startup failing with a ClassNotFoundException for HttpServlet response? What step have I missed? Running on Ubuntu 12.04.03 I installed openjdk 7 with: sudo apt-get install openjdk-7-jdk installed jetty 8 with: sudo apt-get…
sea-rob
  • 2,275
  • 1
  • 22
  • 22
1
vote
1 answer

jetty root context not working as expected

My jetty context xml looks like: **
GJain
  • 5,025
  • 6
  • 48
  • 82
1
vote
1 answer

How to make Jetty load webdefault.xml when it runs in OSGi?

I'm running a Jetty 8.1.12 server within an OSGi container thanks to jetty-osgi-boot as explained in Jetty 8 and Jetty 9 documentation I want to configure the default webapp descriptor (etc/webdefault.xml). When I define jetty.home, jetty picks up…
gregfqt
  • 242
  • 3
  • 14
1
vote
1 answer

Jetty Java EE ExecutorsService

I have web application created and running on Jetty. I have used the ExecutorService to create a new Threadpool like this, ExecutorService es = Executors.newFixedThreadPool(10); But I heard creating your own thread pool in a application server is…
mani_nz
  • 4,522
  • 3
  • 28
  • 37
1
vote
0 answers

Directory listing vs welcomeServlet issue in Jetty 8

We have a servlet 3 Spring MVC web application deployed on Tomcat in production. The application (with minor tweaking) should also be able to run on Jetty 8. Currently this is only used in dev - environment and primarily for integration-testing on…
joensson
  • 1,967
  • 1
  • 22
  • 18
1 2 3
8 9