Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] quickstart generation

Ludo

Ah - I understand now.  If quick-start generation is enabled, I have to stop the connectors from being opened!

will do soon


On 14 January 2016 at 12:21, Ludovic Champenois <ludo@xxxxxxxxxx> wrote:
On 1/13/16 4:51 PM, Greg Wilkins wrote:

Ludo,

sorry - I just really understood what you were saying about quickstart generation - that you are not using jetty9-compat-base, but still using the 9.2 generation.

Is there a reason for that? 
The only reason so far is our internal e2e tests running internally on shared datacenters...
Got this error:
Jan 11, 2016 3:44:37 PM org.eclipse.jetty.util.log.Log initialized
INFO: Logging initialized @740ms
Jan 11, 2016 3:44:37 PM org.eclipse.jetty.server.Server doStart
INFO: jetty-9.3.6.v20151106
Jan 11, 2016 3:44:37 PM org.eclipse.jetty.server.NCSARequestLog doStart
INFO: Opened /build/work/8a10a04cd2699b7177fd702e212913bd/google3/tmp/request.2016_01_11.log
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.eclipse.jetty.start.Main.invokeMain(Main.java:214)
	at org.eclipse.jetty.start.Main.start(Main.java:457)
	at org.eclipse.jetty.start.Main.main(Main.java:75)
Caused by: MultiException[java.lang.NullPointerException, java.net.SocketException: Permission denied]
	at org.eclipse.jetty.server.Server.doStart(Server.java:347)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1510)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1435)
	... 7 more
	Suppressed: java.net.SocketException: Permission denied
		at sun.nio.ch.Net.bind0(Native Method)
		at sun.nio.ch.Net.bind(Net.java:437)
		at sun.nio.ch.Net.bind(Net.java:429)
		at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
		at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
		at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:326)
		at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80)
		at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)
		at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
		at org.eclipse.jetty.server.Server.doStart(Server.java:384)
		... 11 more
Caused by: java.lang.NullPointerException
	at org.eclipse.jetty.server.handler.HandlerCollection.setHandlers(HandlerCollection.java:86)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.setHandlers(ContextHandlerCollection.java:151)
	at org.eclipse.jetty.server.handler.HandlerCollection.addHandler(HandlerCollection.java:144)
	at com.google.apphosting.vmruntime.jetty9.VmRuntimeWebAppDeployer.doStart(VmRuntimeWebAppDeployer.java:79)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
	at org.eclipse.jetty.server.Server.start(Server.java:405)
	at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
	at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
	at org.eclipse.jetty.server.Server.doStart(Server.java:372)


So I guess the server was trying to use a port which was not available on the shared test machine?


Do you need other changes needed in jetty-9-compat-base?     Are you extracting the webdefaults.xml from the base?
yes now
Ludo

If there is anything there that needs to be worked on, just open an issue!

cheers


--




--

Back to the top