I have written an application which expects a String object to be in the context. When developing the application I was testing it with Tomcat via Eclipse, and I had set the jndi resource as required. However now I am trying to deploy the app on WAS 6, and I cannot figure out how to create the resource for the String, in my web.xml I have the following...
<resource-ref id="ResourceRef_1">
<res-ref-name>RootPathPropertyName</res-ref-name>
<res-type>java.lang.String</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
I have tried creating the resources, referenceables etc, but when I go in to the application and try to map resources I get an empty table. Which means I am not configuring the resource correctly in WAS.
Any help will be great.
tuni.
<resource-ref id="ResourceRef_1">
<res-ref-name>RootPathPropertyName</res-ref-name>
<res-type>java.lang.String</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
I have tried creating the resources, referenceables etc, but when I go in to the application and try to map resources I get an empty table. Which means I am not configuring the resource correctly in WAS.
Any help will be great.
tuni.