• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can I use ResourceLink to create global context variables in JBOSS..?  RSS feed

 
Amrita Girish
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are migrating our app from tomact to jboss EAP 6.4.
I was using following snippet to point property file kept in the location "D:\propertis", which was pretty straght forward.
<Context ...>
   <Environment name="path_name" value="D:\\properties\\"  type="java.lang.String" override="false"/>
</Context>

So now can I use following snippet for the same in jboss...?
<Context ...>
  ...
  <ResourceLink name="path_name"
            global="D:\\properties\\ "
            type="java.lang.String"
  ...
></Context>

Thanks,
Amrita.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!