I believe 2.0 had a ...

  <Context path="" docBase="magnolia" debug="0" />

...element, which I modified to contain the ResourceLink...

2.1 does not need a root contextpath setted any more. This means that you can run 2.1 with an untouched server.xml.


  <Context path="" docBase="magnolia" debug="0">
    <ResourceLink name="jdbc/sapdb" global="jdbc/sapdb"
type="javax.sql.DataSource"/>
  </Context>

Adding this expanded context element to server.xml causes the problems I
mentioned.

Best practice dictates not putting a magnolia context in server.xml, so
it appears the this has been fixed in 2.1 because there are no context
elements.

Where should I put my ResourceLink in 2.1?

use <resource-ref> in the web.xml

philipp


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to