[keycloak-user] Deploying auth-server.war on Jetty 8

Simon Temple simon.temple at amalto.com
Mon Jan 26 13:04:00 EST 2015


Would it be possible to deploy the server WAR under Jetty 8?  Has anyone done this already?
I know I’d have to create a datasource and drop the auth-server.war in the jetty deploy folder… but what about the configuration folder content?

Any help would be much appreciated.

I tried adding the jetty 8 adapter jars to the jetty /lib and deploying the war but I got a couple of WARNS:

2015-01-26 15:48:55,389 WARN  [auth-server.war] (WrapperSimpleAppMain) unavailable (ContextHandler.java:1957)
javax.servlet.UnavailableException: org.jboss.resteasy.plugins.server.servlet.HttpServlet30Dispatcher
	at org.eclipse.jetty.servlet.Holder.doStart(Holder.java:99)

and

2015-01-26 15:48:55,395 WARN  [auth-server.war] (WrapperSimpleAppMain) unavailable (ContextHandler.java:1957)
java.lang.NullPointerException
	at org.eclipse.jetty.servlet.ServletContextHandler$Context.createServlet(ServletContextHandler.java:975)
	at org.eclipse.jetty.servlet.ServletHolder.newInstance(ServletHolder.java:832)
	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:482)

TIA


Simon







More information about the keycloak-user mailing list