I'm just starting to try out eureka to see if it is suitable for a project I'm working on.
Dropped the war into a fresh JBoss EAP 6.3.0 install, running as standalone.
At first I got error relating to multiple JAX-RS implementations, but googling it showed me several workarounds (see https://developer.jboss.org/message/744530). I 'solved' it by removing the references to JAX-RS in the standalone.xml.
Now I'm getting an error that is baffling me. It seems to be where blitz4j tries to register itself with the jboss log manager. Poking around in the code, the log4j-jboss-logmanager (v.1.11) is hardcoded to always throw a SecurityException when this is attempted.
Is JBoss a no-go for eureka for this reason, or have I caused the error by doing something stupid?
I built the war using gradle with jdk1.7 (had to downgrade from jdk1.8 to get it to build). I've also tried a war I got from Maven - same result, so I don't think its my build.
Thanks in advance,
Dave
Error trace:
21:36:37,493 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/eureka-server-1.1.143-SNAPSHOT]] (ServerService Thread Pool -- 49) JBWEB000287: Exception sending context initialized event to listener instance of class com.netflix.eureka.EurekaBootStrap: java.lang.RuntimeException: Cannot bootstrap eureka server :
at com.netflix.eureka.EurekaBootStrap.contextInitialized(EurekaBootStrap.java:120) [eureka-core-1.1.143-SNAPSHOT.jar:1.1.143-SNAPSHOT]
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3777) [jbossweb-7.4.8.Final-redhat-4.jar:7.4.8.Final-redhat-4]
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:161) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94) [jboss-as-web-7.4.0.Final-redhat-19.jar:7.4.0.Final-redhat-19]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: java.lang.SecurityException: Not supported in log4j-jboss-logmanager
at org.apache.log4j.LogManager.setRepositorySelector(LogManager.java:46) [log4j-jboss-logmanager-1.1.0.Final-redhat-2.jar:1.1.0.Final-redhat-2]
at com.netflix.blitz4j.LoggingConfiguration.configure(LoggingConfiguration.java:132) [blitz4j-1.34.jar:]
at com.netflix.blitz4j.LoggingConfiguration.configure(LoggingConfiguration.java:111) [blitz4j-1.34.jar:]
at com.netflix.eureka.EurekaBootStrap.initEurekaEnvironment(EurekaBootStrap.java:129) [eureka-core-1.1.143-SNAPSHOT.jar:1.1.143-SNAPSHOT]
at com.netflix.eureka.EurekaBootStrap.contextInitialized(EurekaBootStrap.java:88) [eureka-core-1.1.143-SNAPSHOT.jar:1.1.143-SNAPSHOT]
... 11 more
21:36:37,587 ERROR [org.apache.catalina.core] (ServerService Thread Pool -- 49) JBWEB001103: Error detected during context /eureka-server-1.1.143-SNAPSHOT start, will stop it
21:36:37,637 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 49) MSC000001: Failed to start service jboss.web.deployment.default-host."/eureka-server-1.1.143-SNAPSHOT": org.jboss.msc.service.StartException in service jboss.web.deployment.default-host."/eureka-server-1.1.143-SNAPSHOT": org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:97)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [rt.jar:1.7.0_71]
at java.util.concurrent.FutureTask.run(FutureTask.java:262) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_71]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_71]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: org.jboss.msc.service.StartException in anonymous service: JBAS018040: Failed to start context
at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:166)
at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:59)
at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:94)
... 6 more
--
You received this message because you are subscribed to the Google Groups "eureka_netflix" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eureka_netfli...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.