You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by bu...@apache.org on 2004/07/25 09:58:56 UTC
DO NOT REPLY [Bug 29267] -
Problem with more than one resource-ref in portlet app web.xml
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29267>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29267
Problem with more than one resource-ref in portlet app web.xml
------- Additional Comments From treeck@yahoo.com 2004-07-25 07:58 -------
This bug exposes two problems. First the examples on the Apache website show
the <resource-ref> element as being the first element under <webapp> in
web.xml. The actaul location should be after the servlet mappings, etc.
The second problem is that even when in the proper location and the server.xml
lacks the JNDI jdbc definition, version 4.1.30 nulls out all the servlet's
init parameters. This makes it impossible for a servlet to use init parameters
as a fall-back to use a DriverManager to attempt opening a database. 4.1.27
does not have this problem (does not null out the init prameters).