3 Replies Latest reply on Nov 8, 2012 12:42 AM by Freeman(Yue) Fang

    Installing legacy WAR with WAR protocol: question about JNDI

    Jonathan Whitall Newbie

      I'm attempting to install a legacy WAR file into Fuse ESB using the WAR protocol. Code within the WAR accesses resources (specifically, DataSources) via JNDI resource-refs defined in its web.xml (example: "java:comp/env/jdbc/myds").


      Should I map to "java:comp" logical address to an "osgi:service" address? If so, where is this mapping defined? I haven't been any to find any documentation on how to do that. Or should the definition be embedded somewhere else (e.g., in etc/jetty.xml as a Jetty Resource)?


      I have the the 'jndi' feature (i.e., Aries JNDI bundles) installed.