WAR - Search - Weblogic 10 [message #47710] |
Mon, 04 February 2008 02:21  |
Eclipse User |
|
|
|
hi,
Search fails on Weblogic 10.
When you click the search button, nothing happens
No messages, no logs, nothing
all help appreciated
Danny
|
|
|
|
|
|
Re: WAR - Search - Weblogic 10 [message #48089 is a reply to message #48061] |
Thu, 14 February 2008 01:54  |
Eclipse User |
|
|
|
no changes to EPF code
some investigation lead to the following line (in searchServlet) being
the cause :
_indexPath =
config.getServletContext().getRealPath(config.getInitParamet er( "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
>
|
|
|
Re: WAR - Search - Weblogic 10 [message #588352 is a reply to message #47710] |
Mon, 04 February 2008 04:56  |
Eclipse User |
|
|
|
Same error as in previous posting
-> indexpath = null
questions : why ?
trace:
LD> searchString: doormat
convert doormat -> doormat
LD> _indexPath: null
LD> _currentSearchString: doormat
LD> unicodes: doormat
LD> analyzerName: null
LD> _hits: null
java.lang.NullPointerException
at
org.eclipse.epf.web.servlet.SearchServlet.runQuery(SearchSer vlet.java
:206)
danny wrote:
> hi,
>
> Search fails on Weblogic 10.
> When you click the search button, nothing happens
> No messages, no logs, nothing
>
> all help appreciated
>
> Danny
|
|
|
Re: WAR - Search - Weblogic 10 [message #588440 is a reply to message #47710] |
Wed, 13 February 2008 09:10  |
Eclipse User |
|
|
|
problem solved
getrealpath(..) is the cause
danny wrote:
> hi,
>
> Search fails on Weblogic 10.
> When you click the search button, nothing happens
> No messages, no logs, nothing
>
> all help appreciated
>
> Danny
|
|
|
Re: WAR - Search - Weblogic 10 [message #588449 is a reply to message #48031] |
Wed, 13 February 2008 16:00  |
Eclipse User |
|
|
|
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
|
|
|
Re: WAR - Search - Weblogic 10 [message #588450 is a reply to message #48061] |
Thu, 14 February 2008 01:54  |
Eclipse User |
|
|
|
no changes to EPF code
some investigation lead to the following line (in searchServlet) being
the cause :
_indexPath =
config.getServletContext().getRealPath(config.getInitParamet er( "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
>
|
|
|
Powered by
FUDForum. Page generated in 0.26917 seconds