grizzly Questions

9

I'm running into an issue where my deployable jar hits an exception that doesn't happen when I run this locally in IntelliJ. Exception: Receiving an event {id=2, socket=0c317829-69bf-43d6-b598-7...
Shrum asked 15/10, 2013 at 19:45

5

Solved

I'm trying to get grizzly to use SSL encryption and still work fine with Jersey. I've looked all over the Internet, and I find all kinds of different attempts at SSL with Grizzly and Jersey. Seems ...
Mervinmerwin asked 13/1, 2014 at 17:56

4

Below is the code to start Grizzly Http Server. If I press any key the server stops. Is there any way to keep it alive. Jetty has join() method, which will not exit the main program. Is there anyt...
Sunfast asked 28/1, 2013 at 8:23

1

I have a Jersey application running on Glassfish 4 (4.1 build 13), JDK 1.7 update 67 and AWS Linux AMI and I'm noticing that after some hours running it, CPU usage goes up and stays up even though ...
Faldstool asked 18/9, 2014 at 21:39

3

Solved

I've been trying to debug this issue for a bit now, and searching SO and other websites I haven't been able to find a solution. I've checked all versions of the dependencies in my pom.xml and made ...
Bohol asked 26/4, 2017 at 18:46

4

Solved

I've created a RESTFul service using grizzly and google guice. I am able to access it running on the command line: c:\Java\src\options\console>java -jar target\ServerConsole-V1.jar Nov 28, 201...
Amadeo asked 29/11, 2017 at 17:59

4

Solved

I'm trying to get hold of some injected context (for example Session or HttpServletRequest) in a Servlet I've written, running on Grizzly, but nothing I do seems to work. The whole process seems to...
Spermatic asked 2/4, 2013 at 16:33

3

Solved

Help me please. I tried for a long time to start rest app example, but I can't do this. Using jersey user guide I'm get stuck with it.Here is example: package com.example; import javax.ws.rs.clie...
Presbyterian asked 23/12, 2013 at 13:19

2

All the sources/samples on the INTERNET that available on NIO2 are without TLS/SSL support, java.nio.channels.AsynchronousSocketChannel java.nio.channels.AsynchronousServerSocketChannel As I unde...
Hyperthermia asked 12/10, 2012 at 7:28

3

Solved

I'm writing a Java RESTful service hosted on Heroku based on an example -> https://api.heroku.com/myapps/template-java-jaxrs/clone My sample service is: package com.example.services; import com....
Maskanonge asked 1/11, 2012 at 5:6

6

Solved

I have a wsdl file for the Web service. I want to test the interaction between the client and the server. To do this, I run the mock server with embedded grizzly. The question about of implementin...
Unexampled asked 13/11, 2012 at 6:35

1

Solved

I have a standard websocket endpoint based on Tyrus implementation which times to times triggers the java.lang.IllegalStateException: Cannot set WriteListener for non-async or non-upgrade request. ...
Messer asked 3/8, 2017 at 14:10

2

Solved

Following up on Jersey + HK2 + Grizzly: Proper way to inject EntityManager?, I would like to understand how it is possible use dependency injection in classes which are not jersey resources. As a...
Translation asked 11/8, 2015 at 13:27

4

Solved

I have a RESTful endpoint which I secured with a simple authorization check via a custom ContainerRequestFilter. The filter checks if all the information contained in the HTTP session is correct an...
Lenorelenox asked 20/7, 2016 at 15:30

3

Solved

Is there any implementation of javax.ws.rs.core.UriInfo which I can use to create an instance quickly for testing. This interface is long, I just need to test something. I don't want to waste time ...
Vermouth asked 24/4, 2015 at 9:43

2

Solved

I want to use Guice + Jersey 2.0 on Grizzly. According to this How to use guice-servlet with Jersey 2.0? discussion there is no direct Guice integration for Jersey2 at present but it can be achieve...
Luckey asked 6/8, 2013 at 12:58

0

I have a Java application which runs on top of Grizzly web server. I already call Response.suspend() and run the request in a background thread. This much works great. Here's some example code of t...
Poddy asked 25/8, 2016 at 19:55

1

Solved

I have Jersey being provided by Grizzly. I have a ContainerRequestFilter implementation class. However this class is created once for all incoming requests. Therefore doing this: public class End...
Aholla asked 10/6, 2016 at 4:23

1

Solved

I am trying to access the clients IP that are calling my rest server but I only get null as a response. The web-server is running and I can access it from the web browser. I have tried with @Co...
Human asked 11/5, 2016 at 16:5

0

Is it possible to add a filter to the Glassfish 4.1 (Payara) internal FilterChain instance? My intent is unified logging at the network level.
Undeceive asked 19/4, 2016 at 15:25

3

Solved

I have spring-boot Tomcat server for secure websocket connections. The server accepts Android 4.4, iOS, Firefox, and Chrome clients without failure with an authority-signed certificate. Android 5.0...
Photojournalism asked 18/1, 2015 at 15:47

4

Solved

I am trying to create a custom http param binding for my restful service. Please see the example below. @POST @Path("/user/{userId}/orders") @Produces(MediaType.APPLICATION_JSON) @Consumes(MediaTy...
Penuche asked 22/4, 2014 at 22:35

1

I'm currently trying to secure my Grizzly HTTP-Server with SSL (which should be quite easy according to tutorials and examples) - server side only. So first I've downloaded the UnlimitedJCEPolicy f...
Eladiaelaeoptene asked 28/3, 2014 at 23:22

2

Solved

I've written the following test code: @Test public void testLeakWithGrizzly() throws Throwable { ExecutorService executor = Executors.newFixedThreadPool(N_THREADS); Set<Future<Void>>...
Valeric asked 15/8, 2015 at 13:42

1

I can start grizzly and deploy Jersey webservices on it with the following lines. protected HttpServer create() throws Throwable { ResourceConfig rc = new PackagesResourceConfig("com.resource", "...
Susumu asked 24/1, 2012 at 19:45

© 2022 - 2025 — McMap. All rights reserved.