Skip to content

Instantly share code, notes, and snippets.

View stuartwdouglas's full-sized avatar

Stuart Douglas stuartwdouglas

  • Red Hat
  • Orange NSW Australia
View GitHub Profile
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Example Exception
was caught. Original Exception is:
java.lang.RuntimeException: Example Exception
this was thrown from:
org.acme.resteasy.ExampleResource.hello(ExampleResource.java:14)
org.acme.resteasy.ExampleResource_Subclass.hello$$superaccessor1(ExampleResource_Subclass.zig:189)
org.acme.resteasy.ExampleResource_Subclass$$function$$1.apply(ExampleResource_Subclass$$function$$1.zig:29)
io.quarkus.arc.impl.AroundInvokeInvocationContext.proceed(AroundInvokeInvocationContext.java:54)
io.quarkus.arc.runtime.devconsole.InvocationInterceptor.proceed(InvocationInterceptor.java:57)
io.quarkus.arc.runtime.devconsole.InvocationInterceptor.monitor(InvocationInterceptor.java:43)
org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Example Exception
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
#
# The name of the application.
# If not set, defaults to the name of the project.
#
#quarkus.application.name=
#
# The version of the application.
# If not set, defaults to the version of the project
#
#
# The timeout before cancelling the acquisition of a new connection
#
#quarkus.agroalRuntime.defaultDataSource.acquisitionTimeout=5
#
# The interval at which we validate idle connections in the background
#
#quarkus.agroalRuntime.defaultDataSource.backgroundValidationInterval=2M
#
#The timeout before cancelling the acquisition of a new connection
#
#quarkus.agroalRuntime.defaultDataSource.acquisitionTimeout=5
#
#The interval at which we validate idle connections in the background
#
#quarkus.agroalRuntime.defaultDataSource.backgroundValidationInterval=2M
static {
WeldProvider weldProvider = new WeldProvider();
CDI.setCDIProvider(new CDIProvider() {
@Override
public CDI<Object> getCDI() {
try {
BeanManager bm = (BeanManager) new InitialContext().lookup("java:comp/BeanManager");
if (bm != null) {
return new AbstractCDI<Object>() {
@Override
Full thread dump
"Management Triggered Shutdown@15862" prio=5 tid=0xa0 nid=NA waiting
java.lang.Thread.State: WAITING
blocks SIGTERM handler@15919
at java.lang.Object.wait(Object.java:-1)
at java.lang.Thread.join(Thread.java:1252)
at java.lang.Thread.join(Thread.java:1326)
at java.lang.ApplicationShutdownHooks.runHooks(ApplicationShutdownHooks.java:106)
at java.lang.ApplicationShutdownHooks$1.run(ApplicationShutdownHooks.java:46)
14:34:40,111 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "error-reporting-1.0-SNAPSHOT.jar")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.global.NonExistant"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.\"error-reporting-1.0-SNAPSHOT\".\"error-reporting-1.0-SNAPSHOT\".ErrorEjb.env.\"com.stuartdouglas.ErrorEjb\".nonExistant is missing [jboss.naming.context.java.global.NonExistant]"]
}
14:34:40,120 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "error-reporting-1.0-SNAPSHOT.jar" (runtime-name : "error-reporting-1.0-SNAPSHOT.jar")
14:34:40,123 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.naming.context.java.global.NonExista
13:12:01,199 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "error-reporting-1.0-SNAPSHOT.jar")]) - failure description: {
"WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.global.NonExistant"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.comp.\"error-reporting-1.0-SNAPSHOT\".\"error-reporting-1.0-SNAPSHOT\".ErrorEjb.env.\"com.stuartdouglas.ErrorEjb\".nonExistant is missing [jboss.naming.context.java.global.NonExistant]"]
}
13:12:01,208 INFO [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "error-reporting-1.0-SNAPSHOT.jar" (runtime-name : "error-reporting-1.0-SNAPSHOT.jar")
13:12:01,211 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.deployment.unit."error-reporting-1.0