[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.epf] Re: WAR - Search - Weblogic 10

no changes to EPF code

some investigation lead to the following line (in searchServlet) being the cause :
_indexPath = config.getServletContext().getRealPath(config.getInitParameter("searchIndex"));


some further investigation learned that getRealPath(...) doesn't work well when the war is deployed as an archive (not exploded)

-> in WebLogic 10 there is a flag :
"Archived Real Path enabled" which you need to set to get 'getRealPath()' working correctly


-> problem solved :)

(I have no clue why that flag isn't set by default - which is a bit worrying now)


Shilpa Toraskar wrote:
more details please :)

If you did change EPF code, we would appreciate you creating bugzilla and then attaching a patch so that we can send it across in next release to rest of EPF community.

Thanks in advance.

Regards,
Shilpa