Hi,

Not sure, what is going on here.

But this sounds like a bug somewhere else: The servlet spec says the context 
path returned from HttpServletRequest.getContextPath() must be an empty string 
for web apps deployed to the root ("/") context. I have seen servlet containers 
where this was null instead (and we had to work around this bug)

But, why "null" is logged here, I cannot tell.

Also, assuming by "OSGi-fyed" you mean to also have added the "Web-ContextPath" 
bundle header to indicate the context path of your web application bundle as 
required by the spec.

Regards
Felix

Am 28.09.2012 um 14:55 schrieb Madhav Bhamidipati:

> Hi,
> 
> I have OSGi-fyed my war file and deployed in SMX. There seems to be missing
> contextPath somewhere, I see 'null' prefixed as show below.
> 
> 
> WARN  | FelixStartLevel  | log                              | 110 -
> org.eclipse.jetty.util - 7.4.5.v20110725 | FAILED XFormsFilter:
> javax.servlet.ServletException:
> de.betterform.xml.config.XFormsConfigException:
> java.io.FileNotFoundException: null/WEB-INF/betterform-config.xml (No such
> file or directory)
> 
> 
> Need help in knowing where to set the contextPath to '/'
> 
> regards,
> Madhav


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to