Fisheye Fails to Start With PathSpec 8060/*. must start with '/' or '*.' Error

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following appears in the atlassian-fisheye-yyyy-mm-dd.log:

2014-08-12 06:39:47,935 WARN  [main ] org.eclipse.jetty.util.component.AbstractLifeCycle AbstractLifeCycle-setFailed - FAILED org.eclipse.jetty.server.handler.ContextHandlerCollection@38785f67: java.lang.IllegalArgumentException: PathSpec 8060/*. must start with '/' or '*.'
java.lang.IllegalArgumentException: PathSpec 8060/*. must start with '/' or '*.'
	at org.eclipse.jetty.http.PathMap.put(PathMap.java:171)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.mapContexts(ContextHandlerCollection.java:144)
	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:171)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)
	at org.eclipse.jetty.server.Server.doStart(Server.java:280)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
	at com.cenqua.fisheye.web.WebServer.start(WebServer.java:313)
	at com.cenqua.fisheye.ctl.Run.mainImpl(Run.java:229)
	at com.cenqua.fisheye.ctl.Run.main(Run.java:56)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.cenqua.fisheye.FishEyeCtl.mainImpl(FishEyeCtl.java:99)
	at com.cenqua.fisheye.FishEyeCtl.main(FishEyeCtl.java:42)

Diagnosis

Open the file Fisheye_Inst/config.xml and check the context parameter under the webserver tag. It should defined with the folder name only and with URL. E.G: fisheye

Cause

The error is caused due to defining the context parameter under the webserver tag in config.xml with the full URL of the instance instead of the context path only.

Resolution

  • Backup the file <FISHEYE_HOME>/config.xml
  • Open the file <FISHEYE_HOME>/config.xml in text editor
  • Modify the context parameter and remove any URL defined in it and only mention the path. E.G: fisheye
  • Save the <FISHEYE_HOME>/config.xml
  • Start the instance
Last modified on Jul 31, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.